1 2014-01-06 Mike Frysinger <vapier@gentoo.org>
3 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5 (__ptrace_peeksiginfo_args): ... this.
6 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10 2014-01-06 Allan McRae <allan@archlinux.org>
12 * inet/netinet/in.h: Fix typo in comment.
14 2014-01-05 Andreas Jaeger <aj@suse.de>
16 * sysdeps/i386/fpu/libm-test-ulps: Update.
18 2014-01-05 Allan McRae <allan@archlinux.org>
20 * po/libc.pot: Regenerated.
22 * malloc/memusagestat.c: Fix gettext call formatting.
24 2014-01-04 Sami Kerola <kerolasa@iki.fi>
26 * nscd/nscd.c: Improve usage() output.
28 2014-01-04 Mike Frysinger <vapier@gentoo.org>
30 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
31 * sysdeps/unix/sysv/linux/configure: Regenerated.
32 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35 2014-01-03 Joseph Myers <joseph@codesourcery.com>
38 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
44 extra tokens at end of #undef directive.
45 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
46 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49 2014-01-03 Andrew Hunter <ahh@google.com>
51 * elf/dl-open.c (dl_open_worker): New comment.
52 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
53 atomic_compare_and_exchange_bool_acq
54 (_dl_allocate_static_tls): Block signals.
55 * elf/dl-tls.c (allocate_and_init): Return void.
56 (_dl_update_slotinfo): Block signals, use atomic update.
58 2014-01-03 Joseph Myers <joseph@codesourcery.com>
60 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
62 * math/auto-libm-test-in: Mark various tests with
63 xfail-rounding:ldbl-128ibm.
64 * math/auto-libm-test-out: Regenerated.
66 2014-01-02 Joseph Myers <joseph@codesourcery.com>
69 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
70 numbers with subnormal high part when calculating exponent.
73 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
77 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
79 (__ieee754_acoshl): Use __log1pl not __log1p.
81 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
83 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
84 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
85 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
86 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
88 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
89 mem2mem_check, mem2chunk_check, top_check, realloc_check,
90 memalign_check, __malloc_set_state): Likewise.
91 * malloc/mallocbug.c (main): Likewise.
92 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
93 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
94 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
95 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
96 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
97 * malloc/malloc.h: Likewise.
98 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
99 memalignhook, reallochook, mabort): Likewise.
100 * malloc/mcheck.h: Likewise.
101 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
102 mmap64, mremap, munmap, dest): Likewise.
103 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
104 * malloc/morecore.c (__default_morecore): Likewise.
105 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
106 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
107 _obstack_allocated_p, obstack_free, _obstack_memory_used,
108 print_and_abort): Likewise.
109 * malloc/obstack.h: Likewise.
110 * malloc/set-freeres.c (__libc_freeres): Likewise.
111 * malloc/tst-mallocstate.c (main): Likewise.
112 * malloc/tst-mtrace.c (main): Likewise.
113 * malloc/tst-realloc.c (do_test): Likewise.
115 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
118 * nscd/netgroupcache.c (do_notfound): New function.
119 (addgetnetgrentX): Use it.
122 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
125 2014-01-01 Joseph Myers <joseph@codesourcery.com>
127 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
130 2014-01-01 Allan McRae <allan@archlinux.org>
132 * scripts/update-copyrights: Update configure input file suffix.
134 * NEWS: Update copyright year.
135 * catgets/gencat.c: Likewise.
136 * csu/version.c: Likewise.
137 * debug/catchsegv.sh: Likewise.
138 * debug/pcprofiledump.c: Likewise.
139 * debug/xtrace.sh: Likewise.
140 * elf/ldconfig.c: Likewise.
141 * elf/ldd.bash.in: Likewise.
142 * elf/pldd.c: Likewise.
143 * elf/sotruss.ksh: Likewise.
144 * elf/sprof.c: Likewise.
145 * iconv/iconv_prog.c: Likewise.
146 * iconv/iconvconfig.c: Likewise.
147 * locale/programs/locale.c: Likewise.
148 * locale/programs/localedef.c: Likewise.
149 * login/programs/pt_chown.c: Likewise.
150 * malloc/memusage.sh: Likewise.
151 * malloc/memusagestat.c: Likewise.
152 * malloc/mtrace.pl: Likewise.
153 * manual/libc.texinfo: Likewise.
154 * nscd/nscd.c: Likewise.
155 * nss/getent.c: Likewise.
156 * nss/makedb.c: Likewise.
157 * posix/getconf.c: Likewise.
158 * scripts/test-installation.pl: Likewise.
160 * All files with FSF copyright notices: Update copyright dates
161 using scripts/update-copyrights.
162 * intl/plural.c: Regenerated.
163 * locale/programs/charmap-kw.h: Likewise.
164 * locale/programs/locfile-kw.h: Likewise.
166 2013-12-31 Mike Frysinger <vapier@gentoo.org>
168 * sysdeps/unix/sysv/linux/configure: Regenerated.
169 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
170 the linux/fanotify.h header.
171 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
172 HAVE_LINUX_FANOTIFY_H is defined.
174 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
176 * benchtests/cos-inputs: New inputs.
177 * benchtests/sin-inputs: Likewise.
179 * benchtests/atan-inputs: New inputs. Fix name of multiple
180 precision fallback inputs.
182 * benchtests/atanh-inputs: New inputs.
183 * benchtests/tanh-inputs: Likewise.
185 * benchtests/acosh-inputs: New inputs.
186 * benchtests/asinh-inputs: Likewise.
188 * benchtests/cosh-inputs: New inputs.
189 * benchtests/sinh-inputs: Likewise.
191 * benchtests/acos-inputs: Add more inputs.
192 * benchtests/asin-inputs: Likewise.
194 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
197 * manual/arith.texi: Fix spelling.
198 * manual/charset.texi: Likewise.
199 * manual/errno.texi: Likewise.
200 * manual/filesys.texi: Likewise.
201 * manual/lang.texi: Likewise.
202 * manual/llio.texi: Likewise.
203 * manual/locale.texi: Likewise.
204 * manual/message.texi: Likewise.
205 * manual/resource.texi: Likewise.
206 * manual/search.texi: Likewise.
207 * manual/setjmp.texi: Likewise.
208 * manual/stdio.texi: Likewise.
209 * manual/string.texi: Likewise.
210 * manual/sysinfo.texi: Likewise.
211 * manual/time.texi: Likewise.
213 2013-12-27 Carlos O'Donell <carlos@redhat.com>
215 * po/sl.po: New file.
217 2013-12-27 Mike Frysinger <vapier@gentoo.org>
219 * .gitignore: Add core/.gdbinit/.gdb_history.
221 2013-12-27 Allan McRae <allan@archlinux.org>
224 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
225 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
227 2013-12-24 Brooks Moses <bmoses@google.com>
229 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
230 all compilers that claim C++98 compliance, not just GCC.
231 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
234 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
236 * NEWS: Restore accidentally deleted bug-fix entries.
238 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
239 Ondřej Bílka <neleai@seznam.cz>
242 * malloc/malloc.c (_int_free): Perform sanity check only if we
245 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
248 * manual/stdio.texi (String Input Conversions): Clarify that character
249 classes are not supported.
251 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
255 2013-12-22 Joseph Myers <joseph@codesourcery.com>
258 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
259 Calculate results for small negative arguments directly rather
260 than using reflection formula with special underflow handling.
262 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
263 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
264 sysdeps/unix/bsd/bsd4.4/syscalls.list.
265 (fchflags): Likewise.
267 (setlogin): Likewise.
268 (sigaltstack): Likewise.
271 (sigsetmask): Likewise.
274 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
275 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
277 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
278 * sysdeps/unix/bsd/Makefile: ... here.
279 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
280 * sysdeps/unix/bsd/Versions: ... here.
281 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
282 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
283 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
284 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
285 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
286 * sysdeps/unix/bsd/sigblock.c: ... here.
287 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
288 * sysdeps/unix/bsd/sigsetmask.c: ... here.
289 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
290 * sysdeps/unix/bsd/sigvec.c: ... here.
291 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
292 * sysdeps/unix/bsd/tcdrain.c: ... here.
293 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
294 * sysdeps/unix/bsd/tcgetattr.c: ... here.
295 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
296 * sysdeps/unix/bsd/tcsetattr.c: ... here.
297 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
298 * sysdeps/unix/bsd/wait.c: ... here.
299 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
300 * sysdeps/unix/bsd/wait3.c: ... here.
301 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
302 * sysdeps/unix/bsd/waitpid.c: ... here.
304 2013-12-21 Joseph Myers <joseph@codesourcery.com>
307 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
308 round-to-nearest for [!USE_AS_EXPM1L].
309 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
310 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
311 more tests of exp and exp10. Expect some exp10 tests to miss
312 exceptions or fail in directed rounding modes.
313 * math/auto-libm-test-out: Regenerated.
314 * math/libm-test.inc (exp10_tonearest_test_data): New array.
315 (exp10_test_tonearest): New function.
316 (exp10_towardzero_test_data): New array.
317 (exp10_test_towardzero): New function.
318 (exp10_downward_test_data): New array.
319 (exp10_test_downward): New function.
320 (exp10_upward_test_data): New array.
321 (exp10_test_upward): New function.
322 (main): Call the new functions.
323 * sysdeps/i386/fpu/libm-test-ulps: Update.
324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
326 2013-12-20 Joseph Myers <joseph@codesourcery.com>
328 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
329 asinh, atan, atan2, atanh, cbrt, cos and cosh.
330 * math/auto-libm-test-out: Regenerated.
331 * math/libm-test.inc (acosh_test_data): Add more tests.
332 (atanh_test_data): Likewise.
333 (ceil_test_data): Likewise.
334 (copysign_test_data): Likewise.
335 * sysdeps/i386/fpu/libm-test-ulps: Update.
336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
338 * timezone/checktab.awk: Update from tzcode 2013i.
339 * timezone/private.h: Likewise.
340 * timezone/scheck.c: Likewise.
341 * timezone/tzfile.h: Likewise.
342 * timezone/tzselect.ksh: Likewise.
343 * timezone/zdump.c: Likewise.
344 * timezone/zic.c: Likewise.
346 * math/auto-libm-test-in: Add tests of cpow.
347 * math/auto-libm-test-out: Regenerated.
348 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
349 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
351 (func_calc_desc): Add mpc_cc_c union field.
352 (test_functions): Add cpow.
353 (special_fill_2pi): New function.
354 (special_real_inputs): Add 2pi.
355 (calc_generic_results): Handle mpc_cc_c.
356 * sysdeps/i386/fpu/libm-test-ulps: Update.
357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
359 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
360 csqrt, ctan and ctanh.
361 * math/auto-libm-test-out: Regenerated.
362 * math/libm-test.inc (TEST_COND_x86_64): New macro.
363 (TEST_COND_x86): Likewise.
364 (ccos_test_data): Use AUTO_TESTS_c_c.
365 (ccosh_test_data): Likewise.
366 (cexp_test_data): Likewise.
367 (clog_test_data): Likewise.
368 (csqrt_test_data): Likewise.
369 (ctan_test_data): Likewise.
370 (ctan_tonearest_test_data): Likewise.
371 (ctan_towardzero_test_data): Likewise.
372 (ctan_downward_test_data): Likewise.
373 (ctan_upward_test_data): Likewise.
374 (ctanh_test_data): Likewise.
375 (ctanh_tonearest_test_data): Likewise.
376 (ctanh_towardzero_test_data): Likewise.
377 (ctanh_downward_test_data): Likewise.
378 (ctanh_upward_test_data): Likewise.
379 * math/gen-auto-libm-tests.c (func_calc_method): Add value
381 (func_calc_desc): Add mpc_c_c union field.
382 (FUNC_mpc_c_c): New macro.
383 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
384 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
386 (special_fill_min_subnorm_p120): New function.
387 (special_real_inputs): Add min_subnorm_p120.
388 (calc_generic_results): Handle mpc_c_c.
389 * sysdeps/i386/fpu/libm-test-ulps: Update.
390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
392 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
394 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
395 do_sin_slow): New functions.
396 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
397 cslow2, csloww1, csloww2): Use the new functions.
399 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
400 Use M to change sign of result instead of X. Assume X is
406 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
411 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
413 (sloww1): Don't adjust sign of DX.
415 (sloww2): Use X directly and don't adjust sign of DX.
418 2013-12-19 Joseph Myers <joseph@codesourcery.com>
420 * math/auto-libm-test-in: Add tests of cabs and carg.
421 * math/auto-libm-test-out: Regenerated.
422 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
423 (carg_test_data): Likewise.
424 * math/gen-auto-libm-tests.c (func_calc_method): Add value
426 (func_calc_desc): Add mpc_c_f union field.
427 (test_functions): Add cabs and carg.
428 (calc_generic_results): Handle mpc_c_f.
430 * sysdeps/powerpc/powerpc32/libgcc-compat.S
431 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
432 as a macro and a compat symbol.
433 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
434 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
435 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
436 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
437 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
438 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
440 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
442 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
444 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
446 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
448 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
450 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
451 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
454 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
458 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
460 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
461 (__signal_safe_memalign, __signal_safe_free): Use it.
462 (__signal_safe_realloc): Likewise.
464 2013-12-19 Joseph Myers <joseph@codesourcery.com>
466 * manual/texinfo.tex: Update to version 2013-11-26.10 with
467 trailing whitespace removed.
468 * scripts/config.guess: Update to version 2013-11-29.
469 * scripts/config.sub: Update to version 2013-10-01.
471 * math/auto-libm-test-in: Add tests of sincos.
472 * math/auto-libm-test-out: Regenerated.
473 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
474 * math/gen-auto-libm-tests.c (func_calc_method): Add value
476 (func_calc_desc): Add mpfr_f_11 union field.
477 (test_functions): Add sincos.
478 (calc_generic_results): Handle mpfr_f_11.
479 * sysdeps/i386/fpu/libm-test-ulps: Update.
480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
482 2013-12-19 Andreas Schwab <schwab@suse.de>
484 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
486 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
487 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
488 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
490 2013-12-19 Joseph Myers <joseph@codesourcery.com>
492 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
493 * sysdeps/i386/fpu/libm-test-ulps: Update.
494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
497 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
498 round-to-nearest mode when using frndint.
499 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
500 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
501 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
503 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
505 * math/auto-libm-test-out: Regenerated.
506 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
507 (TEST_COND_x86): Likewise.
508 (expm1_tonearest_test_data): New array.
509 (expm1_test_tonearest): New function.
510 (expm1_towardzero_test_data): New array.
511 (expm1_test_towardzero): New function.
512 (expm1_downward_test_data): New array.
513 (expm1_test_downward): New function.
514 (expm1_upward_test_data): New array.
515 (expm1_test_upward): New function.
516 (main): Run the new test functions.
517 * sysdeps/i386/fpu/libm-test-ulps: Update.
518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
520 * include/features.h: Update comment documenting feature test
521 macros. Mention _DEFAULT_SOURCE in comment.
522 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
523 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
524 _BSD_SOURCE and _SVID_SOURCE.
525 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
526 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
527 !_SVID_SOURCE]: Likewise.
528 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
529 (__USE_POSIX_IMPLICITLY): Define.
530 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
531 (_POSIX_SOURCE): Undefine and redefine.
532 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
533 (_POSIX_C_SOURCE): Likewise.
534 * manual/creature.texi (_DEFAULT_SOURCE): Document.
535 (Feature Test Macros): Update documentation of default features.
537 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
539 * benchtests/Makefile: Add bench-strtok.
540 * benchtests/bench-strtok.c: New file: strtok benchtest.
542 2013-12-19 Allan McRae <allan@archlinux.org>
544 * manual/install.texi: Suppress menu for plain text output.
545 * INSTALL: Regenerated.
547 2013-12-18 Andrew Hunter <ahh@google.com>
549 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
550 (__signal_safe_malloc, __signal_safe_free): Likewise.
551 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
552 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
553 (__signal_safe_memalign, __signal_safe_malloc): New function.
554 (__signal_safe_free, __signal_safe_realloc): Likewise.
555 (__signal_safe_calloc): Likewise.
556 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
558 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
560 2013-12-18 Andrew Hunter <ahh@google.com>
562 * elf/Versions (ld): Add _dl_clear_dtv.
563 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
564 * elf/dl-tls.c (_dl_clear_dtv): New function.
565 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
567 2013-12-18 Andrew Hunter <ahh@google.com>
569 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
570 (_dl_unmask_signals): Likewise.
571 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
572 (_dl_unmask_all_signals): Likewise.
573 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
574 (_dl_unmask_all_signals): Likewise.
575 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
576 (_dl_unmask_signals): Likewise.
578 2013-12-18 Brooks Moses <bmoses@google.com>
581 * misc/getauxval.c: Include errno.h.
582 (__getauxval): Set errno to ENOENT if the requested type is not
584 * misc/sys/auxv.h (getauxval): Document that it may set errno;
585 don't declare with __attribute_const__.
586 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
587 * manual/startup.texi: Document that getauxval sets errno.
589 2013-12-18 Joseph Myers <joseph@codesourcery.com>
591 * math/auto-libm-test-in: Add tests of jn and yn.
592 * math/auto-libm-test-out: Regenerated.
593 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
594 (yn_test_data): Likewise.
595 * math/gen-auto-libm-tests.c (func_calc_method): Add value
597 (func_calc_desc): Add mpfr_if_f union field.
598 (FUNC_mpfr_if_f): New macro.
599 (test_functions): Add jn and yn.
600 (calc_generic_results): Assert type of second input for
601 mpfr_ff_f. Handle mpfr_if_f.
602 (output_for_one_input_case): Disable all checking for arguments
603 fitting floating-point types in case of an integer argument.
604 * sysdeps/i386/fpu/libm-test-ulps: Update.
605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
608 Don't expect fegetround reference in libm.so.
610 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
612 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
613 $(config-cflags-nofma).
615 2013-12-18 Joseph Myers <joseph@codesourcery.com>
617 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
618 * math/auto-libm-test-out: Regenerated.
621 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
622 to determine exponent and adjust argument to have exponent of -1.
623 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
625 * math/auto-libm-test-out: Regenerated.
626 * sysdeps/i386/fpu/libm-test-ulps: Update.
627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
629 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
631 * manual/probes.texi: Remove cases when per-thread arenas are
634 2013-12-18 Andreas Schwab <schwab@suse.de>
636 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
637 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
638 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
639 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
640 * sysdeps/i386/i686/multiarch/Makefile: Update.
641 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
643 2013-12-17 Joseph Myers <joseph@codesourcery.com>
645 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
646 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
648 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
650 Support TZ transition times < 00:00:00.
651 This is needed for version-3 tz-format files; it supports time
652 stamps past 2037 for America/Godthab (the only entry in the tz
653 database for which this change is relevant).
654 * manual/time.texi (TZ Variable): Document transition times
655 from -167:59:59 through -00:00:01.
656 * time/tzset.c (tz_rule): Time of day is now signed.
657 (__tzset_parse_tz): Parse negative time of day.
659 Document TZ transition times >= 25:00:00.
660 * manual/time.texi (TZ Variable): Document transition times from
661 25:00:00 through 167:59:59. These are already supported, and this
662 support will help with version-3 tz-format files.
664 * manual/time.texi (TZ Variable): Modernize North America example
665 to reflect current (i.e., 2007-and-later) daylight saving rules.
667 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
669 2013-12-17 Joseph Myers <joseph@codesourcery.com>
671 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
672 * sysdeps/unix/bsd/bits/stat.h: Likewise.
673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
675 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
676 * sysdeps/unix/bsd/bsdstat.h: Likewise.
677 * sysdeps/unix/bsd/clock.c: Likewise.
678 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
679 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
680 * sysdeps/unix/bsd/init-posix.c: Likewise.
681 * sysdeps/unix/bsd/poll.c: Likewise.
682 * sysdeps/unix/bsd/ptsname.c: Likewise.
683 * sysdeps/unix/bsd/seekdir.c: Likewise.
684 * sysdeps/unix/bsd/setegid.c: Likewise.
685 * sysdeps/unix/bsd/seteuid.c: Likewise.
686 * sysdeps/unix/bsd/setgid.c: Likewise.
687 * sysdeps/unix/bsd/setrgid.c: Likewise.
688 * sysdeps/unix/bsd/setruid.c: Likewise.
689 * sysdeps/unix/bsd/setsid.c: Likewise.
690 * sysdeps/unix/bsd/setuid.c: Likewise.
691 * sysdeps/unix/bsd/sigaction.c: Likewise.
692 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
693 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
694 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
695 * sysdeps/unix/bsd/telldir.c: Likewise.
696 * sysdeps/unix/bsd/times.c: Likewise.
697 * sysdeps/unix/bsd/usleep.c: Likewise.
699 * misc/Makefile (install-lib): Remove libbsd-compat.a.
700 ($(objpfx)libbsd-compat.a): Remove rule.
702 * include/features.h (__FAVOR_BSD): Do not define.
703 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
704 features conflicting with POSIX.
705 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
706 (_BSD_SOURCE): Remove description of not being a subset of other
708 * manual/job.texi (getpgrp): Do not document BSD version.
709 (getpgid): Do not document by reference to BSD getpgrp.
710 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
711 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
712 * signal/signal.h [__FAVOR_BSD]: Likewise.
713 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
714 instead of making contents conditional on [__FAVOR_BSD].
715 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
717 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
721 2013-12-17 Joseph Myers <joseph@codesourcery.com>
724 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
725 values below 2**-450, not 2**-500.
726 * math/auto-libm-test-in: Don't allow spurious underflow from
728 * math/auto-libm-test-out: Regenerated.
732 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
733 values of ha and hb and sort them after adjusting subnormal
735 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
737 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
738 values of ea and eb and sort them after adjusting subnormal
740 * math/auto-libm-test-in: Do not expect some hypot tests of
741 subnormals to fail. Add more hypot tests.
742 * math/auto-libm-test-out: Regenerated.
744 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
747 * sysdeps/sh/s_fma.c: New file.
748 * sysdeps/sh/s_fmaf.c: New file.
749 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
751 * sysdeps/sh/Implies: Add sh/soft-fp.
753 2013-12-16 Roland McGrath <roland@hack.frob.com>
755 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
756 level of indirection to members `objname', `errstring', `malloced'.
757 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
758 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
759 it as the __longjmp argument (just pass 1 instead).
760 (_dl_catch_error): Initialize C with argument pointers and address of
761 volatile local ERRCODE rather than copying values out of C at return.
763 2013-12-16 Joseph Myers <joseph@codesourcery.com>
765 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
766 * math/auto-libm-test-out: Regenerated.
767 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
768 (hypot_test_data): Likewise.
769 (pow_test_data): Likewise.
770 (pow_tonearest_test_data): Likewise.
771 * math/gen-auto-libm-tests.c (func_calc_method): Add value
773 (func_calc_desc): Add mpfr_ff_f union field.
774 (FUNC_mpfr_ff_f): New macro.
775 (test_functions): Add atan2, hypot and pow.
776 (special_fill_min): New function.
777 (special_fill_minus_min): Likewise.
778 (special_fill_min_subnorm): Likewise.
779 (special_fill_minus_min_subnorm): Likewise.
780 (special_real_inputs): Add min, -min, min_subnorm and
782 (calc_generic_results): Handle mpfr_ff_f.
783 * sysdeps/i386/fpu/libm-test-ulps: Update.
784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
786 2013-12-16 Will Newton <will.newton@linaro.org>
788 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
789 (Aligned Memory Blocks): Add documentation for aligned_alloc
790 and suggest it as an alternative to posix_memalign.
791 (Hooks for Malloc): Document __memalign_hook is also called
792 for aligned_alloc. (Summary of Malloc): Add summary for
793 aligned alloc. Document __memalign_hook is also called
796 2013-12-16 Will Newton <will.newton@linaro.org>
798 * manual/memory.texi (Malloc Examples): Clarify default
799 alignment documentation. Suggest posix_memalign rather
800 than memalign or valloc.
801 (Aligned Memory Blocks): Remove suggestion to use memalign
802 or valloc. Remove obsolete comment about BSD.
803 Document memalign errno values and mark the function obsolete.
804 Document posix_memalign returned error codes. Mark valloc
805 as obsolete. (Hooks for Malloc): __memalign_hook is also
806 called for posix_memalign and valloc.
807 (Summary of Malloc): Add posix_memalign to function summary.
808 __memalign_hook is also called for posix_memalign and valloc.
810 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
812 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
816 (sloww): Use mynumber union. Expand ternary operator into
818 (cslow): use mynumber union.
820 2013-12-16 Allan McRae <allan@archlinux.org>
822 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
823 * configure: Regenerated.
825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
828 * configure.ac: Added --enable-maintainer-mode. Check for
829 autoconf when enabled.
830 * configure: Regenerated.
832 * nscd/nscd.service: New file.
833 * nscd/nscd.tmpfiles: New file.
835 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
838 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
839 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
840 * sysdeps/x86_64/multiarch/strstr.c: ... here.
841 (strstr): Add __strstr_sse2_unaligned ifunc.
842 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
843 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
844 (strcasestr): Remove __strcasestr_sse42 ifunc.
845 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
846 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
849 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
851 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
852 * sysdeps/sh/bits/fenv.h: ... here.
853 * sysdeps/sh/sh4/fpu/bits: Remove directory.
855 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
857 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
859 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
862 hypotf multiarch implementations.
863 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
865 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
866 multiarch hypot for PPC64.
867 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
869 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
870 multiarch hypotf for PPC64.
872 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
874 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
875 modff multiarch implementations.
876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
879 multiarch modf for PPC64.
880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
883 multiarch modff for PPC64.
885 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
888 and logl multiarch implementations.
889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
892 multiarch logb for PPC64.
893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
896 multiarch logb for PPC64.
897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
900 multiarch logb for PPC64.
902 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
905 isinff multiarch implementation.
906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
910 multiarch isinf for PPC64.
911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
914 multiarch isinff for PPC64.
916 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
919 finitef multiarch implementation.
920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
924 multiarch finite for PPC64.
925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
928 multiarch finitef for PPC64.
930 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
933 lrint multiarch implementation.
934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
938 multiarch llrint for PPC64.
939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
940 multiarch lrint for PPC64.
942 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
944 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
945 copysignf multiarch implementation.
946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
951 multiarch copysign for PPC64.
952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
953 multiarch copysignf for PPC64.
955 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
957 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
958 multiarch implementation.
959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
967 multiarch llround for PPC64.
968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
969 multiarch trunc for PPC64.
970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
971 multiarch truncf for PPC64.
973 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
976 multiarch implementation.
977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
985 multiarch llround for PPC64.
986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
987 multiarch round for PPC64.
988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
989 multiarch roundf for PPC64.
991 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
994 multiarch implementation.
995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1003 multiarch llround for PPC64.
1004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1005 multiarch floor for PPC64.
1006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1007 multiarch floorf for PPC64.
1009 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1012 multiarch implementation.
1013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1021 multiarch llround for PPC64.
1022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1023 multiarch ceil for PPC64.
1024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1025 multiarch ceilf for PPC64.
1027 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1030 multiarch implementation.
1031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1038 multiarch llround for PPC64.
1039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1040 multiarch lround for PPC64.
1042 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1045 multiarch implementation.
1046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1053 multiarch isnan for PPC64.
1054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1055 multiarch isnanf for PPC64.
1057 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1059 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1060 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1061 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1062 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1063 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1066 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1068 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1069 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1070 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1071 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1073 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1076 multiarch implementations.
1077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1078 (__libc_ifunc_impl_list): Likewise.
1079 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1080 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1081 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1082 multiarch stpcpy for PPC64.
1084 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1087 multiarch implementations.
1088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1089 (__libc_ifunc_impl_list): Likewise.
1090 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1091 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1092 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1093 multiarch strcpy for PPC64.
1095 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1097 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1098 redefine function name.
1099 (_wordcopy_fwd_dest_aligned): Likewise.
1100 (_wordcopy_bwd_aligned): Likewise.
1101 (_wordcopy_bwd_dest_aligned): Likewise.
1102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1103 multiarch implementations.
1104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1105 (__libc_ifunc_impl_list): Likewise.
1106 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1107 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1108 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1109 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1110 multiarch wcscpy for PPC64.
1112 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1115 multiarch implementations.
1116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1117 (__libc_ifunc_impl_list): Likewise.
1118 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1119 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1120 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1121 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1122 multiarch wcscpy for PPC64.
1124 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1127 multiarch implementations.
1128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1129 (__libc_ifunc_impl_list): Likewise.
1130 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1131 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1132 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1133 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1134 multiarch wcsrchr for PPC64.
1136 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1139 multiarch implementations.
1140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1141 (__libc_ifunc_impl_list): Likewise.
1142 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1143 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1144 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1145 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1146 multiarch wcschr for PPC64.
1148 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1151 multiarch implementations.
1152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1153 (__libc_ifunc_impl_list): Likewise.
1154 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1155 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1156 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1157 multiarch strchrnul for PPC64.
1159 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1164 (__libc_ifunc_impl_list): Likewise.
1165 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1166 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1167 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1168 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1171 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1176 (__libc_ifunc_impl_list): Likewise.
1177 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1178 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1179 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1180 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1183 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1186 multiarch implementations.
1187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1188 (__libc_ifunc_impl_list): Likewise.
1189 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1190 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1191 strncasecmp for PPC64.
1192 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1193 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1194 multiarch strncasecmp_l for PPC64.
1196 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1199 multiarch implementations.
1200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1201 (__libc_ifunc_impl_list): Likewise.
1202 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1203 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1204 multiarch strcasecmp for PPC64.
1205 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1207 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1208 multiarch strcasecmp_l for PPC64.
1210 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1215 (__libc_ifunc_impl_list): Likewise.
1216 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1217 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1218 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1221 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1226 (__libc_ifunc_impl_list): Likewise.
1227 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1228 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1229 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1232 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1237 (__libc_ifunc_impl_list): Likewise.
1238 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1239 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1240 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1241 rawmemrchr for PPC64.
1243 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1248 (__libc_ifunc_impl_list): Likewise.
1249 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1250 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1251 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1254 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1259 (__libc_ifunc_impl_list): Likewise.
1260 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1261 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1262 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1265 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1270 (__libc_ifunc_impl_list): Likewise.
1271 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1272 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1273 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1276 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1278 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1279 avoid cretion of __bzero symbol.
1280 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1282 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1284 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1287 multiarch implementations.
1288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1289 (__libc_ifunc_impl_list): Likewise.
1290 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1291 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1292 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1293 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1295 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1296 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1297 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1298 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1299 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1301 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1303 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1309 (__libc_ifunc_impl_list): Likewise.
1310 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1311 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1312 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1313 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1316 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1319 multiarch for POWER/PPC64.
1320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1321 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1322 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1323 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1324 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1325 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1326 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1327 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1328 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1331 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1333 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1334 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1335 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1336 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1337 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1338 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1339 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1340 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1341 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1342 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1343 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1344 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1345 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1346 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1347 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1356 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1358 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1360 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1362 * benchtests/Makefile (bench): Add exp2 and log2.
1363 (LDLIBS-bench-exp2): Add -lm.
1364 (LDLIBS-bench-log2): Likewise.
1365 * benchtests/exp2-inputs: New inputs file.
1366 * benchtests/log2-inputs: New inputs file.
1367 * benchtests/log-inputs: Add new inputs.
1368 * benchtests/tan-inputs: Likewise.
1370 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1372 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1374 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1375 csloww1, csloww2): ... from here.
1377 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1378 instead of structures.
1379 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1380 (POLYNOMIAL): Likewise.
1381 (TAYLOR_SLOW): Likewise.
1389 (bsloww1): Likewise.
1390 (bsloww2): Likewise.
1393 (csloww1): Likewise.
1394 (csloww2): Likewise.
1396 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1398 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1399 (__malloc_assert, __libc_realloc, __libc_calloc,
1400 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1402 * malloc/hooks.c (realloc_check): Likewise.
1404 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1406 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1407 * malloc/arena.c: Remove PER_THREAD conditional.
1408 [!PER_THREAD]: Remove code.
1409 (ptmalloc_unlock_all2): Likewise.
1410 (ptmalloc_init): Likewise.
1411 (_int_new_arena): Likewise.
1412 (arena_get2): Likewise.
1413 * malloc/hooks.c (__malloc_get_state): Likewise.
1414 (__malloc_set_state): Likewise.
1415 * malloc/malloc.c: Likewise.
1416 (struct malloc_state): Likewise.
1417 (struct malloc_par): Likewise.
1418 (__libc_realloc): Likewise.
1419 (__libc_mallopt): Likewise.
1421 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1423 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1425 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1427 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1428 macro to a function. Check for zero perturb_byte.
1429 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1431 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1433 * malloc/malloc.c: (force_reg): Remove.
1434 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1435 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1436 force_reg by atomic_forced_read.
1437 * malloc/arena.c (ptmalloc_init): Likewise.
1438 * malloc/hooks.c (top_check): Likewise.
1440 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1444 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1448 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1450 * math/auto-libm-test-in: Add tests of lgamma.
1451 * math/auto-libm-test-out: Regenerated.
1452 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1453 (M_LOG_2_SQRT_PIl): Likewise.
1454 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1455 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1457 (func_calc_desc): Add mpfr_f_f1 union field.
1466 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1467 (test_functions): Add lgamma.
1468 (calc_generic_results): Handle mpfr_f_f1.
1469 * sysdeps/i386/fpu/libm-test-ulps: Update.
1470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1472 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1475 __mpn_add_n for PowerPC64/POWER7.
1476 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1477 __mpn_sub_n for PowerPC64/POWER7.
1479 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1482 __mpn_addmul_1 for PowerPC64.
1483 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1484 __mpn_submul_1 for PowerPC64.
1485 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1487 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1490 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1493 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1495 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1497 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1499 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1501 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1502 add multiarch folders.
1503 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1504 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1505 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1506 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1507 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1508 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1509 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1510 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1511 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1512 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1513 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1521 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1524 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1530 multiarch __ieee754_hypot for PowerPC32.
1531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1536 multiarch __ieee754_hypotf for PowerPC32.
1538 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1541 long_double_symbol only if __logbl is defined.
1542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1543 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1545 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1547 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1549 path for implementation.
1550 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1551 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1553 logb, and logbl multiarch implementations for PowerPC32.
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1559 multiarch logb for PowerPC32.
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1565 multiarch logbf for PowerPC32.
1566 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1570 multiarch logbl implementation for PowerPC32.
1572 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1575 and modff multiarch implementations.
1576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1581 multiarch modf for PowerPC32.
1582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1587 multiarch modff for PowerPC32.
1589 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1592 and lrintf multiarch implementations.
1593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1598 multiarch lrint for PowerPC32.
1599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1600 file: multiarch lrintf for PowerPC32.
1602 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1605 and lroundf multiarch implementations.
1606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1613 multiarch lround for PowerPC32.
1614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1615 file: multiarch lroundf for PowerPC32.
1617 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1620 copysign and copysignf multiarch implementations.
1621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1626 file: multiarch copysign for PowerPC32.
1627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1628 file: multiarch copysignf for PowerPC32.
1630 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1633 and truncf multiarch implementations.
1634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1639 multiarch trunc for PowerPC32.
1640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1645 multiarch truncf for PowerPC32.
1647 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1650 and roundf multiarch implementations.
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1656 multiarch round for PowerPC32.
1657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1662 multiarch roundf for PowerPC32.
1664 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1667 and floorf multiarch implementations.
1668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1673 multiarch floor for PowerPC32.
1674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1679 multiarch floorf for PowerPC32.
1681 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1684 and ceilf multiarch implementations.
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1690 multiarch ceil for PowerPC32.
1691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1696 multiarch ceilf for PowerPC32.
1698 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1700 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1702 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1705 and finitef multiarch implementations.
1706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1711 multiarch finite for PowerPC32.
1712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1715 file: multiarch finitef for PowerPC32.
1717 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1720 and isinff multiarch implementations.
1721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1726 multiarch isinf for PowerPC32.
1727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1730 multiarch isinff for PowerPC32.
1732 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1735 alias when __isnan is defined.
1736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1737 and isnanf multiarch implementations.
1738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1747 multiarch isnan for PowerPC32.
1748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1753 multiarch isnanf for PowerPC32.
1755 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1758 and sqrtf multiarch implementations.
1759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1764 multiarch sqrt for PowerPC32.
1765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1770 multiarch sqrtf for PowerPC32.
1772 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1775 and llroundf multiarch implementations.
1776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1783 file: multiarch llround for PowerPC32.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1785 file: multiarch llroundf for PowerPC32.
1787 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1790 multiarch PowerPC32 fpu implementations.
1791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1796 multiarch llrint for PowerPC32.
1797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1804 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1808 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1810 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1812 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1814 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1816 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1817 multiarch wordcopy for PPC32.
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1821 (__libc_ifunc_impl_list): Likewise.
1822 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1823 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1824 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1825 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1826 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1827 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1829 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1831 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1839 multiarch wcscpy for PPC32.
1840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1843 (__libc_ifunc_impl_list): Likewise.
1844 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1845 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1846 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1847 sysdeps/powerpc/power6/wcscpy.c.
1849 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1851 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1859 multiarch wcsrchr for PPC32.
1860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1863 (__libc_ifunc_impl_list): Likewise.
1864 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1865 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1866 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1867 sysdeps/powerpc/power6/wcsrchr.c.
1869 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1877 multiarch wcschr for PPc32.
1878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1881 (__libc_ifunc_impl_list): Likewise.
1882 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1883 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1884 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1885 sysdeps/powerpc/power6/wcschr.c.
1887 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1889 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1890 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1893 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1894 file: multiarch strchr for PPC32.
1895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1898 (__libc_ifunc_impl_list): Likewise.
1900 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1902 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1904 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1906 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1908 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1909 multiarch strchrnul for PPC32.
1910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1913 (__libc_ifunc_impl_list): Likewise.
1915 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1917 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1919 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1920 multiarch strncasecmp for PPC32.
1921 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1923 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1924 multiarch strncasecmp_l for PPC32.
1925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1926 strncasecmp multiarch objects.
1927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1928 (__libc_ifunc_impl_list): Likewise.
1930 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1932 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1934 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1935 multiarch strncasecmp for PPC32.
1936 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1939 multiarch strcasecmp_l for PPC32.
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1943 (__libc_ifunc_impl_list): Likewise.
1945 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1947 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1949 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1951 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1952 multiarch strncmp for PPC32.
1953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1956 (__libc_ifunc_impl_list): Likewise.
1958 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1960 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1961 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1964 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1968 (__libc_ifunc_impl_list): Likewise.
1970 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1972 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1976 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1980 (__libc_ifunc_impl_list): Likewise.
1982 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1984 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1986 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1988 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1989 multiarch rawmemchr for PPC32.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1993 (__libc_ifunc_impl_list): Likewise.
1995 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1997 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1999 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2001 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2002 file: memrchr multiarch for PPC32.
2003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2006 (__libc_ifunc_impl_list): Likewise.
2008 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2011 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2013 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2014 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2015 multiarch memchr for PPC32.
2016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2019 (__libc_ifunc_impl_list): Likewise.
2021 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2023 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2024 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2026 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2028 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2029 file: multiarch mempcpy for PPC32.
2030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2033 (__libc_ifunc_impl_list): Likewise.
2035 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2037 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2038 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2039 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2040 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2041 multiarch bzero for PPC32.
2042 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2046 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2047 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2048 file: multiarch memset for PPC32.
2049 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2051 memset multiarch objects.
2052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2053 (__libc_ifunc_impl_list): Likewise.
2055 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2057 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2059 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2060 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2062 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2066 (__libc_ifunc_impl_list): Likewise.
2068 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2071 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2072 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2074 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2076 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2078 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2079 multiarch memcpy for PPC32.
2080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2083 (__libc_ifunc_impl_list): Likewise.
2085 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2088 support multiarch for POWER/PPC32.
2089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2091 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2093 Implies file to make multiarch folder appers before the fpu and
2094 default folder for power4 configuration.
2096 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2098 * scripts/bench.pl: Append volatile keyword to type.
2100 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2102 * sysdeps/sh/sotruss-lib.c: New file.
2103 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2105 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2109 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2112 * math/w_tgamma.c: Include <errno.h>.
2113 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2114 * math/w_tgammaf.c: Include <errno.h>.
2115 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2116 * math/w_tgammal.c: Include <errno.h>.
2117 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2118 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2119 underflow. Add more tgamma tests.
2120 * math/auto-libm-test-out: Regenerated.
2121 * sysdeps/i386/fpu/libm-test-ulps: Update.
2122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2124 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2125 sin, sinh, tan, tanh, tgamma, y0 and y1.
2126 * math/auto-libm-test-out: Regenerated.
2127 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2128 (TEST_COND_x86): Likewise.
2129 (M_E2l): Remove macro.
2131 (M_2_SQRT_PIl): Likewise.
2132 (M_SQRT_PIl): Likewise.
2133 (M_1_DIV_El): Likewise.
2134 (log_test_data): Use AUTO_TESTS_f_f.
2135 (log10_test_data): Likewise.
2136 (log1p_test_data): Likewise.
2137 (log2_test_data): Likewise.
2138 (sin_test_data): Likewise.
2139 (sin_tonearest_test_data): Likewise.
2140 (sin_towardzero_test_data): Likewise.
2141 (sin_downward_test_data): Likewise.
2142 (sin_upward_test_data): Likewise.
2143 (sinh_test_data): Likewise.
2144 (sinh_tonearest_test_data): Likewise.
2145 (sinh_towardzero_test_data): Likewise.
2146 (sinh_downward_test_data): Likewise.
2147 (sinh_upward_test_data): Likewise.
2148 (tan_test_data): Likewise.
2149 (tan_tonearest_test_data): Likewise.
2150 (tan_towardzero_test_data): Likewise.
2151 (tan_downward_test_data): Likewise.
2152 (tan_upward_test_data): Likewise.
2153 (tanh_test_data): Likewise.
2154 (tgamma_test_data): Likewise.
2155 (y0_test_data): Likewise.
2156 (y1_test_data): Likewise.
2157 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2158 (special_real_inputs): Add pi/4.
2159 * sysdeps/i386/fpu/libm-test-ulps: Update.
2160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2162 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2164 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2165 "longjmp_target" static probes.
2166 (__longjmp): Rename to __longjmp_symbol.
2167 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2168 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2169 on which longjmp to generate.
2170 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2171 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2173 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2174 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2175 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2176 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2177 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2178 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2180 __longjmp_symbol based on which __longjmp to generate.
2181 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2183 (setjmp): Rename to setjmp_symbol.
2184 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2185 (_setjmp): Rename to _setjmp_symbol.
2186 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2187 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2188 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2189 which setjmp to generate.
2190 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2191 "longjmp_target" static probes.
2193 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2195 * benchtests/README: Add note about output arguments.
2196 * benchtests/bench-sincos.c: Remove file.
2197 * benchtests/sincos-inputs: New file.
2198 * scripts/bench.pl: Identify output arguments and define
2199 static variables for them.
2201 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2204 * Makefile (INSTALL): Add install-plain.texi as the primary
2206 * manual/install-plain.texi: New file.
2207 * manual/install.texi: Include node directive only for
2208 non-plaintext output.
2210 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2212 * stdlib/longlong.h: Update from GCC.
2216 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2217 * math/w_j0f.c (y0f): Likewise.
2218 * math/w_j0l.c (__y0l): Likewise.
2219 * math/w_j1.c (y1): Likewise.
2220 * math/w_j1f.c (y1f): Likewise.
2221 * math/w_j1l.c (__y1l): Likewise
2222 * math/w_jn.c (yn): Likewise.
2223 * math/w_jnf.c (ynf): Likewise.
2224 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2225 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2226 value for Bessel function domain errors outside _SVID_ mode.
2227 Adjust sign of return value for yn (negative integer, 0).
2228 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2229 by zero in return for negative x and set sign appropriately for
2231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2232 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2233 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2234 expectations in error cases.
2235 (y1_test_data): Likewise.
2236 (yn_test_data): Likewise.
2237 * sysdeps/i386/fpu/libm-test-ulps: Update.
2238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2240 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2242 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2243 "64" to "64-v1". Add "64-v2".
2244 (abi-64-options): Rename to ...
2245 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2246 (abi-64-condition): Rename to ...
2247 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2248 (abi-64-ld-soname): Rename to ...
2249 (abi-64-v1-ld-soname): ... this.
2250 (abi-64-v2-options): Define.
2251 (abi-64-v2-condition): Likewise.
2252 (abi-64-v2-ld-soname): Likewise.
2253 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2254 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2259 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2260 Alan Modra <amodra@gmail.com>
2262 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2263 New versions for use with the ELFv2 ABI.
2264 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2265 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2267 (struct La_ppc64v2_retval): Likewise.
2268 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2269 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2270 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2271 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2272 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2273 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2274 Do not save or restore CR.
2275 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2276 (_dl_profile_resolve): Do no save or restore CR. Support extended
2277 return values for ELFv2 ABI. Fix location of FPR return registers.
2278 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2279 updated values for _CALL_ELF == 2.
2280 (La_regs, La_retval, int_retval): Likewise.
2282 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2284 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2285 (FRAME_MIN_SIZE_PARM): Likewise.
2286 (FRAME_BACKCHAIN): Likewise.
2287 (FRAME_CR_SAVE): Likewise.
2288 (FRAME_LR_SAVE): 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 (call_mcount_parm_offset): New macro.
2295 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2296 (PROF): Use symbolic stack frame offsets.
2297 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2298 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2299 Redefine in terms of FRAME_MIN_SIZE.
2300 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2301 (_dl_profile_resolve): Likewise. Update comment.
2302 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2303 symbols stack frame offsets.
2304 (__sigsetjmp): Likewise.
2305 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2306 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2307 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2308 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2311 (FRAME_BACKCHAIN): Remove.
2312 (FRAME_CR_SAVE): Likewise.
2313 (FRAME_LR_SAVE): Likewise.
2314 (FRAME_COMPILER_DW): Likewise.
2315 (FRAME_LINKER_DW): Likewise.
2316 (FRAME_TOC_SAVE): Likewise.
2317 (FRAME_PARM_SAVE): Likewise.
2318 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2319 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2320 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2322 (CHECK_SP): Use symbolic stack frame offsets.
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2324 zone" instead of caller's parameter save area for temp storage.
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2326 Likewise. Also, use symbolic stack frame offsets.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2328 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2329 our own stack frame instead of the caller's.
2330 (__socket): Use symbolic stack frame offsets.
2332 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2333 Alan Modra <amodra@gmail.com>
2335 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2337 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2338 PPC64_LOCAL_ENTRY_OFFSET): Define.
2339 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2341 (elf_machine_fixup_plt): Call it.
2342 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2344 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2345 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2346 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2347 r2 before calling target.
2349 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2350 Alan Modra <amodra@gmail.com>
2352 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2353 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2354 versions of macros to support ELFv2 ABI.
2355 (LOCALENTRY): New macro.
2356 (ENTRY, EALIGN): Use it.
2357 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2358 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2359 fall through into ENTRY entry point.
2360 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2361 Only define if _CALL_ELF != 2.
2363 (elf_machine_matches_host): Verify ABI version matches.
2364 (RTLD_START): Use LOCALENTRY.
2365 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2366 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2367 (PLT_ENTRY_WORDS): New macro.
2368 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2369 (elf_machine_runtime_setup): Support ELFv2 ABI.
2370 (elf_machine_fixup_plt): Likewise.
2371 (elf_machine_plt_conflict): Likewise.
2372 (resolve_ifunc): Likewise.
2373 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2377 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2379 (makecontext): Support ELFv2 ABI.
2380 * elf/elf.h (EF_PPC64_ABI): Define.
2382 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2384 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2385 New assembler macro.
2386 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2387 [ASSEMBLER] (ENTRY): ... but instead here ...
2388 [ASSEMBLER] (EALIGN): ... and here.
2389 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2390 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2391 [!ASSEMBLER] (ENTRY_2): Use it.
2392 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2393 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2394 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2395 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2396 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2398 Use PPC64_LOAD_FUNCPTR.
2400 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2402 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2404 2013-12-04 Alan Modra <amodra@gmail.com>
2406 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2407 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2408 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2409 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2411 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2412 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2413 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2414 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2415 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2416 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2418 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2421 (__makecontext): Fix incorrect CFI when backtracing out of
2422 context created via makecontext.
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2424 (__setcontext): Fix incorrect CFI during switch to new context.
2425 (__novec_setcontext): Likewise.
2427 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2430 * time/strptime_l.c (__strptime_internal): Allow modifiers
2432 * time/tst-strptime.c (day_tests): Add testcase.
2435 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2437 * scripts/bench.pl: Skip over blank lines.
2439 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2442 * manual/time.texi (Calendar Time): Clarify what timezone functions
2445 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2449 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2451 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2453 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2454 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2455 * debug/memset_chk.c (__memset_chk): Likewise.
2456 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2457 * debug/strncpy_chk.c: Likewise.
2459 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2463 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2464 (__ieee754_exp): For possibly underflowing results, check size of
2465 result and force underflow exception if required.
2466 * math/auto-libm-test-in: Add more tests of exp.
2467 * math/auto-libm-test-out: Regenerated.
2468 * sysdeps/i386/fpu/libm-test-ulps: Update.
2469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2472 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2473 * math/w_exp2f.c (__exp2f): Likewise.
2474 * math/w_exp2l.c (__exp2l): Likewise.
2475 * math/auto-libm-test-in: Do not allow missing errno on exp2
2477 * math/auto-libm-test-out: Regenerated.
2479 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2482 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2483 handle filename validation.
2484 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2487 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2490 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2491 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2492 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2494 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2496 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2497 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2498 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2499 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2500 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2501 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2502 Add more erfc tests.
2503 * math/auto-libm-test-out: Regenerated.
2504 * sysdeps/i386/fpu/libm-test-ulps: Update.
2505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2507 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2508 exp2, expm1, j0 and j1.
2509 * math/auto-libm-test-out: Regenerated.
2510 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2511 (erfc_test_data): Likewise.
2512 (exp_test_data): Likewise.
2513 (exp_tonearest_test_data): Likewise.
2514 (exp_towardzero_test_data): Likewise.
2515 (exp_downward_test_data): Likewise.
2516 (exp_upward_test_data): Likewise.
2517 (exp10_test_data): Likewise.
2518 (exp2_test_data): Likewise.
2519 (expm1_test_data): Likewise.
2520 (j0_test_data): Likewise.
2521 (j1_test_data): Likewise.
2522 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2523 (input_flag_type): Add flag_xfail_rounding.
2524 (input_flags): Add xfail-rounding.
2525 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2526 (output_for_one_input_case): Handle flag_xfail_rounding.
2527 * sysdeps/i386/fpu/libm-test-ulps: Update.
2528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2530 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2533 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2536 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2539 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2540 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2541 (STAP_PROBE0): New macro.
2542 (STAP_PROBE1): Likewise.
2543 (STAP_PROBE2): Likewise.
2544 (STAP_PROBE3): Likewise.
2545 (STAP_PROBE4): Likewise.
2547 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2549 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2551 2013-12-02 Steve Ellcey <sellcey@mips.com>
2553 * benchtests/Makefile (bench): Add sqrt.
2554 (LDLIBS-bench-sqrt): New.
2555 * benchtests/sqrt-input: New.
2557 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2559 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2560 (GAIH_EAI): Likewise.
2561 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2562 (gaih_inet): Likewise.
2563 (getaddrinfo): Don't use GAIH_EAI.
2565 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2566 (struct gaih): Remove definition.
2568 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2570 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2571 Use HERRNOP directly.
2573 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2577 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2579 * math/gen-auto-libm-tests.c (test_functions): Add more
2580 single-argument functions.
2581 (special_fill_pi_2): New function.
2582 (special_fill_minus_pi_2): Likewise.
2583 (special_fill_pi_6): Likewise.
2584 (special_fill_minus_pi_6): Likewise.
2585 (special_fill_pi_3): Likewise.
2586 (special_fill_2pi_3): Likewise.
2587 (special_fill_e): Likewise.
2588 (special_fill_1_e): Likewise.
2589 (special_fill_e_minus_1): Likewise.
2590 (special_real_inputs): Add more special inputs.
2591 (output_for_one_input_case): Do not require ERANGE on underflow to
2592 zero if round-to-nearest result does not underflow to zero, unless
2593 exact results required.
2594 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2595 atan, atanh, cbrt, cos and cosh.
2596 * math/auto-libm-test-out: Regenerated.
2597 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2598 (acos_tonearest_test_data): Likewise.
2599 (acos_towardzero_test_data): Likewise.
2600 (acos_downward_test_data): Likewise.
2601 (acos_upward_test_data): Likewise.
2602 (acosh_test_data): Likewise.
2603 (asin_test_data): Likewise.
2604 (asin_tonearest_test_data): Likewise.
2605 (asin_towardzero_test_data): Likewise.
2606 (asin_upward_test_data): Likewise.
2607 (asinh_test_data): Likewise.
2608 (atan_test_data): Likewise.
2609 (atanh_test_data): Likewise.
2610 (cbrt_test_data): Likewise.
2611 (cos_test_data): Likewise.
2612 (cos_tonearest_test_data): Likewise.
2613 (cos_towardzero_test_data): Likewise.
2614 (cos_downward_test_data): Likewise.
2615 (cos_upward_test_data): Likewise.
2616 (cosh_test_data): Likewise.
2617 (cosh_tonearest_test_data): Likewise.
2618 (cosh_towardzero_test_data): Likewise.
2619 (cosh_downward_test_data): Likewise.
2620 (cosh_upward_test_data): Likewise.
2621 * sysdeps/i386/fpu/libm-test-ulps: Update.
2622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2627 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2628 * math/w_exp10f.c (__exp10f): Likewise.
2629 * math/w_exp10l.c (__exp10l): Likewise.
2630 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2631 errno settings in existing tests.
2634 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2635 precision control set to double precision.
2636 * sysdeps/i386/fpu/w_sqrt.c: New file.
2637 * math/auto-libm-test-in: Add more tests.
2638 * math/auto-libm-test-out: Update.
2640 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2641 (sqrt_test_tonearest): New function.
2642 (sqrt_towardzero_test_data): New variable.
2643 (sqrt_test_towardzero): New function.
2644 (sqrt_downward_test_data): New variable.
2645 (sqrt_test_downward): New function.
2646 (sqrt_upward_test_data): New variable.
2647 (sqrt_test_upward): New function.
2648 (main): Call the new functions.
2650 * math/gen-auto-libm-tests.c: New file.
2651 * math/auto-libm-test-in: Likewise.
2652 * math/auto-libm-test-out: New generated file.
2653 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2655 (%beautify): Add generated representations of zero.
2656 (top level): Set $auto_input and call parse_auto_input.
2657 (beautify): Remove trailing "f" from hex float constants.
2658 (parse_args): Handle XFAIL_TEST.
2659 (convert_condition): New function.
2660 (or_value): Likewise.
2661 (or_cond_value): Likewise.
2662 (generate_testfile): Handle AUTO_TESTS_* lines.
2663 (parse_auto_input): New function.
2664 * math/libm-test.inc (XFAIL_TEST): New macro.
2665 (ERRNO_UNCHANGED): Update value.
2666 (ERRNO_EDOM): Likewise.
2667 (ERRNO_ERANGE): Likewise.
2668 (IGNORE_RESULT): Likewise.
2669 (TEST_COND_flt_32): New macro.
2670 (TEST_COND_dbl_64): Likewise.
2671 (TEST_COND_ldbl_96_intel): Likewise.
2672 (TEST_COND_ldbl_96_m68k): Likewise.
2673 (TEST_COND_ldbl_128): Likewise.
2674 (TEST_COND_ldbl_128ibm): Likewise.
2675 (TEST_COND_long32): Likewise.
2676 (TEST_COND_long64): Likewise.
2677 (TEST_COND_before_rounding): Likewise.
2678 (TEST_COND_after_rounding): Likewise.
2679 (enable_test): Handle XFAIL_TEST flag.
2680 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2681 with finite results.
2682 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2685 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2686 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2689 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2690 __tls_get_addr_internal instead of __tls_get_offset in order to
2691 avoid GOT pointer dependency. Make rtld export
2692 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2693 __tls_get_addr since we are a __tls_get_offset platform.
2694 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2695 GOT pointer being set up before.
2696 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2698 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2700 * manual/math.texi (Errors in Math Functions): Document accuracy
2704 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2705 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2706 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2707 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2708 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2709 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2710 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2711 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2712 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2713 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2714 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2715 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2716 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2717 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2718 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2719 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2721 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2722 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2723 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2724 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2725 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2727 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2729 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2731 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2732 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2733 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2734 atomic-feupdateenv and flt-rounds.
2735 * sysdeps/powerpc/nofpu/Versions (libc): Add
2736 __atomic_feholdexcept, __atomic_feclearexcept,
2737 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2738 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2739 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2740 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2741 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2746 * manual/arith.texi (FP Exceptions): Document that exceptions may
2747 not be raised when matherr is used.
2748 (Math Error Reporting): Document overflow in directed rounding
2749 modes. Document that errno may not be set when finite values are
2750 returned on overflow. Document intent to set errno on underflow
2751 only for underflow to zero.
2754 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2755 round-to-nearest then adjust result for other rounding modes.
2756 * include/fenv.h (fegetround): Use libm_hidden_proto.
2757 * math/fegetround.c (fegetround): Use libm_hidden_def.
2758 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2759 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2760 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2761 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2763 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2764 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2765 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2766 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2768 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2771 * nss/Versions (libnss_files): Add
2772 _nss_files_gethostbyname3_r.
2773 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2775 (HOST_DB_LOOKUP): Remove macro.
2776 (_nss_files_gethostbyname_r): Implement function without the
2777 HOST_DB_LOOKUP macro.
2778 (_nss_files_gethostbyname2_r): Likewise.
2780 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2782 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2784 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2786 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2787 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2790 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2792 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2793 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2794 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2795 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2796 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2797 __fe_nomask_env_priv and attribute_hidden.
2798 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2799 (libc_feupdateenv_test_ppc): Likewise.
2800 (libc_feresetround_ppc): Likewise.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2802 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2803 compat_symbol macro.
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2805 (__fe_nomask_env): Likewise.
2806 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2808 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2810 * string/Makefile: Remove ifunc tests.
2811 * string/test-string.h: Define TEST_IFUNC.
2812 * string/test-bcopy-ifunc.c: Remove.
2813 * string/test-bzero-ifunc.c: Likewise.
2814 * string/test-memccpy-ifunc.c: Likewise.
2815 * string/test-memchr-ifunc.c: Likewise.
2816 * string/test-memcmp-ifunc.c: Likewise.
2817 * string/test-memcpy-ifunc.c: Likewise.
2818 * string/test-memmem-ifunc.c: Likewise.
2819 * string/test-memmove-ifunc.c: Likewise.
2820 * string/test-mempcpy-ifunc.c: Likewise.
2821 * string/test-memrchr-ifunc.c: Likewise.
2822 * string/test-memset-ifunc.c: Likewise.
2823 * string/test-rawmemchr-ifunc.c: Likewise.
2824 * string/test-stpcpy-ifunc.c: Likewise.
2825 * string/test-stpncpy-ifunc.c: Likewise.
2826 * string/test-strcasecmp-ifunc.c: Likewise.
2827 * string/test-strcasestr-ifunc.c: Likewise.
2828 * string/test-strcat-ifunc.c: Likewise.
2829 * string/test-strchr-ifunc.c: Likewise.
2830 * string/test-strchrnul-ifunc.c: Likewise.
2831 * string/test-strcmp-ifunc.c: Likewise.
2832 * string/test-strcpy-ifunc.c: Likewise.
2833 * string/test-strcspn-ifunc.c: Likewise.
2834 * string/test-strlen-ifunc.c: Likewise.
2835 * string/test-strncasecmp-ifunc.c: Likewise.
2836 * string/test-strncat-ifunc.c: Likewise.
2837 * string/test-strncmp-ifunc.c: Likewise.
2838 * string/test-strncpy-ifunc.c: Likewise.
2839 * string/test-strnlen-ifunc.c: Likewise.
2840 * string/test-strpbrk-ifunc.c: Likewise.
2841 * string/test-strrchr-ifunc.c: Likewise.
2842 * string/test-strspn-ifunc.c: Likewise.
2843 * string/test-strstr-ifunc.c: Likewise.
2845 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2847 * benchtests/Makefile: Remove ifunc tests.
2848 * benchtests/bench-string.h: Define TEST_IFUNC.
2849 * benchtests/bench-bcopy-ifunc.c: Remove.
2850 * benchtests/bench-bzero-ifunc.c: Likewise.
2851 * benchtests/bench-memccpy-ifunc.c: Likewise.
2852 * benchtests/bench-memchr-ifunc.c: Likewise.
2853 * benchtests/bench-memcmp-ifunc.c: Likewise.
2854 * benchtests/bench-memcpy-ifunc.c: Likewise.
2855 * benchtests/bench-memmem-ifunc.c: Likewise.
2856 * benchtests/bench-memmove-ifunc.c: Likewise.
2857 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2858 * benchtests/bench-memrchr-ifunc.c: Likewise.
2859 * benchtests/bench-memset-ifunc.c: Likewise.
2860 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2861 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2862 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2863 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2864 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2865 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2866 * benchtests/bench-strcat-ifunc.c: Likewise.
2867 * benchtests/bench-strchr-ifunc.c: Likewise.
2868 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2869 * benchtests/bench-strcmp-ifunc.c: Likewise.
2870 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2871 * benchtests/bench-strcpy-ifunc.c: Likewise.
2872 * benchtests/bench-strcspn-ifunc.c: Likewise.
2873 * benchtests/bench-strlen-ifunc.c: Likewise.
2874 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2875 * benchtests/bench-strncat-ifunc.c: Likewise.
2876 * benchtests/bench-strncmp-ifunc.c: Likewise.
2877 * benchtests/bench-strncpy-ifunc.c: Likewise.
2878 * benchtests/bench-strnlen-ifunc.c: Likewise.
2879 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2880 * benchtests/bench-strrchr-ifunc.c: Likewise.
2881 * benchtests/bench-strsep-ifunc.c: Likewise.
2882 * benchtests/bench-strspn-ifunc.c: Likewise.
2883 * benchtests/bench-strstr-ifunc.c: Likewise.
2885 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2887 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2889 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2891 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2892 * rt/aio.h: Likewise.
2893 * sysdeps/gnu/bits/utmp.h: Likewise.
2894 * sysdeps/gnu/bits/utmpx.h: Likewise.
2895 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2896 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2897 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2898 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2899 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2900 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2901 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2902 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2903 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2904 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2905 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2906 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2907 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2909 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2910 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2911 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2912 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2913 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2914 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2915 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2916 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2917 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2918 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2919 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2921 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2922 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2923 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2924 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2925 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2926 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2927 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2928 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2929 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2930 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2931 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2932 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2933 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2934 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2935 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2936 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2938 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2941 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2942 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2944 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2946 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2947 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2950 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2952 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2953 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2954 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2955 (__fesetround): Remove define.
2956 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2957 rounding and exceptions handling.
2958 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2959 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2960 (__fe_nomask_env): Likewise.
2961 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2962 __fegetround instead of fegetround.
2963 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2964 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2966 2013-11-21 Roland McGrath <roland@hack.frob.com>
2968 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2971 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2973 2013-11-21 Meador Inge <meadori@codesourcery.com>
2976 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2977 (encrypt_r): Likewise.
2978 * malloc/obstack.h (obstack_free): Likewise.
2979 * posix/unistd.h (encrypt): Likewise.
2981 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2983 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2984 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2985 DL_CALL_DT_FINI() that call the functions directly.
2986 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2987 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2988 * elf/dl-fini.c: Likewise.
2990 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2992 * malloc/hooks.c (memalign_check): Add alignment rounding.
2993 * malloc/malloc.c (_mid_memalign): New function.
2994 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2995 Implement by calling _mid_memalign.
2996 * manual/probes.texi (Memory Allocation Probes): Remove
2997 memory_valloc_retry and memory_pvalloc_retry.
2999 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3001 * locale/programs/locarchive.c (open_archive): Add const
3002 qualifier to ARCHIVEFNAME and copy default fname to
3006 * libio/tst-widetext.input: Rename Oriya to Odia.
3007 * locale/iso-639.def: Likewise.
3009 * manual/probes.texi (Mathematical Function Probes): Add
3010 documentation for sin, cos, asin and acos probes.
3011 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3012 (__sin32): Add slowasin probe.
3013 (__cos32): Add slowacos probe.
3014 (__mpsin): Add slowsin probe.
3015 (__mpcos): Add slowcos probe.
3017 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3020 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3021 thread-local __sim_exceptions_thread and global
3022 __sim_exceptions_global.
3023 (__sim_disabled_exceptions): Change to thread-local
3024 __sim_disabled_exceptions_thread and global
3025 __sim_disabled_exceptions_global.
3026 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3027 and global __sim_round_mode_global.
3028 (__simulate_exceptions): Use thread-local floating-point state and
3029 set global state from it as needed.
3030 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3031 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3032 __sim_round_mode_thread.
3033 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3034 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3035 and global __sim_exceptions_global.
3036 (__sim_disabled_exceptions): Change to thread-local
3037 __sim_disabled_exceptions_thread and global
3038 __sim_disabled_exceptions_global.
3039 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3040 and global __sim_round_mode_global.
3041 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3042 (SIM_SET_GLOBAL): Likewise.
3043 * sysdeps/powerpc/soft-fp/sfp-machine.h
3044 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3045 __sim_round_mode_thread.
3046 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3047 __sim_disabled_exceptions_thread.
3048 (__sim_exceptions): Change to __sim_exceptions_thread.
3049 (__sim_disabled_exceptions): Change to
3050 __sim_disabled_exceptions_thread.
3051 (__sim_round_mode): Change to __sim_round_mode_thread.
3052 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3053 thread-local floating-point state and set global state from it as
3055 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3056 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3057 (__sim_disabled_exceptions): Remove extern declaration.
3058 (feenableexcept): Use thread-local floating-point state and set
3059 global state from it as needed.
3060 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3062 (__sim_disabled_exceptions): Likewise.
3063 (__sim_round_mode): Likewise.
3064 (__fegetenv): Use thread-local floating-point state.
3065 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3066 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3067 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3068 floating-point state and set global state from it as needed.
3069 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3070 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3071 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3073 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3074 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3076 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3077 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3078 Use __sim_round_mode_thread.
3079 * math/test-fenv-tls.c: New file.
3080 * math/Makefile (tests): Add test-fenv-tls.
3081 ($(objpfx)test-fenv-tls): Depend on
3082 $(common-objpfx)nptl/libpthread.so.
3084 2013-11-19 Andreas Schwab <schwab@suse.de>
3086 * locale/programs/locale.c (show_info): Decode wordarray elements.
3087 * locale/categories.def (LC_MONETARY): Add element for
3088 _NL_MONETARY_CRNCYSTR.
3089 * locale/C-monetary.c (conversion_rate): New variable.
3090 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3093 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3095 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3096 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3098 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3100 * elf/Makefile (tst-auxv): New test.
3101 * elf/tst-auxv.c: New
3102 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3104 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3106 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3107 (hidden_proto): Caller changed.
3108 (hidden_tls_proto): New macro.
3109 (libc_hidden_tls_proto): Likewise.
3110 (rtld_hidden_tls_proto): Likewise.
3111 (libm_hidden_tls_proto): Likewise.
3112 (libresolv_hidden_tls_proto): Likewise.
3113 (librt_hidden_tls_proto): Likewise.
3114 (libdl_hidden_tls_proto): Likewise.
3115 (libnss_files_hidden_tls_proto): Likewise.
3116 (libnsl_hidden_tls_proto): Likewise.
3117 (libnss_nisplus_hidden_tls_proto): Likewise.
3118 (libutil_hidden_tls_proto): Likewise.
3120 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3123 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3124 (decompose_rpath): Defer expansion to fillin_rpath.
3125 (_dl_init_paths): Pass linkmap to fillin_rpath.
3127 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3129 * benchtests/Makefile: Add strsep.
3130 * benchtests/bench-strsep.c: New file: strsep benchtest.
3131 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3133 2013-11-18 Andreas Schwab <schwab@suse.de>
3135 * locale/programs/locale.c (show_info) [case byte]: Check for
3136 '\377' instead of '\177'.
3137 * locale/C-monetary.c (not_available): Always use "\377".
3138 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3139 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3140 detect unavailable sign_posn locale elements.
3141 * locale/localeconv.c (__localeconv): For grouping and
3142 mon_grouping handle "\177" and "\377" like no grouping.
3143 (INT_ELEM): New macro. Use it to set all numeric members.
3144 * locale/programs/ld-monetary.c (monetary_read)
3145 <tok_mon_grouping>: Normalize single -1 to the empty string.
3146 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3149 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3152 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3153 when we match (nil).
3154 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3156 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3158 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3159 (NO_TEST_INLINE): Update value.
3160 (ERRNO_UNCHANGED): Likewise.
3161 (ERRNO_EDOM): Likewise.
3162 (ERRNO_ERANGE): Likewise.
3163 (IGNORE_RESULT): Likewise.
3164 (check_float_internal): Check signs of NaN results if
3166 (check_complex): Pass TEST_NAN_SIGN flag through to second
3167 check_float_internal call.
3168 (copysign_test_data): Add tests with quiet NaNs as second
3169 argument. Use TEST_NAN_SIGN.
3170 (fabs_test_data): Add test of negative quiet NaN argument. Use
3172 (signbit_test_data): Add tests of quiet NaN argument.
3173 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3175 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3177 (parse_args): Handle function results specified as IGNORE.
3178 * math/libm-test.inc (IGNORE_RESULT): New macro.
3179 (check_float_internal): Do not check numerical result if flag
3181 (check_complex): Pass through IGNORE_RESULT to second
3182 check_float_internal call.
3183 (check_int): Do not check numerical result if flag IGNORE_RESULT
3185 (check_long): Likewise.
3186 (check_bool): Likewise.
3187 (check_longlong): Likewise.
3188 (lrint_test_data): Add tests of infinite and NaN arguments.
3189 (lrint_tonearest_test_data): Likewise.
3190 (lrint_towardzero_test_data): Likewise.
3191 (lrint_downward_test_data): Likewise.
3192 (lrint_upward_test_data): Likewise.
3193 (llrint_test_data): Likewise.
3194 (llrint_tonearest_test_data): Likewise.
3195 (llrint_towardzero_test_data): Likewise.
3196 (llrint_downward_test_data): Likewise.
3197 (llrint_upward_test_data): Likewise.
3198 (lround_test_data): Likewise.
3199 (llround_test_data): Likewise.
3201 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3202 (ERRNO_UNCHANGED): Update value.
3203 (ERRNO_EDOM): Likewise.
3204 (ERRNO_ERANGE): Likewise.
3205 (NO_TEST_INLINE_FLOAT): New macro.
3206 (NO_TEST_INLINE_DOUBLE): Likewise.
3207 (enable_test): New function.
3208 (RUN_TEST_f_f): Check enable_test before running test.
3209 (RUN_TEST_2_f): Likewise.
3210 (RUN_TEST_fff_f): Likewise.
3211 (RUN_TEST_c_f): Likewise.
3212 (RUN_TEST_f_f1): Likewise.
3213 (RUN_TEST_fF_f1): Likewise.
3214 (RUN_TEST_fI_f1): Likewise.
3215 (RUN_TEST_ffI_f1): Likewise.
3216 (RUN_TEST_c_c): Likewise.
3217 (RUN_TEST_cc_c): Likewise.
3218 (RUN_TEST_f_i): Likewise.
3219 (RUN_TEST_f_i_tg): Likewise.
3220 (RUN_TEST_ff_i_tg): Likewise.
3221 (RUN_TEST_f_b): Likewise.
3222 (RUN_TEST_f_b_tg): Likewise.
3223 (RUN_TEST_f_l): Likewise.
3224 (RUN_TEST_f_L): Likewise.
3225 (RUN_TEST_fFF_11): Likewise.
3226 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3228 (cosh_test_data): Likewise.
3229 (exp_test_data): Likewise.
3230 (expm1_test_data): Likewise.
3231 (hypot_test_data): Likewise.
3232 (pow_test_data): Likewise.
3233 (sinh_test_data): Likewise.
3234 (tanh_test_data): Likewise.
3235 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3238 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3239 tests with quiet NaN input and output.
3240 (acosh_test_data): Likewise.
3241 (asin_test_data): Likewise.
3242 (asinh_test_data): Likewise.
3243 (atan_test_data): Likewise.
3244 (atanh_test_data): Likewise.
3245 (atan2_test_data): Likewise.
3246 (cbrt_test_data): Likewise.
3247 (cos_test_data): Likewise.
3248 (cosh_test_data): Likewise.
3249 (erf_test_data): Likewise.
3250 (erfc_test_data): Likewise.
3251 (exp_test_data): Likewise.
3252 (exp10_test_data): Likewise.
3253 (exp2_test_data): Likewise.
3254 (expm1_test_data): Likewise.
3255 (hypot_test_data): Likewise.
3256 (j0_test_data): Likewise.
3257 (j1_test_data): Likewise.
3258 (jn_test_data): Likewise.
3259 (lgamma_test_data): Likewise.
3260 (log_test_data): Likewise.
3261 (log10_test_data): Likewise.
3262 (log1p_test_data): Likewise.
3263 (log2_test_data): Likewise.
3264 (pow_test_data): Likewise.
3265 (scalb_test_data): Likewise.
3266 (sin_test_data): Likewise.
3267 (sincos_test_data): Likewise.
3268 (sinh_test_data): Likewise.
3269 (tan_test_data): Likewise.
3270 (tanh_test_data): Likewise.
3271 (tgamma_test_data): Likewise.
3272 (y0_test_data): Likewise.
3273 (y1_test_data): Likewise.
3274 (yn_test_data): Likewise.
3277 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3278 argument being NaN and avoid computations with second argument in
3280 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3281 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3282 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3284 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3286 * locale/iso-639.def: Add Chitwani Tharu (the).
3288 2013-11-14 Andreas Schwab <schwab@suse.de>
3290 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3291 word instead of empty string.
3293 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3296 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3298 (__fe_nomask_env): Likewise.
3300 2013-11-13 Steve Ellcey <sellcey@mips.com>
3302 * benchtests/bench-timing.h: Include time.h.
3304 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3307 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3309 * sysdeps/unix/sysv/linux/configure: Regenerated.
3311 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3314 * stdlib/strtod_l.c (round_and_return): Do not consider
3315 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3316 exponent one less than half the least subnormal exponent.
3317 * stdlib/test-strtod-round-data: Add more tests.
3318 * stdlib/tst-strtod-round.c (tests): Regenerated.
3320 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3323 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3324 (__fe_mask_env): Likewise.
3325 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3326 libm_hidden_proto and add function prototype.
3327 (__fe_mask_env): Add function prototype.
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3329 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3331 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3333 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3335 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3337 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3338 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3340 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3342 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3343 of htab_find_slot().
3345 2013-11-11 David S. Miller <davem@davemloft.net>
3348 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3349 symbol in the non-vis3 case in static builds.
3350 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3351 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3352 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3353 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3355 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3358 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3361 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3363 * benchtests/Makefile: Add bench-strtod.
3364 * benchtests/bench-strtod.c: New file: strtod benchtest
3366 2013-11-11 Andreas Schwab <schwab@suse.de>
3369 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3370 terminating NUL in key length.
3372 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3375 Add artificial ODP entry for vDSO symbol for PPC64.
3376 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3377 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3379 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3382 * nss/getent.c (services_keys): Recognize services starting with digit.
3384 2013-11-06 David S. Miller <davem@davemloft.net>
3387 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3388 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3390 2013-11-06 Will Newton <will.newton@linaro.org>
3392 * manual/memory.texi (Malloc Examples): Remove register
3393 keyword from examples.
3395 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3397 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3399 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3401 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3402 depending on [__GCC_IEC_559 > 0].
3403 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3404 depending on [__GCC_IEC_559_COMPLEX > 0].
3406 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3408 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3411 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3413 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3415 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3418 * malloc/malloc (malloc_info): Do not handle first bin as
3421 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3423 * locale/iso-639.def: Add Central Nahuatl (nhn).
3425 2013-11-01 Bruno Haible <bruno@clisp.org>
3428 * manual/math.texi (BSD Random): Specify range upper bound as
3431 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3433 * locale/iso-639.def: Add Meadow Mari (mhr).
3435 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3437 [BZ #14752], [BZ #15763]
3438 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3440 * rt/tst_shm.c: Add test for escaping directory.
3442 2013-10-31 Andreas Schwab <schwab@suse.de>
3445 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3446 followed by 'x' as part of digit sequence.
3447 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3449 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3452 * configure.ac: allow GNU Make 4.0 and greater.
3453 * configure: Regenerated.
3455 2013-10-30 Will Newton <will.newton@linaro.org>
3458 * malloc/hooks.c (memalign_check): Limit alignment to the
3459 maximum representable power of two.
3460 * malloc/malloc.c (__libc_memalign): Likewise.
3461 * malloc/tst-memalign.c (do_test): Add test for very
3462 large alignment values.
3463 * malloc/tst-posix_memalign.c (do_test): Likewise.
3465 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3468 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3469 (munmap_chunk): Likewise.
3470 (mremap_chunk): Likewise.
3472 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3475 * stdlib/div.c (div): Remove obsolete code.
3476 * stdlib/ldiv.c (ldiv): Likewise.
3477 * stdlib/lldiv.c (lldiv): Likewise.
3479 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3482 * nss/nss_files/files-XXX.c (get_contents_ret): New
3484 (get_contents): New function.
3485 (internal_getent): Use it. Expand size of LINEBUFLEN.
3487 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3489 * configure.in: Moved to ...
3490 * configure.ac: ... here. Change reference to configure.in
3492 * sysdeps/arm/preconfigure.ac: ... here.
3493 configure.in to configure.ac.
3494 * sysdeps/gnu/configure.in: Moved to ...
3495 * sysdeps/gnu/configure.ac: ... here.
3496 * sysdeps/i386/configure.in: Moved to ...
3497 * sysdeps/i386/configure.ac: ... here.
3498 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3499 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3500 * sysdeps/mach/configure.in: Moved to ...
3501 * sysdeps/mach/configure.ac: ... here.
3502 * sysdeps/mach/hurd/configure.in: Moved to ...
3503 * sysdeps/mach/hurd/configure.ac: ... here.
3504 * sysdeps/powerpc/configure.in: Moved to ...
3505 * sysdeps/powerpc/configure.ac: ... here.
3506 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3507 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3508 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3509 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3510 * sysdeps/s390/s390-32/configure.in: Moved to ...
3511 * sysdeps/s390/s390-32/configure.ac: ... here.
3512 * sysdeps/s390/s390-64/configure.in: Moved to ...
3513 * sysdeps/s390/s390-64/configure.ac: ... here.
3514 * sysdeps/sh/configure.in: Moved to ...
3515 * sysdeps/sh/configure.ac: ... here.
3516 * sysdeps/sparc/configure.in: Moved to ...
3517 * sysdeps/sparc/configure.ac: ... here.
3518 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3519 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3520 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3521 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3522 * sysdeps/x86_64/configure.in: Moved to ...
3523 * sysdeps/x86_64/configure.ac: ... here.
3524 * sysdeps/x86_64/preconfigure.in: Moved to ...
3525 * sysdeps/x86_64/preconfigure.ac: ... here.
3526 * aclocal.m4: Change reference to configure.in to configure.ac.
3527 * config.h.in: Likewise.
3528 * manual/install.texi: Likewise.
3529 * manual/maint.texi: Likewise.
3530 * Makefile: Likewise.
3531 * malloc/Makefile: Likewise.
3532 * nscd/Makefile: Likewise.
3533 * Makeconfig: Change reference to configure.in and
3534 preconfigure.in to configure.ac and preconfigure.ac
3536 * INSTALL: Regenerated.
3537 * configure: Likewise.
3538 * sysdeps/gnu/configure: Likewise.
3539 * sysdeps/i386/configure: Likewise.
3540 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3541 * sysdeps/mach/configure: Likewise.
3542 * sysdeps/mach/hurd/configure: Likewise.
3543 * sysdeps/powerpc/configure: Likewise.
3544 * sysdeps/powerpc/powerpc32/configure: Likewise.
3545 * sysdeps/powerpc/powerpc64/configure: Likewise.
3546 * sysdeps/s390/s390-32/configure: Likewise.
3547 * sysdeps/s390/s390-64/configure: Likewise.
3548 * sysdeps/sh/configure: Likewise.
3549 * sysdeps/sparc/configure: Likewise.
3550 * sysdeps/unix/sysv/linux/configure: Likewise.
3551 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3552 * sysdeps/x86_64/configure: Likewise.
3553 * sysdeps/x86_64/preconfigure: Likewise.
3555 2013-10-29 Andreas Schwab <schwab@suse.de>
3557 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3559 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3561 * benchtests/pow-inputs: Add new inputs.
3563 * benchtests/exp-inputs: Add new inputs.
3565 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3566 conditional check for return value.
3567 (__cos32): Likewise.
3569 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3571 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3572 to provide a boost for large inputs with word alignment.
3573 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3574 implementation based on optimized PPC64 strcpy.
3575 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3576 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3577 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3578 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3580 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3583 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3585 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3588 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3589 * time/tst-strptime.c (day_tests): Add testcase.
3591 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3594 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3596 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3599 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3600 MAP_FAILED on error.
3602 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3605 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3606 heap for large requests.
3608 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3611 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3612 result if the result has no associated interface.
3613 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3614 interface for all 127.X.Y.Z addresses.
3616 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3618 * locale/iso-639.def: Add Ligurian (lij)
3620 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3623 * sunrpc/rpc_main.c: Document rpcgen -5.
3625 2013-10-19 Michael Stahl <mstahl@redhat.com>
3627 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3629 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3632 * posix/glob.c: Match only directories when trailing slash is present.
3633 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3634 (main): Add testcase.
3636 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3639 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3641 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3643 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3644 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3645 AUTH_DES and cindex for FIPS 140-2.
3646 (DES Encryption): Add cindex FIPS 46-3.
3648 * locale/locarchive.h (struct locarhandle): Add fname.
3649 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3650 if an optional argument was specified to --list-archive,
3652 * locale/programs/locarchive.c (show_archive_content): Take new
3653 argument fname and pass it via ah.fname to open_archive.
3654 * locale/programs/localedef.h: Update decl.
3655 (open_archive): If AH->fname is non-null, open that file
3656 rather than the default file name, and don't ignore ENOENT.
3657 (create_archive): Set AH.fname to NULL.
3658 (delete_locales_from_archive): Likewise.
3659 (add_locales_to_archive): Likewise.
3660 * locale/programs/locfile.c (write_all_categories): Likewise.
3662 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3663 Aldy Hernandez <aldyh@redhat.com>
3665 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3666 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3667 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3668 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3669 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3670 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3671 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3672 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3673 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3674 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3675 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3676 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3677 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3678 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3679 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3681 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3683 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3685 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3687 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3688 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3690 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3691 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3692 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3693 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3695 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3696 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3697 * sysdeps/powerpc/preconfigure: Likewise.
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3700 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3701 Replace contents of file by #include of <fenv_libc.h>.
3702 * sysdeps/powerpc/soft-fp/sfp-machine.h
3703 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3705 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3706 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3709 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3710 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3712 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3718 Allow copysignl PLT reference to be missing.
3720 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3721 Joseph Myers <joseph@codesourcery.com
3724 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3726 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3728 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3730 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3731 * elf/tst-tls1.c: Likewise.
3732 * elf/tst-tls10.h: Likewise.
3733 * elf/tst-tls14.c: Likewise.
3734 * elf/tst-tls2.c: Likewise.
3735 * elf/tst-tls3.c: Likewise.
3736 * elf/tst-tls4.c: Likewise.
3737 * elf/tst-tls5.c: Likewise.
3738 * elf/tst-tls6.c: Likewise.
3739 * elf/tst-tls7.c: Likewise.
3740 * elf/tst-tls8.c: Likewise.
3741 * elf/tst-tls9.c: Likewise.
3742 * elf/tst-tlsmod1.c: Likewise.
3743 * elf/tst-tlsmod13.c: Likewise.
3744 * elf/tst-tlsmod13a.c: Likewise.
3745 * elf/tst-tlsmod14a.c: Likewise.
3746 * elf/tst-tlsmod16a.c: Likewise.
3747 * elf/tst-tlsmod16b.c: Likewise.
3748 * elf/tst-tlsmod2.c: Likewise.
3749 * elf/tst-tlsmod3.c: Likewise.
3750 * elf/tst-tlsmod4.c: Likewise.
3751 * elf/tst-tlsmod5.c: Likewise.
3752 * elf/tst-tlsmod6.c: Likewise.
3754 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3757 * malloc/malloc.c: remove checks for statistics.
3759 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3762 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3763 * inet/tst-network.c: Add testcase.
3765 2013-10-17 Andreas Schwab <schwab@suse.de>
3768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3769 to determine canonical name.
3771 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3773 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3774 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3788 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3789 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3791 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3797 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3798 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3803 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3804 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3805 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3806 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3807 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3808 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3809 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3810 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3811 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3812 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3813 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3814 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3815 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3816 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3817 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3818 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3819 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3822 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3823 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3824 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3825 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3826 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3827 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3828 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3830 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3832 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3835 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3836 make result into a quiet NaN.
3838 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3840 * soft-fp/adddf3.c: Fix horizontal whitespace.
3841 * soft-fp/addsf3.c: Likewise.
3842 * soft-fp/addtf3.c: Likewise.
3843 * soft-fp/divdf3.c: Likewise.
3844 * soft-fp/divsf3.c: Likewise.
3845 * soft-fp/divtf3.c: Likewise.
3846 * soft-fp/double.h: Likewise.
3847 * soft-fp/eqdf2.c: Likewise.
3848 * soft-fp/eqsf2.c: Likewise.
3849 * soft-fp/eqtf2.c: Likewise.
3850 * soft-fp/extenddftf2.c: Likewise.
3851 * soft-fp/extended.h: Likewise.
3852 * soft-fp/extendsfdf2.c: Likewise.
3853 * soft-fp/extendsftf2.c: Likewise.
3854 * soft-fp/extendxftf2.c: Likewise.
3855 * soft-fp/fixdfdi.c: Likewise.
3856 * soft-fp/fixdfsi.c: Likewise.
3857 * soft-fp/fixdfti.c: Likewise.
3858 * soft-fp/fixsfdi.c: Likewise.
3859 * soft-fp/fixsfsi.c: Likewise.
3860 * soft-fp/fixsfti.c: Likewise.
3861 * soft-fp/fixtfdi.c: Likewise.
3862 * soft-fp/fixtfsi.c: Likewise.
3863 * soft-fp/fixtfti.c: Likewise.
3864 * soft-fp/fixunsdfdi.c: Likewise.
3865 * soft-fp/fixunsdfsi.c: Likewise.
3866 * soft-fp/fixunsdfti.c: Likewise.
3867 * soft-fp/fixunssfdi.c: Likewise.
3868 * soft-fp/fixunssfsi.c: Likewise.
3869 * soft-fp/fixunssfti.c: Likewise.
3870 * soft-fp/fixunstfdi.c: Likewise.
3871 * soft-fp/fixunstfsi.c: Likewise.
3872 * soft-fp/fixunstfti.c: Likewise.
3873 * soft-fp/floatdidf.c: Likewise.
3874 * soft-fp/floatdisf.c: Likewise.
3875 * soft-fp/floatditf.c: Likewise.
3876 * soft-fp/floatsidf.c: Likewise.
3877 * soft-fp/floatsisf.c: Likewise.
3878 * soft-fp/floatsitf.c: Likewise.
3879 * soft-fp/floattidf.c: Likewise.
3880 * soft-fp/floattisf.c: Likewise.
3881 * soft-fp/floattitf.c: Likewise.
3882 * soft-fp/floatundidf.c: Likewise.
3883 * soft-fp/floatundisf.c: Likewise.
3884 * soft-fp/floatunditf.c: Likewise.
3885 * soft-fp/floatunsidf.c: Likewise.
3886 * soft-fp/floatunsisf.c: Likewise.
3887 * soft-fp/floatunsitf.c: Likewise.
3888 * soft-fp/floatuntidf.c: Likewise.
3889 * soft-fp/floatuntisf.c: Likewise.
3890 * soft-fp/floatuntitf.c: Likewise.
3891 * soft-fp/fmadf4.c: Likewise.
3892 * soft-fp/fmasf4.c: Likewise.
3893 * soft-fp/fmatf4.c: Likewise.
3894 * soft-fp/gedf2.c: Likewise.
3895 * soft-fp/gesf2.c: Likewise.
3896 * soft-fp/getf2.c: Likewise.
3897 * soft-fp/ledf2.c: Likewise.
3898 * soft-fp/lesf2.c: Likewise.
3899 * soft-fp/letf2.c: Likewise.
3900 * soft-fp/muldf3.c: Likewise.
3901 * soft-fp/mulsf3.c: Likewise.
3902 * soft-fp/multf3.c: Likewise.
3903 * soft-fp/negdf2.c: Likewise.
3904 * soft-fp/negsf2.c: Likewise.
3905 * soft-fp/negtf2.c: Likewise.
3906 * soft-fp/op-1.h: Likewise.
3907 * soft-fp/op-2.h: Likewise.
3908 * soft-fp/op-4.h: Likewise.
3909 * soft-fp/op-8.h: Likewise.
3910 * soft-fp/op-common.h: Likewise.
3911 * soft-fp/quad.h: Likewise.
3912 * soft-fp/single.h: Likewise.
3913 * soft-fp/soft-fp.h: Likewise.
3914 * soft-fp/sqrtdf2.c: Likewise.
3915 * soft-fp/sqrtsf2.c: Likewise.
3916 * soft-fp/sqrttf2.c: Likewise.
3917 * soft-fp/subdf3.c: Likewise.
3918 * soft-fp/subsf3.c: Likewise.
3919 * soft-fp/subtf3.c: Likewise.
3920 * soft-fp/truncdfsf2.c: Likewise.
3921 * soft-fp/trunctfdf2.c: Likewise.
3922 * soft-fp/trunctfsf2.c: Likewise.
3923 * soft-fp/trunctfxf2.c: Likewise.
3924 * soft-fp/unorddf2.c: Likewise.
3925 * soft-fp/unordsf2.c: Likewise.
3926 * soft-fp/unordtf2.c: Likewise.
3928 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3930 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3931 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3933 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3935 * elf/dl-libc.c: Clear initfini list after freeing.
3937 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3939 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3940 * soft-fp/addsf3.c: Likewise.
3941 * soft-fp/addtf3.c: Likewise.
3942 * soft-fp/divdf3.c: Likewise.
3943 * soft-fp/divsf3.c: Likewise.
3944 * soft-fp/divtf3.c: Likewise.
3945 * soft-fp/double.h: Likewise.
3946 * soft-fp/eqdf2.c: Likewise.
3947 * soft-fp/eqsf2.c: Likewise.
3948 * soft-fp/eqtf2.c: Likewise.
3949 * soft-fp/extenddftf2.c: Likewise.
3950 * soft-fp/extended.h: Likewise.
3951 * soft-fp/extendsfdf2.c: Likewise.
3952 * soft-fp/extendsftf2.c: Likewise.
3953 * soft-fp/extendxftf2.c: Likewise.
3954 * soft-fp/fixdfdi.c: Likewise.
3955 * soft-fp/fixdfsi.c: Likewise.
3956 * soft-fp/fixdfti.c: Likewise.
3957 * soft-fp/fixsfdi.c: Likewise.
3958 * soft-fp/fixsfsi.c: Likewise.
3959 * soft-fp/fixsfti.c: Likewise.
3960 * soft-fp/fixtfdi.c: Likewise.
3961 * soft-fp/fixtfsi.c: Likewise.
3962 * soft-fp/fixtfti.c: Likewise.
3963 * soft-fp/fixunsdfdi.c: Likewise.
3964 * soft-fp/fixunsdfsi.c: Likewise.
3965 * soft-fp/fixunsdfti.c: Likewise.
3966 * soft-fp/fixunssfdi.c: Likewise.
3967 * soft-fp/fixunssfsi.c: Likewise.
3968 * soft-fp/fixunssfti.c: Likewise.
3969 * soft-fp/fixunstfdi.c: Likewise.
3970 * soft-fp/fixunstfsi.c: Likewise.
3971 * soft-fp/fixunstfti.c: Likewise.
3972 * soft-fp/floatdidf.c: Likewise.
3973 * soft-fp/floatdisf.c: Likewise.
3974 * soft-fp/floatditf.c: Likewise.
3975 * soft-fp/floatsidf.c: Likewise.
3976 * soft-fp/floatsisf.c: Likewise.
3977 * soft-fp/floatsitf.c: Likewise.
3978 * soft-fp/floattidf.c: Likewise.
3979 * soft-fp/floattisf.c: Likewise.
3980 * soft-fp/floattitf.c: Likewise.
3981 * soft-fp/floatundidf.c: Likewise.
3982 * soft-fp/floatundisf.c: Likewise.
3983 * soft-fp/floatunsidf.c: Likewise.
3984 * soft-fp/floatunsisf.c: Likewise.
3985 * soft-fp/floatuntidf.c: Likewise.
3986 * soft-fp/floatuntisf.c: Likewise.
3987 * soft-fp/floatuntitf.c: Likewise.
3988 * soft-fp/fmadf4.c: Likewise.
3989 * soft-fp/fmasf4.c: Likewise.
3990 * soft-fp/fmatf4.c: Likewise.
3991 * soft-fp/gedf2.c: Likewise.
3992 * soft-fp/gesf2.c: Likewise.
3993 * soft-fp/getf2.c: Likewise.
3994 * soft-fp/ledf2.c: Likewise.
3995 * soft-fp/lesf2.c: Likewise.
3996 * soft-fp/letf2.c: Likewise.
3997 * soft-fp/muldf3.c: Likewise.
3998 * soft-fp/mulsf3.c: Likewise.
3999 * soft-fp/multf3.c: Likewise.
4000 * soft-fp/negdf2.c: Likewise.
4001 * soft-fp/negsf2.c: Likewise.
4002 * soft-fp/negtf2.c: Likewise.
4003 * soft-fp/op-1.h: Likewise.
4004 * soft-fp/op-2.h: Likewise.
4005 * soft-fp/op-4.h: Likewise.
4006 * soft-fp/op-8.h: Likewise.
4007 * soft-fp/op-common.h: Likewise.
4008 * soft-fp/quad.h: Likewise.
4009 * soft-fp/single.h: Likewise.
4010 * soft-fp/soft-fp.h: Likewise.
4011 * soft-fp/sqrtdf2.c: Likewise.
4012 * soft-fp/sqrtsf2.c: Likewise.
4013 * soft-fp/sqrttf2.c: Likewise.
4014 * soft-fp/subdf3.c: Likewise.
4015 * soft-fp/subsf3.c: Likewise.
4016 * soft-fp/subtf3.c: Likewise.
4017 * soft-fp/truncdfsf2.c: Likewise.
4018 * soft-fp/trunctfdf2.c: Likewise.
4019 * soft-fp/trunctfsf2.c: Likewise.
4020 * soft-fp/trunctfxf2.c: Likewise.
4021 * soft-fp/unorddf2.c: Likewise.
4022 * soft-fp/unordsf2.c: Likewise.
4023 * soft-fp/unordtf2.c: Likewise.
4025 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4028 * misc/error.c (error_tail): Fix possible buffer overflow.
4030 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4033 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4036 2013-10-14 P. J. McDermott <pj@pehjota.net>
4039 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4040 testing pipefail option.
4042 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4044 * soft-fp/double.h: Indent preprocessor directives inside #if.
4045 * soft-fp/extended.h: Likewise.
4046 * soft-fp/op-2.h: Likewise.
4047 * soft-fp/op-4.h: Likewise.
4048 * soft-fp/op-common.h: Likewise.
4049 * soft-fp/quad.h: Likewise.
4050 * soft-fp/single.h: Likewise.
4051 * soft-fp/soft-fp.h: Likewise.
4053 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4055 * iconv/iconv_prog.c: Fix typos.
4056 * stdio-common/psiginfo-data.h: Likewise.
4058 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4061 * locale/setlocale.c: Fix typo.
4063 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4066 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4067 signaling NaN arguments.
4068 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4069 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4072 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4074 * soft-fp/gesf2.c (__gesf2): Likewise.
4075 * soft-fp/getf2.c (__getf2): Likewise.
4076 * soft-fp/ledf2.c (__ledf2): Likewise.
4077 * soft-fp/lesf2.c (__lesf2): Likewise.
4078 * soft-fp/letf2.c (__letf2): Likewise.
4080 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4081 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4082 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4083 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4084 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4085 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4086 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4087 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4088 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4089 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4090 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4091 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4092 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4093 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4094 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4095 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4096 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4097 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4098 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4099 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4100 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4101 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4102 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4103 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4104 * soft-fp/floattidf.c (__floattidf): Likewise.
4105 * soft-fp/floattisf.c (__floattisf): Likewise.
4106 * soft-fp/floattitf.c (__floattitf): Likewise.
4107 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4108 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4109 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4110 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4111 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4112 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4113 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4114 * soft-fp/gesf2.c (__gesf2): Likewise.
4115 * soft-fp/getf2.c (__getf2): Likewise.
4116 * soft-fp/ledf2.c (__ledf2): Likewise.
4117 * soft-fp/lesf2.c (__lesf2): Likewise.
4118 * soft-fp/letf2.c (__letf2): Likewise.
4120 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4121 Undefine and redefine.
4122 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4123 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4124 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4125 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4126 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4127 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4128 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4129 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4130 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4131 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4132 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4133 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4134 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4135 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4136 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4139 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4140 without decrementing exponent if mantissa >= that for the
4142 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4143 denominator, not >. Decrement exponent in < case instead of
4144 incrementing in >= case.
4145 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4146 without decrementing exponent if mantissa >= that for the
4149 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4150 computing saturated result for unsigned overflow.
4152 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4153 Jeff Law <law@redhat.com>
4155 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4156 (atan2Mp): Add systemtap probe marker.
4157 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4158 (__ieee754_log): Add systemtap probe marker.
4159 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4160 (atanMp): Add systemtap probe marker.
4161 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4162 (tanMp): Add systemtap probe marker.
4163 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4164 (__slowexp): Add systemtap probe marker.
4165 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4166 (__slowpow): Add systemtap probe marker.
4167 * manual/probes.texi: Document probes.
4169 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4172 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4174 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4176 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4177 written to buffer but not flushed.
4178 * libio/iofwrite_u.c: Likewise.
4179 * libio/iopadn.c: Return bytes returned even if EOF was
4181 * libio/iowpadn.c: Likewise.
4182 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4183 if _IO_padn does not write the whole buffer.
4184 [!COMPILE_WPRINTF] (PAD): Likewise.
4186 2013-10-10 David S. Miller <davem@davemloft.net>
4188 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4191 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4193 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4194 instead of FSF address.
4195 * soft-fp/fixdfti.c: Likewise.
4196 * soft-fp/fixsfti.c: Likewise.
4197 * soft-fp/fixtfti.c: Likewise.
4198 * soft-fp/fixunsdfti.c: Likewise.
4199 * soft-fp/fixunssfti.c: Likewise.
4200 * soft-fp/fixunstfti.c: Likewise.
4201 * soft-fp/floattidf.c: Likewise.
4202 * soft-fp/floattisf.c: Likewise.
4203 * soft-fp/floattitf.c: Likewise.
4204 * soft-fp/floatuntidf.c: Likewise.
4205 * soft-fp/floatuntisf.c: Likewise.
4206 * soft-fp/floatuntitf.c: Likewise.
4207 * soft-fp/trunctfxf2.c: Likewise.
4209 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4210 * soft-fp/fixdfti.c: Likewise.
4211 * soft-fp/fixsfti.c: Likewise.
4212 * soft-fp/fixtfti.c: Likewise.
4213 * soft-fp/fixunsdfti.c: Likewise.
4214 * soft-fp/fixunssfti.c: Likewise.
4215 * soft-fp/fixunstfti.c: Likewise.
4216 * soft-fp/floattidf.c: Likewise.
4217 * soft-fp/floattisf.c: Likewise.
4218 * soft-fp/floattitf.c: Likewise.
4219 * soft-fp/floatuntidf.c: Likewise.
4220 * soft-fp/floatuntisf.c: Likewise.
4221 * soft-fp/floatuntitf.c: Likewise.
4222 * soft-fp/trunctfxf2.c: Likewise.
4224 2013-10-10 David S. Miller <davem@davemloft.net>
4226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4228 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4230 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4231 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4232 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4233 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4234 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4235 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4236 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4238 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4239 for NaNs before doing comparisons on argument.
4240 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4243 2013-10-10 Will Newton <will.newton@linaro.org>
4245 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4246 passed to _int_memalign does not overflow.
4248 2013-10-10 Torvald Riegel <triegel@redhat.com>
4250 * scripts/bench.pl: Add include-sources directive.
4251 * benchtests/README: Update documentation.
4253 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4255 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4256 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4257 instead of FP_INIT_ROUNDMODE.
4258 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4259 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4262 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4263 copy class of input value.
4264 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4265 not handle exceptions.
4266 * soft-fp/negsf2.c (__negsf2): Likewise.
4267 * soft-fp/negtf2.c (__negtf2): Likewise.
4268 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4270 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4272 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4273 semicolon. From Linux kernel.
4275 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4277 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4279 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4282 * manual/socket.texi: Added statement about buffer
4283 for gethostbyname2_r.
4285 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4287 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4288 Use .p2align directive instead, throughout.
4289 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4290 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4291 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4292 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4293 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4294 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4295 * sysdeps/x86_64/strchr.S: Likewise.
4296 * sysdeps/x86_64/strrchr.S: Likewise.
4298 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4300 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4302 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4304 * sysdeps/generic/math_private.h (__mpsin1): Remove
4306 (__mpcos1): Likewise.
4307 (__mpsin): New argument __range_reduce.
4308 (__mpcos): Likewise.
4309 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4310 (slow): Use __mpsin and __mpcos.
4317 (bsloww1): Likewise.
4318 (bsloww2): Likewise.
4321 (csloww1): Likewise.
4322 (csloww2): Likewise.
4323 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4324 range_reduce. Merge in __mpsin1.
4325 (__mpcos): Likewise.
4327 (__mpcos1): Likewise.
4329 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4331 * locale/loadlocale.c (_nl_intern_locale_data): Use
4333 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4334 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4335 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4336 obstack data is appropriately aligned.
4337 (obstack_int32_grow_fast): Likewise.
4338 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4339 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4340 (add_locale_uint32_array): Likewise.
4342 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4344 * benchtests/Makefile: Remove ARGLIST and RET variables.
4345 ($(objpfx)bench-%.c): Pass only function name to the script.
4346 * benchtests/README: Update documentation.
4347 * benchtests/acos-inputs: Add new directives.
4348 * benchtests/acosh-inputs: Likewise.
4349 * benchtests/asin-inputs: Likewise.
4350 * benchtests/asinh-inputs: Likewise.
4351 * benchtests/atan-inputs: Likewise.
4352 * benchtests/atanh-inputs: Likewise.
4353 * benchtests/cos-inputs: Likewise.
4354 * benchtests/cosh-inputs: Likewise.
4355 * benchtests/exp-inputs: Likewise.
4356 * benchtests/log-inputs: Likewise.
4357 * benchtests/pow-inputs: Likewise.
4358 * benchtests/rint-inputs: Likewise.
4359 * benchtests/sin-inputs: Likewise.
4360 * benchtests/sinh-inputs: Likewise.
4361 * benchtests/tan-inputs: Likewise.
4362 * benchtests/tanh-inputs: Likewise.
4363 * scripts/bench.pl: Add support for new directives.
4365 2013-10-07 Alan Modra <amodra@gmail.com>
4367 * README: Fix careless merge.
4369 2013-10-05 Alan Modra <amodra@gmail.com>
4371 * NEWS: Mention powerpc64le support and bugs fixed.
4372 * README: Both big-endian and little-endian powerpc64 supported.
4374 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4376 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4377 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4378 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4379 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4381 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4383 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4386 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4388 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4389 Move -mhard-float appending from
4390 ports/sysdeps/powerpc/powerpc32/Makefile.
4391 [$(with-fp) = yes] (ASFLAGS): Likewise.
4392 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4393 * sysdeps/powerpc/nofpu: Move directory from
4394 ports/sysdeps/powerpc/nofpu.
4395 * sysdeps/powerpc/soft-fp: Move directory from
4396 ports/sysdeps/powerpc/soft-fp.
4397 * sysdeps/powerpc/powerpc32/405: Move directory from
4398 ports/sysdeps/powerpc/powerpc32/405.
4399 * sysdeps/powerpc/powerpc32/440: Move directory from
4400 ports/sysdeps/powerpc/powerpc32/440.
4401 * sysdeps/powerpc/powerpc32/464: Move directory from
4402 ports/sysdeps/powerpc/powerpc32/464.
4403 * sysdeps/powerpc/powerpc32/476: Move directory from
4404 ports/sysdeps/powerpc/powerpc32/476.
4405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4406 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4408 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4410 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4412 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4414 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4415 * README: Update for powerpc-*-linux-gnu software floating point
4418 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4419 case to powerpc/powerpc32*.
4420 * sysdeps/unix/sysv/linux/configure: Regenerated.
4422 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4423 (_FPU_MASK_OM): Define as 0x04.
4424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4432 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4435 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4438 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4439 and setcontext_e500.
4441 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4443 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4445 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4447 * manual/threads.texi (Default Thread Attributes): Fix typo.
4449 2013-10-04 Will Newton <will.newton@linaro.org>
4451 * malloc/Makefile: Add tst-memalign.
4452 * malloc/tst-memalign.c: New file.
4454 * malloc/tst-posix_memalign.c: Add comments.
4455 (do_test): Add comments and call free on all potentially
4456 allocated pointers. Add space after cast.
4458 * malloc/tst-pvalloc.c: Add comments.
4459 (do_test): Add comments and call free on all potentially
4460 allocated pointers. Remove duplicate check for NULL pointer.
4461 Add space after cast.
4463 * malloc/tst-valloc.c: Add comments.
4464 (do_test): Add comments and call free on all potentially
4465 allocated pointers. Remove duplicate check for NULL pointer.
4466 Add space after cast.
4468 2013-10-04 Alan Modra <amodra@gmail.com>
4470 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4471 Use stdint types in rather than __attribute__((mode())).
4472 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4474 2013-10-04 Alan Modra <amodra@gmail.com>
4476 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4477 Correct handling of unaligned relocs for little-endian.
4478 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4480 2013-10-04 Alan Modra <amodra@gmail.com>
4482 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4483 * configure: Regenerate.
4484 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4485 * shlib-versions: Likewise.
4487 2013-10-04 Alan Modra <amodra@gmail.com>
4489 * string/tester.c (test_memrchr): Increment reported test cycle.
4491 2013-10-04 Alan Modra <amodra@gmail.com>
4493 * string/test-memcpy.c (do_one_test): When reporting errors, print
4494 string address and don't overrun end of string.
4496 2013-10-04 Alan Modra <amodra@gmail.com>
4498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4499 insrdi. Make better use of reg selection to speed exit slightly.
4500 Schedule entry path a little better. Remove useless "are we done"
4501 checks on entry to main loop. Handle wrapping around zero address.
4502 Correct main loop count. Handle single left-over word from main
4503 loop inline rather than by using loop_small. Remove extra word
4504 case in loop_small caused by wrong loop count. Add little-endian
4506 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4507 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4509 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4510 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4511 support. Avoid rlwimi.
4512 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4514 2013-10-04 Alan Modra <amodra@gmail.com>
4516 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4518 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4519 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4520 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4521 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4522 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4523 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4525 2013-10-04 Alan Modra <amodra@gmail.com>
4527 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4528 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4529 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4530 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4531 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4532 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4533 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4534 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4535 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4536 use of regs. Use power7 mtocrf. Tidy function tails.
4538 2013-10-04 Alan Modra <amodra@gmail.com>
4540 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4541 Formatting. Consistently use rXXX register defines or rN defines.
4542 Use early exit labels that avoid restoring unused non-volatile regs.
4543 Make cr field use more consistent with rWORDn compares. Rename
4544 regs used as shift registers for unaligned loop, using rN defines
4545 for short lifetime/multiple use regs.
4546 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4547 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4548 addi 1,1,64 to pop stack frame. Simplify return value code.
4549 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4551 2013-10-04 Alan Modra <amodra@gmail.com>
4553 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4554 support. Correct typos, formatting. Optimize tail. Use insrdi
4556 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4557 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4558 little-endian support. Correct typos.
4559 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4561 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4562 in loop and entry code to keep "and." results.
4563 (strchr): Add little-endian support. Comment. Move cntlzd
4565 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4567 2013-10-04 Alan Modra <amodra@gmail.com>
4569 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4570 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4571 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4572 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4574 2013-10-04 Alan Modra <amodra@gmail.com>
4576 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4577 (rTMP): Define as r11.
4578 (strcmp): Add little-endian support. Optimise tail.
4579 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4580 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4581 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4582 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4583 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4584 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4585 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4587 2013-10-04 Alan Modra <amodra@gmail.com>
4589 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4590 little-endian support. Remove unnecessary "are we done" tests.
4591 Handle "s" wrapping around zero and extremely large "size".
4592 Correct main loop count. Handle single left-over word from main
4593 loop inline rather than by using small_loop. Correct comments.
4594 Delete "zero" tail, use "end_max" instead.
4595 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4597 2013-10-04 Alan Modra <amodra@gmail.com>
4599 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4600 support. Don't branch over align.
4601 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4602 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4603 support. Rearrange tmp reg use to suit. Comment.
4604 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4606 2013-10-04 Alan Modra <amodra@gmail.com>
4608 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4610 2013-10-04 Alan Modra <amodra@gmail.com>
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4613 conditional form of branch and link when obtaining pc.
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4616 2013-10-04 Alan Modra <amodra@gmail.com>
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4623 2013-10-04 Alan Modra <amodra@gmail.com>
4625 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4626 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4627 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4628 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4629 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4630 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4631 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4632 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4633 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4634 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4636 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4637 Alistair Popple <alistair@ozlabs.au.ibm.com>
4638 Alan Modra <amodra@gmail.com>
4641 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4642 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4643 _dl_hwcap access for little-endian.
4644 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4645 destroy vmx regs when saving unaligned.
4646 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4647 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4648 destroy vmx regs when saving unaligned.
4650 2013-10-04 Alan Modra <amodra@gmail.com>
4652 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4653 Don't use a union to pack hi/low value.
4655 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4657 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4659 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4661 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4662 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4663 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4665 2013-10-04 Alan Modra <amodra@gmail.com>
4667 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4668 constants to usual value for .cst8 section, and remove redundant
4670 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4671 constant for 0x1p52. Load little-endian words of double from
4672 correct stack offsets.
4674 2013-10-04 Alan Modra <amodra@gmail.com>
4676 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4677 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4678 words of double from correct stack offsets.
4679 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4680 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4681 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4682 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4683 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4684 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4685 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4686 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4687 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4688 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4689 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4690 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4691 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4692 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4693 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4694 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4695 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4697 2013-10-04 Alan Modra <amodra@gmail.com>
4699 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4700 64-bit int/double union.
4701 (_FPU_SETCW): Likewise.
4702 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4703 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4705 2013-10-04 Alan Modra <amodra@gmail.com>
4707 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4708 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4710 2013-10-04 Alan Modra <amodra@gmail.com>
4712 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4713 use vector int constants.
4714 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4716 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4718 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4719 array with long long.
4720 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4721 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4722 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4723 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4724 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4725 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4726 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4727 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4728 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4729 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4730 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4731 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4732 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4734 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4736 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4737 (__signbit): Likewise. Correct for little-endian.
4738 (__signbitl): Call __signbit.
4739 (lrint): Correct for little-endian.
4740 (lrintf): Call lrint.
4742 2013-10-04 Alan Modra <amodra@gmail.com>
4744 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4745 union 32-bit int array member with 64-bit int array.
4746 (t515, tm256): Double rather than long double.
4747 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4749 2013-10-04 Alan Modra <amodra@gmail.com>
4751 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4753 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4754 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4755 version of math_ldbl.h.
4757 2013-10-04 Alan Modra <amodra@gmail.com>
4759 [BZ #15734], [BZ #15735]
4760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4761 all uses of ieee875 long double macros and unions. Simplify test
4762 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4763 ldbl_extract_mantissa value for ix,iy exponents. Properly
4764 normalize after ldbl_extract_mantissa, and don't add hidden bit
4765 already handled. Don't treat low word of ieee854 mantissa like
4766 low word of IBM long double and mask off bit when testing for
4768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4769 all uses of ieee875 long double macros and unions. Simplify tests
4770 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4771 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4772 two1022, instead use their values. Recognise that tests for large
4773 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4774 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4775 Rewrite all uses of ieee875 long double macros and unions. Simplify
4776 test for 0.0L and nan. Correct negation.
4777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4778 ieee875 long double macros and unions. Correct output for large
4779 magnitude x. Correct absolute value calculation.
4780 (__erfcl): Likewise.
4781 * math/libm-test.inc: Add tests for errors discovered in IBM long
4782 double versions of fmodl, remainderl, erfl and erfcl.
4784 2013-10-04 Alan Modra <amodra@gmail.com>
4786 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4787 all uses of ieee854 long double macros and unions. Simplify tests
4788 for long doubles that are fully specified by the high double.
4789 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4791 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4792 Remove dead code too.
4793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4794 (__ieee754_ynl): Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4796 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4797 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4798 Remove dead code too.
4799 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4800 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4801 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4802 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4804 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4806 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4809 Comment on variable precision.
4810 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4811 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4813 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4814 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4815 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4817 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4819 2013-10-04 Alan Modra <amodra@gmail.com>
4821 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4822 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4823 all uses of ieee854 long double macros and unions.
4824 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4826 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4827 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4828 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4829 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4831 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4832 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4833 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4834 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4835 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4836 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4837 Simplify sign and nan test too.
4838 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4839 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4840 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4841 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4843 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4844 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4846 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4847 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4848 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4849 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4850 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4853 2013-10-04 Alan Modra <amodra@gmail.com>
4855 * stdio-common/printf_size.c (__printf_size): Don't use
4856 union ieee854_long_double in fpnum union.
4857 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4858 signbit macro to retrieve sign from long double.
4859 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4860 retrieve sign from long double.
4861 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4862 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4863 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4864 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4865 * math/test-misc.c (main): Don't use union ieee854_long_double.
4867 2013-10-04 Alan Modra <amodra@gmail.com>
4870 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4871 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4872 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4873 calculation. Remove unnecessary test for denormal exponent.
4874 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4875 Correct handling of denormals. Avoid undefined shift behaviour.
4876 Correct normalisation of low mantissa when low double is denormal.
4877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4878 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4879 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4880 Correct normalisation of low mantissa. Test for overflow of high
4881 mantissa and normalise.
4882 (ldbl_nearbyint): Use more readable constant for two52.
4883 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4884 (__mpn_construct_long_double): Fix test for overflow of high
4885 mantissa and correct normalisation. Avoid undefined shift.
4887 2013-10-04 Alan Modra <amodra@gmail.com>
4889 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4890 (union ibm_extended_long_double): Define as an array of ieee754_double.
4891 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4892 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4893 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4894 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4897 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4898 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4899 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4900 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4901 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4903 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4905 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4906 page size instead of calling getpagesize.
4908 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4909 (LOCFILE_ALIGN_MASK): Likewise.
4910 (LOCFILE_ALIGN_UP): Likewise.
4911 (LOCFILE_ALIGNED_P): Likewise.
4912 * locale/programs/ld-collate.c (collate_output): Use the new
4913 macros instead of __alignof__ (int32_t).
4914 * locale/weight.h (findidx): Likewise.
4916 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4919 * manual/string.texi: Fix strncat and wcsncat.
4921 2013-10-03 Brooks Moses <bmoses@google.com>
4924 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4925 * Makerules: ...here, and adjust associated comments.
4927 2013-10-02 Will Newton <will.newton@linaro.org>
4929 * malloc/Makefile: Add tst-pvalloc.
4930 * malloc/tst-pvalloc.c: New file.
4932 2013-10-02 Will Newton <will.newton@linaro.org>
4934 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4935 improve test coverage.
4937 2013-10-02 Will Newton <will.newton@linaro.org>
4939 * malloc/Makefile: Add tst-posix_memalign.
4940 * malloc/tst-posix_memalign.c: New file.
4942 2013-10-01 Eric Blake <eblake@redhat.com>
4944 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4945 Use __THROWNL rather than __THROW on static functions.
4947 2013-09-30 Petr Machata <pmachata@redhat.com>
4949 * elf/elf.h (R_AARCH64_ABS16): New macro.
4950 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4951 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4952 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4953 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4954 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4955 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4956 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4957 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4958 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4959 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4960 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4961 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4962 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4963 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4964 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4965 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4966 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4967 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4968 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4969 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4970 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4971 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4972 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4973 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4974 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4975 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4976 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4977 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4978 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4979 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4980 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4981 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4982 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4983 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4984 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4985 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4986 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4987 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4988 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4989 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4990 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4991 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4992 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4993 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4994 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4995 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4996 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4997 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4998 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4999 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5000 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5001 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5002 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5003 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5004 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5005 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5006 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5007 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5008 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5009 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5010 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5011 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5012 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5013 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5014 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5015 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5016 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5017 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5018 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5019 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5020 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5021 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5022 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5023 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5024 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5025 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5026 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5027 (R_AARCH64_TLSDESC_LDR): Likewise.
5028 (R_AARCH64_TLSDESC_ADD): Likewise.
5029 (R_AARCH64_TLSDESC_CALL): Likewise.
5031 2013-09-30 Andreas Schwab <schwab@suse.de>
5034 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5035 the nss database lookup.
5036 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5039 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5041 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5043 2013-09-28 P. J. McDermott <pj@pehjota.net>
5045 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5046 ${Bash-specific parameter/pattern/string} parameter expansion.
5047 * sysdeps/unix/make-syscalls.sh: Likewise.
5049 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5051 * sysdeps/sh/stackguard-macros.h: New file.
5053 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5056 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5057 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5058 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5059 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5060 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5062 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5064 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5065 Fix thread ID register.
5067 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5069 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5070 [POSIX || UNIX98]: Require rather than permitting all symbols from
5072 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5073 element of struct sched_param.
5074 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5075 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5076 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5077 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5080 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5082 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5083 argument calculation.
5085 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5087 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5089 [POSIX] (pthread_attr_t): Do not require type.
5090 [POSIX] (pthread_cond_t): Likewise.
5091 [POSIX] (pthread_condattr_t): Likewise.
5092 [POSIX] (pthread_key_t): Likewise.
5093 [POSIX] (pthread_mutex_t): Likewise.
5094 [POSIX] (pthread_mutexattr_t): Likewise.
5095 [POSIX] (pthread_once_t): Likewise.
5096 [POSIX] (pthread_t): Likewise.
5097 [POSIX-based standards] (pthread_atfork): Expect function.
5099 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5100 Richard Sandiford <richard@codesourcery.com>
5102 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5103 (swap_endianness_p): New extern variable.
5104 (set_big_endian): New inline function.
5105 (maybe_swap_uint32): Likewise.
5106 (maybe_swap_uint32_array): Likewise.
5107 (maybe_swap_uint32_obstack): Likewise.
5108 * locale/programs/locfile.c: Include <stdbool.h>.
5109 (swap_endianness_p): New variable.
5110 (add_locale_uint32): Call maybe_swap_uint32.
5111 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5112 (write_locale_data): Call maybe_swap_uint32_array.
5113 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5115 (obstack_int32_grow_fast): Likewise.
5116 (output_weightwc): Call maybe_swap_uint32_obstack.
5117 (collate_output): Likewise.
5118 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5119 (OPT_LITTLE_ENDIAN): Likewise.
5120 (options): Add --little-endian and --big-endian options.
5121 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5122 * locale/programs/locarchive.c: Include "locfile.h".
5126 (create_archive): Use the new macros to access fields of
5127 structures directly mapped from or written to locale archives.
5128 (oldlocrecentcmp): Likewise.
5129 (enlarge_archive): Likewise.
5130 (insert_name): Likewise.
5131 (add_alias): Likewise.
5132 (add_locale): Likewise.
5133 (delete_locales_from_archive): Likewise.
5134 (show_archive_content): Likewise.
5135 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5138 2013-09-24 Roland McGrath <roland@hack.frob.com>
5140 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5141 http://www.gnu.org/doc/freemanuals.texi.
5142 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5144 2013-09-24 Will Newton <will.newton@linaro.org>
5146 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5149 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5151 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5154 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5156 * manual/threads.texi (POSIX Threads): Fix a typo.
5158 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5161 * string/tst-strcoll-overflow.c: New test case.
5162 * string/Makefile (xtests): Add tst-strcoll-overflow.
5163 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5164 cache if string sizes may cause integer overflow.
5167 * string/strcoll_l.c (coll_seq): New members rule, idx,
5168 save_idx and back_us.
5169 (get_next_seq_nocache): New function.
5170 (do_compare_nocache): New function.
5171 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5174 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5177 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5178 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5179 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5182 * elf/Makefile (tests): Add tst-ptrguard1.
5183 (tests-static): Add tst-ptrguard1-static.
5184 (tst-ptrguard1-ARGS): Define.
5185 (tst-ptrguard1-static-ARGS): Define.
5186 * elf/tst-ptrguard1.c: New file.
5187 * elf/tst-ptrguard1-static.c: New file.
5188 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5189 * sysdeps/i386/stackguard-macros.h: Likewise.
5190 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5191 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5192 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5193 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5194 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5195 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5197 2013-09-23 Hector Marco <hecmargi@upv.es>
5198 Ismael Ripoll <iripoll@disca.upv.es>
5199 Carlos O'Donell <carlos@redhat.com>
5202 * sysdeps/generic/stackguard-macros.h: Define
5203 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5204 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5205 Define __pointer_chk_guard_local.
5206 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5207 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5209 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5212 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5214 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5216 * include/string.h (__ffs): Declare as hidden.
5217 * string/ffs.c (__ffs): Define as hidden.
5218 * sysdeps/i386/ffs.c (__ffs): Likewise.
5219 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5220 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5221 * sysdeps/s390/ffs.c (__ffs): Likewise.
5222 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5224 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5226 * NEWS: Mention malloc probes.
5228 * malloc/arena.c (new_heap): New memory_heap_new probe.
5229 (grow_heap): New memory_heap_more probe.
5230 (shrink_heap): New memory_heap_less probe.
5231 (heap_trim): New memory_heap_free probe.
5232 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5233 (systrim): New memory_sbrk_less probe.
5234 * manual/probes.texi: Document them.
5236 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5237 * manual/probes.texi: Document it.
5239 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5240 (__libc_realloc): Add memory_realloc_retry probe.
5241 (__libc_memalign): Add memory_memalign_retry probe.
5242 (__libc_valloc): Add memory_valloc_retry probe.
5243 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5244 (__libc_calloc): Add memory_calloc_retry probe.
5245 * manual/probes.texi: Document them.
5247 * malloc/arena.c (get_free_list): Add probe
5248 memory_arena_reuse_free_list.
5249 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5250 and memory_arena_reuse.
5251 (arena_get2) [!PER_THREAD]: Likewise.
5252 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5253 memory_arena_reuse_realloc.
5254 * manual/probes.texi: Document them.
5256 * malloc/malloc.c (__libc_free): Add
5257 memory_mallopt_free_dyn_thresholds probe.
5258 (__libc_mallopt): Add multiple memory_mallopt probes.
5259 * manual/probes.texi: Document them.
5261 * malloc/malloc.c: Include stap-probe.h.
5262 (__libc_mallopt): Add memory_mallopt probe.
5263 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5264 * manual/probes.texi: New.
5265 * manual/Makefile (chapters): Add probes.
5266 * manual/threads.texi: Set next node.
5268 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5271 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5272 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5273 Add `Chinese' to `nan' entry name.
5275 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5277 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5278 (POLYNOMIAL): Likewise.
5279 (TAYLOR_SINCOS): Likewise.
5280 (TAYLOR_SLOW): Likewise.
5281 (__sin): Use TAYLOR_SINCOS.
5283 (slow): Use TAYLOR_SLOW.
5288 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5290 * stdlib/strtod_l.c: Fix buffer overrun.
5292 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5294 * benchtests/Makefile (bench): Add sincos.
5295 * benchtests/bench-sincos.c: New file.
5297 * math/libm-test.inc (cos_test_data): New test inputs.
5298 (sin_test_data): Likewise.
5300 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5308 (bsloww1): Likewise.
5309 (bsloww2): Likewise.
5311 (csloww1): Likewise.
5312 (csloww2): Likewise.
5314 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5319 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5323 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5325 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5326 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5327 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5328 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5329 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5330 * elf/cache.c (print_entry): Handle the new cache flags.
5332 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5333 Aldy Hernandez <aldyh@redhat.com>
5335 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5336 Change condition to [_SOFT_FLOAT].
5337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5349 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5352 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5355 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5357 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5358 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5359 (__longjmp): Use LOAD_GP to load saved GPRs.
5360 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5361 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5362 (__sigsetjmp): Use SAVE_GP to save GPRs.
5364 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5365 Do not append -msoft-float.
5366 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5368 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5370 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5372 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5375 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5376 (_FPU_GETCW): Use initial "__" on variable and field names but not
5377 on macro parameter name.
5378 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5379 parentheses around reference to macro parameter.
5381 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5383 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5385 (ctype_startup): Use uint32_t in cast and sizeof for
5388 2013-09-11 Jia Liu <proljc@gmail.com>
5390 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5392 [__FreeBSD__]: Likewise.
5394 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5396 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5397 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5398 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5399 (strchr): Remove __strchr_sse42 ifunc selection.
5400 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5401 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5403 2013-09-11 Will Newton <will.newton@linaro.org>
5405 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5406 parameter to RES. Remove hardcoded 1000 value.
5407 * benchtests/bench-skeleton.c (main): Pass RES parameter
5408 to TIMING_INIT and multiply result by 1000.
5410 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5414 2013-09-11 Andreas Schwab <schwab@suse.de>
5416 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5418 (O_TMPFILE) [__USE_GNU]: Define.
5419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5422 2013-09-11 Will Newton <will.newton@linaro.org>
5425 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5428 2013-09-11 Will Newton <will.newton@linaro.org>
5431 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5434 2013-09-11 Will Newton <will.newton@linaro.org>
5437 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5440 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5442 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5443 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5444 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5445 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5446 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5448 2013-09-10 Allan McRae <allan@archlinux.org>
5451 * manual/arith.texi (Parsing of Floats): Clarify
5455 * manual/install.texi (Running make install): Mention
5457 * INSTALL: Regenerated.
5459 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5461 * csu/init-first.c (_init): Remove the !SHARED condition around
5462 FPU control word initialization.
5463 * elf/dl-support.c (_dl_fpu_control): New variable.
5464 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5465 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5466 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5467 * math/test-fpucw-static.c: New file.
5468 * math/test-fpucw-ieee.c: New file.
5469 * math/test-fpucw-ieee-static.c: New file.
5470 * math/Makefile (tests): Add `test-fpucw-ieee' and
5472 (tests-static): New variable.
5473 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5475 [($(build-shared),yes)]
5476 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5478 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5481 2013-09-09 Allan McRae <allan@archlinux.org>
5484 * manual/string.texi (Collation Functions): Fix typo in
5486 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5489 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5492 * libio/memstream.c (open_memstream): Fix memory leak.
5493 * libio/wmemstream.c (open_wmemstream): Likewise.
5496 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5498 2013-09-09 Will Newton <will.newton@linaro.org>
5500 * malloc/Makefile: Add tst-realloc to tests.
5501 * malloc/tst-realloc.c: New file.
5503 2013-09-09 Allan McRae <allan@archlinux.org>
5506 * COPYING: Update from GNU website to fix FSF address.
5507 * COPYING.LIB: Likewise.
5509 2013-09-06 David S. Miller <davem@davemloft.net>
5511 * po/zh_TW.po: Update Chinese (traditional) translation from
5512 translation project.
5514 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5515 Joseph Myers <joseph@codesourcery.com>
5517 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5519 (obstack_chunk_alloc): New macro.
5520 (obstack_chunk_free): Likewise.
5521 (record_offset): New function.
5522 (init_locale_data): Likewise.
5523 (align_locale_data): Likewise.
5524 (add_locale_empty): Likewise.
5525 (add_locale_raw_data): Likewise.
5526 (add_locale_raw_obstack): Likewise.
5527 (add_locale_string): Likewise.
5528 (add_locale_wstring): Likewise.
5529 (add_locale_uint32): Likewise.
5530 (add_locale_uint32_array): Likewise.
5531 (add_locale_char): Likewise.
5532 (start_locale_structure): Likewise.
5533 (end_locale_structure): Likewise.
5534 (start_locale_prelude): Likewise.
5535 (end_locale_prelude): Likewise.
5536 (write_locale_data): Take locale_file structure rather than an
5538 * locale/programs/locfile.h: Include "obstack.h".
5539 (struct locale_file): Change to store locale file contents instead
5541 (init_locale_data): New prototype.
5542 (align_locale_data): Likewise.
5543 (add_locale_empty): Likewise.
5544 (add_locale_raw_data): Likewise.
5545 (add_locale_raw_obstack): Likewise.
5546 (add_locale_string): Likewise.
5547 (add_locale_wstring): Likewise.
5548 (add_locale_uint32): Likewise.
5549 (add_locale_uint32_array): Likewise.
5550 (add_locale_char): Likewise.
5551 (start_locale_structure): Likewise.
5552 (end_locale_structure): Likewise.
5553 (start_locale_prelude): Likewise.
5554 (end_locale_prelude): Likewise.
5555 (write_locale_data): Update prototype.
5556 * locale/programs/3level.h (struct TABLE): Remove result field.
5557 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5558 Use new locale_file interface.
5559 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5560 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5561 * locale/programs/ld-address.c (address_output): Use new
5562 locale_file interface.
5563 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5565 (collate_finish): Don't call collseq_table_finalize.
5566 (collate_output): Use new locale_file interface.
5567 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5569 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5570 (TABLE): Move defines earlier in file.
5571 (ELEMENT): Likewise.
5572 (DEFAULT): Likewise.
5573 (wctrans_table_add): Move macro and inline function earlier in
5575 (struct wctype_table): Move type earlier in file.
5576 (add_locale_wctype_table): New static prototype.
5577 (struct locale_ctype_t): Use logical types instead of struct iovec
5578 pointers for members.
5579 (ctype_output): Use new locale_file interface.
5580 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5581 new locale_file interface.
5582 (allocate_arrays): Update for use of new locale_file interface.
5583 * locale/programs/ld-identification.c (identification_output): Use
5584 new locale_file interface.
5585 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5586 * locale/programs/ld-messages.c (messages_output): Likewise.
5587 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5588 * locale/programs/ld-name.c (name_output): Likewise.
5589 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5590 * locale/programs/ld-paper.c (paper_output): Likewise.
5591 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5592 * locale/programs/ld-time.c (time_output): Likewise.
5594 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5596 * benchtests/Makefile: Add memrchr benchmark.
5597 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5598 benchmark as memrchr.
5599 * benchtests/bench-memrchr-ifunc.c: New file.
5600 * benchtests/bench-memrchr.c: New file.
5602 2013-09-06 Will Newton <will.newton@linaro.org>
5604 * benchtests/Makefile (string-bench): Add memcpy.
5606 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5607 Cong Wang <amwang@redhat.com>
5609 * sysdeps/unix/sysv/linux/bits/in.h
5610 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5611 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5612 before __USE_KERNEL_IPV6_DEFS uses.
5613 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5615 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5616 sockaddr_in6, or ipv6_mreq.
5618 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5620 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5621 memory access for final bytes in some large inputs.
5622 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5624 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5626 * string/test-memrchr.c: New file.
5627 * string/test-memrchr-ifunc.c: New file.
5628 * string/Makefile: Add new memrchr testcase.
5630 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5632 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5633 fanotify_init returns EPERM.
5635 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5637 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5639 (top level): Treat second token from macro or constant entries for
5640 allowed headers as allowed.
5641 * include/complex.h: Condition internal declarations on
5643 * include/fenv.h: Condition include of <stdbool.h> and internal
5644 declarations on [!_ISOMAC].
5646 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5649 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5651 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5653 * configure.in (--enable-versioning): Remove configure option.
5654 (libc_cv_asm_symver_directive): Remove configure test.
5655 (libc_cv_ld_version_script_option): Likewise.
5656 (VERSIONING): Remove variable and AC_SUBST.
5657 (DO_VERSIONING): Remove AC_DEFINE.
5658 * configure: Regenerated.
5659 * config.h.in (DO_VERSIONING): Remove macro.
5660 * Makerules [$(versioning) = yes]: Change conditionals to
5661 [$(build-shared) = yes].
5662 * config.make.in (versioning): Remove variable.
5663 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5664 [$(build-shared) = yes].
5665 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5666 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5667 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5668 [$(build-shared) = yes].
5669 * extra-lib.mk [$(versioning) = yes]: Likewise.
5670 * hurd/Makefile [$(versioning) = yes]: Likewise.
5671 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5673 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5675 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5676 [SHARED && !NO_HIDDEN].
5677 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5679 [SHARED && DO_VERSIONING]: Likewise..
5680 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5681 [$(build-shared) = yes].
5682 * manual/install.texi (--disable-versioning): Remove
5684 * INSTALL: Regenerated.
5685 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5687 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5688 [$(build-shared) = yes].
5689 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5690 * sysdeps/i386/i686/multiarch/strstr-c.c
5691 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5692 [SHARED && !NO_HIDDEN].
5693 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5694 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5695 * sysdeps/powerpc/powerpc32/dl-machine.c
5696 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5697 * sysdeps/powerpc/powerpc32/sysdep.h
5698 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5699 to [SHARED && PIC && !NO_HIDDEN].
5700 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5701 conditional to [SHARED].
5703 2013-09-04 Will Newton <will.newton@linaro.org>
5705 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5706 * benchtests/bench-string.h: Include bench-timing.h instead
5707 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5708 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5709 call to HP_TIMING_DIFF_INIT.
5710 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5711 instead of hp-timing.h macros.
5712 * benchtests/bench-memchr.c: Likewise.
5713 * benchtests/bench-memcmp.c: Likewise.
5714 * benchtests/bench-memcpy.c: Likewise.
5715 * benchtests/bench-memmem.c: Likewise.
5716 * benchtests/bench-memmove.c: Likewise.
5717 * benchtests/bench-memset.c: Likewise.
5718 * benchtests/bench-rawmemchr.c: Likewise.
5719 * benchtests/bench-strcasecmp.c: Likewise.
5720 * benchtests/bench-strcasestr.c: Likewise.
5721 * benchtests/bench-strcat.c: Likewise.
5722 * benchtests/bench-strchr.c: Likewise.
5723 * benchtests/bench-strcmp.c: Likewise.
5724 * benchtests/bench-strcpy.c: Likewise.
5725 * benchtests/bench-strcpy_chk.c: Likewise.
5726 * benchtests/bench-strlen.c: Likewise.
5727 * benchtests/bench-strncasecmp.c: Likewise.
5728 * benchtests/bench-strncat.c: Likewise.
5729 * benchtests/bench-strncmp.c: Likewise.
5730 * benchtests/bench-strncpy.c: Likewise.
5731 * benchtests/bench-strnlen.c: Likewise.
5732 * benchtests/bench-strpbrk.c: Likewise.
5733 * benchtests/bench-strrchr.c: Likewise.
5734 * benchtests/bench-strspn.c: Likewise.
5735 * benchtests/bench-strstr.c: Likewise.
5737 2013-09-04 Will Newton <will.newton@linaro.org>
5739 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5741 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5744 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5745 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5746 * math/libm-test.inc (lgamma_test_data): Add more tests.
5747 * sysdeps/i386/fpu/libm-test-ulps: Update.
5748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5750 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5752 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5753 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5756 Add strcmp-sse2-unaligned
5757 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5759 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5761 * Versions.def (libc): Add GLIBC_2.19.
5763 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5765 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5766 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5768 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5771 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5772 intermediate calculations in recurrence.
5773 (__ieee754_ynf): Likewise.
5774 * math/libm-test.inc (jn_test_data): Do not allow spurious
5775 underflow exception. Add more tests.
5776 (yn_test_data): Add more tests.
5777 * sysdeps/i386/fpu/libm-test-ulps: Update.
5778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5780 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5782 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5784 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5786 * csu/init-first.c: Fix then/than typos.
5787 * locale/programs/ld-collate.c: Likewise.
5788 * locale/programs/linereader.h: Likewise.
5789 * manual/charset.texi: Likewise.
5790 * manual/filesys.texi: Likewise.
5791 * manual/stdio.texi: Likewise.
5792 * manual/string.texi: Likewise.
5793 * stdlib/fmtmsg.c: Likewise.
5794 * sysdeps/i386/stpncpy.S: Likewise.
5795 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5796 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5797 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5798 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5800 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5802 * elf/dl-open.c: Fix typos.
5803 * iconvdata/gbbig5.c: Likewise.
5804 * iconvdata/iso-2022-jp.c: Likewise.
5805 * iconv/gconv_int.h: Likewise.
5806 * iconv/loop.c: Likewise.
5807 * nis/rpcsvc/nis.h: Likewise.
5808 * resolv/ns_name.c: Likewise.
5809 * stdio-common/vfscanf.c: Likewise.
5810 * streams/stropts.h: Likewise.
5811 * sunrpc/rpc_thread.c: Likewise.
5812 * sysdeps/i386/strpbrk.S: Likewise.
5813 * sysdeps/ieee754/k_standard.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5816 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5817 * sysdeps/mach/hurd/profil.c: Likewise.
5818 * sysdeps/s390/dl-procinfo.h: Likewise.
5819 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5820 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5821 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5822 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5823 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5825 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5827 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5830 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5832 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5834 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5835 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5836 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5837 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5838 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5839 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5840 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5841 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5843 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5844 Roland McGrath <roland@hack.frob.com>
5846 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5847 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5849 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5851 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5852 __executable_start symbol instead of _start.
5854 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5856 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5857 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5859 * sysdeps/gnu/ldsodefs.h: ... this new file.
5861 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5862 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5863 instead of ELFOSABI_LINUX.
5865 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5866 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5867 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5868 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5870 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5871 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5872 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5874 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5875 (ibm_extended_long_double): Add ieee_nan member.
5876 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5877 (do_test): New function.
5879 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5881 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5882 functions, renamed from truncdfsf_test, trunctfsf_test,
5884 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5886 (do_test): Run all these.
5888 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5890 * argp/argp-help.c: Fix typos.
5891 * argp/argp-parse.c: Likewise.
5892 * debug/backtracesyms.c: Likewise.
5893 * elf/elf.h: Likewise.
5894 * malloc/malloc.c: Likewise.
5895 * nis/nis_print.c: Likewise.
5896 * resolv/res_comp.c: Likewise.
5897 * stdlib/stdlib.h: Likewise.
5898 * sunrpc/clnt_tcp.c: Likewise.
5899 * sunrpc/clnt_udp.c: Likewise.
5900 * sunrpc/clnt_unix.c: Likewise.
5901 * sysdeps/unix/bsd/ptsname.c: Likewise.
5902 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5903 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5910 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5912 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5914 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5917 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5920 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5921 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5922 ($(objpfx)bug-dl-leaf): New rule.
5923 ($(objpfx)bug-dl-leaf.so): Likewise.
5924 ($(objpfx)bug-dl-leaf.out): Likewise.
5925 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5926 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5927 * dlfcn/bug-dl-leaf.c: New test.
5928 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5929 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5930 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5931 (dlclose): Likewise.
5932 (dlmopen): Likewise.
5934 2013-08-27 Roland McGrath <roland@hack.frob.com>
5936 * include/netdb.h [!_ISOMAC]:
5937 Don't include <tls.h>.
5938 (h_errno, __libc_h_errno): Move declaration and macros out of
5941 * include/resolv.h [_RESOLV_H_]:
5942 Don't include <tls.h>.
5943 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5944 * resolv/res_libc.c: Don't include <tls.h>.
5945 (_res): Use __attribute__ ((nocommon)) in place of
5946 __attribute__ ((section (".bss"))).
5948 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5949 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5951 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5953 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5954 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5956 * resolv/res_mkquery.c: Include <sys/time.h>.
5958 * inet/ifreq.c: Moved to ...
5959 * sysdeps/unix/ifreq.c: ... here.
5960 * inet/ifreq.c: New file, true stub version.
5962 * socket/sa_len.c: New file.
5963 * socket/Makefile (aux): Add it.
5964 * sysdeps/unix/sysv/linux/Makefile
5965 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5966 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5967 and #include <socket/sa_len.c>.
5968 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5969 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5971 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5972 * bits/socket.h: ... here.
5974 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5975 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5976 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5978 2013-08-27 Andreas Schwab <schwab@suse.de>
5981 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5982 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5983 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5984 * string/test-strcasecmp.c (test_main): Run tests in several
5986 * string/test-strncasecmp.c (test_main): Likewise.
5988 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5989 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5990 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5992 (__strncasecmp_ssse3) [PIC]: Likewise.
5994 2013-08-26 Roland McGrath <roland@hack.frob.com>
5996 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5998 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5999 instead of explicitly declaring xdecrypt.
6000 * nis/nss_nis/nis-publickey.c: Likewise.
6002 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6005 * nscd/aicache.c: Include res_hconf.h.
6006 (addhstaiX): Initialize res_hconf.
6008 2013-08-26 Andreas Schwab <schwab@suse.de>
6010 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6011 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6013 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6015 * nscd/aicache.c (addhstaiX): Fix indentation.
6017 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6019 * configure.ac: Quote $build_pt_chown test.
6020 * configure: Regenerated.
6022 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6025 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6026 * math/s_cexpf.c (__cexpf): Likewise.
6027 * math/s_cexpl.c (__cexpl): Likewise.
6028 * math/libm-test.inc (cexp_test_data): Correct expected return
6029 value for NaN + i0. Add another test.
6031 2013-08-22 David S. Miller <davem@davemloft.net>
6033 * po/ca.po: Update Catalan translation from translation project.
6034 * po/uk.po: Add Ukrainian translations from translation project.
6036 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6039 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6040 is infinite, not alongside NaN test.
6041 * math/s_fdimf.c (__fdimf): Likewise.
6042 * math/s_fdiml.c (__fdiml): Likewise.
6043 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6046 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6048 * argp/argp-help.c: Fix typos.
6049 * crypt/speeds.c: Likewise.
6050 * csu/check_fds.c: Likewise.
6051 * elf/dl-load.c: Likewise.
6052 * elf/dl-open.c: Likewise.
6053 * elf/reldep3.c: Likewise.
6054 * elf/reldep.c: Likewise.
6055 * elf/sprof.c: Likewise.
6056 * iconv/iconv_charmap.c: Likewise.
6057 * iconv/skeleton.c: Likewise.
6058 * iconv/strtab.c: Likewise.
6059 * io/lockf64.c: Likewise.
6060 * libio/libioP.h: Likewise.
6061 * resolv/gai_notify.c: Likewise.
6062 * resolv/ns_name.c: Likewise.
6063 * resolv/ns_samedomain.c: Likewise.
6064 * resolv/res_send.c: Likewise.
6065 * stdlib/random.c: Likewise.
6066 * sunrpc/rpc/xdr.h: Likewise.
6067 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6069 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6070 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6071 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6072 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6073 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6074 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6075 * sysdeps/mach/hurd/check_fds.c: Likewise.
6076 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6077 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6078 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6079 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6080 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6081 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6082 * sysdeps/pthread/aio_notify.c: Likewise.
6083 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6084 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6085 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6086 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6087 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6089 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6091 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6092 version if bit_Slow_SSE4_2 is set.
6093 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6094 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6096 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6099 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6100 trampoline stack frame information.
6101 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6102 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6103 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6104 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6105 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6106 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6107 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6108 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6110 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6111 interrupting a syscall and set with option SA_SIGINFO.
6113 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6116 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6117 argument is infinite.
6118 * math/s_cprojf.c (__cprojf): Likewise.
6119 * math/s_cprojl.c (__cprojl): Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6121 * math/libm-test.inc (cproj_test_data): Add more tests.
6123 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6125 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6126 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6127 size. Use __ffs to determine corresponding shift.
6129 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6130 Roland McGrath <roland@hack.frob.com>
6132 * Makefile (INSTALL): Remove trailing blank lines from output of
6135 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6137 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6138 Align 32 bit compat elf_greg to 8 bytes.
6140 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6142 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6144 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6146 * string/strcoll_l.c (coll_seq): New structure.
6147 (get_next_seq_cached): New function.
6148 (get_next_seq): New function.
6149 (do_compare): New function.
6150 (STRCOLL): Use GNU style definition. Simplify implementation
6151 by using get_next_seq, get_next_seq_cached and do_compare.
6153 2013-08-16 Florian Weimer <fweimer@redhat.com>
6157 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6159 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6161 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6162 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6163 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6165 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6166 GETDENTS_64BIT_ALIGNED.
6167 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6168 * manual/filesys.texi (Reading/Closing Directory): Document
6169 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6171 * manual/conf.texi (Limits for Files): Add portability note to
6173 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6175 2013-08-13 Andreas Schwab <schwab@suse.de>
6178 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6180 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6181 LDBL_MAX_EXP >= 16384]: Add tests for it.
6183 2013-08-12 David S. Miller <davem@davemloft.net>
6185 * version.h (RELEASE): Set to "development".
6186 (VERSION): Set to "2.18.90".
6187 * NEWS: Add 2.19 section.
6189 2013-08-03 David S. Miller <davem@davemloft.net>
6191 * po/ko.po: Update Korean translation from translation project.
6193 2013-08-01 David S. Miller <davem@davemloft.net>
6195 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6196 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6199 2013-07-30 David S. Miller <davem@davemloft.net>
6201 * po/fr.po: Update French translation from translation project.
6203 2013-07-28 David S. Miller <davem@davemloft.net>
6205 * po/cs.po: Update Czech translation from translation project.
6207 * po/sv.po: Update Swedish translation from translation project.
6209 2013-07-27 David S. Miller <davem@davemloft.net>
6211 * po/eo.po: Update Esperanto translation from translation project.
6213 * po/vi.po: Update Vietnamese translation from translation project.
6215 * po/de.po: Update German translation from translation project.
6217 2013-07-26 David S. Miller <davem@davemloft.net>
6219 * po/bg.po: Update Bulgarian translation from translation project.
6221 * po/nl.po: Update Dutch translation from translation project.
6222 * po/pl.po: Update Polish translation from translation project.
6223 * po/ru.po: Update Russian translation from translation project.
6225 2013-07-24 David S. Miller <davem@davemloft.net>
6227 * po/libc.pot: Update.
6229 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6231 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6233 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6234 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6235 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6237 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6239 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6241 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6242 Andreas Schwab <schwab@suse.de>
6243 Roland McGrath <roland@hack.frob.com>
6244 Joseph Myers <joseph@codesourcery.com>
6245 Carlos O'Donell <carlos@redhat.com>
6248 * config.h.in: Define HAVE_PT_CHOWN.
6249 * config.make.in (build-pt-chown): New variable.
6250 * configure.in (--enable-pt_chown): New configure option.
6251 * configure: Regenerate.
6252 * login/Makefile: Include Makeconfig. Build pt_chown only if
6253 build-pt-chown is enabled.
6254 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6255 pt_chown to fix pty ownership.
6256 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6258 * manual/install.texi (Configuring and compiling): Mention
6259 --enable-pt_chown. Add @findex for grantpt.
6260 * INSTALL: Regenerate.
6262 2013-07-20 David S. Miller <davem@davemloft.net>
6264 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6265 difference between 32-bit and 64-bit.
6267 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6270 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6271 Avoid system header dependency with -ffreestanding.
6272 ($(objpfx)bits/syscall%d): Likewise.
6274 2013-07-13 David S. Miller <davem@davemloft.net>
6276 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6277 underflows from atanl/atan2l due to bug 15319.
6278 (casinh_test_data): Likewise.
6280 2013-07-07 David S. Miller <davem@davemloft.net>
6282 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6284 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6286 * sysdeps/i386/fpu/libm-test-ulps: Update.
6287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6289 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6291 * configure.in (--enable-lock-elision): Fix message text.
6292 * INSTALL: Regenerate.
6293 * configure: Regenerate.
6295 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6299 2013-07-03 Andreas Jaeger <aj@suse.de>
6301 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6303 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6304 (ptrace_peeksiginfo_args): Add.
6305 (__ptrace_peeksiginfo_flags): Add.
6306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6310 2013-07-03 Allan McRae <allan@archlinux.org>
6312 * sysdeps/i386/fpu/libm-test-ulps: Update.
6314 2013-07-02 David S. Miller <davem@davemloft.net>
6316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6318 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6322 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6324 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6327 2013-07-02 Andi Kleen <ak@linux.intel.com>
6329 * config.h.in (ENABLE_LOCK_ELISION): Add.
6330 * configure.in (--enable-lock-elision): Add option.
6331 * manual/install.texi: Document --enable lock elision.
6332 * configure: Regenerate
6333 * INSTALL: Regenerate.
6335 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6337 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6338 SSE4.2 strcasecmp for libc.a.
6339 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6341 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6344 * soft-fp/op-common.h (_FP_FMA): New macro.
6345 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6346 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6347 (_FP_MUL_MEAT_1_imm): ... here.
6348 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6349 (_FP_MUL_MEAT_1_wide): ... here.
6350 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6351 (_FP_MUL_MEAT_1_hard): ... here.
6352 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6353 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6354 (_FP_MUL_MEAT_2_wide): ... here.
6355 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6356 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6357 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6358 (_FP_MUL_MEAT_2_gmp): ... here.
6359 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6360 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6361 (_FP_MUL_MEAT_4_wide): ... here.
6362 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6363 (_FP_MUL_MEAT_4_gmp): ... here.
6364 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6365 (_FP_WFRACBITS_DW_S): Likewise.
6366 (_FP_WFRACXBITS_DW_S): Likewise.
6367 (_FP_HIGHBIT_DW_S): Likewise.
6368 (FP_FMA_S): Likewise.
6369 (_FP_FRAC_HIGH_DW_S): Likewise.
6370 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6371 (_FP_WFRACBITS_DW_D): Likewise.
6372 (_FP_WFRACXBITS_DW_D): Likewise.
6373 (_FP_HIGHBIT_DW_D): Likewise.
6374 (FP_FMA_D): Likewise.
6375 (_FP_FRAC_HIGH_DW_D): Likewise.
6376 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6377 (_FP_WFRACBITS_DW_E): Likewise.
6378 (_FP_WFRACXBITS_DW_E): Likewise.
6379 (_FP_HIGHBIT_DW_E): Likewise.
6380 (FP_FMA_E): Likewise.
6381 (_FP_FRAC_HIGH_DW_E): Likewise.
6382 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6383 (_FP_WFRACBITS_DW_Q): Likewise.
6384 (_FP_WFRACXBITS_DW_Q): Likewise.
6385 (_FP_HIGHBIT_DW_Q): Likewise.
6386 (FP_FMA_Q): Likewise.
6387 (_FP_FRAC_HIGH_DW_Q): Likewise.
6388 * soft-fp/fmasf4.c: New file.
6389 * soft-fp/fmadf4.c: Likewise.
6390 * soft-fp/fmatf4.c: Likewise.
6392 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6395 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6397 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6399 (index_Slow_SSE4_2): Likewise.
6400 (index_Prefer_PMINUB_for_stringop): Likewise.
6401 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6402 bit_Slow_SSE4_2 is set.
6403 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6404 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6406 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6408 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6409 rtld_global._dl_hwcap2.
6410 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6412 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6413 POWER8 feature descriptions defined in _dl_hwcap2.
6414 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6415 string handling for POWER8 feature bits.
6416 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6417 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6418 _dl_powerpc_cap_flags.
6419 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6420 * sysdeps/powerpc/rtld-global-offsets.sym
6421 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6422 _dl_hwcap2 in the rtld_global_ro structure.
6424 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6426 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6427 hardware capabilities in support of AT_HWCAP2.
6428 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6429 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6431 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6432 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6433 explicitly the unknown a_type display mechanism is used.
6434 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6435 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6437 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6438 to macro prototype for AT_HWCAP2 support.
6439 * sysdeps/i386/dl-procinfo.h: Likewise.
6440 * sysdeps/s390/dl-procinfo.h: Likewise.
6441 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6442 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6443 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6444 return -1 for unknown a_type display fallback.
6445 * sysdeps/sparc/dl-procinfo.h: Likewise.
6446 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6447 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6449 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6451 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6452 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6454 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6457 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6458 mprotect making __stack_prot writable.
6460 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6461 Joseph Myers <joseph@codesourcery.com>
6463 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6464 as being properly aligned.
6466 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6468 * dlfcn/modstatic5.c: New file.
6469 * dlfcn/tststatic5.c: New file.
6470 * dlfcn/Makefile (tests): Add tststatic5.
6471 (tests-static): Likewise.
6472 (modules-names): Add modstatic5.
6473 (tststatic5-ENV): New variable.
6474 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6477 * elf/dl-support.c (_dl_main_map): New variable.
6478 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6479 (_dl_nns, _dl_load_adds): Set to 1.
6480 (_dl_initial_searchlist): Refer to _dl_main_map.
6481 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6482 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6483 call to _dl_get_origin.
6484 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6486 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6487 * dlfcn/modstatic3.c: New file.
6488 * dlfcn/tststatic3.c: New file.
6489 * dlfcn/tststatic4.c: New file.
6490 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6491 (tests-static): Likewise.
6492 (modules-names): Add modstatic3.
6493 (tststatic3-ENV, tststatic4-ENV): New variables.
6494 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6495 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6497 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6499 * configure.in (CC): Require GCC version 4.4 or later.
6500 * configure: Regenerated.
6501 * manual/install.texi (Tools for Compilation): Update GCC version
6503 * INSTALL: Regenerated.
6505 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6508 * string/test-memcmp.c (check2): New.
6509 (main): Call check2.
6511 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6513 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6516 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6518 (dl_open_worker) [!SHARED]: ... here.
6520 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6522 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6524 2013-06-25 Richard Henderson <rth@redhat.com>
6526 * locale/programs/locarchive.c: Include <libc-internal.h>
6528 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6530 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6531 trailing whitespace removed.
6533 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6536 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6537 * locale/programs/locarchive.c: Include libc-mmap.h.
6538 (prepare_address_space): Take two new outputs (the mmap base and len).
6539 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6541 (create_archive): Declare new mmap base and len values for
6542 prepare_address_space, and store the result in ah.
6543 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6544 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6545 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6546 Declare new mmap base and len values for
6547 prepare_address_space, and store the result in new_ah.
6548 (open_archive): Declare new mmap base and len values for
6549 prepare_address_space, and store the result in ah.
6550 (close_archive): If ah->mmap_base is not NULL, use that and
6551 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6552 * sysdeps/generic/libc-mmap.h: New file.
6554 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6556 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6557 (ALIGN_UP): Likewise.
6558 (PTR_ALIGN_DOWN): Likewise.
6559 (PTR_ALIGN_UP): Likewise.
6561 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6563 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6564 entry mapped to PPC_PLATFORM_POWER8.
6565 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6567 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6568 (_dl_string_platform): Add case for exporting platform position for
6570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6571 search path to sysdeps/powerpc/powerpc32/power8 directory.
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6573 search path to sysdeps/powerpc/powerpc64/power8 directory.
6574 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6576 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6579 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6581 * INSTALL: Regenerate.
6583 * nscd/connections.c (nscd_init): Fix comment.
6585 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6587 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6590 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6591 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6593 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6595 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6597 (DL_DST_REQ_STATIC): Remove macro.
6599 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6602 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6603 with a shift of 0 bits.
6605 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6607 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6610 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6613 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6615 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6618 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6619 accepts -fno-tree-loop-distribute-patterns.
6620 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6621 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6623 * string/memset.c (memset): Likewise.
6624 * string/test-memmove.c (simple_memmove): Disable loop transformation
6626 * string/test-memset.c (simple_memset): Likewise.
6627 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6628 * benchtests/bench-memset.c (simple_memset): Likewise.
6629 * configure: Regenerated.
6631 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6633 * math/test-misc.c (main): Ignore fesetround failure when failures
6634 of subsequent rounding tests would be ignored.
6637 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6638 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6639 * math/fegetenv.c (__fegetenv): Return 0.
6640 * math/fegetexcept.c (fegetexcept): Return 0.
6641 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6643 * math/feholdexcpt.c (feholdexcept): Return 0.
6644 * math/fesetenv.c (__fesetenv): Return 0.
6645 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6646 argument FE_TONEAREST.
6647 * math/feupdateenv.c (__feupdateenv): Return 0.
6648 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6650 2013-06-18 Roland McGrath <roland@hack.frob.com>
6652 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6653 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6654 ($(objpfx)rtld-%.os rules): Use them.
6656 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6658 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6661 2013-06-17 Roland McGrath <roland@hack.frob.com>
6663 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6664 length of target pattern, then descending length of dependency pattern.
6665 * configure.in (AWK): Require gawk 3.1.2 or newer.
6666 * manual/install.texi (Tools for Compilation): Say that we do.
6667 * configure: Regenerated.
6669 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6670 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6671 * scripts/sysd-rules.awk: ... this new script.
6672 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6673 than a glob-style pattern.
6675 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6677 * math/test-misc.c (main): Do not treat incorrectly rounded
6678 conversions as failure unless ROUNDING_TESTS passes.
6680 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6683 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6684 restore exception state around main square root computation, then
6685 check for inexactness explicitly.
6687 * math/libm-test.inc (fma_test_data): Add another test.
6689 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6691 * manual/threads.texi (Non-POSIX Extensions): New document
6692 node. Document pthread_getattr_default_np and
6693 pthread_setattr_default_np.
6695 * Versions.def (libpthread): Add GLIBC_2.18.
6696 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6705 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6716 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6719 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6721 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6722 H.J. Lu <hjl.tools@gmail.com>
6725 * sysdeps/x86_64/rtld-memset.c: Remove file.
6726 * sysdeps/x86_64/rtld-memset.S: New file.
6728 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6730 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6731 (test_in_one_mode): Take arguments for whether the rounding mode
6732 is supported for each floating-point type.
6733 (do_test): Pass new arguments to test_in_one_mode using
6736 2013-06-13 Roland McGrath <roland@hack.frob.com>
6738 * posix/tst-waitid.c (do_test): Distinguish different instances of
6739 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6740 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6741 before entering the kernel for waitpid.
6743 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6745 * NEWS: Fix note on clock function precision. Text by Roland
6748 2013-06-13 Roland McGrath <roland@hack.frob.com>
6750 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6751 it into place only when and if the sanity check passes.
6753 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6755 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6756 output for whether conversion result is exact. Take argument
6757 indicating whether type is IBM long double.
6758 (round_for_all): Change need_exact field to ibm_ld.
6759 * stdlib/tst-strtod-round.c (struct exactness): New type.
6760 (struct test): Change bool ld_ok field to struct exactness exact.
6761 (TEST): Update all definitions for change to field.
6762 (tests): Regenerate array contents.
6763 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6764 field value. Check for IBM long double here.
6765 (do_test): Update calls to test_in_one_mode.
6767 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6770 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6771 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6773 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6776 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6777 generated by the compiler on loop optimizations.
6778 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6779 general definitions.
6781 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6783 * math/bug-nextafter.c: Include <math-tests.h>.
6784 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6786 * math/bug-nexttoward.c: Include <math-tests.h>.
6787 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6789 * math/test-misc.c: Include <math-tests.h>.
6790 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6793 2013-06-12 Andreas Jaeger <aj@suse.de>
6795 * po/ia.po: Update Interlingua translation from translation
6798 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6800 * include/fenv.h: Include stdbool.h.
6801 (struct rm_ctx): New structure.
6802 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6804 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6805 (SET_RESTORE_ROUNDF): Likewise.
6806 (SET_RESTORE_ROUNDL): Likewise.
6807 (SET_RESTORE_ROUND_NOEX): Likewise.
6808 (SET_RESTORE_ROUND_NOEXF): Likewise.
6809 (SET_RESTORE_ROUND_NOEXL): Likewise.
6810 (SET_RESTORE_ROUND_53BIT): Likewise.
6811 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6812 (libc_feresetround_noexf_ctx): Likewise.
6813 (libc_feresetround_noexl_ctx): Likewise.
6814 (libc_feholdsetround_53bit_ctx): Likewise.
6815 (libc_feresetround_53bit_ctx): Likewise.
6816 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6817 (libc_feholdexcept_setround_sse_ctx): New function.
6818 (libc_fesetenv_sse_ctx): Likewise.
6819 (libc_feupdateenv_sse_ctx): Likewise.
6820 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6821 (libc_feholdexcept_setround_387_ctx): Likewise.
6822 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6823 (libc_feholdsetround_387_prec_ctx): Likewise.
6824 (libc_feholdsetround_387_ctx): Likewise.
6825 (libc_feholdsetround_387_53bit_ctx): Likewise.
6826 (libc_feholdsetround_sse_ctx): Likewise.
6827 (libc_feresetround_sse_ctx): Likewise.
6828 (libc_feresetround_387_ctx): Likewise.
6829 (libc_feupdateenv_387_ctx): Likewise.
6830 (libc_feholdexcept_setroundf_ctx): Define macro.
6831 (libc_fesetenvf_ctx): Likewise.
6832 (libc_feupdateenvf_ctx): Likewise.
6833 (libc_feholdsetroundf_ctx): Likewise.
6834 (libc_feresetroundf_ctx): Likewise.
6835 (libc_feholdexcept_setround_ctx): Likewise.
6836 (libc_fesetenv_ctx): Likewise.
6837 (libc_feupdateenv_ctx): Likewise.
6838 (libc_feholdsetround_ctx): Likewise.
6839 (libc_feresetround_ctx): Likewise.
6840 (libc_feholdexcept_setroundl_ctx): Likewise.
6841 (libc_feupdateenvl_ctx): Likewise.
6842 (libc_feholdsetroundl_ctx): Likewise.
6843 (libc_feresetroundl_ctx): Likewise.
6844 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6845 (libc_feresetround_53bit_ctx): Likewise.
6847 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6849 * locale/iso-639.def: Convert to UTF-8.
6851 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6853 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6854 (EXCEPTION_TESTS_double): Likewise.
6855 (EXCEPTION_TESTS_long_double): Likewise.
6856 (EXCEPTION_TESTS): Likewise.
6857 * math/libm-test.inc (test_exceptions): Only test exceptions if
6858 EXCEPTION_TESTS (FLOAT).
6860 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6862 * benchtests/Makefile (string-bench): Add strcpy_chk and
6864 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6865 * benchtests/bench-stpcpy_chk.c: New file.
6866 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6867 * benchtests/bench-strcpy_chk.c: New file.
6868 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6870 (do_test): Likewise.
6872 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6874 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6875 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6876 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6877 with tabs where appropriate.
6878 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6880 [PPC_PLATFORM_PPC440]: Likewise.
6881 [PPC_PLATFORM_PPC464]: Likewise.
6882 [PPC_PLATFORM_PPC476]: Likewise.
6883 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6884 ppc464, and ppc476 platform strings merging from ports/
6887 2013-06-11 Andreas Schwab <schwab@suse.de>
6890 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6891 (from_ucs4_idx): Regenerate.
6892 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6893 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6894 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6895 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6896 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6897 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6898 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6899 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6900 from FROM_LOOP and TO_LOOP specific macros.
6901 (BODY): Handle combining characters.
6902 * iconvdata/BIG5HKSCS.irreversible: Update.
6903 * iconvdata/BIG5HKSCS.precomposed: New file.
6904 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6906 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6908 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6910 * include/sys/time.h: Fix indentation and add copyright header.
6912 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6913 (do_test): Likewise.
6914 * string/test-memchr.c (do_one_test): Likewise.
6915 (do_test): Likewise.
6916 * string/test-memcmp.c (do_one_test): Likewise.
6917 (do_test): Likewise.
6918 * string/test-memcpy.c (do_one_test): Likewise.
6919 (do_test): Likewise.
6920 * string/test-memmem.c (do_one_test): Likewise.
6921 (do_test): Likewise.
6922 (do_random_tests): Likewise.
6923 * string/test-memmove.c (do_one_test): Likewise.
6924 (do_test): Likewise.
6925 * string/test-memset.c (do_one_test): Likewise.
6926 (do_test): Likewise.
6927 * string/test-rawmemchr.c (do_one_test): Likewise.
6928 (do_test): Likewise.
6929 * string/test-strcasecmp.c (do_one_test): Likewise.
6930 (do_test): Likewise.
6931 * string/test-strcasestr.c (do_one_test): Likewise.
6932 (do_test): Likewise.
6933 * string/test-strcat.c (do_one_test): Likewise.
6934 (do_test): Likewise.
6935 * string/test-strchr.c (do_one_test): Likewise.
6936 (do_test): Likewise.
6937 * string/test-strcmp.c (do_one_test): Likewise.
6938 (do_test): Likewise.
6939 * string/test-strcpy.c (do_one_test): Likewise.
6940 (do_test): Likewise.
6941 * string/test-string.h: Likewise.
6942 (test_init): Likewise.
6943 * string/test-strlen.c (do_one_test): Likewise.
6944 (do_test): Likewise.
6945 * string/test-strncasecmp.c (do_one_test): Likewise.
6946 (do_test): Likewise.
6947 * string/test-strncat.c (do_one_test): Likewise.
6948 (do_test): Likewise.
6949 * string/test-strncmp.c (do_one_test): Likewise.
6950 (do_test_limit): Likewise.
6951 (do_test): Likewise.
6952 * string/test-strncpy.c (do_one_test): Likewise.
6953 (do_test): Likewise.
6954 * string/test-strnlen.c (do_one_test): Likewise.
6955 (do_test): Likewise.
6956 * string/test-strpbrk.c (do_one_test): Likewise.
6957 (do_test): Likewise.
6958 * string/test-strrchr.c (do_one_test): Likewise.
6959 (do_test): Likewise.
6960 * string/test-strspn.c (do_one_test): Likewise.
6961 (do_test): Likewise.
6962 * string/test-strstr.c (do_one_test): Likewise.
6963 (do_test): Likewise.
6965 * benchtests/Makefile (string-bench): Add string benchmarks.
6966 * benchtests/bench-bcopy-ifunc.c: New file.
6967 * benchtests/bench-bcopy.c: New file.
6968 * benchtests/bench-bzero-ifunc.c: New file.
6969 * benchtests/bench-bzero.c: New file.
6970 * benchtests/bench-memccpy-ifunc.c: New file.
6971 * benchtests/bench-memccpy.c: New file.
6972 * benchtests/bench-memchr-ifunc.c: New file.
6973 * benchtests/bench-memchr.c: New file.
6974 * benchtests/bench-memcmp-ifunc.c: New file.
6975 * benchtests/bench-memcmp.c: New file.
6976 * benchtests/bench-memmem-ifunc.c: New file.
6977 * benchtests/bench-memmem.c: New file.
6978 * benchtests/bench-memmove-ifunc.c: New file.
6979 * benchtests/bench-memmove.c: New file.
6980 * benchtests/bench-mempcpy-ifunc.c: New file.
6981 * benchtests/bench-mempcpy.c: New file.
6982 * benchtests/bench-memset-ifunc.c: New file.
6983 * benchtests/bench-memset.c: New file.
6984 * benchtests/bench-rawmemchr-ifunc.c: New file.
6985 * benchtests/bench-rawmemchr.c: New file.
6986 * benchtests/bench-stpcpy-ifunc.c: New file.
6987 * benchtests/bench-stpcpy.c: New file.
6988 * benchtests/bench-stpncpy-ifunc.c: New file.
6989 * benchtests/bench-stpncpy.c: New file.
6990 * benchtests/bench-strcasecmp-ifunc.c: New file.
6991 * benchtests/bench-strcasecmp.c: New file.
6992 * benchtests/bench-strcasestr-ifunc.c: New file.
6993 * benchtests/bench-strcasestr.c: New file.
6994 * benchtests/bench-strcat-ifunc.c: New file.
6995 * benchtests/bench-strcat.c: New file.
6996 * benchtests/bench-strchr-ifunc.c: New file.
6997 * benchtests/bench-strchr.c: New file.
6998 * benchtests/bench-strchrnul-ifunc.c: New file.
6999 * benchtests/bench-strchrnul.c: New file.
7000 * benchtests/bench-strcmp-ifunc.c: New file.
7001 * benchtests/bench-strcmp.c: New file.
7002 * benchtests/bench-strcpy-ifunc.c: New file.
7003 * benchtests/bench-strcpy.c: New file.
7004 * benchtests/bench-strcspn-ifunc.c: New file.
7005 * benchtests/bench-strcspn.c: New file.
7006 * benchtests/bench-strlen-ifunc.c: New file.
7007 * benchtests/bench-strlen.c: New file.
7008 * benchtests/bench-strncasecmp-ifunc.c: New file.
7009 * benchtests/bench-strncasecmp.c: New file.
7010 * benchtests/bench-strncat-ifunc.c: New file.
7011 * benchtests/bench-strncat.c: New file.
7012 * benchtests/bench-strncmp-ifunc.c: New file.
7013 * benchtests/bench-strncmp.c: New file.
7014 * benchtests/bench-strncpy-ifunc.c: New file.
7015 * benchtests/bench-strncpy.c: New file.
7016 * benchtests/bench-strnlen-ifunc.c: New file.
7017 * benchtests/bench-strnlen.c: New file.
7018 * benchtests/bench-strpbrk-ifunc.c: New file.
7019 * benchtests/bench-strpbrk.c: New file.
7020 * benchtests/bench-strrchr-ifunc.c: New file.
7021 * benchtests/bench-strrchr.c: New file.
7022 * benchtests/bench-strspn-ifunc.c: New file.
7023 * benchtests/bench-strspn.c: New file.
7024 * benchtests/bench-strstr-ifunc.c: New file.
7025 * benchtests/bench-strstr.c: New file.
7027 * benchtests/Makefile: Disable parallel execution of targets.
7028 (string-bench): Add memcpy.
7029 (benchset): New variable to store a list of benchmark sets.
7030 (bench-func): Renamed from bench.
7031 (bench-set): New target.
7032 (bench): Depend on bench-func and bench-set.
7033 * benchtests/README: Add section on benchmark sets.
7034 * benchtests/bench-memcpy-ifunc.c: New file.
7035 * benchtests/bench-memcpy.c: New file.
7036 * benchtests/bench-string.h: New file.
7038 2013-06-11 Andreas Schwab <schwab@suse.de>
7041 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7042 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7043 values in the triple.
7044 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7045 terminator in the group key.
7047 2013-06-11 Andreas Jaeger <aj@suse.de>
7049 * po/zh_TW.po: Update Chinese (traditional) translation from
7050 translation project.
7052 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7054 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7055 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7056 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7057 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7058 (clock_getcpuclockid): Likewise.
7059 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7060 Add weak_alias and libc_hidden_def.
7061 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7062 * rt/clock_gettime.c (clock_gettime): Rename to
7063 __clock_gettime. Add weak_alias and libc_hidden_def.
7064 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7065 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7066 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7067 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7068 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7070 * rt/clock_settime.c (clock_settime): Rename to
7071 __clock_settime. Add weak_alias and libc_hidden_def.
7072 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7074 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7076 * mach/err_boot.sub: Remove trailing whitespace.
7077 * mach/err_ipc.sub: Likewise.
7078 * mach/err_mach.sub: Likewise.
7080 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7081 (ROUNDING_TESTS_double): Likewise.
7082 (ROUNDING_TESTS_long_double): Likewise.
7083 (ROUNDING_TESTS): Likewise.
7084 * math/libm-test.inc: Include <math-tests.h>.
7085 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7086 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7087 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7088 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7090 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7092 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7095 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7097 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7098 otherwise empty TRANS lines.
7099 * sysdeps/gnu/errlist.c: Regenerated.
7101 * catgets/gencat.c (error_print): Use (void) in function
7103 * crypt/crypt_util.c (__init_des): Likewise.
7104 * crypt/speeds.c (Stop): Likewise.
7106 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7107 * inet/ruserpass.c (token): Likewise.
7108 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7109 * intl/localealias.c (extend_alias_table): Likewise.
7110 * intl/plural-exp.c (init_germanic_plural): Likewise.
7111 * libio/fcloseall.c (__fcloseall): Likewise.
7112 * libio/genops.c (_IO_flush_all): Likewise.
7113 (_IO_flush_all_linebuffered): Likewise.
7114 (_IO_cleanup): Likewise.
7115 (_IO_iter_begin): Likewise.
7116 (_IO_iter_end): Likewise.
7117 (_IO_list_lock): Likewise.
7118 (_IO_list_unlock): Likewise.
7119 (_IO_list_resetlock): Likewise.
7120 * libio/getchar.c (getchar): Likewise.
7121 * libio/getchar_u.c (getchar_unlocked): Likewise.
7122 * libio/getwchar.c (getwchar): Likewise.
7123 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7124 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7125 * login/getpt.c (__getpt): Likewise.
7126 * login/tst-utmp.c (main): Likewise.
7127 * malloc/hooks.c (__malloc_check_init): Likewise.
7128 * malloc/malloc.c (__malloc_stats): Likewise.
7129 * malloc/mtrace.c (tr_break): Likewise.
7131 (muntrace): Likewise.
7132 * misc/fstab.c (endfsent): Likewise.
7133 * misc/getclktck.c (__getclktck): Likewise.
7134 * misc/getdtsz.c (__getdtablesize): Likewise.
7135 * misc/gethostid.c (gethostid): Likewise.
7136 * misc/getpagesize.c (__getpagesize): Likewise.
7137 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7138 (__get_nprocs): Likewise.
7139 (__get_phys_pages): Likewise.
7140 (__get_avphys_pages): Likewise.
7141 * misc/getttyent.c (getttyent): Likewise.
7142 (setttyent): Likewise.
7143 (endttyent): Likewise.
7144 * misc/getusershell.c (getusershell): Likewise.
7145 (endusershell): Likewise.
7146 (setusershell): Likewise.
7147 (initshells): Likewise.
7148 * misc/hsearch.c (__hdestroy): Likewise.
7149 * misc/sync.c (sync): Likewise.
7150 * misc/syslog.c (closelog_internal): Likewise.
7151 (closelog): Likewise.
7152 * misc/ttyslot.c (ttyslot): Likewise.
7153 * misc/vhangup.c (vhangup): Likewise.
7154 * posix/fork.c (__fork): Likewise.
7155 * posix/getegid.c (__getegid): Likewise.
7156 * posix/geteuid.c (__geteuid): Likewise.
7157 * posix/getgid.c (__getgid): Likewise.
7158 * posix/getpid.c (__getpid): Likewise.
7159 * posix/getppid.c (__getppid): Likewise.
7160 * posix/getuid.c (__getuid): Likewise.
7161 * posix/pause.c (pause): Likewise.
7162 * posix/setpgrp.c (setpgrp): Likewise.
7163 * posix/setsid.c (__setsid): Likewise.
7164 * posix/test-vfork.c (noop): Likewise.
7165 * resolv/gethnamaddr.c (_endhtent): Likewise.
7166 (_gethtent): Likewise.
7167 (ht_endhostent): Likewise.
7168 (gethostent): Likewise.
7169 (dns_service): Likewise.
7170 * stdlib/drand48.c (drand48): Likewise.
7171 * stdlib/lrand48.c (lrand48): Likewise.
7172 * stdlib/mrand48.c (mrand48): Likewise.
7173 * stdlib/rand.c (rand): Likewise.
7174 * stdlib/random.c (__random): Likewise.
7175 * stdlib/setenv.c (clearenv): Likewise.
7176 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7177 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7178 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7179 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7180 (__get_nprocs): Likewise.
7181 (__get_phys_pages): Likewise.
7182 (__get_avphys_pages): Likewise.
7183 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7184 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7185 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7186 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7187 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7188 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7189 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7190 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7191 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7192 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7193 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7194 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7195 * sysdeps/posix/clock.c (clock): Likewise.
7196 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7197 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7198 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7199 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7200 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7202 (__get_nprocs_conf): Likewise.
7203 (__get_phys_pages): Likewise.
7204 (__get_avphys_pages): Likewise.
7205 * time/clock.c (clock): Likewise.
7206 * time/tzset.c (__tzname_max): Likewise.
7208 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7210 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7211 (__bswap_32): Do not use "register".
7212 * crypt/crypt.c (_ufc_doit_r): Likewise.
7213 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7214 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7215 * gmon/gmon.c (__monstartup): Likewise.
7216 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7217 * hurd/hurdmalloc.c (more_memory): Likewise.
7220 (realloc): Likewise.
7221 (malloc_fork_prepare): Likewise.
7222 (malloc_fork_parent): Likewise.
7223 (malloc_fork_child): Likewise.
7224 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7225 (_svcauth_des): Likewise.
7226 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7227 * inet/inet_net.c (inet_network): Likewise.
7228 * inet/inet_netof.c (inet_netof): Likewise.
7229 * inet/rcmd.c (__validuser2_sa): Likewise.
7230 * io/fts.c (fts_open): Likewise.
7231 (fts_load): Likewise.
7232 (fts_close): Likewise.
7233 (fts_read): Likewise.
7234 (fts_children): Likewise.
7235 (fts_build): Likewise.
7236 (fts_stat): Likewise.
7237 (fts_sort): Likewise.
7238 (fts_alloc): Likewise.
7239 (fts_lfree): Likewise.
7240 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7241 (_IO_file_xsgetn): Likewise.
7242 (_IO_file_xsgetn_mmap): Likewise.
7243 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7244 (_IO_cookie_write): Likewise.
7245 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7246 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7247 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7248 * malloc/obstack.c (_obstack_begin): Likewise.
7249 (_obstack_begin_1): Likewise.
7250 (_obstack_newchunk): Likewise.
7251 (_obstack_allocated_p): Likewise.
7252 (obstack_free): Likewise.
7253 (_obstack_memory_used): Likewise.
7254 * misc/getttyent.c (getttynam): Likewise.
7255 (getttyent): Likewise.
7258 * misc/getusershell.c (initshells): Likewise.
7259 * misc/syslog.c (__vsyslog_chk): Likewise.
7260 * misc/ttyslot.c (ttyslot): Likewise.
7261 * nis/nis_hash.c (__nis_hash): Likewise.
7262 * posix/fnmatch_loop.c (FCT): Likewise.
7263 * posix/getconf.c (print_all): Likewise.
7265 * posix/getopt.c (exchange): Likewise.
7266 * posix/glob.c (globfree): Likewise.
7267 (prefix_array): Likewise.
7268 (__glob_pattern_type): Likewise.
7269 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7270 (NS_GET32): Likewise.
7271 (NS_PUT16): Likewise.
7272 (NS_PUT32): Likewise.
7273 * resolv/gethnamaddr.c (getanswer): Likewise.
7274 (gethostbyname2): Likewise.
7275 (gethostbyaddr): Likewise.
7276 (_gethtent): Likewise.
7277 (_gethtbyname2): Likewise.
7278 (_gethtbyaddr): Likewise.
7279 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7280 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7281 * resolv/res_init.c (__res_vinit): Likewise.
7282 (net_mask): Likewise.
7283 * resolv/res_mkquery.c (outchar): Likewise.
7285 * stdio-common/printf_fp.c (outchar): Likewise.
7287 * stdio-common/printf_fphex.c (outchar): Likewise.
7289 * stdio-common/printf_size.c (outchar): Likewise.
7291 * stdio-common/test_rdwr.c (main): Likewise.
7292 * stdio-common/tfformat.c (matches): Likewise.
7293 * stdio-common/vfprintf.c (outchar): Likewise.
7294 (printf_unknown): Likewise.
7295 (buffered_vfprintf): Likewise.
7296 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7297 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7298 (ReadFile): Likewise.
7299 * stdlib/qsort.c (SWAP): Likewise.
7300 (_quicksort): Likewise.
7301 * stdlib/setenv.c (__add_to_environ): Likewise.
7302 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7303 * stdlib/strtol_l.c (__strtol_l): Likewise.
7304 * stdlib/tst-strtod.c (main): Likewise.
7305 * stdlib/tst-strtol.c (main): Likewise.
7306 * stdlib/tst-strtoll.c (main): Likewise.
7307 * string/bits/string2.h (__strcmp_cc): Likewise.
7308 (__strcmp_cg): Likewise.
7309 (__strcspn_c1): Likewise.
7310 (__strcspn_c2): Likewise.
7311 (__strcspn_c3): Likewise.
7312 (__strspn_c1): Likewise.
7313 (__strspn_c2): Likewise.
7314 (__strspn_c3): Likewise.
7315 (__strsep_1c): Likewise.
7316 (__strsep_2c): Likewise.
7317 (__strsep_3c): Likewise.
7318 * string/memccpy.c (__memccpy): Likewise.
7319 * string/stpcpy.c (__stpcpy): Likewise.
7320 * string/strcmp.c (strcmp): Likewise.
7321 * string/strrchr.c (strrchr): Likewise.
7322 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7324 * sysdeps/mach/hurd/getcwd.c
7325 (_hurd_canonicalize_directory_name_internal): Likewise.
7326 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7327 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7328 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7329 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7330 Likewise, in both definitions.
7331 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7333 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7334 64] (__bswap_64): Likewise.
7335 * time/test_time.c (main): Likewise.
7336 * time/tzfile.c (__tzfile_read): Likewise.
7337 (__tzfile_compute): Likewise.
7338 * time/tzset.c (__tzset_parse_tz): Likewise.
7339 (tzset_internal): Likewise.
7340 (compute_change): Likewise.
7341 * wcsmbs/wcscat.c (__wcscat): Likewise.
7342 * wcsmbs/wcschr.c (wcschr): Likewise.
7343 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7344 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7345 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7346 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7347 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7348 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7349 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7350 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7351 * wcsmbs/wmemset.c (wmemset): Likewise.
7353 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7355 * scripts/config.guess: Update to version 2013-05-16.
7356 * scripts/config.sub: Update to version 2013-04-24.
7357 * scripts/install-sh: Update to version 2011-11-20.07.
7358 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7359 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7361 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7363 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7364 * elf/sln.c: Likewise.
7365 * hurd/hurd/ioctl.h: Likewise.
7366 * hurd/hurdmalloc.c: Likewise.
7367 * hurd/xattr.c: Likewise.
7368 * include/shlib-compat.h: Likewise.
7369 * inet/ruserpass.c: Likewise.
7370 * libio/iofgets_u.c: Likewise.
7371 * libio/iofgetws_u.c: Likewise.
7372 * locale/programs/ld-identification.c: Likewise.
7373 * locale/programs/ld-time.c: Likewise.
7374 * mach/msg-destroy.c: Likewise.
7375 * nss/nss_files/files-netgrp.c: Likewise.
7376 * resolv/res_data.c: Likewise.
7377 * soft-fp/op-1.h: Likewise.
7378 * soft-fp/op-2.h: Likewise.
7379 * soft-fp/op-4.h: Likewise.
7380 * soft-fp/op-common.h: Likewise.
7381 * stdio-common/printf_fphex.c: Likewise.
7382 * stdlib/strtod_l.c: Likewise.
7383 * sunrpc/rpc/clnt.h: Likewise.
7384 * sysdeps/generic/framestate.c: Likewise.
7385 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7386 * sysdeps/i386/bsd-setjmp.S: Likewise.
7387 * sysdeps/i386/__longjmp.S: Likewise.
7388 * sysdeps/i386/setjmp.S: Likewise.
7389 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7390 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7391 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7400 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7405 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7406 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7407 * sysdeps/ieee754/support.c: Likewise.
7408 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7409 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7410 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7411 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7412 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7413 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7414 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7415 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7416 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7417 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7418 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7419 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7420 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7421 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7422 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7423 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7424 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7427 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7429 * posix/transbug.c: Remove executable mode.
7431 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7433 * crypt/speeds.c: Remove trailing whitespace.
7434 * dlfcn/default.c: Likewise.
7435 * elf/ifuncdep2.c: Likewise.
7436 * elf/ifuncmain1.c: Likewise.
7437 * elf/ifuncmain1vis.c: Likewise.
7438 * elf/testobj.h: Likewise.
7439 * elf/tst-stackguard1.c: Likewise.
7440 * gmon/sys/gmon.h: Likewise.
7441 * hurd/hurdmsg.c: Likewise.
7442 * hurd/new-fd.c: Likewise.
7443 * hurd/ports-get.c: Likewise.
7444 * iconvdata/ibm1008_420.c: Likewise.
7445 * inet/tst-getni1.c: Likewise.
7446 * inet/tst-getni2.c: Likewise.
7447 * libio/ioungetc.c: Likewise.
7448 * libio/wfiledoalloc.c: Likewise.
7449 * manual/libm-err-tab.pl: Likewise.
7450 * math/w_dremf.c: Likewise.
7451 * misc/ftruncate.c: Likewise.
7452 * posix/bug-glob2.c: Likewise.
7453 * posix/tst-pcre.c: Likewise.
7454 * posix/wait4.c: Likewise.
7455 * resolv/README: Likewise.
7456 * resolv/res_debug.h: Likewise.
7457 * resolv/tst-inet_ntop.c: Likewise.
7458 * setjmp/bug269-setjmp.c: Likewise.
7459 * soft-fp/extended.h: Likewise.
7460 * soft-fp/op-1.h: Likewise.
7461 * soft-fp/op-2.h: Likewise.
7462 * soft-fp/op-4.h: Likewise.
7463 * soft-fp/op-8.h: Likewise.
7464 * soft-fp/testit.c: Likewise.
7465 * stdio-common/bug16.c: Likewise.
7466 * stdlib/random.c: Likewise.
7467 * sunrpc/rpcsvc/rquota.x: Likewise.
7468 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7469 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7470 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7471 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7472 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7473 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7474 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7475 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7476 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7477 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7478 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7484 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7486 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7487 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7495 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7497 * sysdeps/ieee754/s_lib_version.c: Likewise.
7498 * sysdeps/mach/hurd/check_fds.c: Likewise.
7499 * sysdeps/mach/hurd/getsockname.c: Likewise.
7500 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7501 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7502 * sysdeps/powerpc/bits/link.h: Likewise.
7503 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7504 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7505 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7506 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7507 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7508 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7509 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7510 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7511 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7512 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7513 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7514 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7515 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7516 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7517 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7518 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7519 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7520 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7521 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7522 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7523 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7524 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7525 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7526 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7527 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7528 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7529 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7530 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7531 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7532 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7533 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7535 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7536 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7537 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7538 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7539 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7540 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7541 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7542 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7543 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7544 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7545 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7546 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7547 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7548 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7549 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7550 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7551 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7552 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7554 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7555 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7556 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7557 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7558 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7559 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7560 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7562 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7563 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7564 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7565 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7566 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7567 * sysdeps/powerpc/sysdep.h: Likewise.
7568 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7569 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7570 * sysdeps/sh/dl-trampoline.S: Likewise.
7571 * sysdeps/sh/memset.S: Likewise.
7572 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7573 * sysdeps/sh/strlen.S: Likewise.
7574 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7575 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7576 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7577 * sysdeps/sparc/sparc32/rem.S: Likewise.
7578 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7579 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7580 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7581 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7582 * sysdeps/sparc/sparc32/urem.S: Likewise.
7583 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7584 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7585 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7586 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7587 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7588 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7589 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7590 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7591 * sysdeps/unix/bsd/times.c: Likewise.
7592 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7593 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7597 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7598 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7599 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7600 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7601 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7602 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7603 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7604 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7605 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7606 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7607 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7608 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7609 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7610 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7611 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7612 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7613 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7614 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7615 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7616 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7617 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7618 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7619 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7620 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7621 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7622 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7623 * sysdeps/x86_64/strcspn.S: Likewise.
7625 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7627 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7628 generated file. Regenerate properly from gen-translit.pl.
7629 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7630 locale/C-translit.h.
7632 2013-06-05 Andreas Schwab <schwab@suse.de>
7635 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7636 week as 6 instead of -1.
7637 * time/tst-strptime.c (day_tests): Add test case.
7639 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7641 * sysdeps/generic/math_private.h
7642 (libc_feholdexcept_setround_53bit): Replace with
7643 libc_feholdsetround_53bit.
7644 (libc_feupdateenv_53bit): Replace with
7645 libc_feresetround_53bit.
7646 (SET_RESTORE_ROUND_53BIT): Adjust.
7648 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7650 * string/test-strchrnul.c: Add copyright header.
7652 * posix/tst-getaddrinfo4.c: Increase test timeout.
7654 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7657 * math/libm-test.inc (MAX_EXP): Remove
7659 (ulp): Use MIN_EXP - MANT_DIG.
7660 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7662 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7664 * po/be.po: Revert last change.
7665 * po/zh_CN.po: Likewise.
7666 * po/header.pot: Likewise.
7668 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7670 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7671 link-libc-deps to empty as target-specific variable.
7672 * Makerules (link-libc-args): New variable.
7673 (libc-for-link): Likewise.
7674 (link-libc-deps): Likewise.
7675 (lib%.so): Depend on $(link-libc-deps). Link with
7677 (build-module): Link with $(link-libc-args).
7678 (build-module-asneeded): Likewise.
7679 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7681 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7682 target-specific variable.
7683 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7684 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7685 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7687 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7689 ($(objpfx)libpcprofile.so): Likewise.
7690 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7692 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7693 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7694 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7696 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7697 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7698 * login/Makefile ($(objpfx)libutil.so): Likewise.
7699 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7700 * math/Makefile ($(objpfx)libm.so): Likewise.
7701 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7702 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7703 variable instead of depending directly on libc.
7704 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7705 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7707 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7709 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7710 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7711 ($(objpfx)libanl.so): Likewise.
7712 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7714 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7716 * sysdeps/i386/fpu/Makefile: Remove file.
7717 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7718 ($(objpfx)libm.so): Remove dependency on ld.so.
7720 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7723 * nis/yp_xdr.c (XDRMAXNAME): Define.
7724 (XDRMAXRECORD): Define.
7725 (xdr_domainname): Use XDRMAXNAME.
7726 (xdr_mapname): Likewise.
7727 (xdr_peername): Likewise.
7728 (xdr_keydat): Use XDRMAXRECORD.
7729 (xdr_valdat): Likewise.
7731 2013-05-30 Jeff Law <law@redhat.com>
7734 * manual/errno.texi (ESTALE): Update to account for more than
7735 just NFS file systems.
7736 * sysdeps/gnu/errlist.c: Regenerated.
7738 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7741 * elf/Makefile (tests): Add tst-null-argv.
7742 (modules-names): Add tst-null-argv-lib.
7743 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7744 (tst-null-argv-ENV): Set environment for tst-null-argv.
7745 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7746 (RTLD_PROGNAME): New macro.
7747 * elf/tst-null-argv.c: New test case.
7748 * elf/tst-null-argv-lib.c: Library for test case.
7749 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7750 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7751 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7752 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7753 * elf/dl-init.c (call_init): Likewise.
7754 (_dl_init): Likewise.
7755 * elf/dl-load.c (print_search_path): Likewise.
7756 (_dl_map_object): Likewise.
7757 * elf/dl-lookup.c (do_lookup_x): Likewise.
7758 (add_dependency): Likewise.
7759 (_dl_lookup_symbol_x): Likewise.
7760 (_dl_debug_bindings): Likewise.
7761 * elf/dl-open.c (_dl_show_scope): Likewise.
7762 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7763 * elf/dl-version.c (match_symbol): Likewise.
7764 (_dl_check_map_versions): Likewise.
7765 * elf/rtld.c (dl_main): Likewise.
7766 (print_unresolved): Use RTLD_PROGNAME.
7767 (print_missing_version): Likewise.
7768 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7769 (elf_machine_rela): Likewise.
7770 * sysdeps/powerpc/powerpc32/dl-machine.c
7771 (__process_machine_rela): Likewise.
7772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7774 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7776 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7778 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7779 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7781 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7783 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7785 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7787 * po/be.po: Add descriptive title.
7788 * po/zh_CN.po: Likewise.
7789 * po/header.pot: Likewise.
7791 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7793 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7795 (enlarge_archive): Likewise.
7797 2013-05-28 Ben North <ben@redfrontdoor.org>
7799 * manual/arith.texi (frexp): It is the magnitude of the return
7800 value which lies in [0.5, 1), not the return value itself.
7802 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7806 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7808 * stdio-common/bug26.c (main): Correct fscanf template.
7810 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7811 declare _dl_skip_args.
7813 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7816 * manual/platform.texi: Add missing @end deftypefun.
7818 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7821 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7822 bit of mantissa of 2^16382.
7823 * math/libm-test.inc (hypot_test_data): Add more tests.
7825 * math/libm-test.inc: Add drem and pow10 to list of tested
7827 (pow10_test): New function.
7828 (drem_test): Likewise.
7829 (drem_test_tonearest): Likewise.
7830 (drem_test_towardzero): Likewise.
7831 (drem_test_downward): Likewise.
7832 (drem_test_upward): Likewise.
7833 (main): Call the new functions.
7835 * math/libm-test.inc (finite_test_data): Remove.
7836 (finite_test): Run tests from isfinite_test_data.
7837 (gamma_test_data): Remove.
7838 (gamma_test): Run tests from lgamma_test_data.
7839 * sysdeps/i386/fpu/libm-test-ulps: Update.
7840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7842 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844 * manual/platform.texi: Add PowerPC PPR function set documentation.
7845 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7848 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7850 * math/libm-test.inc (MAX_EXP): Define.
7852 (ulp): New function.
7853 (check_float_internal): Use ULPDIFF.
7854 (cpow_test): Disable failing test.
7855 (check_ulp): Test ulp() implemetnation.
7856 (main): Call check_ulp before starting tests.
7858 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7860 * math/gen-libm-test.pl (generate_testfile): Do not handle
7861 START_DATA and END_DATA.
7862 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7864 (acos_tonearest_test_data): Likewise.
7865 (acos_towardzero_test_data): Likewise.
7866 (acos_downward_test_data): Likewise.
7867 (acos_upward_test_data): Likewise.
7868 (acosh_test_data): Likewise.
7869 (asin_test_data): Likewise.
7870 (asin_tonearest_test_data): Likewise.
7871 (asin_towardzero_test_data): Likewise.
7872 (asin_downward_test_data): Likewise.
7873 (asin_upward_test_data): Likewise.
7874 (asinh_test_data): Likewise.
7875 (atan_test_data): Likewise.
7876 (atanh_test_data): Likewise.
7877 (atan2_test_data): Likewise.
7878 (cabs_test_data): Likewise.
7879 (cacos_test_data): Likewise.
7880 (cacosh_test_data): Likewise.
7881 (carg_test_data): Likewise.
7882 (casin_test_data): Likewise.
7883 (casinh_test_data): Likewise.
7884 (catan_test_data): Likewise.
7885 (catanh_test_data): Likewise.
7886 (cbrt_test_data): Likewise.
7887 (ccos_test_data): Likewise.
7888 (ccosh_test_data): Likewise.
7889 (ceil_test_data): Likewise.
7890 (cexp_test_data): Likewise.
7891 (cimag_test_data): Likewise.
7892 (clog_test_data): Likewise.
7893 (clog10_test_data): Likewise.
7894 (conj_test_data): Likewise.
7895 (copysign_test_data): Likewise.
7896 (cos_test_data): Likewise.
7897 (cos_tonearest_test_data): Likewise.
7898 (cos_towardzero_test_data): Likewise.
7899 (cos_downward_test_data): Likewise.
7900 (cos_upward_test_data): Likewise.
7901 (cosh_test_data): Likewise.
7902 (cosh_tonearest_test_data): Likewise.
7903 (cosh_towardzero_test_data): Likewise.
7904 (cosh_downward_test_data): Likewise.
7905 (cosh_upward_test_data): Likewise.
7906 (cpow_test_data): Likewise.
7907 (cproj_test_data): Likewise.
7908 (creal_test_data): Likewise.
7909 (csin_test_data): Likewise.
7910 (csinh_test_data): Likewise.
7911 (csqrt_test_data): Likewise.
7912 (ctan_test_data): Likewise.
7913 (ctan_tonearest_test_data): Likewise.
7914 (ctan_towardzero_test_data): Likewise.
7915 (ctan_downward_test_data): Likewise.
7916 (ctan_upward_test_data): Likewise.
7917 (ctanh_test_data): Likewise.
7918 (ctanh_tonearest_test_data): Likewise.
7919 (ctanh_towardzero_test_data): Likewise.
7920 (ctanh_downward_test_data): Likewise.
7921 (ctanh_upward_test_data): Likewise.
7922 (erf_test_data): Likewise.
7923 (erfc_test_data): Likewise.
7924 (exp_test_data): Likewise.
7925 (exp_tonearest_test_data): Likewise.
7926 (exp_towardzero_test_data): Likewise.
7927 (exp_downward_test_data): Likewise.
7928 (exp_upward_test_data): Likewise.
7929 (exp10_test_data): Likewise.
7930 (exp2_test_data): Likewise.
7931 (expm1_test_data): Likewise.
7932 (fabs_test_data): Likewise.
7933 (fdim_test_data): Likewise.
7934 (finite_test_data): Likewise.
7935 (floor_test_data): Likewise.
7936 (fma_test_data): Likewise.
7937 (fma_towardzero_test_data): Likewise.
7938 (fma_downward_test_data): Likewise.
7939 (fma_upward_test_data): Likewise.
7940 (fmax_test_data): Likewise.
7941 (fmin_test_data): Likewise.
7942 (fmod_test_data): Likewise.
7943 (fpclassify_test_data): Likewise.
7944 (frexp_test_data): Likewise.
7945 (gamma_test_data): Likewise.
7946 (hypot_test_data): Likewise.
7947 (ilogb_test_data): Likewise.
7948 (isfinite_test_data): Likewise.
7949 (isgreater_test_data): Likewise.
7950 (isgreaterequal_test_data): Likewise.
7951 (isinf_test_data): Likewise.
7952 (isless_test_data): Likewise.
7953 (islessequal_test_data): Likewise.
7954 (islessgreater_test_data): Likewise.
7955 (isnan_test_data): Likewise.
7956 (isnormal_test_data): Likewise.
7957 (issignaling_test_data): Likewise.
7958 (isunordered_test_data): Likewise.
7959 (j0_test_data): Likewise.
7960 (j1_test_data): Likewise.
7961 (jn_test_data): Likewise.
7962 (ldexp_test_data): Likewise.
7963 (lgamma_test_data): Likewise.
7964 (lrint_test_data): Likewise.
7965 (lrint_tonearest_test_data): Likewise.
7966 (lrint_towardzero_test_data): Likewise.
7967 (lrint_downward_test_data): Likewise.
7968 (lrint_upward_test_data): Likewise.
7969 (llrint_test_data): Likewise.
7970 (llrint_tonearest_test_data): Likewise.
7971 (llrint_towardzero_test_data): Likewise.
7972 (llrint_downward_test_data): Likewise.
7973 (llrint_upward_test_data): Likewise.
7974 (log_test_data): Likewise.
7975 (log10_test_data): Likewise.
7976 (log1p_test_data): Likewise.
7977 (log2_test_data): Likewise.
7978 (logb_test_data): Likewise.
7979 (logb_downward_test_data): Likewise.
7980 (lround_test_data): Likewise.
7981 (llround_test_data): Likewise.
7982 (modf_test_data): Likewise.
7983 (nearbyint_test_data): Likewise.
7984 (nextafter_test_data): Likewise.
7985 (nexttoward_test_data): Likewise.
7986 (pow_test_data): Likewise.
7987 (pow_tonearest_test_data): Likewise.
7988 (pow_towardzero_test_data): Likewise.
7989 (pow_downward_test_data): Likewise.
7990 (pow_upward_test_data): Likewise.
7991 (remainder_test_data): Likewise.
7992 (remainder_tonearest_test_data): Likewise.
7993 (remainder_towardzero_test_data): Likewise.
7994 (remainder_downward_test_data): Likewise.
7995 (remainder_upward_test_data): Likewise.
7996 (remquo_test_data): Likewise.
7997 (rint_test_data): Likewise.
7998 (rint_tonearest_test_data): Likewise.
7999 (rint_towardzero_test_data): Likewise.
8000 (rint_downward_test_data): Likewise.
8001 (rint_upward_test_data): Likewise.
8002 (round_test_data): Likewise.
8003 (scalb_test_data): Likewise.
8004 (scalbn_test_data): Likewise.
8005 (scalbln_test_data): Likewise.
8006 (signbit_test_data): Likewise.
8007 (sin_test_data): Likewise.
8008 (sin_tonearest_test_data): Likewise.
8009 (sin_towardzero_test_data): Likewise.
8010 (sin_downward_test_data): Likewise.
8011 (sin_upward_test_data): Likewise.
8012 (sincos_test_data): Likewise.
8013 (sinh_test_data): Likewise.
8014 (sinh_tonearest_test_data): Likewise.
8015 (sinh_towardzero_test_data): Likewise.
8016 (sinh_downward_test_data): Likewise.
8017 (sinh_upward_test_data): Likewise.
8018 (sqrt_test_data): Likewise.
8019 (tan_test_data): Likewise.
8020 (tan_tonearest_test_data): Likewise.
8021 (tan_towardzero_test_data): Likewise.
8022 (tan_downward_test_data): Likewise.
8023 (tan_upward_test_data): Likewise.
8024 (tanh_test_data): Likewise.
8025 (tgamma_test_data): Likewise.
8026 (trunc_test_data): Likewise.
8027 (y0_test_data): Likewise.
8028 (y1_test_data): Likewise.
8029 (yn_test_data): Likewise.
8030 (significand_test_data): Likewise.
8032 * math/gen-libm-test.pl (@functions): Remove variable.
8033 (generate_testfile): Don't handle START and END lines.
8034 * math/libm-test.inc (START): New macro.
8036 (END_COMPLEX): Likewise.
8037 (acos_test): Use END macro without arguments.
8038 (acos_test_tonearest): Likewise.
8039 (acos_test_towardzero): Likewise.
8040 (acos_test_downward): Likewise.
8041 (acos_test_upward): Likewise.
8042 (acosh_test): Likewise.
8043 (asin_test): Likewise.
8044 (asin_test_tonearest): Likewise.
8045 (asin_test_towardzero): Likewise.
8046 (asin_test_downward): Likewise.
8047 (asin_test_upward): Likewise.
8048 (asinh_test): Likewise.
8049 (atan_test): Likewise.
8050 (atanh_test): Likewise.
8051 (atan2_test): Likewise.
8052 (cabs_test): Likewise.
8053 (cacos_test): Use END_COMPLEX macro without arguments.
8054 (cacosh_test): Likewise.
8055 (carg_test): Use END macro without arguments.
8056 (casin_test): Use END_COMPLEX macro without arguments.
8057 (casinh_test): Likewise.
8058 (catan_test): Likewise.
8059 (catanh_test): Likewise.
8060 (cbrt_test): Use END macro without arguments.
8061 (ccos_test): Use END_COMPLEX macro without arguments.
8062 (ccosh_test): Likewise.
8063 (ceil_test): Use END macro without arguments.
8064 (cexp_test): Use END_COMPLEX macro without arguments.
8065 (cimag_test): Use END macro without arguments.
8066 (clog_test): Use END_COMPLEX macro without arguments.
8067 (clog10_test): Likewise.
8068 (conj_test): Likewise.
8069 (copysign_test): Use END macro without arguments.
8070 (cos_test): Likewise.
8071 (cos_test_tonearest): Likewise.
8072 (cos_test_towardzero): Likewise.
8073 (cos_test_downward): Likewise.
8074 (cos_test_upward): Likewise.
8075 (cosh_test): Likewise.
8076 (cosh_test_tonearest): Likewise.
8077 (cosh_test_towardzero): Likewise.
8078 (cosh_test_downward): Likewise.
8079 (cosh_test_upward): Likewise.
8080 (cpow_test): Use END_COMPLEX macro without arguments.
8081 (cproj_test): Likewise.
8082 (creal_test): Use END macro without arguments.
8083 (csin_test): Use END_COMPLEX macro without arguments.
8084 (csinh_test): Likewise.
8085 (csqrt_test): Likewise.
8086 (ctan_test): Likewise.
8087 (ctan_test_tonearest): Likewise.
8088 (ctan_test_towardzero): Likewise.
8089 (ctan_test_downward): Likewise.
8090 (ctan_test_upward): Likewise.
8091 (ctanh_test): Likewise.
8092 (ctanh_test_tonearest): Likewise.
8093 (ctanh_test_towardzero): Likewise.
8094 (ctanh_test_downward): Likewise.
8095 (ctanh_test_upward): Likewise.
8096 (erf_test): Use END macro without arguments.
8097 (erfc_test): Likewise.
8098 (exp_test): Likewise.
8099 (exp_test_tonearest): Likewise.
8100 (exp_test_towardzero): Likewise.
8101 (exp_test_downward): Likewise.
8102 (exp_test_upward): Likewise.
8103 (exp10_test): Likewise.
8104 (exp2_test): Likewise.
8105 (expm1_test): Likewise.
8106 (fabs_test): Likewise.
8107 (fdim_test): Likewise.
8108 (finite_test): Likewise.
8109 (floor_test): Likewise.
8110 (fma_test): Likewise.
8111 (fma_test_towardzero): Likewise.
8112 (fma_test_downward): Likewise.
8113 (fma_test_upward): Likewise.
8114 (fmax_test): Likewise.
8115 (fmin_test): Likewise.
8116 (fmod_test): Likewise.
8117 (fpclassify_test): Likewise.
8118 (frexp_test): Likewise.
8119 (gamma_test): Likewise.
8120 (hypot_test): Likewise.
8121 (ilogb_test): Likewise.
8122 (isfinite_test): Likewise.
8123 (isgreater_test): Likewise.
8124 (isgreaterequal_test): Likewise.
8125 (isinf_test): Likewise.
8126 (isless_test): Likewise.
8127 (islessequal_test): Likewise.
8128 (islessgreater_test): Likewise.
8129 (isnan_test): Likewise.
8130 (isnormal_test): Likewise.
8131 (issignaling_test): Likewise.
8132 (isunordered_test): Likewise.
8133 (j0_test): Likewise.
8134 (j1_test): Likewise.
8135 (jn_test): Likewise.
8136 (ldexp_test): Likewise.
8137 (lgamma_test): Likewise.
8138 (lrint_test): Likewise.
8139 (lrint_test_tonearest): Likewise.
8140 (lrint_test_towardzero): Likewise.
8141 (lrint_test_downward): Likewise.
8142 (lrint_test_upward): Likewise.
8143 (llrint_test): Likewise.
8144 (llrint_test_tonearest): Likewise.
8145 (llrint_test_towardzero): Likewise.
8146 (llrint_test_downward): Likewise.
8147 (llrint_test_upward): Likewise.
8148 (log_test): Likewise.
8149 (log10_test): Likewise.
8150 (log1p_test): Likewise.
8151 (log2_test): Likewise.
8152 (logb_test): Likewise.
8153 (logb_test_downward): Likewise.
8154 (lround_test): Likewise.
8155 (llround_test): Likewise.
8156 (modf_test): Likewise.
8157 (nearbyint_test): Likewise.
8158 (nextafter_test): Likewise.
8159 (nexttoward_test): Likewise.
8160 (pow_test): Likewise.
8161 (pow_test_tonearest): Likewise.
8162 (pow_test_towardzero): Likewise.
8163 (pow_test_downward): Likewise.
8164 (pow_test_upward): Likewise.
8165 (remainder_test): Likewise.
8166 (remainder_test_tonearest): Likewise.
8167 (remainder_test_towardzero): Likewise.
8168 (remainder_test_downward): Likewise.
8169 (remainder_test_upward): Likewise.
8170 (remquo_test): Likewise.
8171 (rint_test): Likewise.
8172 (rint_test_tonearest): Likewise.
8173 (rint_test_towardzero): Likewise.
8174 (rint_test_downward): Likewise.
8175 (rint_test_upward): Likewise.
8176 (round_test): Likewise.
8177 (scalb_test): Likewise.
8178 (scalbn_test): Likewise.
8179 (scalbln_test): Likewise.
8180 (signbit_test): Likewise.
8181 (sin_test): Likewise.
8182 (sin_test_tonearest): Likewise.
8183 (sin_test_towardzero): Likewise.
8184 (sin_test_downward): Likewise.
8185 (sin_test_upward): Likewise.
8186 (sincos_test): Likewise.
8187 (sinh_test): Likewise.
8188 (sinh_test_tonearest): Likewise.
8189 (sinh_test_towardzero): Likewise.
8190 (sinh_test_downward): Likewise.
8191 (sinh_test_upward): Likewise.
8192 (sqrt_test): Likewise.
8193 (tan_test): Likewise.
8194 (tan_test_tonearest): Likewise.
8195 (tan_test_towardzero): Likewise.
8196 (tan_test_downward): Likewise.
8197 (tan_test_upward): Likewise.
8198 (tanh_test): Likewise.
8199 (tgamma_test): Likewise.
8200 (trunc_test): Likewise.
8201 (y0_test): Likewise.
8202 (y1_test): Likewise.
8203 (yn_test): Likewise.
8204 (significand_test): Likewise.
8206 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8209 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8211 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8214 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8215 __ppc_mdoio and __ppc_mdoom.
8216 * manual/platform.texi: Document new functions __ppc_yield,
8217 __ppc_mdoio and __ppc_mdoom.
8219 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8221 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8222 (main): Mention "tls" pseudo-hwcap is legacy.
8223 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8225 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8227 * math/gen-libm-test.pl (parse_args): Output only string of
8228 arguments as text for test name, not full call or descriptions of
8229 tests for extra outputs.
8230 (generate_testfile): Do not pass function name to parse_args.
8231 Generate this_func variable from START.
8232 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8234 (struct test_ff_f_data): Likewise.
8235 (test_ff_f_data_nexttoward): Likewise.
8236 (struct test_fi_f_data): Likewise.
8237 (struct test_fl_f_data): Likewise.
8238 (struct test_if_f_data): Likewise.
8239 (struct test_fff_f_data): Likewise.
8240 (struct test_c_f_data): Likewise.
8241 (struct test_f_f1_data): Likewise. Remove field extra_name.
8242 (struct test_fF_f1_data): Likewise.
8243 (struct test_ffI_f1_data): Likewise.
8244 (struct test_c_c_data): Rename test_name field to arg_str.
8245 (struct test_cc_c_data): Likewise.
8246 (struct test_f_i_data): Likewise.
8247 (struct test_ff_i_data): Likewise.
8248 (struct test_f_l_data): Likewise.
8249 (struct test_f_L_data): Likewise.
8250 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8252 (COMMON_TEST_SETUP): New macro.
8253 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8254 (COMMON_TEST_CLEANUP): Likewise.
8255 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8256 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8258 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8259 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8261 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8262 (RUN_TEST_fff_f): Take argument string. Call new setup and
8264 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8265 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8267 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8268 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8270 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8271 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8273 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8274 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8276 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8277 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8279 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8280 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8282 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8283 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8285 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8286 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8288 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8289 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8291 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8292 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8294 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8295 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8297 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8298 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8300 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8301 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8303 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8304 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8306 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8307 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8309 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8311 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8313 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8314 to _sifields.sigfault.
8315 (si_addr_lsb): Define new macro.
8316 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8317 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8318 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8320 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8323 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8325 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8327 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8330 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8332 * math/gen-libm-test.pl (parse_args): Do not include expected
8333 result in test name.
8334 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8335 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8336 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8337 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8338 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8341 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8343 * benchtests/Makefile: Sort function entries.
8345 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8346 tanh, asinh, acosh, atanh.
8347 * benchtests/acos-inputs: New file.
8348 * benchtests/acosh-inputs: New file.
8349 * benchtests/asin-inputs: New file.
8350 * benchtests/asinh-inputs: New file.
8351 * benchtests/atanh-inputs: New file.
8352 * benchtests/cosh-inputs: New file.
8353 * benchtests/log-inputs: New file.
8354 * benchtests/sinh-inputs: New file.
8355 * benchtests/tanh-inputs: New file.
8357 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8360 * posix/tst-getaddrinfo4.c: New test.
8361 * posix/Makefile (tests): Add it.
8363 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8366 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8367 when no services were used.
8368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8369 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8371 2013-05-21 Andreas Schwab <schwab@suse.de>
8374 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8375 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8377 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8378 redundant variable declarations and reallocation of buffer when
8379 parsing as IPv6 address. Always set NSS status when called from
8380 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8381 buffer too small. Correct computation of needed size.
8382 * nss/Makefile (tests): Add test-digits-dots.
8383 * nss/test-digits-dots.c: New test.
8385 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8387 * benchtests/Makefile: Remove instructions for adding
8389 * benchtests/README: New file to explain how to execute and
8390 enhance the benchmark tests.
8392 2013-05-21 Andreas Schwab <schwab@suse.de>
8395 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8396 * setjmp/tst-sigsetjmp.c: New test.
8398 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8400 * sysdeps/x86_64/memset.S (memset): New implementation.
8401 (__bzero): Likewise.
8402 (__memset_tail): New function.
8404 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8406 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8407 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8408 __memcpy_sse2_unaligned ifunc selection.
8409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8410 Add memcpy-sse2-unaligned.S.
8411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8412 Add: __memcpy_sse2_unaligned.
8414 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8417 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8418 math_force_eval before restoring floating-point envrionment.
8419 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8420 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8422 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8424 (__nearbyintl): Use math_force_eval before restoring
8425 floating-point environment.
8426 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8428 * math/gen-libm-test.pl (special_functions): Remove.
8429 (parse_args): Don't handle TEST_extra. Handle functions with no
8431 * math/libm-test.inc (struct test_sincos_data): Replace with
8432 struct test_fFF_11_data.
8433 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8434 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8435 (sincos_test_data): Change element type to struct
8436 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8437 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8438 RUN_TEST_LOOP_sincos.
8439 * math/README.libm-test: Don't mention special handling of
8440 individual functions.
8441 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8442 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8443 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8444 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8445 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8448 * math/gen-libm-test.pl (get_variable): Remove function.
8449 (parse_args): Don't show pointer parameters to call in test
8450 names. Use "extra output N" in test names for extra outputs
8451 rather than naming variables.
8453 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8456 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8457 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8458 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8460 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8462 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8465 * math/gen-libm-test.pl (@tests): Remove variable.
8467 (new_test): Remove function.
8468 (show_exceptions): New function.
8469 (special_functions): Use show_exceptions instead of new_test.
8470 (parse_args): Likewise.
8471 (generate_testfile): Pass only function name in generated call to
8472 print_max_error or print_complex_max_error.
8473 (get_ulps): Do not handle complex tests specially.
8474 (output_test): Rename to ...
8475 (get_all_ulps_for_test): ... this. Return a string rather than
8476 printing to a file. Require ulps to be present.
8477 (output_ulps): Generate arrays rather than #defines.
8478 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8479 (struct ulp_data): New type.
8480 (BUILD_COMPLEX_ULP): Remove macro.
8481 (compare_ulp_data): New function.
8482 (find_ulps): Likewise.
8483 (find_test_ulps): Likewise.
8484 (find_function_ulps): Likewise.
8485 (find_complex_function_ulps): Likewise.
8486 (print_max_error): Determine allowed ulps using
8488 (print_complex_max_error): Determine allowed ulps using
8489 find_complex_function_ulps.
8490 (check_float_internal): Determine max ulps using find_test_ulps.
8491 (check_float): Do not take max_ulp parameter. Update call to
8492 check_float_internal.
8493 (check_complex): Likewise.
8494 (check_int): Do not take max_ulp parameter.
8495 (check_long): Likewise.
8496 (check_bool): Likewise.
8497 (check_longlong): Likewise.
8498 (struct test_f_f_data): Remove max_ulp field.
8499 (struct test_ff_f_data): Likewise.
8500 (struct test_ff_f_data_nexttoward): Likewise.
8501 (struct test_fi_f_data): Likewise.
8502 (struct test_fl_f_data): Likewise.
8503 (struct test_if_f_data): Likewise.
8504 (struct test_fff_f_data): Likewise.
8505 (struct test_c_f_data): Likewise.
8506 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8507 (struct test_fF_f1_data): Likewise.
8508 (struct test_ffI_f1_data): Likewise.
8509 (struct test_c_c_data): Remove max_ulp field.
8510 (struct test_cc_c_data): Likewise.
8511 (struct test_f_i_data): Likewise.
8512 (struct test_ff_i_data): Likewise.
8513 (struct test_f_l_data): Likewise.
8514 (struct test_f_L_data): Likewise.
8515 (struct test_sincos_data): Likewise.
8516 (RUN_TEST_f_f): Do not handle ulps.
8517 (RUN_TEST_LOOP_f_f): Likewise.
8518 (RUN_TEST_2_f): Likewise.
8519 (RUN_TEST_LOOP_2_f): Likewise.
8520 (RUN_TEST_fff_f): Likewise.
8521 (RUN_TEST_LOOP_fff_f): Likewise.
8522 (RUN_TEST_c_f): Likewise.
8523 (RUN_TEST_LOOP_c_f): Likewise.
8524 (RUN_TEST_f_f1): Likewise.
8525 (RUN_TEST_LOOP_f_f1): Likewise.
8526 (RUN_TEST_fF_f1): Likewise.
8527 (RUN_TEST_LOOP_fF_f1): Likewise.
8528 (RUN_TEST_fI_f1): Likewise.
8529 (RUN_TEST_LOOP_fI_f1): Likewise.
8530 (RUN_TEST_ffI_f1): Likewise.
8531 (RUN_TEST_LOOP_ffI_f1): Likewise.
8532 (RUN_TEST_c_c): Likewise.
8533 (RUN_TEST_LOOP_c_c): Likewise.
8534 (RUN_TEST_cc_c): Likewise.
8535 (RUN_TEST_LOOP_cc_c): Likewise.
8536 (RUN_TEST_f_i): Likewise.
8537 (RUN_TEST_LOOP_f_i): Likewise.
8538 (RUN_TEST_f_i_tg): Likewise.
8539 (RUN_TEST_LOOP_f_i_tg): Likewise.
8540 (RUN_TEST_ff_i_tg): Likewise.
8541 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8542 (RUN_TEST_f_b): Likewise.
8543 (RUN_TEST_LOOP_f_b): Likewise.
8544 (RUN_TEST_f_b_tg): Likewise.
8545 (RUN_TEST_LOOP_f_b_tg): Likewise.
8546 (RUN_TEST_f_l): Likewise.
8547 (RUN_TEST_LOOP_f_l): Likewise.
8548 (RUN_TEST_f_L): Likewise.
8549 (RUN_TEST_LOOP_f_L): Likewise.
8550 (RUN_TEST_sincos): Likewise.
8551 (RUN_TEST_LOOP_sincos): Likewise.
8553 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8557 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8558 main case of finite arguments, set rounding mode to FE_TONEAREST
8559 and discard exceptions.
8560 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8562 (remainder_tonearest_test_data): New variable.
8563 (remainder_test_tonearest): New function.
8564 (remainder_towardzero_test_data): New variable.
8565 (remainder_test_towardzero): New function.
8566 (remainder_downward_test_data): New variable.
8567 (remainder_test_downward): New function.
8568 (remainder_upward_test_data): New variable.
8569 (remainder_test_upward): New function.
8570 (main): Call the new test functions.
8572 * math/libm-test.inc (struct test_f_f1_data): Remove field
8574 (struct test_fF_f1_data): Likewise.
8575 (struct test_ffI_f1_data): Likewise.
8576 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8577 based on value of EXTRA_EXPECTED.
8578 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8579 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8580 EXTRA_VAR based on value of EXTRA_EXPECTED.
8581 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8582 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8583 EXTRA_VAR based on value of EXTRA_EXPECTED.
8584 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8585 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8586 EXTRA_VAR based on value of EXTRA_EXPECTED.
8587 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8588 * math/gen-libm-test.pl (parse_args): Don't output initializers
8589 for extra output values.
8591 * math/libm-test.inc (check_int): Expect result to be exactly
8592 equal to expected value and do not handle ulps.
8593 (check_long): Likewise.
8594 (check_longlong): Likewise.
8596 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8598 (cimag_test_data): Likewise.
8599 (conj_test_data): Likewise.
8600 (copysign_test_data): Likewise.
8601 (cproj_test_data): Likewise.
8602 (creal_test_data): Likewise.
8603 (fabs_test_data): Likewise.
8604 (fdim_test_data): Likewise.
8605 (finite_test_data): Likewise.
8606 (floor_test_data): Likewise.
8607 (fmax_test_data): Likewise.
8608 (fmin_test_data): Likewise.
8609 (fmod_test_data): Likewise.
8610 (fpclassify_test_data): Likewise.
8611 (frexp_test_data): Likewise.
8612 (ilogb_test_data): Likewise.
8613 (isfinite_test_data): Likewise.
8614 (isgreater_test_data): Likewise.
8615 (isgreaterequal_test_data): Likewise.
8616 (isinf_test_data): Likewise.
8617 (isless_test_data): Likewise.
8618 (islessequal_test_data): Likewise.
8619 (islessgreater_test_data): Likewise.
8620 (isnan_test_data): Likewise.
8621 (isnormal_test_data): Likewise.
8622 (issignaling_test_data): Likewise.
8623 (isunordered_test_data): Likewise.
8624 (ldexp_test_data): Likewise.
8625 (lrint_test_data): Likewise.
8626 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8627 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8628 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8629 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8630 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8631 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8633 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8634 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8635 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8636 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8638 (lrint_downward_test_data): Test for "inexact" exceptions.
8639 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8640 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8641 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8643 (lrint_upward_test_data): Test for "inexact" exceptions.
8644 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8646 (llrint_test_data): Test for "inexact" exceptions.
8647 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8648 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8649 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8650 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8651 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8652 (llrint_downward_test_data): Test for "inexact" exceptions.
8653 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8654 (llrint_upward_test_data): Test for "inexact" exceptions.
8655 (logb_test_data): Likewise.
8656 (logb_downward_test_data): Likewise.
8657 (nextafter_test_data): Likewise.
8658 (nexttoward_test_data): Likewise.
8659 (remainder_test_data): Likewise.
8660 (remquo_test_data): Likewise.
8661 (scalbn_test_data): Likewise.
8662 (scalbln_test_data): Likewise.
8663 (signbit_test_data): Likewise.
8664 (sqrt_test_data): Likewise.
8665 (significand_test_data): Likewise.
8667 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8670 * benchtests/bench-modf.c (struct args): Mark arg0 as
8672 * scripts/bench.pl: Mark members of struct args as volatile.
8674 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8677 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8678 negative infinity on POWER6 or lower.
8679 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8681 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8684 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8685 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8686 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8687 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8688 (_FP_SETQNAN): New macro.
8689 (_FP_SETQNAN_SEMIRAW): Likewise.
8690 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8691 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8692 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8693 (FP_EXTEND): Use _FP_FRAC_SNANP.
8694 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8695 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8697 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8699 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8702 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8704 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8705 with DIVIDE_BY_ZERO_EXCEPTION.
8706 (gamma_test_data): Likewise.
8707 (lgamma_test_data): Likewise.
8708 (log_test_data): Likewise.
8709 (log10_test_data): Likewise.
8710 (log2_test_data): Likewise.
8711 (tgamma_test_data): Likewise.
8713 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8714 (acos_test_tonearest): Likewise.
8715 (acos_test_towardzero): Likewise.
8716 (acos_test_downward): Likewise.
8717 (acos_test_upward): Likewise.
8718 (acosh_test): Likewise.
8719 (asin_test): Likewise.
8720 (asin_test_tonearest): Likewise.
8721 (asin_test_towardzero): Likewise.
8722 (asin_test_downward): Likewise.
8723 (asin_test_upward): Likewise.
8724 (asinh_test): Likewise.
8725 (atan_test): Likewise.
8726 (atanh_test): Likewise.
8727 (atan2_test): Likewise.
8728 (cabs_test): Likewise.
8729 (cacos_test): Likewise.
8730 (cacosh_test): Likewise.
8731 (casin_test): Likewise.
8732 (casinh_test): Likewise.
8733 (catan_test): Likewise.
8734 (catanh_test): Likewise.
8735 (cbrt_test): Likewise.
8736 (ccos_test): Likewise.
8737 (ccosh_test): Likewise.
8738 (cexp_test): Likewise.
8739 (clog_test): Likewise.
8740 (clog10_test): Likewise.
8741 (cos_test): Likewise.
8742 (cos_test_tonearest): Likewise.
8743 (cos_test_towardzero): Likewise.
8744 (cos_test_downward): Likewise.
8745 (cos_test_upward): Likewise.
8746 (cosh_test): Likewise.
8747 (cosh_test_tonearest): Likewise.
8748 (cosh_test_towardzero): Likewise.
8749 (cosh_test_downward): Likewise.
8750 (cosh_test_upward): Likewise.
8751 (cpow_test): Likewise.
8752 (csin_test): Likewise.
8753 (csinh_test): Likewise.
8754 (csqrt_test): Likewise.
8755 (ctan_test): Likewise.
8756 (ctan_test_tonearest): Likewise.
8757 (ctan_test_towardzero): Likewise.
8758 (ctan_test_downward): Likewise.
8759 (ctan_test_upward): Likewise.
8760 (ctanh_test): Likewise.
8761 (ctanh_test_tonearest): Likewise.
8762 (ctanh_test_towardzero): Likewise.
8763 (ctanh_test_downward): Likewise.
8764 (ctanh_test_upward): Likewise.
8765 (erf_test): Likewise.
8766 (erfc_test): Likewise.
8767 (exp_test): Likewise.
8768 (exp_test_tonearest): Likewise.
8769 (exp_test_towardzero): Likewise.
8770 (exp_test_downward): Likewise.
8771 (exp_test_upward): Likewise.
8772 (exp10_test): Likewise.
8773 (exp2_test): Likewise.
8774 (expm1_test): Likewise.
8775 (fmod_test): Likewise.
8776 (gamma_test): Likewise.
8777 (hypot_test): Likewise.
8778 (j0_test): Likewise.
8779 (j1_test): Likewise.
8780 (jn_test): Likewise.
8781 (lgamma_test): Likewise.
8782 (log_test): Likewise.
8783 (log10_test): Likewise.
8784 (log1p_test): Likewise.
8785 (log2_test): Likewise.
8786 (logb_test_downward): Likewise.
8787 (pow_test): Likewise.
8788 (pow_test_tonearest): Likewise.
8789 (pow_test_towardzero): Likewise.
8790 (pow_test_downward): Likewise.
8791 (pow_test_upward): Likewise.
8792 (remainder_test): Likewise.
8793 (remquo_test): Likewise.
8794 (sin_test): Likewise.
8795 (sin_test_tonearest): Likewise.
8796 (sin_test_towardzero): Likewise.
8797 (sin_test_downward): Likewise.
8798 (sin_test_upward): Likewise.
8799 (sincos_test): Likewise.
8800 (sinh_test): Likewise.
8801 (sinh_test_tonearest): Likewise.
8802 (sinh_test_towardzero): Likewise.
8803 (sinh_test_downward): Likewise.
8804 (sinh_test_upward): Likewise.
8805 (sqrt_test): Likewise.
8806 (tan_test): Likewise.
8807 (tan_test_tonearest): Likewise.
8808 (tan_test_towardzero): Likewise.
8809 (tan_test_downward): Likewise.
8810 (tan_test_upward): Likewise.
8811 (tanh_test): Likewise.
8812 (tgamma_test): Likewise.
8813 (y0_test): Likewise.
8814 (y1_test): Likewise.
8815 (yn_test): Likewise.
8817 * math/gen-libm-test.pl (adjust_arg): Remove function.
8818 (special_function): Remove argument $in_func. Only handle
8819 generating output for tables of tests, not inside functions.
8820 (parse_args): Likewise.
8821 (generate_testfile): Remove variable $in_func. Update call to
8823 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8824 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8825 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8826 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8827 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8828 (MAX_VALUE_INIT): Rename macro to max_value.
8829 (MIN_VALUE_INIT): Rename macro to min_value.
8830 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8831 (plus_zero): Remove variable.
8832 (minus_zero): Likewise.
8833 (plus_infty): Likewise.
8834 (minus_infty): Likewise.
8835 (qnan_value): Likewise.
8836 (max_value): Likewise.
8837 (min_value): Likewise.
8838 (min_subnorm_value): Likewise.
8840 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8842 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8843 uint64_t or uint32_t usage.
8844 * crypt/sha256-block.c: Likewise.
8845 * crypt/sha256-crypt.c: Likewise.
8846 * crypt/sha256.c: Likewise.
8847 * crypt/sha512-block.c: Likewise.
8848 * crypt/sha512-crypt.c: Likewise.
8849 * crypt/sha512.c: Likewise.
8850 * debug/backtrace-tst.c: Likewise.
8851 * debug/pcprofiledump.c: Likewise.
8852 * elf/cache.c: Likewise.
8853 * elf/dl-cache.c: Likewise.
8854 * elf/dl-misc.c: Likewise.
8855 * elf/dl-profile.c: Likewise.
8856 * elf/dl-support.c: Likewise.
8857 * elf/ldconfig.c: Likewise.
8858 * elf/sprof.c: Likewise.
8859 * iconv/dummy-repertoire.c: Likewise.
8860 * iconv/iconv_charmap.c: Likewise.
8861 * iconv/skeleton.c: Likewise.
8862 * iconvdata/8bit-generic.c: Likewise.
8863 * iconvdata/cp737.h: Likewise.
8864 * iconvdata/cp775.h: Likewise.
8865 * iconvdata/ibm1008.h: Likewise.
8866 * iconvdata/ibm1025.h: Likewise.
8867 * iconvdata/ibm1046.h: Likewise.
8868 * iconvdata/ibm1097.h: Likewise.
8869 * iconvdata/ibm1112.h: Likewise.
8870 * iconvdata/ibm1122.h: Likewise.
8871 * iconvdata/ibm1123.h: Likewise.
8872 * iconvdata/ibm1124.h: Likewise.
8873 * iconvdata/ibm1129.h: Likewise.
8874 * iconvdata/ibm1130.h: Likewise.
8875 * iconvdata/ibm1132.h: Likewise.
8876 * iconvdata/ibm1133.h: Likewise.
8877 * iconvdata/ibm1137.h: Likewise.
8878 * iconvdata/ibm1140.h: Likewise.
8879 * iconvdata/ibm1141.h: Likewise.
8880 * iconvdata/ibm1142.h: Likewise.
8881 * iconvdata/ibm1143.h: Likewise.
8882 * iconvdata/ibm1144.h: Likewise.
8883 * iconvdata/ibm1145.h: Likewise.
8884 * iconvdata/ibm1146.h: Likewise.
8885 * iconvdata/ibm1147.h: Likewise.
8886 * iconvdata/ibm1148.h: Likewise.
8887 * iconvdata/ibm1149.h: Likewise.
8888 * iconvdata/ibm1153.h: Likewise.
8889 * iconvdata/ibm1154.h: Likewise.
8890 * iconvdata/ibm1155.h: Likewise.
8891 * iconvdata/ibm1156.h: Likewise.
8892 * iconvdata/ibm1157.h: Likewise.
8893 * iconvdata/ibm1158.h: Likewise.
8894 * iconvdata/ibm1160.h: Likewise.
8895 * iconvdata/ibm1161.h: Likewise.
8896 * iconvdata/ibm1162.h: Likewise.
8897 * iconvdata/ibm1163.h: Likewise.
8898 * iconvdata/ibm1164.h: Likewise.
8899 * iconvdata/ibm1166.h: Likewise.
8900 * iconvdata/ibm1167.h: Likewise.
8901 * iconvdata/ibm12712.h: Likewise.
8902 * iconvdata/ibm1390.h: Likewise.
8903 * iconvdata/ibm1399.h: Likewise.
8904 * iconvdata/ibm16804.h: Likewise.
8905 * iconvdata/ibm4517.h: Likewise.
8906 * iconvdata/ibm4899.h: Likewise.
8907 * iconvdata/ibm4909.h: Likewise.
8908 * iconvdata/ibm4971.h: Likewise.
8909 * iconvdata/ibm5347.h: Likewise.
8910 * iconvdata/ibm803.h: Likewise.
8911 * iconvdata/ibm856.h: Likewise.
8912 * iconvdata/ibm901.h: Likewise.
8913 * iconvdata/ibm902.h: Likewise.
8914 * iconvdata/ibm9030.h: Likewise.
8915 * iconvdata/ibm9066.h: Likewise.
8916 * iconvdata/ibm921.h: Likewise.
8917 * iconvdata/ibm922.h: Likewise.
8918 * iconvdata/ibm9448.h: Likewise.
8919 * iconvdata/isiri-3342.h: Likewise.
8920 * iconvdata/jis0201.h: Likewise.
8921 * include/link.h: Likewise.
8922 * include/netdb.h: Likewise.
8923 * inet/check_native.c: Likewise.
8924 * inet/check_pf.c: Likewise.
8925 * inet/getipv4sourcefilter.c: Likewise.
8926 * inet/getnameinfo.c: Likewise.
8927 * inet/getsourcefilter.c: Likewise.
8928 * inet/htonl.c: Likewise.
8929 * inet/setipv4sourcefilter.c: Likewise.
8930 * inet/setsourcefilter.c: Likewise.
8931 * inet/test-inet6_opt.c: Likewise.
8932 * inet/tst-network.c: Likewise.
8933 * locale/C-collate.c: Likewise.
8934 * locale/C-ctype.c: Likewise.
8935 * locale/C-time.c: Likewise.
8936 * locale/C-translit.h: Likewise.
8937 * locale/loadarchive.c: Likewise.
8938 * locale/programs/3level.h: Likewise.
8939 * locale/programs/charmap.c: Likewise.
8940 * locale/programs/charmap.h: Likewise.
8941 * locale/programs/ld-address.c: Likewise.
8942 * locale/programs/ld-collate.c: Likewise.
8943 * locale/programs/ld-ctype.c: Likewise.
8944 * locale/programs/ld-identification.c: Likewise.
8945 * locale/programs/ld-measurement.c: Likewise.
8946 * locale/programs/ld-messages.c: Likewise.
8947 * locale/programs/ld-monetary.c: Likewise.
8948 * locale/programs/ld-name.c: Likewise.
8949 * locale/programs/ld-numeric.c: Likewise.
8950 * locale/programs/ld-paper.c: Likewise.
8951 * locale/programs/ld-telephone.c: Likewise.
8952 * locale/programs/ld-time.c: Likewise.
8953 * locale/programs/linereader.c: Likewise.
8954 * locale/programs/locale.c: Likewise.
8955 * locale/programs/locarchive.c: Likewise.
8956 * locale/programs/locfile.h: Likewise.
8957 * locale/programs/repertoire.c: Likewise.
8958 * locale/programs/simple-hash.c: Likewise.
8959 * locale/programs/simple-hash.h: Likewise.
8960 * malloc/memusage.c: Likewise.
8961 * malloc/memusagestat.c: Likewise.
8962 * nis/nis_defaults.c: Likewise.
8963 * nis/nis_hash.c: Likewise.
8964 * nis/nis_print.c: Likewise.
8965 * nis/nis_xdr.c: Likewise.
8966 * nscd/connections.c: Likewise.
8967 * nscd/hstcache.c: Likewise.
8968 * nscd/nscd_gethst_r.c: Likewise.
8969 * nscd/nscd_getserv_r.c: Likewise.
8970 * nscd/nscd_helper.c: Likewise.
8971 * nscd/servicescache.c: Likewise.
8972 * nss/makedb.c: Likewise.
8973 * nss/nss_db/db-XXX.c: Likewise.
8974 * nss/nss_db/db-initgroups.c: Likewise.
8975 * nss/nss_db/db-netgrp.c: Likewise.
8976 * nss/nss_files/files-network.c: Likewise.
8977 * nss/nss_files/files-parse.c: Likewise.
8978 * posix/bug-regex5.c: Likewise.
8979 * posix/fnmatch_loop.c: Likewise.
8980 * posix/regcomp.c: Likewise.
8981 * posix/regexec.c: Likewise.
8982 * posix/tst-rfc3484-2.c: Likewise.
8983 * posix/tst-rfc3484-3.c: Likewise.
8984 * posix/tst-rfc3484.c: Likewise.
8985 * resolv/nss_dns/dns-canon.c: Likewise.
8986 * resolv/nss_dns/dns-network.c: Likewise.
8987 * resolv/res_init.c: Likewise.
8988 * resolv/res_mkquery.c: Likewise.
8989 * resolv/tst-aton.c: Likewise.
8990 * stdlib/cxa_atexit.c: Likewise.
8991 * stdlib/cxa_finalize.c: Likewise.
8992 * stdlib/gen-fpioconst.c: Likewise.
8993 * stdlib/strtol_l.c: Likewise.
8994 * string/tst-endian.c: Likewise.
8995 * sunrpc/auth_des.c: Likewise.
8996 * sunrpc/clnt_udp.c: Likewise.
8997 * sunrpc/rtime.c: Likewise.
8998 * sunrpc/svcauth_des.c: Likewise.
8999 * sunrpc/xdr.c: Likewise.
9000 * sunrpc/xdr_intXX_t.c: Likewise.
9001 * sunrpc/xdr_rec.c: Likewise.
9002 * sysdeps/generic/ldconfig.h: Likewise.
9003 * sysdeps/generic/ldsodefs.h: Likewise.
9004 * sysdeps/generic/memusage.h: Likewise.
9005 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9008 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9014 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9015 * sysdeps/posix/getaddrinfo.c: Likewise.
9016 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9017 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9018 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9019 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9020 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9021 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9022 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9023 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9024 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9025 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9026 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9027 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9028 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9029 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9030 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9031 * sysdeps/x86_64/dl-tls.h: Likewise.
9032 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9033 * time/alt_digit.c: Likewise.
9034 * time/era.c: Likewise.
9035 * wcsmbs/tst-c16c32-1.c: Likewise.
9037 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9039 * math/libm-test.inc (struct test_sincos_data): New type.
9040 (RUN_TEST_LOOP_sincos): New macro.
9041 (sincos_test_data): New variable.
9042 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9044 2013-05-16 Richard Henderson <rth@redhat.com>
9046 * math/atest-exp2.c (LIMB64): New macro.
9047 (CONSTSZ): New macro.
9048 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9050 (print_mpn_fp): ... to function scope.
9051 (read_mpn_hex): Remove.
9053 (exp2_mpn): Use mp_log2.
9054 (main): Use mp_exp1.
9056 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9058 * math/libm-test.inc: Remove comment about not testing "inexact"
9060 (INEXACT_EXCEPTION): New macro.
9061 (NO_INEXACT_EXCEPTION): Likewise.
9062 (INVALID_EXCEPTION_OK): Update value.
9063 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9064 (OVERFLOW_EXCEPTION_OK): Likewise.
9065 (UNDERFLOW_EXCEPTION_OK): Likewise.
9066 (IGNORE_ZERO_INF_SIGN): Likewise.
9067 (ERRNO_UNCHANGED): Likewise.
9068 (ERRNO_EDOM): Likewise.
9069 (ERRNO_ERANGE): Likewise.
9070 (test_exceptions): Handle testing "inexact" exceptions.
9071 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9072 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9073 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9074 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9076 (rint_towardzero_test_data): Likewise.
9077 (rint_downward_test_data): Likewise.
9078 (rint_upward_test_data): Likewise.
9080 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9081 with OVERFLOW_EXCEPTION.
9082 (exp10_test_data): Likewise.
9083 (exp2_test_data): Likewise.
9084 (expm1_test_data): Likewise.
9085 (lgamma_test_data): Likewise.
9086 (pow_test_data): Likewise.
9087 (tgamma_test_data): Likewise.
9088 (yn_test_data): Remove duplicate test of overflow.
9090 * math/libm-test.inc (struct test_cc_c_data): New type.
9091 (RUN_TEST_LOOP_cc_c): New macro.
9092 (cpow_test_data): New variable.
9093 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9095 * math/libm-test.inc (struct test_f_L_data): New type.
9096 (RUN_TEST_LOOP_f_L): New macro.
9097 (llrint_test_data): New variable.
9098 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9099 (llrint_tonearest_test_data): New variable.
9100 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9101 (llrint_towardzero_test_data): New variable.
9102 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9103 (llrint_downward_test_data): New variable.
9104 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9105 (llrint_upward_test_data): New variable.
9106 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9107 (llround_test_data): New variable.
9108 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9110 2013-05-13 Peter Collingbourne <pcc@google.com>
9112 * math/atest-exp2.c (get_log2): Remove const attribute.
9114 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9116 * math/libm-test.inc (struct test_f_l_data): New type.
9117 (RUN_TEST_LOOP_f_l): New macro.
9118 (lrint_test_data): New variable.
9119 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9120 (lrint_tonearest_test_data): New variable.
9121 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9122 (lrint_towardzero_test_data): New variable.
9123 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9124 (lrint_downward_test_data): New variable.
9125 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9126 (lrint_upward_test_data): New variable.
9127 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9128 (lround_test_data): New variable.
9129 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9131 2013-05-15 Peter Collingbourne <pcc@google.com>
9133 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9134 (EXTRACT_WORDS64) Use where appropriate.
9135 (INSERT_WORDS64) Likewise.
9137 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9138 constraints with x constraints.
9139 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9141 * malloc/obstack.c (_obstack_compat): Add initializer.
9143 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9145 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9146 si_trapno and add si_addr_lsb to _sifields.sigfault.
9147 (si_trapno): Remove macro.
9148 (si_addr_lsb): Define new macro.
9149 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9151 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9153 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9154 instead of TEST_f_l.
9155 (llrint_test_tonearest): Likewise.
9156 (llrint_test_towardzero): Likewise.
9157 (llrint_test_downward): Likewise.
9158 (llrint_test_upward): Likewise.
9159 (llround_test): Likewise.
9161 * math/libm-test.inc (struct test_f_i_data): Add comment.
9162 (RUN_TEST_LOOP_f_b): New macro.
9163 (RUN_TEST_LOOP_f_b_tg): Likewise.
9164 (finite_test_data): New variable.
9165 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9166 (isfinite_test_data): New variable.
9167 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9168 (isinf_test_data): New variable.
9169 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9170 (isnan_test_data): New variable.
9171 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9172 (isnormal_test_data): New variable.
9173 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9174 (issignaling_test_data): New variable.
9175 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9176 (signbit_test_data): New variable.
9177 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9179 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9180 with INVALID_EXCEPTION.
9181 (acosh_test_data): Likewise.
9182 (asin_test_data): Likewise.
9183 (atanh_test_data): Likewise.
9184 (fmod_test_data): Likewise.
9185 (log_test_data): Likewise.
9186 (log10_test_data): Likewise.
9187 (log2_test_data): Likewise.
9188 (pow_test_data): Likewise.
9189 (sqrt_test_data): Likewise.
9190 (y0_test_data): Likewise.
9191 (y1_test_data): Likewise.
9192 (yn_test_data): Likewise.
9194 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9197 * math/libm-test.inc (struct test_ff_i_data): New type.
9198 (RUN_TEST_LOOP_ff_i_tg): New macro.
9199 (isgreater_test_data): New variable.
9200 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9201 (isgreaterequal_test_data): New variable.
9202 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9203 (isless_test_data): New variable.
9204 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9205 (islessequal_test_data): New variable.
9206 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9207 (islessgreater_test_data): New variable.
9208 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9209 (isunordered_test_data): New variable.
9210 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9212 2013-05-14 David S. Miller <davem@davemloft.net>
9214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9216 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9218 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9220 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9222 (struct test_f_i_data): Change type of max_ulp to int.
9224 * math/libm-test.inc (test_ffI_f1_data): New type.
9225 (RUN_TEST_LOOP_ffI_f1): New macro.
9226 (remquo_test_data): New variable.
9227 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9229 * setjmp/tst-setjmp-fp.c: New file.
9230 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9231 (link-libm): New variable.
9232 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9234 * math/libm-test.inc (struct test_f_i_data): New type.
9235 (RUN_TEST_LOOP_f_i): New macro.
9236 (RUN_TEST_LOOP_f_i_tg): Likewise.
9237 (fpclassify_test_data): New variable.
9238 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9239 (ilogb_test_data): New variable.
9240 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9242 * math/libm-test.inc (scalbln_test): Correct function name in END
9245 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9246 (RUN_TEST_LOOP_fI_f1): New macro.
9247 (frexp_test_data): New variable.
9248 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9250 * math/libm-test.inc (struct test_fF_f1_data): New type.
9251 (RUN_TEST_LOOP_fF_f1): New macro.
9252 (modf_test_data): New variable.
9253 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9255 * math/libm-test.inc (struct test_f_f1_data): New type.
9256 (RUN_TEST_LOOP_f_f1): New macro.
9257 (gamma_test_data): New variable.
9258 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9259 (lgamma_test_data): New variable.
9260 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9262 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9264 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9265 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9266 (main): Comment "tls" pseudo-hwcap.
9268 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9270 * math/libm-test.inc (struct test_fl_f_data): New type.
9271 (RUN_TEST_LOOP_fl_f): New variable.
9272 (scalbln_test_data): New variable.
9273 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9275 * math/libm-test.inc (struct test_fi_f_data): New type.
9276 (RUN_TEST_LOOP_fi_f): New macro.
9277 (ldexp_test_data): New variable.
9278 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9279 (scalbn_test_data): New variable.
9280 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9282 * math/libm-test.inc (struct test_c_f_data): New type.
9283 (RUN_TEST_LOOP_c_f): New macro.
9284 (cabs_test_data): New variable.
9285 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9286 (carg_test_data): New variable.
9287 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9288 (cimag_test_data): New variable.
9289 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9290 (creal_test_data): New variable.
9291 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9293 * math/libm-test.inc (struct test_if_f_data): New type.
9294 (RUN_TEST_LOOP_if_f): New macro.
9295 (jn_test_data): New variable.
9296 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9297 (yn_test_data): New variable.
9298 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9300 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9302 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9304 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9305 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9307 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9309 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9310 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9311 (bench-deps): Add bench-timing.h.
9312 * benchtests-bench-skeleton.c: Include bench-timing.h.
9313 (main): Use TIMING_* macros instead of clock_gettime.
9314 * benchtests/bench-timing.h: New file.
9317 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9318 Renamed from _LIB_VERSION.
9319 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9321 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9323 * math/libm-test.inc (struct test_fff_f_data): New type.
9324 (RUN_TEST_LOOP_fff_f): New macro.
9325 (fma_test_data): New variable.
9326 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9327 (fma_towardzero_test_data): New variable.
9328 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9329 (fma_downward_test_data): New variable.
9330 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9331 (fma_upward_test_data): New variable.
9332 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9334 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9335 (struct test_c_c_data): New type.
9336 (RUN_TEST_LOOP_c_c): New macro.
9337 (cacos_test_data): New variable.
9338 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9339 (cacosh_test_data): New variable.
9340 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9341 (casin_test_data): New variable.
9342 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9343 (casinh_test_data): New variable.
9344 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9345 (catan_test_data): New variable.
9346 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9347 (catanh_test_data): New variable.
9348 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9349 (ccos_test_data): New variable.
9350 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9351 (ccosh_test_data): New variable.
9352 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9353 (cexp_test_data): New variable.
9354 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9355 (clog_test_data): New variable.
9356 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9357 (clog10_test_data): New variable.
9358 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9359 (conj_test_data): New variable.
9360 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9361 (cproj_test_data): New variable.
9362 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9363 (csin_test_data): New variable.
9364 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9365 (csinh_test_data): New variable.
9366 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9367 (csqrt_test_data): New variable.
9368 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9369 (ctan_test_data): New variable.
9370 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9371 (ctan_tonearest_test_data): New variable.
9372 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9373 (ctan_towardzero_test_data): New variable.
9374 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9375 (ctan_downward_test_data): New variable.
9376 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9377 (ctan_upward_test_data): New variable.
9378 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9379 (ctanh_test_data): New variable.
9380 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9381 (ctanh_tonearest_test_data): New variable.
9382 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9383 (ctanh_towardzero_test_data): New variable.
9384 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9385 (ctanh_downward_test_data): New variable.
9386 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9387 (ctanh_upward_test_data): New variable.
9388 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9389 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9392 * math/libm-test.inc (struct test_ff_f_data): New type.
9393 (struct test_ff_f_data_nexttoward): Likewise.
9394 (RUN_TEST_LOOP_2_f): New macro.
9395 (RUN_TEST_LOOP_ff_f): Likewise.
9396 (atan2_test_data): New variable.
9397 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9398 (copysign_test_data): New variable.
9399 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9400 (fdim_test_data): New variable.
9401 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9402 (fmax_test_data): New variable.
9403 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9404 (fmin_test_data): New variable.
9405 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9406 (fmod_test_data): New variable.
9407 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9408 (hypot_test_data): New variable.
9409 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9410 (nextafter_test_data): New variable.
9411 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9412 (nexttoward_test_data): New variable.
9413 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9414 (pow_test_data): New variable.
9415 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9416 (pow_tonearest_test_data): New variable.
9417 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9418 (pow_towardzero_test_data): New variable.
9419 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9420 (pow_downward_test_data): New variable.
9421 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9422 (pow_upward_test_data): New variable.
9423 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9424 (remainder_test_data): New variable.
9425 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9426 (scalb_test_data): New variable.
9427 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9428 * sysdeps/i386/fpu/libm-test-ulps: Update.
9430 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9432 * math/libm-test.inc (fma_test): Use max_value instead of local
9434 (nextafter_test): Likewise.
9436 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9437 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9438 (acos_downward_test_data): New variable.
9439 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9440 (acos_upward_test_data): New variable.
9441 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9442 (acosh_test_data): New variable.
9443 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9444 (asin_test_data): New variable.
9445 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9446 (asin_tonearest_test_data): New variable.
9447 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9448 (asin_towardzero_test_data): New variable.
9449 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9450 (asin_downward_test_data): New variable.
9451 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9452 (asin_upward_test_data): New variable.
9453 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9454 (asinh_test_data): New variable.
9455 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9456 (atan_test_data): New variable.
9457 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9458 (atanh_test_data): New variable.
9459 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9460 (cbrt_test_data): New variable.
9461 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9462 (ceil_test_data): New variable.
9463 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9464 (cos_test_data): New variable.
9465 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9466 (cos_tonearest_test_data): New variable.
9467 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9468 (cos_towardzero_test_data): New variable.
9469 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9470 (cos_downward_test_data): New variable.
9471 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9472 (cos_upward_test_data): New variable.
9473 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9474 (cosh_test_data): New variable.
9475 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9476 (cosh_tonearest_test_data): New variable.
9477 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9478 (cosh_towardzero_test_data): New variable.
9479 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9480 (cosh_downward_test_data): New variable.
9481 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9482 (cosh_upward_test_data): New variable.
9483 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9484 (erf_test_data): New variable.
9485 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9486 (erfc_test_data): New variable.
9487 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9488 (exp_test_data): New variable.
9489 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9490 (exp_tonearest_test_data): New variable.
9491 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9492 (exp_towardzero_test_data): New variable.
9493 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9494 (exp_downward_test_data): New variable.
9495 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9496 (exp_upward_test_data): New variable.
9497 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9498 (exp10_test_data): New variable.
9499 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9500 (exp2_test_data): New variable.
9501 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9502 (expm1_test_data): New variable.
9503 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9504 (fabs_test_data): New variable.
9505 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9506 (floor_test_data): New variable.
9507 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9508 (j0_test_data): New variable.
9509 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9510 (j1_test_data): New variable.
9511 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9512 (log_test_data): New variable.
9513 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9514 (log10_test_data): New variable.
9515 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9516 (log1p_test_data): New variable.
9517 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9518 (log2_test_data): New variable.
9519 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9520 (logb_test_data): New variable.
9521 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9522 (logb_downward_test_data): New variable.
9523 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9524 (nearbyint_test_data): New variable.
9525 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9526 (rint_test_data): New variable.
9527 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9528 (rint_tonearest_test_data): New variable.
9529 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9530 (rint_towardzero_test_data): New variable.
9531 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9532 (rint_downward_test_data): New variable.
9533 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9534 (rint_upward_test_data): New variable.
9535 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9536 (round_test_data): New variable.
9537 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9538 (sin_test_data): New variable.
9539 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9540 (sin_tonearest_test_data): New variable.
9541 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9542 (sin_towardzero_test_data): New variable.
9543 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9544 (sin_downward_test_data): New variable.
9545 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9546 (sin_upward_test_data): New variable.
9547 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9548 (sinh_test_data): New variable.
9549 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9550 (sinh_tonearest_test_data): New variable.
9551 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9552 (sinh_towardzero_test_data): New variable.
9553 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9554 (sinh_downward_test_data): New variable.
9555 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9556 (sinh_upward_test_data): New variable.
9557 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9558 (sqrt_test_data): New variable.
9559 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9560 (tan_test_data): New variable.
9561 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9562 (tan_tonearest_test_data): New variable.
9563 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9564 (tan_towardzero_test_data): New variable.
9565 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9566 (tan_downward_test_data): New variable.
9567 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9568 (tan_upward_test_data): New variable.
9569 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9570 (tanh_test_data): New variable.
9571 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9572 (tgamma_test_data): New variable.
9573 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9574 (trunc_test_data): New variable.
9575 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9576 (y0_test_data): New variable.
9577 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9578 (y1_test_data): New variable.
9579 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9580 (significand_test_data): New variable.
9581 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9583 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9586 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9588 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9590 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9592 2013-05-10 Andreas Jaeger <aj@suse.de>
9595 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9596 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9598 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9600 * math/gen-libm-test.pl (adjust_arg): New function.
9601 (special_functions): Handle generating output in both functions
9603 (parse_args): Likewise.
9604 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9605 $in_func argument to parse_args.
9606 * math/libm-test.inc (struct test_f_f_data): New type.
9607 (IF_ROUND_INIT_): New macro.
9608 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9609 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9610 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9611 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9612 (ROUND_RESTORE_): Likewise.
9613 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9614 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9615 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9616 (ROUND_RESTORE_FE_UPWARD): Likewise.
9617 (RUN_TEST_LOOP_f_f): New macro.
9618 (acos_test_data): New variable.
9619 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9620 (acos_tonearest_test_data): New variable.
9621 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9623 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9625 * benchtests/bench-skeleton.c (startup): Fix coding style.
9627 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9630 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9631 negative infinity argument.
9632 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9633 negative infinity argument.
9634 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9635 negative infinity argument.
9636 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9639 2013-05-10 Florian Weimer <fweimer@redhat.com>
9641 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9642 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9643 * iconv/iconv_prog.c (main): Likewise.
9644 * locale/programs/charmap-dir.c (charmap_readdir)
9645 (fopen_uncompressed): Likewise.
9646 * locale/programs/locfile.c (siblings_uncached)
9647 (write_locale_data): Use lstat64 instead of lstat.
9648 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9651 2013-05-10 Andreas Jaeger <aj@suse.de>
9654 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9658 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9660 * elf/dl-close.c (_dl_close_worker): Add comments.
9662 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9665 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9667 (__ieee754_rem_pio2l): Update comments.
9670 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9672 (__ieee754_rem_pio2l): Update comments.
9674 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9675 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9677 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9680 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9681 (M_PI_34_LOG10El): Likewise.
9682 (M_PI2_LOG10El): Likewise.
9683 (M_PI4_LOG10El): Likewise.
9684 (M_PI_LOG10El): Likewise.
9686 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9690 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9692 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9693 (MINUS_ZERO_INIT): Likewise.
9694 (PLUS_INFTY_INIT): Likewise.
9695 (MINUS_INFTY_INIT): Likewise.
9696 (QNAN_VALUE_INIT): Likewise.
9697 (MAX_VALUE_INIT): Likewise.
9698 (MIN_VALUE_INIT): Likewise.
9699 (MIN_SUBNORM_VALUE_INIT): Likewise.
9700 (plus_zero): Initialize with PLUS_ZERO_INIT.
9701 (minus_zero): Initialize with MINUS_ZERO_INIT.
9702 (plus_infty): Initialize with PLUS_INFTY_INIT.
9703 (minus_infty): Initialize with MINUS_INFTY_INIT.
9704 (qnan_value): Initialize with QNAN_VALUE_INIT.
9705 (max_value): Initialize with MAX_VALUE_INIT.
9706 (min_value): Initialize with MIN_VALUE_INIT.
9707 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9709 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9710 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9711 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9712 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9714 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9715 (RUN_TEST_2_f): Likewise.
9716 (RUN_TEST_ff_f): Likewise.
9717 (RUN_TEST_fi_f): Likewise.
9718 (RUN_TEST_fl_f): Likewise.
9719 (RUN_TEST_fff_f): Likewise.
9720 (RUN_TEST_c_f): Likewise.
9721 (RUN_TEST_f_f1): Likewise.
9722 (RUN_TEST_fF_f1): Likewise.
9723 (RUN_TEST_fI_f1): Likewise.
9724 (RUN_TEST_ffI_f1): Likewise.
9725 (RUN_TEST_c_c): Likewise.
9726 (RUN_TEST_cc_c): Likewise.
9727 (RUN_TEST_f_i): Likewise.
9728 (RUN_TEST_f_i_tg): Likewise.
9729 (RUN_TEST_ff_i_tg): Likewise.
9730 (RUN_TEST_f_b): Likewise.
9731 (RUN_TEST_f_b_tg): Likewise.
9732 (RUN_TEST_f_l): Likewise.
9733 (RUN_TEST_f_L): Likewise.
9734 (RUN_TEST_sincos): Likewise.
9735 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9736 whether to show exceptions. Do not include ");\n" in return
9738 (special_functions): Output call to RUN_TEST_sincos instead of
9739 check_float calls. Update calls to new_test.
9740 (parse_args): Output call to single RUN_TEST_* macro instead of
9741 check_* calls and other assignments. Update calls to new_test.
9747 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9748 input to result for tgamma overflow.
9749 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9750 (gamma_coeff): New variable.
9751 (NCOEFF): New macro.
9752 (gamma_positive): New function.
9753 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9754 underflow here. Use gamma_positive instead of exp (lgamma) for
9756 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9757 (gamma_coeff): New variable.
9758 (NCOEFF): New macro.
9759 (gammaf_positive): New function.
9760 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9761 underflow here. Use gamma_positive instead of exp (lgamma) for
9763 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9764 (gamma_coeff): New variable.
9765 (NCOEFF): New macro.
9766 (gammal_positive): New function.
9767 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9768 underflow here. Use gamma_positive instead of exp (lgamma) for
9770 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9771 (gamma_coeff): New variable.
9772 (NCOEFF): New macro.
9773 (gammal_positive): New function.
9774 (__ieee754_gammal_r): Handle positive infinity, overflow and
9775 underflow here. Handle NaN the same as positive infinity. Remove
9776 check x < 0xffffffff for negative integers. Use gamma_positive
9777 instead of exp (lgamma) for other arguments.
9778 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9779 (gamma_coeff): New variable.
9780 (NCOEFF): New macro.
9781 (gammal_positive): New function.
9782 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9783 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9787 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9788 * sysdeps/generic/math_private.h (__gamma_productf): New
9790 (__gamma_product): Likewise.
9791 (__gamma_productl): Likewise.
9792 * math/Makefile (libm-calls): Add gamma_product.
9793 * math/libm-test.inc (tgamma_test): Add more tests.
9794 * sysdeps/i386/fpu/libm-test-ulps: Update.
9795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9797 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9799 * benchtests/bench-skeleton.c (main): Preheat CPU.
9801 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9803 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9805 2013-05-07 Roland McGrath <roland@hack.frob.com>
9807 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9808 and _dl_skip_args_internal.
9810 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9812 * manual/message.texi (Message Translation): Talk about users.
9813 Message to key mapping impacts design.
9815 2013-05-06 Roland McGrath <roland@hack.frob.com>
9817 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9819 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9821 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9822 * sysdeps/wordsize-64/glob64.c: ... here.
9824 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9825 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9828 * debug/getlogin_r_chk.c: Moved to ...
9829 * login/getlogin_r_chk.c: ... here.
9830 * debug/Makefile (routines): Move getlogin_r_chk to ...
9831 * login/Makefile (routines): ... here.
9832 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9833 * login/Versions (libc: GLIBC_2.4): ... here.
9835 * io/poll.c (__poll): Renamed from poll.
9836 Add libc_hidden_def.
9837 (poll): Define as weak alias.
9839 * debug/ptsname_r_chk.c: Moved to ...
9840 * login/ptsname_r_chk.c: ... here.
9841 * debug/Makefile (routines): Move ptsname_r_chk to ...
9842 * login/Makefile (routines): ... here.
9843 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9844 * login/Versions (libc: GLIBC_2.4): ... here.
9846 * posix/getlogin.c: Moved to ...
9847 * login/getlogin.c: ... here.
9848 * posix/getlogin_r.c: Moved to ...
9849 * login/getlogin_r.c: ... here.
9850 * posix/getlogin_r.c: Moved to ...
9851 * login/getlogin_r.c: ... here.
9852 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9853 * login/Makefile (routines): ... here.
9854 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9855 * login/Versions (libc: GLIBC_2.0): ... here.
9857 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9858 (setrlimit): Define as weak alias.
9860 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9861 Call __ names for open, ftruncate, and close.
9862 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9863 (truncate): Define as weak alias.
9865 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9867 * math/gen-libm-test.pl (parse_args): Initialize x before each
9868 test of frexp, modf and remquo.
9870 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9873 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9877 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9881 2013-05-06 Roland McGrath <roland@hack.frob.com>
9883 * elf/dl-writev.h: New file.
9884 * elf/dl-misc.c: Include it.
9885 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9886 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9888 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9890 * math/libm-test.inc (noXFails): Remove variable.
9891 (noXPasses): Likewise.
9892 (BUILD_COMPLEX_INT): Remove macro.
9893 (print_screen): Remove xfail argument.
9894 (print_screen_max_error): Likewise.
9895 (update_stats): Likewise.
9896 (print_max_error): Likewise. Update calls to other affected
9898 (print_complex_max_error): Likewise.
9899 (test_single_exception): Update calls to print_screen.
9900 (test_single_errno): Likewise.
9901 (check_float_internal): Remove xfail argument. Update calls to
9902 other affected functions.
9903 (check_float): Likewise.
9904 (check_complex): Likewise.
9905 (check_int): Likewise.
9906 (check_long): Likewise.
9907 (check_bool): Likewise.
9908 (check_longlong): Likewise.
9909 (main): Don't print noXFails and noXPasses.
9910 * math/gen-libm-test.pl (top level): Don't mention expected
9911 failure handling in comment.
9912 (new_test): Don't handle expected failures.
9913 (parse_args): Don't mention expected failure handling in comment.
9914 (generate_testfile): Don't handle expected failures.
9915 (parse_ulps): Likewise.
9916 (print_ulps_file): Likewise.
9917 (get_failure): Remove function.
9918 (output_test): Don't handle expected failures.
9919 * make/README.libm-test: Don't mention expected failure handling.
9921 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9922 (minus_zero): Likewise.
9923 (plus_infty): Likewise.
9924 (minus_infty): Likewise.
9925 (qnan_value): Likewise.
9926 (max_value): Likewise.
9927 (min_value): Likewise.
9928 (min_subnorm_value): Likewise.
9929 (initialize): Do not initialize those variables dynamically.
9931 2013-05-03 Roland McGrath <roland@hack.frob.com>
9933 * io/open.c (__open_2): Moved to ...
9934 * io/open_2.c: ... this new file.
9935 * io/open64.c (__open64_2): Moved to ...
9936 * io/open64_2.c: ... this new file.
9937 * io/openat.c (__openat_2): Moved to ...
9938 * io/openat_2.c: ... this new file.
9939 * io/openat64.c (__openat64_2): Moved to ...
9940 * io/openat64_2.c: ... this new file.
9941 * io/Makefile (routines): Add them.
9942 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9943 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9944 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9945 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9946 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9947 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9948 (__openat64): Add hidden_ver.
9949 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9950 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9952 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9953 Separately conditionalize setting of GLRO(dl_sysinfo) so
9954 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9955 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9957 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9959 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9960 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9962 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9963 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9964 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9965 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9966 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9968 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9970 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9973 * math/libm-test.inc (hypot_test): Do not use
9974 IGNORE_ZERO_INF_SIGN.
9976 2013-05-03 Andreas Jaeger <aj@suse.de>
9978 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9980 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9981 (PF_MAX): Adjust for VSOCK change.
9983 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9987 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9990 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9991 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9992 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9994 2013-05-02 David S. Miller <davem@davemloft.net>
9996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9998 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10000 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10002 2013-05-01 Roland McGrath <roland@hack.frob.com>
10004 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10006 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10009 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10010 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10011 Use __attribute__ ((__gnu_inline__)).
10012 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10013 Don't use __attribute__ ((__gnu_inline__)).
10015 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10018 * math/s_catan.c (__catan): Handle small real or imaginary part of
10019 input specially to avoid spurious underflow.
10020 * math/s_catanf.c (__catanf): Likewise.
10021 * math/s_catanh.c (__catanh): Likewise.
10022 * math/s_catanhf.c (__catanhf): Likewise.
10023 * math/s_catanhl.c (__catanhl): Likewise.
10024 * math/s_catanl.c (__catanl): Likewise.
10025 * math/libm-test.inc (catan_test): Add more tests.
10026 (catanh_test): Likewise.
10027 * sysdeps/i386/fpu/libm-test-ulps: Update.
10028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10030 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10034 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10037 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10038 accurately for denominator in atan2.
10039 * math/s_catanf.c (__catanf): Likewise.
10040 * math/s_catanh.c (__catanh): Likewise.
10041 * math/s_catanhf.c (__catanhf): Likewise.
10042 * math/s_catanhl.c (__catanhl): Likewise.
10043 * math/s_catanl.c (__catanl): Likewise.
10044 * math/libm-test.inc (catan_test): Add more tests.
10045 (catanh_test): Likewise.
10046 * sysdeps/i386/fpu/libm-test-ulps: Update.
10047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10049 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10051 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10053 * benchtests/Makefile (bench): Remove slow benchmarks.
10054 * benchtests/atan-inputs: Add slow benchmark inputs.
10055 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10056 (BENCH_FUNC): Accept variant offset.
10058 * benchtests/bench-skeleton.c (main): Run benchmark for each
10060 * benchtests/cos-inputs: Add slow benchmark inputs.
10061 * benchtests/exp-inputs: Likewise.
10062 * benchtests/pow-inputs: Likewise.
10063 * benchtests/sin-inputs: Likewise.
10064 * benchtests/slowatan-inputs: Remove.
10065 * benchtests/slowatan.c: Remove.
10066 * benchtests/slowcos-inputs: Remove.
10067 * benchtests/slowcos.c: Remove.
10068 * benchtests/slowexp-inputs: Remove.
10069 * benchtests/slowexp.c: Remove.
10070 * benchtests/slowpow-inputs: Remove.
10071 * benchtests/slowpow.c: Remove.
10072 * benchtests/slowsin-inputs: Remove.
10073 * benchtests/slowsin.c: Remove.
10074 * benchtests/slowtan-inputs: Remove.
10075 * benchtests/slowtan.c: Remove.
10076 * benchtests/tan-inputs: Add slow benchmark inputs.
10077 * scripts/bench.pl: Parse comments and directives.
10079 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10081 ($(objpfx)bench-%.c): Remove *-ITER.
10082 * benchtests/bench-modf.c: Remove definition of ITER.
10083 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10084 (main): Loop for DURATION seconds instead of fixed number of
10086 * scripts/bench.pl: Don't expect iterations in parameters.
10088 2013-04-29 Roland McGrath <roland@hack.frob.com>
10090 * io/fchdir.c (__fchdir): Renamed from fchdir.
10091 (fchdir): Define as weak alias.
10093 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10095 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10096 (ERRNO_EDOM): Likewise.
10097 (ERRNO_ERANGE): Likewise.
10098 (noErrnoTests): New variable.
10099 (init_max_error): Set errno to 0.
10100 (test_single_errno): New function.
10101 (test_errno): Likewise.
10102 (check_float_internal): Call test_errno. Set errno to 0.
10103 (check_complex): Refer to errno tests in comment.
10104 (check_int): Call test_errno. Set errno to 0.
10105 (check_long): Likewise.
10106 (check_bool): Likewise.
10107 (check_longlong): Likewise.
10108 (cos_test): Use ERRNO_* flags for errno tests instead of
10110 (expm1_test): Likewise.
10111 (fmod_test): Likewise.
10112 (ilogb_test): Likewise.
10113 (lgamma_test): Likewise.
10114 (pow_test): Likewise.
10115 (remainder_test): Likewise.
10116 (sin_test): Likewise.
10117 (tan_test): Likewise.
10118 (yn_test): Likewise.
10119 (initialize): Set errno to 0.
10120 (main): Print number of errno tests.
10121 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10123 2013-04-29 Andreas Jaeger <aj@suse.de>
10126 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10130 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10131 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10135 * stdlib/random.c (__initstate): Return NULL if
10139 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10140 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10143 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10147 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10149 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10150 of individual tests.
10151 (casin_test): Likewise.
10152 (casinh_test): Likewise.
10154 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10157 * math/s_catan.c (__catan): Handle arguments with large real or
10158 imaginary part separately without squaring.
10159 * math/s_catanf.c (__catanf): Likewise.
10160 * math/s_catanh.c (__catanh): Likewise.
10161 * math/s_catanhf.c (__catanhf): Likewise.
10162 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10164 (__catanhl): Handle arguments with large real or imaginary part
10165 separately without squaring.
10166 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10168 (__catanl): Handle arguments with large real or imaginary part
10169 separately without squaring.
10170 * math/libm-test.inc (catan_test): Add more tests.
10171 (catanh_test): Likewise.
10172 * sysdeps/i386/fpu/libm-test-ulps: Update.
10173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10175 2013-04-27 Andreas Jaeger <aj@suse.de>
10178 * stdlib/stdlib.h: Update guards for qecvt.
10179 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10182 2013-04-27 Allan McRae <allan@archlinux.org>
10184 * sysdeps/i386/fpu/libm-test-ulps: Update.
10186 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10189 * math/s_catan.c: Include <float.h>.
10190 (__catan): Ensure underflow exception occurs for underflowed
10192 * math/s_catanf.c: Include <float.h>.
10193 (__catanf): Ensure underflow exception occurs for underflowed
10195 * math/s_catanh.c: Include <float.h>.
10196 (__catanh): Ensure underflow exception occurs for underflowed
10198 * math/s_catanhf.c: Include <float.h>.
10199 (__catanhf): Ensure underflow exception occurs for underflowed
10201 * math/s_catanhl.c: Include <float.h>.
10202 (__catanhl): Ensure underflow exception occurs for underflowed
10204 * math/s_catanl.c: Include <float.h>.
10205 (__catanl): Ensure underflow exception occurs for underflowed
10207 * math/libm-test.inc (catan_test): Add more tests.
10208 (catanh_test): Likewise.
10211 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10212 underflowed result.
10213 * math/s_ccoshf.c (__ccoshf): Likewise.
10214 * math/s_ccoshl.c (__ccoshl): Likewise.
10215 * math/s_csin.c (__csin): Likewise.
10216 * math/s_csinf.c (__csinf): Likewise.
10217 * math/s_csinh.c (__csinh): Likewise.
10218 * math/s_csinhf.c (__csinhf): Likewise.
10219 * math/s_csinhl.c (__csinhl): Likewise.
10220 * math/s_csinl.c (__csinl): Likewise.
10221 * math/libm-test.inc (ccos_test): Add more tests.
10222 (ccosh_test): Likewise.
10223 (csin_test): Likewise.
10224 (csinh_test): Likewise.
10226 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10228 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10229 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10230 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10231 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10232 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10233 powerpc/power5+/fpu folders.
10234 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10237 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10241 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10243 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10244 additions to variable.
10245 [$(config-machine) = x86_64] (modules-names): Likewise.
10246 ($(objpfx)tst-audit3): Remove dependency.
10247 ($(objpfx)tst-audit3.out): Likewise.
10248 ($(objpfx)tst-audit4): Likewise.
10249 ($(objpfx)tst-audit4.out): Likewise.
10250 ($(objpfx)tst-audit5): Likewise.
10251 ($(objpfx)tst-audit5.out): Likewise.
10252 ($(objpfx)tst-audit6): Likewise.
10253 ($(objpfx)tst-audit6.out): Likewise.
10254 ($(objpfx)tst-audit7): Likewise.
10255 ($(objpfx)tst-audit7.out): Likewise.
10256 (tst-audit3-ENV): Remove variable.
10257 (tst-audit4-ENV): Likewise.
10258 (tst-audit5-ENV): Likewise.
10259 (tst-audit6-ENV): Likewise.
10260 (tst-audit7-ENV): Likewise.
10261 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10262 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10263 addition to variable.
10264 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10265 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10266 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10267 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10268 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10269 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10270 tst-audit3, tst-audit4 and tst-audit5.
10271 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10272 tst-audit6 and tst-audit7.
10273 [$(subdir) = elf] (modules-names): Add audit modules for those
10275 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10276 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10277 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10278 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10279 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10280 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10281 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10282 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10283 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10284 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10285 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10286 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10287 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10288 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10289 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10290 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10292 [$(subdir) = elf && $(config-cflags-avx) = yes]
10293 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10294 [$(subdir) = elf && $(config-cflags-avx) = yes]
10295 (CFLAGS-tst-auditmod4a.c): Likewise.
10296 [$(subdir) = elf && $(config-cflags-avx) = yes]
10297 (CFLAGS-tst-auditmod4b.c): Likewise.
10298 [$(subdir) = elf && $(config-cflags-avx) = yes]
10299 (CFLAGS-tst-auditmod6b.c): Likewise.
10300 [$(subdir) = elf && $(config-cflags-avx) = yes]
10301 (CFLAGS-tst-auditmod6c.c): Likewise.
10302 [$(subdir) = elf && $(config-cflags-avx) = yes]
10303 (CFLAGS-tst-auditmod7b.c): Likewise.
10304 * elf/tst-audit3.c: Move to ...
10305 * sysdeps/x86_64/tst-audit3.c: ... here.
10306 * elf/tst-audit4.c: Move to ...
10307 * sysdeps/x86_64/tst-audit4.c: ... here.
10308 * elf/tst-audit5.c: Move to ...
10309 * sysdeps/x86_64/tst-audit5.c: ... here.
10310 * elf/tst-audit6.c: Move to ...
10311 * sysdeps/x86_64/tst-audit6.c: ... here.
10312 * elf/tst-audit7.c: Move to ...
10313 * sysdeps/x86_64/tst-audit7.c: ... here.
10314 * elf/tst-auditmod3a.c: Move to ...
10315 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10316 * elf/tst-auditmod3b.c: Move to ...
10317 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10318 * elf/tst-auditmod4a.c: Move to ...
10319 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10320 * elf/tst-auditmod4b.c: Move to ...
10321 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10322 * elf/tst-auditmod5a.c: Move to ...
10323 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10324 * elf/tst-auditmod5b.c: Move to ...
10325 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10326 * elf/tst-auditmod6a.c: Move to ...
10327 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10328 * elf/tst-auditmod6b.c: Move to ...
10329 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10330 * elf/tst-auditmod6c.c: Move to ...
10331 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10332 * elf/tst-auditmod7a.c: Move to ...
10333 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10334 * elf/tst-auditmod7b.c: Move to ...
10335 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10337 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10340 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10341 define unconditionally.
10342 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10343 define unconditionally.
10344 (INT8_C, INT16_C, etc.): Likewise.
10346 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10348 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10349 __ehdr_start with hidden visibility.
10351 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10353 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10355 * math/libm-test.inc (cos_test): Use accurate hex constants.
10356 (sincost_test): Likewise.
10358 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10360 * math/libm-test.inc (catan_test): Add more tests.
10361 (catanh_test): Likewise.
10363 * math/s_catanf.c (__catanf): Use suffixed floating-point
10365 * math/s_catanhf.c (__catanhf): Likewise.
10366 * math/s_catanhl.c (__catanhl): Likewise.
10367 * math/s_catanl.c (__catanl): Likewise.
10370 * math/s_catan.c (__catan): Calculate imaginary part of result
10371 with log1p not log unless computing log of number close to 0.
10372 * math/s_catanf.c (__catanf): Likewise.
10373 * math/s_catanl.c (__catanl): Likewise.
10374 * math/s_catanh.c (__catanh): Calculate real part of result with
10375 log1p not log unless computing log of number close to 0.
10376 * math/s_catanhf.c (__catanhf): Likewise.
10377 * math/s_catanhl.c (__catanhl): Likewise.
10378 * math/libm-test.inc (catan_test): Add more tests.
10379 (catanh_test): Likewise.
10380 * sysdeps/i386/fpu/libm-test-ulps: Update.
10381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10383 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10385 * benchtests/Makefile: Mention files in which fast and slow
10386 paths of math functions are implemented.
10388 2013-04-23 Roland McGrath <roland@hack.frob.com>
10390 * sysdeps/posix/timespec_get.c: New file.
10392 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10394 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10396 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10398 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10399 powerpc/power5/fpu folders.
10400 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10401 * benchtests/Makefile: Add modf testcase.
10402 * benchtests/bench-modf.c: New file: Benchmark test for mo
10404 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10407 * time/Makefile (tests): Add tst-strptime-whitespace.
10408 * time/strptime_l.c (get_number): Use ISSPACE.
10409 (__strptime_internal): Likewise.
10410 * time/tst-strptime-whitespace.c: New test case.
10412 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10414 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10416 (_nss_files_init): Set it here.
10418 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10420 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10421 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10424 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10426 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10428 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10430 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10433 2013-04-21 David S. Miller <davem@davemloft.net>
10435 * po/ru.po: Update Russion translation from translation project.
10437 2013-04-17 Adam Conrad <adconrad@0c3.net>
10439 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10442 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10444 * configure.in: Remove i386 configure warning. Remove i386 case.
10445 * configure: Regenerate.
10446 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10447 Add example to error message.
10448 * sysdeps/i386/configure: Regenerate.
10450 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10452 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10454 * benchtests/cos-inputs: New file.
10455 * benchtests/slowcos-inputs: New file.
10456 * benchtests/slowcos.c: New file.
10457 * benchtests/slowtan-inputs: New file.
10458 * benchtests/slowtan.c: New file.
10459 * benchtests/tan-inputs: New file.
10461 2013-04-16 Roland McGrath <roland@hack.frob.com>
10463 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10466 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10468 * benchtests/Makefile: Include cppflags-iterator.mk to add
10469 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10471 * Makefile.in (bench-clean): New target.
10472 * benchtests/Makefile (bench-clean): Likewise.
10474 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10476 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10478 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10480 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10482 2013-04-15 Andreas Schwab <schwab@suse.de>
10484 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10485 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10486 * nscd/pwdcache.c (cache_addpw): Likewise.
10487 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10490 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10492 * benchtests/Makefile (bench): Write all output to
10493 bench-out.tmp together.
10495 2013-04-15 Andreas Schwab <schwab@suse.de>
10497 * nscd/nscd.c (main): Don't fork again after closing files.
10499 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10501 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10503 * benchtests/Rules (bench-deps): Collect dependencies into a
10504 single variable. Add Makefile to dependencies.
10505 ($(objpfx)bench-%.c): Depend on bench-deps.
10507 2013-04-12 Roland McGrath <roland@hack.frob.com>
10508 Xavier Roche <roche+kml2@exalead.com>
10511 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10512 just that it's a file descriptor.
10513 * manual/llio.texi (Synchronizing AIO Operations): Update description
10514 for EBADF error from aio_fsync.
10516 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10518 * Rules (bench): Move target definition...
10519 * benchtests/Makefile: ... here.
10521 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10523 * math/libm-test.inc (cos_test): Fix PI/2 test.
10524 (sincos_test): Likewise.
10525 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10526 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10528 2013-04-11 Andreas Schwab <schwab@suse.de>
10531 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10532 accept exponent character only when digits were seen.
10533 * stdio-common/Makefile (tests): Add bug26.
10534 * stdio-common/bug26.c: New file.
10537 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10540 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10542 * Makeconfig (rtld-prefix): Define built linker prefix.
10543 * Rules (run-bench): Use it.
10544 * math/Makefile (run-regen-ulps): Likewise.
10546 * Rules (bench): Remove eval.
10548 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10549 Roland McGrath <roland@hack.frob.com>
10550 Ondrej Bilka <neleai@seznam.cz>
10553 * time/getdate.c: Include ctype.h and alloca.h.
10554 (__getdate_r): Trim leading and trailing spaces of input.
10555 * time/tst-getdate.c (tests): Add tests with leading and
10558 2013-04-08 Roland McGrath <roland@hack.frob.com>
10561 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10562 when computing value.
10564 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10566 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10567 Use testrun.sh to run libm tests.
10570 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10572 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10575 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10577 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10579 * Makefile.in (regen-ulps): New target.
10580 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10581 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10582 [ifneq (no,$(PERL)] (regen-ulps): New target.
10583 [ifeq (no,$(PERL)] (regen-ulps): New target.
10584 * math/libm-test.inc (ulps_file_name): Define.
10585 (output_dir): New variable.
10586 (options): Add "output-dir" option.
10587 (parse_opt): Handle 'o' case.
10588 (main): If output_dir is non-NULL use it as a prefix
10590 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10592 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10594 [BZ #10060, #10062]
10595 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10596 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10597 fail configure if __sync_val_compare_and_swap is not inlined.
10598 * sysdeps/i386/configure: Regenerate.
10599 * configure.in: Build for i686 when configured for i386.
10600 * configure: Regenerate.
10601 * README: Remove i386 reference.
10603 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10605 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10606 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10608 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10610 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10611 (lmsnanval): New variables.
10612 (F): Add conversion tests.
10613 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10614 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10616 * stdio-common/tstdiomisc.c (F): Properly collect individual
10619 [BZ #14686, #15336]
10620 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10621 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10622 Instead, use input NaN values or generate a qNaN by arithmetic
10623 operation. Also fix bugs to comply with the standard.
10624 * math/libm-test.inc (remainder_test): Add more tests.
10626 [BZ #15335, #15342]
10627 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10629 input NaN values or generate a qNaN by arithmetic operation.
10631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10634 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10637 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10640 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10641 underflowed result.
10642 * math/s_cexpf.c (__cexpf): Likewise.
10643 * math/s_cexpl.c (__cexpl): Likewise.
10644 * math/libm-test.inc (cexp_test): Add more tests.
10646 2013-04-03 Andreas Schwab <schwab@suse.de>
10649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10650 order arrays from heap if bigger than alloca cutoff.
10652 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10654 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10655 (SNAN_TESTS_double): Refer to GCC PR56831.
10656 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10659 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10661 * Rules (bench): Move bench.out after the run is complete.
10663 * Rules (bench): Echo currently running benchmark.
10665 * benchtests/Makefile (bench): Add atan and slowatan.
10666 * benchtests/atan-inputs: New file.
10667 * benchtests/slowatan-inputs: New file.
10668 * benchtests/slowatan.c: New file.
10670 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10671 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10675 * sysdeps/unix/sysv/linux/kernel-features.h
10676 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10677 __ASSUME_XFS_RESTRICTED_CHOWN.
10678 * sysdeps/unix/sysv/linux/pathconf.c
10679 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10680 Save and restore errno.
10682 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10685 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10686 arguments using __kernel_casinh.
10687 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10688 arguments using __kernel_casinhf.
10689 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10690 arguments using __kernel_casinhl.
10691 * math/libm-test.inc (cacosh_test): Add more tests.
10692 * sysdeps/i386/fpu/libm-test-ulps: Update.
10693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10695 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10697 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10700 * bench/Makefile (bench): Add sin and slowsin.
10701 * benchtests/sin-inputs: New file.
10702 * benchtests/slowsin-inputs: New file.
10703 * benchtests/slowsin.c: New file.
10705 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10706 (bench): Add slowexp and slowpow.
10707 (exp-ITER): Increase iterations.
10708 (pow-ITER): Likewise.
10709 * benchtests/exp-inputs: Change input.
10710 * benchtests/pow-inputs: Likewise.
10711 * benchtests/slowexp-inputs: New file.
10712 * benchtests/slowexp.c: New file.
10713 * benchtests/slowpow-inputs: New file.
10714 * benchtests/slowpow.c: New file.
10716 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10718 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10720 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10721 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10722 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10723 * benchtests/Makefile: Add rint benchtest.
10724 * benchtests/rint-inputs: Input for rint benchtest.
10726 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10728 * Versions.def (libm): Add GLIBC_2.18.
10729 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10730 hidden libm prototypes.
10731 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10732 * math/Makefile (libm-calls): Add s_issignaling.
10733 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10734 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10735 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10737 * math/math.h [__USE_GNU] (issignaling): New macro.
10738 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10739 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10740 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10741 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10744 * manual/arith.texi (issignaling): New section.
10745 * manual/libm-err-tab.pl (@all_functions): Update comment.
10746 * math/gen-libm-test.pl (parse_args): Apply special handling for
10748 * math/libm-test.inc (print_float, issignaling_test): New
10750 (check_float_internal): Add issignaling checks.
10751 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10752 default definition.
10753 * sysdeps/powerpc/math-tests.h: New file.
10754 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10756 * math/test-snan.c (TEST_FUNC): Likewise.
10758 2013-03-30 David S. Miller <davem@davemloft.net>
10760 * po/de.po: Update from translation team.
10762 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10765 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10766 imaginary part less than 1.0 and real part less than 0.5
10768 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10769 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10770 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10771 (cacos_test): Add more tests.
10772 (casin_test): Likewise.
10773 (casinh_test): Likewise.
10774 * sysdeps/i386/fpu/libm-test-ulps: Update.
10775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10777 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10779 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10780 ONE with its value.
10782 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10783 (__pow_mp): Replace ONE and MONE with their values.
10784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10785 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10786 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10787 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10788 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10789 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10791 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10793 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10794 (__pow_mp): Replace ZERO and MZERO with their values.
10795 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10796 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10797 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10799 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10800 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10803 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10805 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10807 2013-03-28 Roland McGrath <roland@hack.frob.com>
10809 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10810 Declare with __attribute__ ((weak)).
10811 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10812 Call __call_tls_dtors only if it's not NULL.
10814 2013-03-28 Roland McGrath <roland@hack.frob.com>
10816 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10817 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10818 magic __ehdr_start linker symbol if it's defined.
10819 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10820 them up here if it was already done.
10822 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10823 (_dl_aux_init): Use const in cast when setting it.
10824 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10825 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10826 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10828 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10830 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10831 * csu/libc-tls.c: Nor here.
10832 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10834 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10835 (__libc_message): Never call vsyslog.
10837 2013-03-28 Alan Modra <amodra@gmail.com>
10839 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10841 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10844 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10847 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10851 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10854 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10855 Don't add gid passed as argument.
10857 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10859 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10862 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10863 imaginary part between 1.0 and 1.5 and real part less than 0.5
10865 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10866 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10867 * math/libm-test.inc (cacos_test): Add more tests.
10868 (casin_test): Likewise.
10869 (casinh_test): Likewise.
10870 * sysdeps/i386/fpu/libm-test-ulps: Update.
10871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10873 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10875 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10878 (denorm): Likewise.
10879 (__dbl_mp): Likewise.
10880 (add_magnitudes): Likewise.
10881 (sub_magnitudes): Likewise.
10889 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10891 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10892 (__dubcos): Likewise.
10893 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10894 (__ieee754_acos): Likewise.
10895 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10896 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10897 (__exp1): Likewise.
10898 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10901 (my_log2): Likewise.
10902 (checkint): Likewise.
10903 * sysdeps/ieee754/dbl-64/e_remainder.c
10904 (__ieee754_remainder): Likewise.
10905 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10907 (bsloww): Likewise.
10908 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10910 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10911 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10912 MANTISSA_STORE_T to store computations on mantissa. Use
10913 macros for rounding and division.
10914 (denorm): Likewise.
10915 (__dbl_mp): Likewise.
10916 (add_magnitudes): Likewise.
10917 (sub_magnitudes): Likewise.
10920 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10921 powers of two in terms of TWOPOW macro.
10922 (mp_no): Make type of mantissa as MANTISSA_T.
10923 [!RADIXI]: Define RADIXI.
10924 [!TWO52]: Define TWO52.
10925 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10927 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10929 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10930 llroundl symbol when building for PPC32.
10932 2013-03-24 Mark H Weaver <mhw@netris.org>
10934 * manual/arith.texi (Normalization Functions): Fix prototypes for
10935 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10937 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10941 high value to check if expl overflow.
10942 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10943 to check for underflow and overflow.
10944 * math/libm-test.inc: Add exp test.
10946 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10949 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10952 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10954 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10957 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10959 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10960 wrap blocks consisting of several statements.
10962 * sysdeps/generic/math-tests.h: New file.
10963 * sysdeps/i386/fpu/math-tests.h: Likewise.
10964 * math/test-snan.c: Include it.
10965 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10967 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10970 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10971 (__ieee754_j0l): Do not improve calculations using cos of twice
10972 input for inputs above LDBL_MAX / 2.0L.
10973 (__ieee754_y0l): Likewise.
10974 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10975 (__ieee754_j1l): Do not improve calculations using cos of twice
10976 input for inputs above LDBL_MAX / 2.0L.
10977 (__ieee754_y1l): Likewise.
10978 * math/libm-test.inc (j0_test): Add another test.
10979 (j1_test): Likewise.
10980 (y0_test): Likewise.
10981 (y1_test): Likewise.
10982 * sysdeps/i386/fpu/libm-test-ulps: Update.
10984 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10986 * Rules ($(objpfx)bench-%.c): Include code from a C source
10989 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10992 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10993 imaginary part 1.0 and real part less than 0.5 specially.
10994 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10995 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10996 * math/libm-test.inc (cacos_test): Add more tests.
10997 (casin_test): Likewise.
10998 (casinh_test): Likewise.
10999 * sysdeps/i386/fpu/libm-test-ulps: Update.
11000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11002 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11004 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11005 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11007 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11009 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11010 * config.make.in (config-cflags-sse4): Remove variable.
11011 (config-cflags-avx): Likewise.
11012 (config-cflags-sse2avx): Likewise.
11013 (config-cflags-novzeroupper): Likewise.
11014 (config-asflags-i686): Likewise.
11015 (have-mfma4): Likewise.
11016 (have-as-vis3): Likewise.
11018 * configure.in (MIG): Do not AC_SUBST.
11019 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11020 (libc_cv_cc_sse4): Do not AC_SUBST.
11021 (libc_cv_cc_avx): Likewise.
11022 (libc_cv_cc_sse2avx): Likewise.
11023 (libc_cv_cc_novzeroupper): Likewise.
11024 (libc_cv_cc_fma4): Likewise.
11025 (libc_cv_as_i686): Likewise.
11026 (libc_cv_sparc_as_vis3): Likewise.
11027 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11029 (config-asflags-i686): Likewise.
11030 (config-cflags-avx): Likewise.
11031 (config-cflags-sse2avx): Likewise.
11032 (have-mfma4): Likewise.
11033 (config-cflags-novzeroupper): Likewise.
11034 * sysdeps/mach/configure.in (MIG): Likewise.
11035 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11036 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11038 (config-cflags-avx): Likewise.
11039 (config-cflags-sse2avx): Likewise.
11040 (have-mfma4): Likewise.
11041 (config-cflags-novzeroupper): Likewise.
11042 * configure: Regenerated.
11043 * sysdeps/i386/configure: Likewise.
11044 * sysdeps/mach/configure: Likewise.
11045 * sysdeps/sparc/configure: Likewise.
11046 * sysdeps/x86_64/configure: Likewise.
11048 2013-03-20 Roland McGrath <roland@hack.frob.com>
11051 * locale/programs/localedef.c (options): Put N_ translation marker
11052 on argument names, not just descriptions.
11054 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11056 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11058 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11061 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11063 2013-03-19 Roland McGrath <roland@hack.frob.com>
11065 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11066 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11067 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11068 [!BEFORE_ABORT] (before_abort): New function.
11069 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11070 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11071 (writev_for_fatal): New function.
11072 (WRITEV_FOR_FATAL): New macro; call that.
11073 (backtrace_and_maps): New function.
11074 (BEFORE_ABORT): New macro; call that.
11075 (struct str_list): Type removed.
11076 (__libc_message, __libc_fatal): Functions removed.
11077 Include <sysdeps/posix/libc_fatal.c> instead.
11079 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11081 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11083 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11086 2013-03-19 Andreas Schwab <schwab@suse.de>
11088 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11089 * sysdeps/gnu/configure: Regenerate.
11091 * configure.in: Substitute libc_cv_rtlddir.
11092 * configure: Regenerate.
11093 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11094 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11095 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11096 * elf/Makefile (install-others, CFLAGS-interp.c)
11097 (ldso_install, common-ldd-rewrite): Likewise.
11098 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11099 $(inst_slibdir)/$(rtld-installed-name).
11100 * scripts/rellns-sh: Add -p option.
11101 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11104 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11106 * manual/nptl.texi: Renamed to ...
11107 * manual/threads.texi: ... this.
11108 * manual/Makefile (chapters): Update.
11110 2013-03-18 Roland McGrath <roland@hack.frob.com>
11113 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11114 on argument names, not just descriptions.
11115 * malloc/memusagestat.c (options): Likewise.
11116 * nss/getent.c (options): Likewise.
11118 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11121 * iconv/iconv_prog.c (options): Put N_ translation marker
11122 on argument names, not just descriptions.
11123 * iconv/iconvconfig.c (options): Likewise.
11125 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11127 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11128 implementation which is faster on all x86_64 architectures.
11129 Tested on AMD, Intel Nehalem, SNB, IVB.
11130 * sysdeps/x86_64/strnlen.S: Likewise.
11132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11133 Remove all multiarch strlen and strnlen versions.
11134 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11135 Remove strlen and strnlen related parts.
11137 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11138 Inline strlen part.
11139 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11141 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11142 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11143 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11144 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11145 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11146 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11148 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11150 * manual/memory.texi (Malloc Tunable Parameters):
11151 Sort parameters alphabetically. Add comments for missing entries.
11153 2013-03-17 David S. Miller <davem@davemloft.net>
11155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11157 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11160 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11161 for arguments at most half maximum finite value.
11162 * math/libm-test.inc (j0_test): Add more tests.
11163 (j1_test): Likewise.
11164 (y0_test): Likewise.
11165 (y1_test): Likewise.
11166 * sysdeps/i386/fpu/libm-test-ulps: Update.
11167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11170 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11171 1 / x and functions P and Q for arguments above 0x1p256L.
11172 (__ieee754_y0l): Likewise.
11173 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11174 (__ieee754_y1l): Likewise.
11175 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11176 (j1_test): Likewise.
11177 (y0_test): Likewise.
11178 (y1_test): Likewise.
11180 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11182 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11185 2013-03-15 Roland McGrath <roland@hack.frob.com>
11187 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11188 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11189 zero since it's initialized to EXEC_PAGESIZE.
11191 * sysdeps/unix/sysv/linux/ldsodefs.h
11192 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11193 * sysdeps/generic/ldsodefs.h: ... here.
11195 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11197 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11199 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11201 * math/test-snan.c: Renamed from
11202 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11203 * math/Makefile (tests): Add test-snan.
11204 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11207 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11208 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11210 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11211 __builtin_nan family of functions.
11212 * math/libm-test.inc (initialize): Initialize qnan_value with
11213 __builtin_nan family of functions.
11214 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11216 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11218 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11219 storage class. Initialize qNaN_var and sNaN_var with
11220 __builtin_nan and __builtin_nans families of functions,
11223 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11224 (sqrt_test): Remove duplicate test with qNaN input.
11225 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11226 (round_test, signbit_test, significand_test): Note missing +/-Inf
11227 as well as qNaN tests.
11229 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11230 qNaN_var. Fix a few strings, too.
11231 * math/libm-test.inc (nan_value): Rename to qnan_value.
11232 * math/gen-libm-test.pl (%beautify): Adjust to that.
11233 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11234 * math/test-misc.c (main): Likewise.
11235 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11236 to __qnan_bytes, and __qnan_union, respectively.
11237 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11239 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11240 and lqnanval, respectively.
11241 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11242 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11243 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11244 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11246 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11247 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11250 * math/test-misc.c (main): Fix copy'n'pastos.
11251 * misc/tst-efgcvt.c (special): Likewise.
11253 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11254 Remove declarations.
11256 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11258 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11259 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11260 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11261 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11263 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11265 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11266 macro to return vdso values correctly in IFUNC implementations.
11267 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11268 Optimization by using IFUNC.
11270 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11271 Richard Henderson <rth@redhat.com>
11272 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11274 * Makefile.in (bench): New target.
11275 * NEWS: Mention the benchmark framework.
11276 * Rules (bench): Likewise.
11277 (binaries-bench): Generate binaries for functions to
11279 * benchtests/Makefile: New makefile for benchmark tests.
11280 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11282 * benchtests/exp-inputs: New input file for EXP function.
11283 * benchtests/pow-inputs: New input file for POW function.
11284 * scripts/bench.pl: New script to generate source files for
11285 benchmark programs.
11287 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11289 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11290 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11291 computations on mantissa. Use macros for rounding and
11293 (denorm): Likewise.
11294 (__dbl_mp): Likewise.
11295 (add_magnitudes): Likewise.
11296 (sub_magnitudes): Likewise.
11299 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11300 powers of two in terms of TWOPOW macro.
11301 (mp_no): Make type of mantissa as MANTISSA_T.
11302 [!RADIXI]: Define RADIXI.
11303 [!TWO52]: Define TWO52.
11304 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11306 * manual/nptl.texi (cindex): Modify threads to pthreads.
11308 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11310 * sysdeps/x86_64/preconfigure: Regenerated.
11312 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11315 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11317 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11318 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11320 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11321 * math/libm-test.inc (j0_test): Do not allow one spurious
11322 underflow exception.
11323 (y1_test): Likewise.
11325 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11327 * manual/Makefile (chapters): Add nptl.
11328 * manual/debug.texi (Debugging Support): Add link to Threads
11330 * manual/nptl.texi: New file.
11332 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11334 2013-03-14 Petr Baudis <pasky@ucw.cz>
11336 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11337 for non-NULL pointer before the memory validity test. Pointed
11338 out by Holger Brunck <holger.brunck@keymile.com>.
11340 2013-03-13 Andreas Schwab <schwab@suse.de>
11342 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11345 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11347 * timezone/zic.c: Update from tzcode 2013b.
11349 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11351 * manual/install.texi (Configuring and compiling):
11352 Mention i686 and i586.
11353 * INSTALL: Regenerate.
11355 2013-03-12 Roland McGrath <roland@hack.frob.com>
11357 * sysdeps/init_array/elf-init.c: New file.
11359 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11360 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11362 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11363 __gmon_start__ as global, but as static with a .preinit_array pointer.
11364 * sysdeps/init_array/gmon-start.c: New file. Use that.
11365 * sysdeps/init_array/crti.S: New file, empty except for comments.
11366 * sysdeps/init_array/crtn.S: Likewise.
11368 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11370 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11373 Remove Prefer_SSE_for_memop.
11374 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11375 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11376 HAS_PREFER_SSE_FOR_MEMOP.
11377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11380 Remove bzero, memset ifunc support.
11381 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11382 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11383 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11384 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11386 2013-03-11 Andreas Schwab <schwab@suse.de>
11389 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11392 (GLIBC_2.16): Remove pthread_atfork.
11394 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11396 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11397 (ptestcases.h): Likewise.
11399 2013-03-08 Roland McGrath <roland@hack.frob.com>
11401 * Makeconfig ($(common-objpfx)config.status): Depend on
11402 sysdeps/*/preconfigure{,.in} too.
11404 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11406 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11407 (__free_hook): Use void * instead of __malloc_ptr_t.
11408 (__malloc_hook): Likewise.
11409 (__realloc_hook): Likewise.
11410 (__memalign_hook): Likewise.
11411 (__after_morecore_hook): Likewise.
11412 * malloc/arena.c (save_malloc_hook): Likewise.
11413 (save_free_hook): Likewise.
11414 * malloc/hooks.c (malloc_hook_ini): Likewise.
11415 (realloc_hook_ini): Likewise.
11416 (memalign_hook_ini): Likewise.
11417 * malloc/malloc.c (malloc_hook_ini): Likewise.
11418 (realloc_hook_ini): Likewise.
11419 (memalign_hook_ini): Likewise.
11420 (__free_hook): Likewise.
11421 (__malloc_hook): Likewise.
11422 (__realloc_hook): Likewise.
11423 (__memalign_hook): Likewise.
11424 (__libc_malloc): Likewise.
11425 (__libc_free): Likewise.
11426 (__libc_realloc): Likewise.
11427 (__libc_memalign): Likewise.
11428 (__libc_valloc): Likewise.
11429 (__libc_pvalloc): Likewise.
11430 (__libc_calloc): Likewise.
11431 (__posix_memalign): Likewise.
11432 * malloc/morecore.c (__sbrk): Likewise.
11433 (__default_morecore): Likewise.
11435 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11437 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11438 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11439 __malloc_ptrdiff_t.
11441 * malloc/malloc.h (__malloc_size_t): Remove macro.
11442 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11444 (old_memalign_hook): Likewise.
11445 (old_realloc_hook): Likewise.
11446 (struct hdr): Likewise.
11448 (mallochook): Likewise.
11449 (memalignhook): Likewise.
11450 (reallochook): Likewise.
11451 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11452 (tr_old_realloc_hook): Likewise.
11453 (tr_old_memalign_hook): Likewise.
11454 (tr_mallochook): Likewise.
11455 (tr_reallochook): Likewise.
11456 (tr_memalignhook): Likewise.
11458 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11461 default_ldbl_pack and using as default implementation.
11462 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11464 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11465 redundant definition.
11466 (ldbl_insert_mantissa): Likewise.
11467 (ldbl_canonicalize): Likewise.
11468 (ldbl_nearbyint): Likewise.
11469 (ldbl_pack): Rename to ldbl_pack_ppc.
11470 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11471 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11472 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11474 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11477 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11479 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11481 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11482 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11483 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11485 2013-03-07 Andreas Jaeger <aj@suse.de>
11487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11490 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11492 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11493 Include mpa.h and declare __MPEXP.
11494 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11495 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11496 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11497 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11498 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11499 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11500 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11502 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11503 (__slowpow): Use long double EXPL and LOGL functions to
11505 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11506 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11507 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11508 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11509 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11510 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11513 intermediate variable to calculate exponent.
11515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11519 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11520 [!NO__SQR]: Define __sqr.
11521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11522 and NO__SQR. Remove all code except __mul and __sqr. Include
11523 sysdeps/ieee754/dbl-64/mpa.c.
11524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11527 * posix/Makefile (tests): Add tst-pathconf.
11528 * posix/tst-pathconf.c: New test case.
11529 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11531 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11533 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11535 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11537 2013-03-06 Andreas Jaeger <aj@suse.de>
11539 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11540 definition via __MAP_ANONYMOUS.
11542 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11543 it's not part of Linux headers.
11545 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11546 (MAP_HUGE_MASK): Define.
11548 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11550 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11553 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11554 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11556 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11557 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11559 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11561 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11562 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11563 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11564 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11565 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11566 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11571 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11572 Handle f2fs and efivarfs.
11574 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11577 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11578 (EFIVARFS_MAGIC): Add.
11579 (F2FS_LINK_MAX): Add.
11581 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11583 * stdio-common/vfprintf.c: Replace __builtin_expect with
11586 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11589 * sysdeps/generic/bp-sym.h: Remove file.
11590 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11591 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11592 <bp-sym.h> and <bp-asm.h>.
11593 (__longjmp): Don't use BP_SYM.
11594 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11596 (memcpy): Don't use BP_SYM.
11597 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11598 <bp-sym.h> and <bp-asm.h>.
11599 (memcpy): Don't use BP_SYM.
11600 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11602 (memcpy): Don't use BP_SYM.
11603 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11605 (memset): Don't use BP_SYM.
11606 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11607 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11608 (__bzero): Don't use BP_SYM.
11609 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11610 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11611 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11612 <bp-sym.h> and <bp-asm.h>.
11613 (memcmp): Don't use BP_SYM. Remove comment about bounded
11615 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11616 <bp-sym.h> and <bp-asm.h>.
11617 (memcpy): Don't use BP_SYM.
11618 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11619 <bp-sym.h> and <bp-asm.h>.
11620 (memset): Don't use BP_SYM.
11621 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11622 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11623 (__bzero): Don't use BP_SYM.
11624 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11625 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11626 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11627 <bp-sym.h> and <bp-asm.h>.
11628 (strncmp): Don't use BP_SYM. Remove comment about bounded
11630 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11631 <bp-sym.h> and <bp-asm.h>.
11632 (memcpy): Don't use BP_SYM.
11633 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11634 <bp-sym.h> and <bp-asm.h>.
11635 (memset): Don't use BP_SYM.
11636 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11637 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11638 (__bzero): Don't use BP_SYM.
11639 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11640 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11641 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11642 <bp-sym.h> and <bp-asm.h>.
11643 (__memchr): Don't use BP_SYM.
11644 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11645 <bp-sym.h> and <bp-asm.h>.
11646 (memcmp): Don't use BP_SYM. Remove comment about bounded
11648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11649 <bp-sym.h> and <bp-asm.h>.
11650 (memcpy): Don't use BP_SYM.
11651 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11652 <bp-sym.h> and <bp-asm.h>.
11653 (__mempcpy): Don't use BP_SYM.
11654 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11655 <bp-sym.h> and <bp-asm.h>.
11656 (__memrchr): Don't use BP_SYM.
11657 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11658 <bp-sym.h> and <bp-asm.h>.
11659 (memset): Don't use BP_SYM.
11660 (__bzero): Likewise.
11661 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11662 <bp-sym.h> and <bp-asm.h>.
11663 (__rawmemchr): Don't use BP_SYM.
11664 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11665 <bp-sym.h> and <bp-asm.h>.
11666 (__STRCMP): Don't use BP_SYM.
11667 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11668 <bp-sym.h> and <bp-asm.h>.
11669 (strchr): Don't use BP_SYM.
11670 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11671 <bp-sym.h> and <bp-asm.h>.
11672 (__strchrnul): Don't use BP_SYM.
11673 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11674 <bp-sym.h> and <bp-asm.h>.
11675 (strlen): Don't use BP_SYM.
11676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11677 <bp-sym.h> and <bp-asm.h>.
11678 (strncmp): Don't use BP_SYM. Remove comment about bounded
11680 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11681 <bp-sym.h> and <bp-asm.h>.
11682 (__strnlen): Don't use BP_SYM.
11683 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11684 <bp-sym.h> and <bp-asm.h>.
11685 (__GI__setjmp): Don't use BP_SYM.
11686 (_setjmp): Likewise.
11687 (__sigsetjmp): Likewise.
11688 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11689 (L(start_addresses)): Don't use BP_SYM.
11690 (_start): Likewise.
11691 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11693 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11694 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11695 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11696 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11697 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11699 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11700 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11701 about bounded pointers.
11702 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11703 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11704 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11706 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11707 about bounded pointers. Remove GKM FIXME comments.
11708 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11709 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11711 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11712 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11713 Remove GKM FIXME comments.
11714 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11715 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11716 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11718 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11719 about bounded pointers. Remove GKM FIXME comment.
11720 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11722 (strncmp): Don't use BP_SYM. Remove comment about bounded
11724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11725 <bp-sym.h> and <bp-asm.h>.
11726 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11728 <bp-sym.h> and <bp-asm.h>.
11729 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11732 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11734 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11737 2013-03-05 David S. Miller <davem@davemloft.net>
11739 * po/es.po: Update from translation team.
11741 2013-03-05 Andreas Jaeger <aj@suse.de>
11743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11744 <bits/mman-linux.h>.
11745 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11747 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11748 <bits/mman-linux.h> to end of file.
11749 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11751 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11752 <bits/mman-linux.h> to end of file.
11753 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11755 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11756 <bits/mman-linux.h> to end of file.
11758 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11759 (MCL_CURRENT, MCL_FUTURE): Define here.
11761 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11764 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11766 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11768 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11770 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11771 fourth parameter needed for rt_sigprocmask syscall.
11772 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11773 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11774 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11775 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11776 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11777 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11779 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11782 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11783 comment about bounded pointers.
11784 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11785 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11787 2013-03-04 Andreas Jaeger <aj@suse.de>
11789 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11790 common definitions.
11792 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11793 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11794 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11795 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11796 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11797 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11799 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11802 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11803 __ieee754_sqrl instead of __sqrl.
11805 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11807 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11808 * sysdeps/powerpc/fpu_control.h: ... here.
11809 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11810 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11811 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11812 * sysdeps/powerpc/bits/mathinline.h: ... here.
11814 2013-03-01 Roland McGrath <roland@hack.frob.com>
11816 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11817 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11818 to just [NEED_DL_SYSINFO_DSO].
11819 * elf/dl-support.c: Likewise.
11820 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11821 * elf/rtld.c (dl_main): Likewise.
11822 * elf/setup-vdso.h (setup_vdso): Likewise.
11823 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11824 * sysdeps/unix/sysv/linux/dl-sysdep.c
11825 (_dl_discover_osversion): Likewise.
11827 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11829 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11830 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11832 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11834 * NEWS: Mention libm performance improvements and non-x86 PI
11837 * csu/libc-start.c (__pthread_initialize_minimal): Change
11838 function arguments.
11839 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11841 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11844 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11845 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11846 <bp-sym.h> and <bp-asm.h>.
11847 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11848 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11850 (memcpy): Don't use BP_SYM.
11851 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11853 (__mpn_add_n): Don't use BP_SYM.
11854 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11855 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11857 (__mpn_addmul_1): Don't use BP_SYM.
11858 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11859 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11861 (_setjmp): Don't use BP_SYM.
11862 (__novmx_setjmp): Likewise.
11863 (__GI__setjmp): Likewise.
11864 (__vmx_setjmp): Likewise.
11865 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11867 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11868 (__bzero): Don't use BP_SYM.
11869 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11870 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11871 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11872 <bp-sym.h> and <bp-asm.h>.
11873 (memcpy): Don't use BP_SYM.
11874 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11875 <bp-sym.h> and <bp-asm.h>.
11876 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11877 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11878 <bp-sym.h> and <bp-asm.h>.
11879 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11880 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11882 (__mpn_lshift): Don't use BP_SYM.
11883 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11884 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11886 (memset): Don't use BP_SYM.
11887 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11888 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11889 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11891 (__mpn_mul_1): Don't use BP_SYM.
11892 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11894 <bp-sym.h> and <bp-asm.h>.
11895 (memcmp): Don't use BP_SYM.
11896 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11897 <bp-sym.h> and <bp-asm.h>.
11898 (memcpy): Don't use BP_SYM.
11899 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11900 <bp-sym.h> and <bp-asm.h>.
11901 (memset): Don't use BP_SYM.
11902 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11903 <bp-sym.h> and <bp-asm.h>.
11904 (strncmp): Don't use BP_SYM.
11905 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11906 <bp-sym.h> and <bp-asm.h>.
11907 (memcpy): Don't use BP_SYM.
11908 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11909 <bp-sym.h> and <bp-asm.h>.
11910 (memset): Don't use BP_SYM.
11911 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11912 <bp-sym.h> and <bp-asm.h>.
11913 (__memchr): Don't use BP_SYM.
11914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11915 <bp-sym.h> and <bp-asm.h>.
11916 (memcmp): Don't use BP_SYM.
11917 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11918 <bp-sym.h> and <bp-asm.h>.
11919 (memcpy): Don't use BP_SYM.
11920 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11921 <bp-sym.h> and <bp-asm.h>.
11922 (__mempcpy): Don't use BP_SYM.
11923 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11924 <bp-sym.h> and <bp-asm.h>.
11925 (__memrchr): Don't use BP_SYM.
11926 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11927 <bp-sym.h> and <bp-asm.h>.
11928 (memset): Don't use BP_SYM.
11929 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11930 <bp-sym.h> and <bp-asm.h>.
11931 (__rawmemchr): Don't use BP_SYM.
11932 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11933 <bp-sym.h> and <bp-asm.h>.
11934 (__STRCMP): Don't use BP_SYM.
11935 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11936 <bp-sym.h> and <bp-asm.h>.
11937 (strchr): Don't use BP_SYM.
11938 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11939 <bp-sym.h> and <bp-asm.h>.
11940 (__strchrnul): Don't use BP_SYM.
11941 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11942 <bp-sym.h> and <bp-asm.h>.
11943 (strlen): Don't use BP_SYM.
11944 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11945 <bp-sym.h> and <bp-asm.h>.
11946 (strncmp): Don't use BP_SYM.
11947 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11948 <bp-sym.h> and <bp-asm.h>.
11949 (__strnlen): Don't use BP_SYM.
11950 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11952 (__mpn_rshift): Don't use BP_SYM.
11953 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11954 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11955 <bp-sym.h> and <bp-asm.h>.
11956 (__sigsetjmp): Don't use BP_SYM.
11957 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11958 (L(start_addresses)): Don't use BP_SYM.
11959 (_start): Likewise.
11960 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11962 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11963 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11964 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11965 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11967 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11968 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11969 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11970 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11972 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11974 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11975 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11977 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11979 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11980 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11981 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11983 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11985 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11987 (strncmp): Don't use BP_SYM,
11988 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11990 (__mpn_sub_n): Don't use BP_SYM.
11991 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11992 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11994 (__mpn_submul_1): Don't use BP_SYM.
11995 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11997 <bp-sym.h> and <bp-asm.h>.
11998 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12000 <bp-sym.h> and <bp-asm.h>.
12001 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12004 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12007 Use ZK to minimize writes to Z.
12008 (sub_magnitudes): Simplify code a bit.
12009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12010 Use ZK to minimize writes to Z.
12011 (sub_magnitudes): Simplify code a bit.
12013 2013-02-27 Roland McGrath <roland@hack.frob.com>
12015 * csu/gmon-start.c: Add special exception to license text.
12017 2013-02-27 Richard Henderson <rth@redhat.com>
12019 * scripts/config.guess: Update from config.git.
12020 * scripts/config.sub: Likewise.
12022 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12024 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12026 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12028 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12030 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12032 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12034 2013-02-26 Roland McGrath <roland@hack.frob.com>
12036 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12037 [$(build-shared = yes].
12039 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12041 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12042 (__mul): Reduce iterations for calculating mantissa.
12044 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12046 (__mpranred): Likewise.
12049 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12050 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12052 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12054 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12055 Define __attribute__.
12057 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12059 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12061 * posix/regex_internal.h (__attribute): Remove.
12062 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12063 (re_string_context_at): Likewise.
12064 (bitset_not): Use __attribute__ and mark function as possibly
12066 (bitset_merge): Likewise.
12067 (bitset_mask): Likewise.
12068 (re_string_char_size_at): Likewise.
12069 (re_string_wchar_at): Likewise.
12070 (re_string_elem_size_at): Likewise.
12072 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12074 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12078 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12082 (denorm): Likewise.
12083 (__dbl_mp): Likewise.
12084 (add_magnitudes): Likewise.
12085 (sub_magnitudes): Likewise.
12089 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12092 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12095 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12099 up changes with default code.
12100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12103 2013-02-24 Allan McRae <allan@archlinux.org>
12105 * manual/socket.texi (The Internet Namespace): Order menu items
12106 to match that in the file.
12108 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12109 node listing of the info page menu.
12111 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12114 * sysdeps/i386/bp-asm.h: Remove file.
12115 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12116 (PARMS): Do not use macros from bp-asm.h.
12120 (__mpn_add_n): Do not use BP_SYM
12121 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12123 (PARMS): Do not use macros from bp-asm.h.
12126 (__mpn_addmul_1): Do not use BP_SYM
12127 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12129 (PARMS): Do not use macros from bp-asm.h.
12130 (SIGMSK): Likewise.
12131 (_setjmp): Likewise. Do not use BP_SYM.
12132 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12134 (PARMS): Do not use macros from bp-asm.h.
12135 (SIGMSK): Likewise.
12136 (setjmp): Likewise. Do not use BP_SYM.
12137 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12139 (PARMS): Do not use macros from bp-asm.h.
12140 (__frexp): Do not use BP_SYM.
12142 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12144 (PARMS): Do not use macros from bp-asm.h.
12145 (__frexpf): Do not use BP_SYM.
12146 (frexpf): Likewise.
12147 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12149 (PARMS): Do not use macros from bp-asm.h.
12150 (__frexpl): Do not use BP_SYM.
12151 (frexpl): Likewise.
12152 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12154 (PARMS): Do not use macros from bp-asm.h.
12155 (__remquo): Do not use BP_SYM.
12156 (remquo): Likewise.
12157 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12159 (PARMS): Do not use macros from bp-asm.h.
12160 (__remquof): Do not use BP_SYM.
12161 (remquof): Likewise.
12162 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12164 (PARMS): Do not use macros from bp-asm.h.
12165 (__remquol): Do not use BP_SYM.
12166 (remquol): Likewise.
12167 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12169 (PARMS): Do not use macros from bp-asm.h.
12172 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12173 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12175 (PARMS): Do not use macros from bp-asm.h.
12176 (strlen): Do not use BP_SYM.
12177 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12179 (PARMS): Do not use macros from bp-asm.h.
12183 (__mpn_add_n): Do not use BP_SYM.
12184 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12186 (PARMS): Do not use macros from bp-asm.h.
12189 (__mpn_addmul_1): Do not use BP_SYM.
12190 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12193 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12195 (PARMS): Do not use macros from bp-asm.h.
12198 (__mpn_lshift): Do not use BP_SYM.
12199 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12201 (PARMS): Do not use macros from bp-asm.h.
12205 (memcpy): Likewise. Do not use BP_SYM.
12206 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12207 libc_hidden_def and weak_alias.
12208 (mempcpy): Do not use BP_SYM in weak_alias.
12209 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12211 (PARMS): Do not use macros from bp-asm.h.
12214 [!BZERO_P] (CHR): Likewise.
12215 (memset): Likewise. Do not use BP_SYM.
12216 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12218 (PARMS): Do not use macros from bp-asm.h.
12221 (__mpn_mul_1): Do not use BP_SYM.
12222 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12224 (PARMS): Do not use macros from bp-asm.h.
12227 (__mpn_rshift): Do not use BP_SYM.
12228 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12230 (PARMS): Do not use macros from bp-asm.h.
12233 (strchr): Likewise. Do not use BP_SYM.
12234 (index): Do not use BP_SYM in weak_alias.
12235 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12237 (PARMS): Do not use macros from bp-asm.h.
12240 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12241 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12243 (PARMS): Do not use macros from bp-asm.h.
12244 (strlen): Do not use BP_SYM.
12245 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12247 (PARMS): Do not use macros from bp-asm.h.
12251 (__mpn_sub_n): Do not use BP_SYM.
12252 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12254 (PARMS): Do not use macros from bp-asm.h.
12257 (__mpn_submul_1): Do not use BP_SYM.
12258 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12260 (PARMS): Do not use macros from bp-asm.h.
12264 (__mpn_add_n): Do not use BP_SYM.
12265 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12268 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12270 (PARMS): Do not use macros from bp-asm.h.
12273 (memcmp): Do not use BP_SYM.
12274 (bcmp): Do not use BP_SYM in weak_alias.
12275 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12277 (PARMS): Do not use macros from bp-asm.h.
12281 (memcpy): Likewise. Do not use BP_SYM.
12282 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12284 (PARMS): Do not use macros from bp-asm.h.
12288 (memmove): Likewise. Do not use BP_SYM.
12289 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12291 (PARMS): Do not use macros from bp-asm.h.
12295 (__mempcpy): Likewise. Do not use BP_SYM.
12296 (mempcpy): Do not use BP_SYM in weak_alias.
12297 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12299 (PARMS): Do not use macros from bp-asm.h.
12302 [!BZERO_P] (CHR): Likewise.
12303 (memset): Likewise. Do not use BP_SYM.
12304 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12306 (PARMS): Do not use macros from bp-asm.h.
12308 (strcmp): Do not use BP_SYM.
12309 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12311 (PARMS): Do not use macros from bp-asm.h.
12314 [USE_AS_STRTOK_R] (SAVE): Likewise.
12315 (FUNCTION): Likewise. Do not use BP_SYM.
12316 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12318 (strtok_r): Likewise.
12319 (__GI___strtok_r): Likewise.
12320 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12321 (PARMS): Do not use macros from bp-asm.h.
12324 (__mpn_lshift): Do not use BP_SYM.
12325 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12326 (PARMS): Do not use macros from bp-asm.h.
12329 (__memchr): Do not use BP_SYM.
12330 (memchr): Do not use BP_SYM in weak_alias.
12331 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12332 (PARMS): Do not use macros from bp-asm.h.
12335 (memcmp): Do not use BP_SYM.
12336 (bcmp): Do not use BP_SYM in weak_alias.
12337 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12338 (PARMS): Do not use macros from bp-asm.h.
12341 (__mpn_mul_1): Do not use BP_SYM.
12342 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12344 (PARMS): Do not use macros from bp-asm.h.
12347 (__rawmemchr): Do not use BP_SYM.
12348 (rawmemchr): Do not use BP_SYM in weak_alias.
12349 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12350 (PARMS): Do not use macros from bp-asm.h.
12353 (__mpn_rshift): Do not use BP_SYM.
12354 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12355 (PARMS): Do not use macros from bp-asm.h.
12356 (SIGMSK): Likewise.
12357 (__sigsetjmp): Likewise. Do not use BP_SYM.
12358 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12359 (_start): Do not use BP_SYM.
12360 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12361 (PARMS): Do not use macros from bp-asm.h.
12364 (__stpcpy): Likewise. Do not use BP_SYM.
12365 (stpcpy): Do not use BP_SYM in weak_alias.
12366 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12368 (PARMS): Do not use macros from bp-asm.h.
12372 (__stpncpy): Likewise. Do not use BP_SYM.
12373 (stpncpy): Do not use BP_SYM in weak_alias.
12374 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12375 (PARMS): Do not use macros from bp-asm.h.
12378 (strchr): Likewise. Do not use BP_SYM.
12379 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12381 (PARMS): Do not use macros from bp-asm.h.
12384 (__strchrnul): Likewise. Do not use BP_SYM.
12385 (strchrnul): Do not use BP_SYM in weak_alias.
12386 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12388 (PARMS): Do not use macros from bp-asm.h.
12390 (strcspn): Do not use BP_SYM.
12391 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12393 (PARMS): Do not use macros from bp-asm.h.
12396 (strpbrk): Likewise. Do not use BP_SYM.
12397 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12399 (PARMS): Do not use macros from bp-asm.h.
12402 (strrchr): Likewise. Do not use BP_SYM.
12403 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12404 (PARMS): Do not use macros from bp-asm.h.
12406 (strspn): Do not use BP_SYM.
12407 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12408 (PARMS): Do not use macros from bp-asm.h.
12412 (FUNCTION): Likewise. Do not use BP_SYM.
12413 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12415 (strtok_r): Likewise.
12416 (__GI___strtok_r): Likewise.
12417 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12418 (PARMS): Do not use macros from bp-asm.h.
12422 (__mpn_sub_n): Do not use BP_SYM.
12423 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12425 (PARMS): Do not use macros from bp-asm.h.
12428 (__mpn_submul_1): Do not use BP_SYM.
12429 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12431 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12433 (PARMS): Do not use macros from bp-asm.h.
12438 (__clone): Do not use BP_SYM.
12439 (clone): Do not use BP_SYM in weak_alias.
12440 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12442 (PARMS): Do not use macros from bp-asm.h.
12444 (__mmap64): Do not use BP_SYM.
12445 (mmap64): Do not use BP_SYM in weak_alias.
12446 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12447 <bp-sym.h> and <bp-asm.h>.
12448 (PARMS): Do not use macros from bp-asm.h.
12449 (__posix_fadvise64_l64): Do not use BP_SYM.
12450 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12451 (PARMS): Do not use macros from bp-asm.h.
12453 (semtimedop): Do not use BP_SYM.
12454 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12457 2013-02-21 Allan McRae <allan@archlinux.org>
12459 * manual/message.texi (Charset conversion in gettext):
12460 Move @end statement to beginning of line.
12462 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12469 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12470 (denorm): Likewise.
12471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12474 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12476 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12477 tail-call to the resolved function if pltexit isn't needed.
12479 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12482 or Y being zero as being unlikely.
12483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12486 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12488 * manual/nss.texi (System Databases and Name Service Switch):
12489 Remove frobnicate @pxref.
12491 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12493 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12494 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12496 2013-02-20 Petr Machata <pmachata@redhat.com>
12498 * elf/elf.h (R_ARM_TARGET1): New macro.
12499 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12500 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12501 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12502 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12503 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12504 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12505 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12506 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12507 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12508 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12509 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12510 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12511 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12512 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12513 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12514 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12515 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12516 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12517 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12518 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12519 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12520 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12521 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12522 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12523 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12524 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12525 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12526 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12527 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12528 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12529 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12530 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12531 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12532 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12533 (R_ARM_THM_GOT_BREL12): Likewise.
12534 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12535 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12536 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12537 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12538 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12539 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12540 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12541 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12542 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12544 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12546 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12547 __attribute_used__ to __attribute__ ((unused)).
12549 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12551 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12554 comment formatting.
12555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12557 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12560 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12562 (ENTER): Remove both macro definitions.
12564 (CHECK_BOUNDS_LOW): Likewise.
12565 (CHECK_BOUNDS_HIGH): Likewise.
12566 (CHECK_BOUNDS_BOTH): Likewise.
12567 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12568 (RETURN_BOUNDED_POINTER): Likewise.
12569 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12570 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12571 (POP_ERRNO_LOCATION_RETURN): Likewise.
12572 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12573 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12574 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12576 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12577 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12578 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12579 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12580 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12581 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12582 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12583 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12584 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12585 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12586 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12587 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12588 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12589 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12591 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12592 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12594 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12595 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12596 * sysdeps/i386/i586/memset.S (memset): Likewise.
12597 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12598 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12599 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12601 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12602 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12603 Change uses of L(2) to L(out).
12604 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12605 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12606 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12607 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12608 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12610 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12611 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12613 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12614 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12615 (RETURN): Do not use macro LEAVE.
12616 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12617 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12618 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12619 * sysdeps/i386/i686/memset.S (memset): Likewise.
12620 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12621 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12622 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12623 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12625 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12626 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12627 L(1_2) and L(1_3) into L(1).
12628 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12629 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12630 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12631 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12632 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12633 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12634 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12635 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12636 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12638 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12639 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12640 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12641 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12642 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12643 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12644 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12645 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12646 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12647 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12648 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12649 * sysdeps/i386/strspn.S (strspn): Likewise.
12650 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12652 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12653 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12654 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12655 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12656 L(1_3) into L(1_1).
12657 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12658 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12659 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12661 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12663 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12665 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12668 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12670 * math/atest-exp.c (exp_mpn): Remove ROUND.
12671 * math/atest-exp2.c (exp_mpn): Likewise.
12672 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12674 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12675 * stdlib/tst-tls-atexit-lib.c: Likewise.
12676 * stdlib/tst-tls-atexit.c: Likewise.
12678 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12680 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12681 and __attribute_alloc_size__.
12683 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12685 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12686 __attribute_alloc_size__.
12687 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12688 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12690 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12692 * include/programs/xmalloc.h: New file.
12693 * catgets/gencat.c: Include it.
12694 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12695 * elf/pldd.c: Likewise.
12696 * iconv/iconv_charmap.c: Likewise.
12697 * iconv/iconvconfig.c: Likewise.
12698 * iconv/strtab.c: Likewise.
12699 * locale/programs/locale.c: Likewise.
12700 * locale/programs/localedef.h: Likewise.
12701 * locale/programs/simple-hash.c: Likewise.
12702 * nscd/nscd.h: Likewise.
12703 * nss/makedb.c: Likewise.
12704 * sysdeps/generic/ldconfig.h: Likewise.
12706 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12708 * Versions.def: Add GLIBC_2.18.
12709 * include/link.h (struct link_map): New member l_tls_dtor_count.
12710 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12711 (__call_tls_dtors): Likewise.
12712 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12713 __cxa_thread_atexit_impl.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12722 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12730 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12731 (tests): Add test case tst-tls-atexit.
12732 (modules-names): Add shared library for tst-tls-atexit.
12733 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12734 (GLIBC_PRIVATE): Add __call_tls_dtors.
12735 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12737 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12738 * stdlib/tst-tls-atexit.c: New test case.
12739 * stdlib/tst-tls-atexit-lib.c: New test case.
12741 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12743 * elf/Versions (ld): Add _dl_find_dso_for_object.
12744 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12745 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12746 (dl_open_worker): Use _dl_find_dso_for_object.
12747 * elf/dl-sym.c (do_sym): Likewise.
12748 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12750 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12752 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12753 Syntactic changes only.
12754 (_dl_runtime_profile): Do a tail-call to the resolved function.
12756 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12759 * sysdeps/x86_64/bp-asm.h: Remove file.
12760 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12761 <bp-sym.h> and <bp-asm.h>.
12762 (__clone): Do not use BP_SYM.
12763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12764 <bp-sym.h> and <bp-asm.h>.
12765 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12766 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12768 (_setjmp): Do not use BP_SYM.
12769 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12771 (setjmp): Do not use BP_SYM.
12772 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12774 (mempcpy): Do not use BP_SYM in weak_alias.
12775 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12777 (strchr): Do not use BP_SYM.
12778 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12780 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12781 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12782 (_start): Do not use BP_SYM.
12783 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12785 (strcat): Do not use BP_SYM.
12786 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12788 (STRCMP): Do not use BP_SYM.
12789 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12791 (STRCPY): Do not use BP_SYM.
12792 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12794 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12796 (FUNCTION): Do not use BP_SYM.
12797 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12799 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12801 2013-02-17 Andreas Jaeger <aj@suse.de>
12803 * time/Versions: Sort entries.
12804 * string/Versions: Likewise.
12805 * resolv/Versions: Likewise.
12806 * posix/Versions: Likewise.
12807 * iconv/Versions: Likewise.
12808 * elf/Versions: Likewise.
12809 * wcsmbs/Versions: Likewise.
12811 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12813 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12814 loop termination condition.
12816 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12817 variable to calculate EZ.
12820 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12821 the lower precision input.
12823 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12826 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12827 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12828 (run-via-rtld-prefix): Do not handle %-bp tests.
12829 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12830 (all-object-suffixes): Remove .ob.
12831 (bppfx): Remove variable.
12832 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12833 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12834 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12835 [$(build-bounded) = yes] (libtype.ob): Likewise.
12836 * Makerules (elide-routines.ob): Remove variable.
12837 (do-tests-clean): Do not handle *-bp.out.
12838 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12839 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12840 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12841 (tests): Do not include $(tests-bp.out).
12842 (xtests): Do not include $(xtests-bp.out).
12843 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12844 [$(build-bounded) = yes] ($(addprefix
12845 $(objpfx),$(binaries-bounded))): Remove rule.
12846 ($(objpfx)%-bp.out): Remove rule.
12847 * config.make.in (build-bounded): Remove variable.
12848 * crypt/Makefile [$(build-bounded) = yes]
12849 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12850 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12851 append to variable.
12852 [$(build-bounded) = yes] (install-lib): Likewise.
12853 [$(build-bounded) = yes] (generated): Likewise.
12854 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12856 * intl/Makefile [$(build-bounded) = yes]
12857 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12858 * math/Makefile [$(build-bounded) = yes]
12859 ($(tests:%=$(objpfx)%-bp): Likewise.
12860 * misc/Makefile [$(build-bounded) = yes]
12861 ($(objpfx)tst-tsearch-bp): Likewise.
12862 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12863 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12865 * string/Makefile (o-objects.ob): Remove variable.
12866 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12867 (CFLAGS-.ob): Remove variable.
12868 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12869 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12870 both definitions of variable.
12871 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12872 (ASFLAGS-.ob): Remove variable.
12874 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12877 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12878 Remove __BOUNDED_POINTERS__ from condition.
12879 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12880 * string/bits/string2.h [!__NO_STRING_INLINES &&
12881 !__BOUNDED_POINTERS__]: Likewise.
12882 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12884 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12885 Remove conditional code.
12886 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12887 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12888 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12892 * csu/libc-start.c: Do not include <bp-sym.h>.
12893 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12894 * elf/dl-open.c: Do not include <bp-sym.h>.
12895 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12896 * math/fegetenv.c: Do not include <bp-sym.h>.
12897 (fegetenv): Do not use BP_SYM in versioned symbols.
12898 * nptl/sysdeps/pthread/bits/libc-lockP.h
12899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12902 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12904 (__pthread_mutex_destroy): Likewise.
12905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12906 (__pthread_mutex_lock): Likewise.
12907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12908 (__pthread_mutex_trylock): Likewise.
12909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12910 (__pthread_mutex_unlock): Likewise.
12911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12912 (__pthread_mutexattr_init): Likewise.
12913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12914 (__pthread_mutexattr_destroy): Likewise.
12915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12916 (__pthread_mutexattr_settype): Likewise.
12917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12918 (__pthread_rwlock_init): Likewise.
12919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12920 (__pthread_rwlock_destroy): Likewise.
12921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12922 (__pthread_rwlock_rdlock): Likewise.
12923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12924 (__pthread_rwlock_tryrdlock): Likewise.
12925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12926 (__pthread_rwlock_wrlock): Likewise.
12927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12928 (__pthread_rwlock_trywrlock): Likewise.
12929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12930 (__pthread_rwlock_unlock): Likewise.
12931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12932 (__pthread_key_create): Likewise.
12933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12934 (__pthread_setspecific): Likewise.
12935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12936 (__pthread_getspecific): Likewise.
12937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12940 (_pthread_cleanup_push_defer): Likewise.
12941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12942 (_pthread_cleanup_pop_restore): Likewise.
12943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12944 (pthread_setcancelstate): Likewise.
12945 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12947 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12948 (memchr): Do not use BP_SYM in weak_alias.
12949 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12950 (fegetenv): Do not use BP_SYM in versioned symbols.
12951 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12952 (fesetenv): Do not use BP_SYM in versioned symbols.
12953 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12954 (feupdateenv): Do not use BP_SYM in versioned symbols.
12955 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12956 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12957 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12958 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12959 (open64): Do not use BP_SYM in weak_alias.
12960 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12961 (fegetenv): Do not use BP_SYM in versioned symbols.
12962 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12963 (fesetenv): Do not use BP_SYM in versioned symbols.
12964 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12965 (feupdateenv): Do not use BP_SYM in versioned symbols.
12966 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12967 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12968 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12969 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12970 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12971 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12972 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12974 (__libc_start_main): Do not use BP_SYM.
12976 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12979 redundant return line.
12981 (denorm): Likewise.
12982 (dbl_mp): Likewise.
12983 (sub_magnitudes): Likewise.
12989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12991 (denorm): Likewise.
12992 (dbl_mp): Likewise.
12993 (sub_magnitudes): Likewise.
13000 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13002 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13003 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13006 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13007 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13009 of __mul for squares.
13010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13014 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13015 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13017 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13020 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13022 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13023 prototype or function definition. Rename ubp_* variables and
13024 parameters. Remove argv definitions conditional on
13025 [__BOUNDED_POINTERS__].
13026 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13027 * elf/dl-runtime.c (_dl_fixup): Likewise.
13028 * include/set-hooks.h (RUN_HOOK): Likewise.
13029 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13031 * string/strcpy.c (strcpy): Do not use __unbounded.
13032 * sysdeps/generic/frame.h (struct layout): Likewise.
13033 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13034 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13035 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13036 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13037 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13038 (__backtrace): Likewise.
13039 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13041 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13042 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13043 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13045 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13046 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13047 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13048 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13049 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13050 Do not use __unbounded.
13051 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13052 Rename __unboundedrlimits parameter to rlimits in prototype.
13053 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13054 Do not use __unbounded.
13055 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13056 not use __ptrvalue.
13057 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13058 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13059 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13060 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13061 __ptrvalue or __unbounded.
13062 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13063 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13065 (__new_msgctl): Do not use __ptrvalue.
13066 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13068 (__libc_msgrcv): Do not use __ptrvalue.
13069 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13070 startup_info): Do not use __unbounded.
13071 (__libc_start_main): Likewise. Rename ubp_* variables and
13072 parameters. Remove argv definitions conditional on
13073 [__BOUNDED_POINTERS__].
13074 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13076 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13078 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13080 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13082 (__new_shmctl): Do not use __ptrvalue.
13083 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13084 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13086 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13088 (__libc_sigaction): Likewise.
13089 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13090 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13092 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13094 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13096 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13098 * string/mempcpy.c: Implement by calling memcpy.
13100 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13102 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13104 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13107 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13108 values in the mantissa.
13110 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13111 minimize writes to Z.
13112 (sub_magnitudes): Simplify code a bit.
13114 2013-02-12 Roland McGrath <roland@hack.frob.com>
13116 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13117 from the message. The linker prefixes all warnings with that already.
13119 2013-02-12 Andreas Schwab <schwab@suse.de>
13122 * posix/regexec.c (extend_buffers): Add parameter min_len.
13123 (check_matching): Pass minimum needed length.
13124 (clean_state_log_if_needed): Likewise.
13125 (get_subexp): Likewise.
13126 * posix/Makefile (tests): Add bug-regex34.
13127 (bug-regex34-ENV): Define.
13128 * posix/bug-regex34.c: New file.
13131 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13132 elements compare against the byte sequence of it, not its name.
13133 * posix/Makefile (tests): Add bug-regex35.
13134 (bug-regex35-ENV): Define.
13135 * posix/bug-regex35.c: New file.
13137 2013-02-11 Tom de Vries <tom@codesourcery.com>
13139 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13141 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13142 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13143 (CHECK_EOL): Add undef.
13145 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13147 * bits/stdlib-bsearch.h: New file.
13148 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13149 * stdlib/stdlib.h: Likewise.
13151 2013-02-11 Roland McGrath <roland@hack.frob.com>
13153 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13154 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13156 * manual/search.texi (Array Search Function): Add missing const in
13158 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13159 declaration to use rlim_t.
13160 (Basic Scheduling Functions): Remove erroneous const from
13161 sched_getparam prototype. Remove erroneous * from
13162 sched_get_priority_max and sched_get_priority_min prototypes.
13163 (Resource Usage): Fix summary @comment on vtimes to refer to
13164 sys/vtimes.h rather than vtimes.h.
13165 Add missing *s in vtimes prototype.
13166 (Limits on Resources): Fix ulimit prototype to return long int.
13167 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13168 prototypes to use long int rather than double.
13169 (BSD Random): Fix initstate and setstate to use char *, not void *.
13170 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13171 prototype to make second argument 'struct aiocb64 *const[]'.
13172 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13173 (Status of AIO Operations): Remove erroneous const in aio_return and
13174 aio_return64 prototypes.
13175 (Synchronizing I/O): Fix sync prototype to return void.
13176 * manual/startup.texi (Suboptions): Remove an erroneous const in
13177 getsubopt prototype.
13178 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13179 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13180 use size_t rather than int.
13181 (Scanning All Users): Likewise for getpwent_r.
13182 (Setting Groups): Add missing const to setgroups prototype.
13183 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13184 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13185 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13186 'const void *' rather than 'const char *'.
13187 (Host Address Functions): Likewise for inet_ntop.
13188 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13189 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13190 ssize_t for return value.
13191 (Sending Data): Likewise for send, sendto, sendmsg.
13192 (Socket Option Functions): Add a missing const in setsockopt prototype.
13193 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13194 use wchar_t for the argument.
13195 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13196 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13198 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13199 double/float/long double for second argument.
13200 Fix return types of significand, significandf, significandl.
13201 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13202 argument in fchmod prototype.
13203 (File Owner): Use uid_t and gid_t in fchown prototype.
13204 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13205 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13206 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13207 use 'const struct dirent **' as argument types to CMP function pointer
13209 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13210 (File Times): Fix summary magic @comment for struct utimbuf and utime
13211 to refer to utime.h, not time.h.
13212 * manual/string.texi (Argz Functions): Add missing const in
13213 argz_extract and argz_next prototypes.
13214 (Finding Tokens in a String): Likewise for basename.
13215 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13216 (Copying and Concatenation): Fix typo in wmemmove prototype.
13217 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13218 (Signal Stack): Remove erroneous const in sigstack prototype.
13219 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13221 (Simple Calendar Time): Likewise for stime.
13222 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13224 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13225 say sys/sysctl.h instead.
13226 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13227 and vsyslog prototypes.
13229 2013-02-11 Tom de Vries <tom@codesourcery.com>
13231 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13234 2013-02-11 Roland McGrath <roland@hack.frob.com>
13236 * misc/sys/mman.h: Fix typo in mremap comment.
13238 2013-02-08 Roland McGrath <roland@hack.frob.com>
13240 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13241 the '\0' terminator.
13243 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13246 * debug/segfault.c: Don't include <bp-checks.h>.
13247 * sysdeps/generic/bp-checks.h: Remove file.
13248 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13249 (__GETDENTS): Don't use CHECK_N.
13250 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13251 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13252 (__getgroups): Don't use CHECK_N.
13253 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13254 (setgroups): Don't use CHECK_N.
13255 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13256 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13257 (__libc_msgrcv): Don't use CHECK_N.
13258 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13259 (__libc_msgsnd): Don't use CHECK_N.
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13262 (__libc_pread): Don't use CHECK_N.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13264 include <bp-checks.h>.
13265 (__libc_pread64): Don't use CHECK_N.
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13267 include <bp-checks.h>.
13268 (__libc_pwrite): Don't use CHECK_N.
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13270 include <bp-checks.h>.
13271 (__libc_pwrite64): Don't use CHECK_N.
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13274 (__libc_pread): Don't use CHECK_N.
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13276 include <bp-checks.h>.
13277 (__libc_pread64): Don't use CHECK_N.
13278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13279 include <bp-checks.h>.
13280 (__libc_pwrite): Don't use CHECK_N.
13281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13282 include <bp-checks.h>.
13283 (__libc_pwrite64): Don't use CHECK_N.
13284 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13285 (do_pread): Don't use CHECK_N.
13286 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13287 (do_pread64): Don't use CHECK_N.
13288 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13289 (do_pwrite): Don't use CHECK_N.
13290 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13291 (do_pwrite64): Don't use CHECK_N.
13292 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13293 (__libc_readv): Don't use CHECK_N.
13294 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13295 (semop): Don't use CHECK_N.
13296 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13298 (semtimedop): Don't use CHECK_N.
13299 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13300 (__libc_pread): Don't use CHECK_N.
13301 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13303 (__libc_pread64): Don't use CHECK_N.
13304 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13306 (__libc_pwrite): Don't use CHECK_N.
13307 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13309 (__libc_pwrite64): Don't use CHECK_N.
13310 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13312 (__libc_msgrcv): Don't use CHECK_N.
13313 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13314 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13315 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13316 (__libc_writev): Don't use CHECK_N.
13318 2013-02-08 Roland McGrath <roland@hack.frob.com>
13320 * string/strcpy.c: Removed unused variable.
13322 * Makeconfig (+sysdep-includes): Define with := rather than =.
13323 Use an existing include/ subdir of each sysdeps dir before it.
13325 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13327 * nscd/connection.c (register_traced_file): Comment function.
13328 [HAVE_INOTIFY] (union __inev): Define.
13329 [HAVE_INOTIFY] (inotify_check_files): New function.
13330 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13331 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13333 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13335 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13337 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13338 loaded if not already and that a failure is permanent.
13340 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13343 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13344 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13346 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13349 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13350 (CHECK_1_NULL_OK): Likewise.
13351 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13352 (__fxstat): Do not use CHECK_1.
13353 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13355 (___fxstat64): Do not use CHECK_1.
13356 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13358 (__fxstatat): Do not use CHECK_1.
13359 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13361 (__fxstatat64): Do not use CHECK_1.
13362 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13364 (__fxstat): Do not use CHECK_1.
13365 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13367 (__fxstatat): Do not use CHECK_1.
13368 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13370 (__getresgid): Do not use CHECK_1.
13371 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13373 (__getresuid): Do not use CHECK_1.
13374 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13376 (__lxstat): Do not use CHECK_1.
13377 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13379 (__old_msgctl): Do not use CHECK_1.
13380 (__new_msgctl): Likewise.
13381 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13383 (__new_setrlimit): Do not use CHECK_1.
13384 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13386 (__old_shmctl): Do not use CHECK_1.
13387 (__new_shmctl): Likewise.
13388 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13390 (__xstat): Do not use CHECK_1.
13391 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13392 (__lxstat): Do not use CHECK_1.
13393 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13395 (___lxstat64): Do not use CHECK_1.
13396 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13397 (__old_msgctl): Do not use CHECK_1.
13398 (__new_msgctl): Likewise.
13399 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13401 (__gettimeofday): Do not use CHECK_1.
13402 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13403 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13404 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13406 (__gettimeofday): Do not use CHECK_1.
13407 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13408 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13409 (__new_shmctl): Do not use CHECK_1.
13410 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13412 (do_sigtimedwait): Do not use CHECK_1.
13413 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13415 (do_sigwaitinfo): Do not use CHECK_1.
13416 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13418 (msgctl): Do not use CHECK_1.
13419 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13421 (shmctl): Do not use CHECK_1.
13422 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13423 (ustat): Do not use CHECK_1.
13424 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13426 (__fxstat): Do not use CHECK_1.
13427 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13429 (__fxstatat): Do not use CHECK_1.
13430 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13432 (__lxstat): Do not use CHECK_1.
13433 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13435 (__xstat): Do not use CHECK_1.
13436 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13437 (__xstat): Do not use CHECK_1.
13438 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13439 (___xstat64): Do not use CHECK_1.
13442 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13444 (CHECK_BOUNDS_HIGH): Likewise.
13445 * string/strcpy.c: Do not include <bp-checks.h>.
13446 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13448 2013-02-07 Roland McGrath <roland@hack.frob.com>
13450 * nscd/nscd-client.h (__nscd_drop_map_ref):
13451 Add __attribute__ ((unused)).
13452 * nis/nss-nisplus.h (niserr2nss): Likewise.
13454 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13455 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13457 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13458 Remove inline keyword.
13459 * include/rounding-mode.h (round_away): Likewise.
13460 * libio/wfileops.c (adjust_wide_data): Likewise.
13461 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13462 (__m128i_strloadu_tolower): Likewise.
13463 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13464 (__m128i_strloadu_tolower): Likewise.
13465 * time/mktime.c (ydhms_diff): Likewise.
13466 * locale/elem-hash.h (elem_hash): Likewise.
13467 * locale/setlocale.c (setdata): Likewise.
13468 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13469 (re_string_wchar_at): Likewise.
13470 (bitset_not, bitset_merge, bitset_mask): Likewise.
13471 [!(__GNUC__ > 3)] (inline): Remove macro.
13472 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13473 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13474 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13475 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13476 * string/memcmp.c (memcmp_bytes): Likewise.
13477 * locale/programs/locarchive.c (compute_hashval): Likewise.
13478 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13479 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13480 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13481 * nss/getent.c (print_rpc, print_protocols): Likewise.
13482 (print_passwd, print_group, print_aliases): Likewise.
13483 * nis/nss-nisplus.h (niserr2nss): Likewise.
13484 * nscd/connections.c (restart_p): Likewise.
13485 Change return type to bool.
13487 2013-02-05 Roland McGrath <roland@hack.frob.com>
13489 * Makeconfig (all-Depend-files): Add existing
13490 $(sorted-subdirs:=/Depend) files.
13491 (all-subdirs): Remove nss.
13492 * sysdeps/unix/inet/Subdirs: Add it here instead.
13493 * hesiod/Depend: New file.
13495 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13496 instead of calling alloca.
13498 * io/lseek.c (__lseek): Rename to __libc_lseek.
13499 Define __lseek as an alias.
13501 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13503 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13505 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13506 else clause and remove check for non-standard endianness.
13508 2013-02-04 David S. Miller <davem@davemloft.net>
13510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13512 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13515 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13516 (__ubp_memchr): Remove prototype.
13517 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13518 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13519 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13520 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13521 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13523 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13524 (__ubp_memchr): Likewise.
13525 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13526 (__ubp_memchr): Likewise.
13527 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13528 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13529 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13530 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13532 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13533 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13534 (__getcwd): Do not use CHECK_STRING.
13535 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13537 (__real_chown): Do not use CHECK_STRING.
13538 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13540 (fchownat): Do not use CHECK_STRING.
13541 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13543 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13545 (__lchown): Do not use CHECK_STRING.
13546 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13547 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13548 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13549 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13551 include <bp-checks.h>.
13552 (truncate64): Do not use CHECK_STRING.
13553 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13555 (__real_chown): Do not use CHECK_STRING.
13556 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13558 (__lchown): Do not use CHECK_STRING.
13559 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13561 (__chown): Do not use CHECK_STRING.
13562 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13564 (truncate64): Do not use CHECK_STRING.
13565 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13567 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13568 (__xmknod): Do not use CHECK_STRING.
13569 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13571 (__xmknodat): Do not use CHECK_STRING.
13572 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13573 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13575 2013-02-04 Andreas Schwab <schwab@suse.de>
13578 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13579 * include/netdb.h: Likewise for h_errno.
13580 * elf/tst-stackguard1.c: Include <tls.h>.
13582 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13584 * elf/link.h (struct link_map): Extend the l_addr comment.
13585 * include/link.h (struct link_map): Likewise.
13587 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13590 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13591 (BOUNDED_1): Remove macro.
13592 * debug/backtrace.c: Don't include <bp-checks.h>.
13593 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13594 (__backtrace): Likewise.
13595 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13597 (__backtrace): Don't use BOUNDED_1.
13598 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13600 (__backtrace): Don't use BOUNDED_1.
13601 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13602 (__backtrace): Don't use BOUNDED_1.
13603 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13604 (shmat): Don't use BOUNDED_N.
13606 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13609 * sysdeps/generic/bp-start.h: Remove file.
13610 * csu/libc-start.c: Don't include <bp-start.h>.
13611 (LIBC_START_MAIN): Set up __environ directly instead of using
13612 INIT_ARGV_and_ENVIRON.
13613 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13617 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13619 (CHECK_FCNTL): Likewise.
13620 (CHECK_N_PAGES): Likewise.
13623 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13625 (CHECK_SIGSET_NULL_OK): Likewise.
13626 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13628 (sigpending): Don't use CHECK_SIGSET.
13629 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13631 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13632 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13634 (do_sigsuspend): Don't use CHECK_SIGSET.
13635 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13637 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13638 (do_sigwait): Don't use CHECK_SIGSET.
13639 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13641 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13642 include <bp-checks.h>.
13643 (sigpending): Don't use CHECK_SIGSET.
13644 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13645 include <bp-checks.h>.
13646 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13647 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13649 (sigpending): Don't use CHECK_SIGSET.
13650 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13652 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13655 * sysdeps/generic/bp-semctl.h: Remove file.
13656 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13657 <bp-checks.h> and <bp-semctl.h>.
13658 (__old_semctl): Don't use CHECK_SEMCTL.
13659 (__new_semctl): Likewise.
13660 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13662 (__old_semctl): Don't use CHECK_SEMCTL.
13663 (__new_semctl): Likewise.
13664 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13665 <bp-checks.h> and <bp-semctl.h>.
13666 (__old_semctl): Don't use CHECK_SEMCTL.
13667 (__new_semctl): Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13669 <bp-checks.h> and <bp-semctl.h>.
13670 (semctl): Don't use CHECK_SEMCTL.
13673 * Makerules (elide-bp-thunks): Remove variable.
13674 (elide-routines.oS): Don't use $(elide-bp-thunks).
13675 (elide-routines.os): Likewise.
13676 (elide-routines.o): Likewise.
13677 (elide-routines.op): Likewise.
13678 (elide-routines.og): Likewise.
13679 (objects): Don't use $(bp-thunks).
13680 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13682 (common-generated): Do not add s-proto-bp.d.
13683 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13686 Do not generate makefile rules for bounded-pointer thunks.
13687 * sysdeps/generic/bp-thunks.h: Remove file.
13688 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13689 * sysdeps/unix/s-proto-bp.S: Likewise.
13692 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13693 parts of result separately when argument is not close to line from
13694 -i to i and one part of argument is small.
13695 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13696 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13697 * math/libm-test.inc (cacos_test): Add more tests.
13698 (casin_test): Likewise.
13699 (casinh_test): Likewise.
13700 * sysdeps/i386/fpu/libm-test-ulps: Update.
13701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13703 2013-01-31 David S. Miller <davem@davemloft.net>
13705 * po/de.po: Update from translation team.
13707 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13709 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13711 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13713 * configure.in (_AC_PROG_CC_C89): New definition.
13714 * configure: Regenerate.
13716 * configure.in (AC_PROG_CPP): New definition.
13717 * configure: Regenerate.
13719 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13721 * debug/tst-backtrace.h: New file.
13722 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13723 (ret): Remove variable.
13725 (FAIL): Remove macro.
13726 (NO_INLINE): Likewise.
13727 (fn1): Use match function instead of strstr.
13728 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13729 (ret): Remove variable.
13731 (FAIL): Remove macro.
13732 (NO_INLINE): Likewise.
13733 (fn): Use match function instead of strstr.
13734 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13735 (ret): Remove variable.
13737 (FAIL): Remove macro.
13738 (NO_INLINE): Likewise.
13739 (handle_signal): Use match function instead of strstr.
13740 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13741 (ret): Remove variable.
13743 (FAIL): Remove macro.
13744 (NO_INLINE): Likewise.
13745 (handle_signal): Use match function instead of strstr.
13747 2013-01-23 Roland McGrath <roland@hack.frob.com>
13749 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13751 2013-01-23 David S. Miller <davem@davemloft.net>
13753 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13754 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13755 argument of CAS if possible.
13756 * sysdeps/sparc/sparc64/bits/atomic.h
13757 (__arch_compare_and_exchange_val_32_acq): Likewise.
13758 (__arch_compare_and_exchange_val_64_acq): Likewise.
13760 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13762 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13763 * sysdeps/posix/ulimit.c: ... this.
13764 Include <limits.h>.
13765 * sysdeps/unix/bsd/ulimit.c: Remove file.
13767 2013-01-23 Adam Conrad <adconrad@0c3.net>
13769 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13770 (LDFLAGS-tst-array5): Likewise.
13772 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13775 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13776 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13777 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13778 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13780 2013-01-21 David S. Miller <davem@davemloft.net>
13782 * sysdeps/sparc/backtrace.c: New file.
13783 * sysdeps/sparc/sparc32/backtrace.h: New file.
13784 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13785 * sysdeps/sparc/sparc64/backtrace.h: New file.
13786 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13787 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13790 2013-01-21 Andreas Schwab <schwab@suse.de>
13793 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13796 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13802 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13803 Mark Mitchell <mark@codesourcery.com>
13804 Tom de Vries <tom@codesourcery.com>
13805 Paul Pluzhnikov <ppluzhnikov@google.com>
13807 * debug/tst-backtrace2.c: New file.
13808 * debug/tst-backtrace3.c: Likewise.
13809 * debug/tst-backtrace4.c: Likewise.
13810 * debug/tst-backtrace5.c: Likewise.
13811 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13812 (CFLAGS-tst-backtrace3.c): Likewise.
13813 (CFLAGS-tst-backtrace4.c): Likewise.
13814 (CFLAGS-tst-backtrace5.c): Likewise.
13815 (LDFLAGS-tst-backtrace2): Likewise.
13816 (LDFLAGS-tst-backtrace3): Likewise.
13817 (LDFLAGS-tst-backtrace4): Likewise.
13818 (LDFLAGS-tst-backtrace5): Likewise.
13819 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13820 tst-backtrace4 and tst-backtrace5.
13822 2013-01-18 Anton Blanchard <anton@samba.org>
13823 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13825 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13826 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13827 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13828 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13830 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13831 "+r" and remove output regs list as redundant. Add explicit inline
13832 asm to specify register of return val to work around compiler codegen
13833 bug. Remove (int) cast on return value. Add return type parameter to
13834 use in macro so that this macro does not truncate return value for
13836 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13837 pass to INTERNAL_VSYSCALL_NCS.
13838 (INLINE_VSYSCALL): Add 'long int' as return type to
13839 INTERNAL_VSYSCALL_NCS macro invocation.
13840 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13841 INTERNAL_VSYSCALL_NCS macro invocation.
13842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13844 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13847 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13848 Fix application of SIMD FP exception mask.
13850 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13851 mp_no from a power of two.
13852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13853 __mpexp_twomm1. Use __pow_mp.
13855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13858 2013-01-17 David S. Miller <davem@davemloft.net>
13860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13862 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13865 * include/complex.h: Condition contents on [!_COMPLEX_H].
13866 (__kernel_casinhf): New prototype.
13867 (__kernel_casinh): Likewise.
13868 (__kernel_casinhl): Likewise.
13869 * math/Makefile (libm_calls): Add k_casinh.
13870 * math/k_casinh.c: New file.
13871 * math/k_casinhf.c: Likewise.
13872 * math/k_casinhl.c: Likewise.
13873 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13874 finite nonzero arguments.
13875 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13876 finite nonzero arguments.
13877 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13878 finite nonzero arguments.
13879 * math/s_casinh.c: Do not include <float.h>.
13880 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13881 * math/s_casinhf.c: Do not include <float.h>.
13882 (__casinhf): Move code for finite nonzero arguments to
13884 * math/s_casinhl.c: Do not include <float.h>.
13885 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13887 (__casinhl): Move code for finite nonzero arguments to
13889 * math/libm-test.inc (cacos_test): Add more tests.
13890 * sysdeps/i386/fpu/libm-test-ulps: Update.
13891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13893 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13895 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13896 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13897 [!HAVE_MREMAP]: Remove [defined linux] case.
13898 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13900 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13902 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13904 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13906 * elf/elf.h (R_386_SIZE32): New relocation.
13907 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13909 (elf_machine_rela): Likewise.
13910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13911 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13913 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13915 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13916 (FP_FAST_FMA): Do not define.
13917 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13918 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13919 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13920 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13921 !_SOFT_FLOAT]: Likewise.
13922 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13923 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13925 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13926 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13927 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13928 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13929 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13930 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13933 2013-01-16 Andreas Schwab <schwab@suse.de>
13936 * include/stdlib.h (__mktemp): Add declaration.
13937 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13938 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13940 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13942 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13944 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13945 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13946 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13948 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13949 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13951 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13953 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13954 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13955 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13957 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13958 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13960 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13962 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13964 2013-01-15 David S. Miller <davem@davemloft.net>
13966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13967 trunc{,f} to libm-sysdep_routes.
13968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13978 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13979 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13980 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13981 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13982 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13983 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13986 nearbyint{,f} to libm-sysdep_routes.
13987 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13998 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14001 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14004 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14005 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14007 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14008 libc_feholdexcept and libc_fesetenv.
14010 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14012 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14014 2013-01-14 David S. Miller <davem@davemloft.net>
14016 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14017 (SPARC_ASM_VIS2_IFUNC): Likewise.
14018 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14020 use of 'siam' instruction.
14021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14040 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14054 routines to libm-sysdep_routines.
14055 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14058 fdim/fdimf to libm-sysdep_routines.
14059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14067 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14068 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14069 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14070 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14072 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14074 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14075 to optimize copies.
14077 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14082 local variable MPTWO.
14083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14086 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14088 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14091 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14093 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14095 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14097 * manual/pattern.texi (glob_t): Document gl_flags.
14098 (glob64_t): Likewise.
14100 2013-01-11 David S. Miller <davem@davemloft.net>
14102 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14103 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14104 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14105 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14106 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14107 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14108 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14109 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14110 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14111 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14112 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14113 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14114 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14116 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14117 sparc V9 rather than using V8 code.
14118 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14119 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14121 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14123 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14126 2013-01-11 Roland McGrath <roland@hack.frob.com>
14128 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14129 not in the main loop.
14130 * configure: Regenerated.
14132 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14134 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14135 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14137 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14138 [!__GLIBC_HAVE_LONG_LONG] case.
14139 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14140 condition to just #else.
14141 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14142 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14143 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14144 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14146 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14147 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14148 #elif condition to just #else.
14149 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14150 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14151 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14152 #elif condition to just #else.
14154 2013-01-11 Steve Ellcey <sellcey@mips.com>
14156 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14157 (EF_MIPS_ARCH_64): Fix value.
14158 (EF_MIPS_ARCH_32R2): New.
14159 (EF_MIPS_ARCH_64R2): New.
14161 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14163 * Makeconfig (+link-pie-before-libc): New.
14164 (+link-pie-after-libc): Likewise.
14165 (+link-pie-tests): Likewise.
14166 (+link-pie): Rewritten.
14167 (link-before-libc): Remove $(config-LDFLAGS).
14168 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14169 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14170 (config-LDFLAGS): Renamed to ...
14171 (rtld-LDFLAGS): This.
14172 (rtld-tests-LDFLAGS): New macro.
14173 (link-libc-rpath-link): Likewise.
14174 (link-libc-tests-rpath-link): Likewise.
14175 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14176 (link-libc): Prepand $(link-libc-rpath-link).
14177 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14178 (test-program-prefix): New macro.
14179 (test-via-rtld-prefix): Likewise.
14180 (test-program-cmd): Likewise.
14181 (host-test-program-cmd): Likewise.
14182 * Makefile ($(common-objpfx)testrun.sh): Replace
14183 $(run-program-prefix) with $(test-program-prefix).
14184 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14186 ($(common-objpfx)shlib.lds): Likewise.
14187 (build-module-helper): Likewise.
14188 ($(common-objpfx)format.lds): Likewise.
14189 * Rules (binaries-pie-tests): New.
14190 (binaries-pie-notests): Likewise.
14191 (binaries-pie): Rewritten.
14192 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14193 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14194 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14195 (make-test-out): Replace $(host-built-program-cmd) with
14196 $(host-test-program-cmd).
14197 * config.make.in (build-hardcoded-path-in-tests): New variable.
14198 * configure.in (--enable-hardcoded-path-in-tests): New configure
14200 (hardcoded_path_in_tests): New AC_SUBST.
14201 * configure: Regenerated.
14202 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14203 $(built-program-cmd) with $(test-program-cmd).
14204 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14205 (test_program_cmd): This.
14206 * elf/Makefile ($(objpfx)order.out): Run test with
14207 $(test-program-prefix).
14208 ($(objpfx)order2.out): Likewise.
14209 ($(objpfx)tst-initorder.out): Likewise.
14210 ($(objpfx)tst-initorder2.out): Likewise.
14211 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14212 $(test-program-cmd).
14213 ($(objpfx)tst-array1-static.out): Likewise.
14214 ($(objpfx)tst-array2.out): Likewise.
14215 ($(objpfx)tst-array3.out): Likewise.
14216 ($(objpfx)tst-array4.out): Likewise.
14217 ($(objpfx)tst-array5.out): Likewise.
14218 ($(objpfx)tst-array5-static.out): Likewise.
14219 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14220 $(test-program-cmd).
14221 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14222 $(run-program-prefix) with $(test-program-prefix).
14223 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14224 (test_program_prefix): This.
14225 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14226 $(run-program-prefix) with $(test-program-prefix).
14227 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14228 (test_program_prefix): This.
14229 * iconvdata/tst-tables.sh: Likewise.
14230 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14231 $(run-program-prefix) with $(test-program-prefix).
14232 ($(objpfx)tst-translit.out): Likewise.
14233 ($(objpfx)tst-gettext2.out): Likewise.
14234 ($(objpfx)tst-gettext4.out): Likewise.
14235 ($(objpfx)tst-gettext6.out): Likewise.
14236 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14237 (test_program_prefix): This.
14238 * intl/tst-gettext2.sh: Likewise.
14239 * intl/tst-gettext4.sh Likewise.
14240 * intl/tst-gettext6.sh: Likewise.
14241 * intl/tst-translit.sh: Likewise.
14242 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14243 with $(test-program-cmd).
14244 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14245 $(run-program-prefix) with $(test-program-prefix).
14246 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14247 (test_program_prefix): This.
14248 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14249 $(run-program-prefix) with $(test-program-prefix).
14250 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14251 (test_program_prefix): This.
14252 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14253 * posix/Makefile ($(objpfx)globtest.out): Replace
14254 $(run-via-rtld-prefix) and $(test-wrapper) with
14255 $(test-program-prefix) and $(test-via-rtld-prefix).
14256 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14257 $(test-program-prefix).
14258 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14259 $(host-test-program-cmd).
14260 (tst-spawn-ARGS): Likewise.
14261 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14262 $(test-program-prefix).
14263 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14264 (test_via_rtld_prefix): This.
14265 (test_wrapper): Renamed to ...
14266 (test_program_prefix): This.
14267 (run_program_prefix): Replaced by test_program_prefix.
14268 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14269 (test_program_prefix): This.
14270 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14271 with $(host-test-program-cmd).
14272 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14273 $(run-program-prefix) with $(test-program-prefix).
14274 ($(objpfx)tst-printf.out): Likewise.
14275 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14276 $(test-program-cmd).
14277 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14278 (test_program_prefix): This.
14279 * stdio-common/tst-unbputc.sh: Likewise.
14280 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14281 $(run-program-prefix) with $(test-program-prefix).
14282 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14283 (test_program_prefix): This.
14284 * string/Makefile ($(objpfx)tst-svc.out): Replace
14285 $(built-program-cmd) with $(test-program-cmd).
14287 2013-01-11 Andreas Jaeger <aj@suse.de>
14290 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14291 value. Sync with Linux 3.7.
14293 2013-01-10 David S. Miller <davem@davemloft.net>
14295 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14296 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14297 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14299 2013-01-10 Roland McGrath <roland@hack.frob.com>
14301 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14303 * configure: Regenerated.
14305 2013-01-10 David S. Miller <davem@davemloft.net>
14307 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14308 sparc V9 rather than using V8 code.
14309 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14310 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14312 2013-01-10 Roland McGrath <roland@hack.frob.com>
14314 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14315 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14316 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14317 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14318 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14319 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14320 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14321 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14322 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14323 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14324 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14325 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14326 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14327 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14328 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14329 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14330 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14331 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14332 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14333 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14334 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14335 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14336 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14337 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14338 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14339 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14340 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14342 2013-01-10 David S. Miller <davem@davemloft.net>
14344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14346 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14348 * posix/Makefile (tests-static): New variable.
14349 (tests): Add $(tests-static).
14350 (tst-exec-static-ARGS): New variable.
14351 (tst-spawn-static-ARGS): Likewise.
14352 * posix/tst-exec-static.c: New file.
14353 * posix/tst-spawn-static.c: Likewise.
14354 * posix/tst-exec.c: Support run directly.
14355 * posix/tst-spawn.c: Likewise.
14357 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14359 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14361 * math/bits/mathcalls.h (llrint): Likewise.
14362 (llround): Likewise.
14363 * stdlib/stdlib.h (struct drand48_data): Likewise.
14364 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14365 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14366 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14368 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14370 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14371 (elf_greg_t): Likewise.
14372 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14373 (__jmp_buf): Likewise.
14374 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14376 (llrint): Likewise, for all definitions.
14377 (llrintl): Likewise.
14379 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14380 Remove [__GNUC__] condition.
14381 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14382 condition to just [__USE_ISOC99].
14383 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14385 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14388 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14389 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14391 (_POSIX_V6_ILP32_OFF32): Likewise.
14392 (_XBS5_ILP32_OFF32): Likewise.
14393 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14394 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14396 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14398 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14401 doubles __mpexp_twomm1. Adjust usage.
14402 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14405 2013-01-10 Andreas Schwab <schwab@suse.de>
14408 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14409 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14411 2013-01-09 David S. Miller <davem@davemloft.net>
14414 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14415 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14416 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14417 TCP_FASTOPEN): Define.
14418 (tcp_repair_opt): New structure.
14419 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14421 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14422 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14423 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14424 (tcp_cookie_transactions): New structure.
14426 2013-01-09 Anton Blanchard <anton@samba.org>
14428 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14429 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14430 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14431 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14433 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14435 * include/features.h (__USE_ANSI): Remove.
14437 2013-01-09 Roland McGrath <roland@hack.frob.com>
14439 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14441 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14443 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14445 * sysdeps/s390/fpu/libm-test-ulps: Update.
14447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14449 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14453 (denorm): Likewise.
14454 (__mp_dbl): Likewise.
14455 (__dbl_mp): Likewise.
14456 (add_magnitudes): Likewise.
14457 (sub_magnitudes): Likewise.
14463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14467 (denorm): Likewise.
14468 (__mp_dbl): Likewise.
14469 (__dbl_mp): Likewise.
14470 (add_magnitudes): Likewise.
14471 (sub_magnitudes): Likewise.
14477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14481 (denorm): Likewise.
14482 (__mp_dbl): Likewise.
14483 (__dbl_mp): Likewise.
14484 (add_magnitudes): Likewise.
14485 (sub_magnitudes): Likewise.
14492 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14494 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14495 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14496 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14497 2 && __USE_EXTERN_INLINES]: Likewise.
14499 2013-01-08 Andreas Jaeger <aj@suse.de>
14502 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14504 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14505 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14507 2013-01-07 Anton Blanchard <anton@samba.org>
14509 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14510 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14511 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14512 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14513 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14514 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14515 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14516 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14518 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14519 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14520 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14521 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14523 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14524 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14525 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14526 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14527 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14528 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14529 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14530 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14532 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14533 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14534 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14535 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14536 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14537 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14538 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14539 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14541 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14542 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14543 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14544 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14545 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14547 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14548 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14549 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14551 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14553 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14555 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14556 (__MALLOC_PMT): Likewise.
14557 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14558 [__GNUC__], only on [_LIBC].
14559 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14560 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14561 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14562 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14563 forward declaration.
14564 (realloc_hook_ini): Likewise.
14565 (memalign_hook_ini): Likewise.
14566 (__libc_memalign): Do not use __MALLOC_PMT in variable
14568 (__libc_valloc): Likewise.
14569 (__libc_pvalloc): Likewise.
14570 (__libc_calloc): Likewise.
14571 (__posix_memalign): Likewise.
14574 * math/s_casinh.c: Include <float.h>.
14575 (__casinh): Do not do computation with squaring and square root
14576 for large arguments.
14577 * math/s_casinhf.c: Include <float.h>.
14578 (__casinhf): Do not do computation with squaring and square root
14579 for large arguments.
14580 * math/s_casinhl.c: Include <float.h>.
14581 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14582 (__casinhl): Do not do computation with squaring and square root
14583 for large arguments.
14584 * math/libm-test.inc (casin_test): Add more tests.
14585 (casinh_test): Likewise.
14586 * sysdeps/i386/fpu/libm-test-ulps: Update.
14587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14589 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14591 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14592 (__x86_64_raw_data_cache_size): Likewise.
14593 (__x86_64_data_cache_size_half): Likewise.
14594 (__x86_64_raw_data_cache_size_half): Likewise.
14595 (__x86_64_shared_cache_size): Likewise.
14596 (__x86_64_raw_shared_cache_size): Likewise.
14597 (__x86_64_shared_cache_size_half): Likewise.
14598 (__x86_64_raw_shared_cache_size_half): Likewise.
14599 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14601 (__x86_data_cache_size): This.
14602 (__x86_64_raw_data_cache_size): Renamed to ...
14603 (__x86_raw_data_cache_size): This.
14604 (__x86_64_data_cache_size_half): Renamed to ...
14605 (__x86_data_cache_size_half): This.
14606 (__x86_64_raw_data_cache_size_half): Renamed to ...
14607 (__x86_raw_data_cache_size_half): This.
14608 (__x86_64_shared_cache_size): Renamed to ...
14609 (__x86_shared_cache_size): This.
14610 (__x86_64_raw_shared_cache_size): Renamed to ...
14611 (__x86_raw_shared_cache_size): This.
14612 (__x86_64_shared_cache_size_half): Renamed to ...
14613 (__x86_shared_cache_size_half): This.
14614 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14615 (__x86_raw_shared_cache_size_half): This.
14616 * sysdeps/x86_64/memcpy.S: Updated.
14617 * sysdeps/x86_64/memset.S: Likewise.
14618 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14619 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14620 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14622 2013-01-04 David S. Miller <davem@davemloft.net>
14624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14626 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14629 1 to avoid redefinition warning.
14630 (__USE_GNU): Don't define.
14631 (init_signaling_nan): Protoize.
14633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14635 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14637 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14639 (__cpymn): Likewise.
14640 (norm): Remove commented code.
14641 (denorm): Likewise.
14642 (__mp_dbl): Likewise.
14644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14645 (__cpymn): Likewise.
14646 (norm): Remove commented code.
14647 (denorm): Likewise.
14648 (__mp_dbl): Likewise.
14651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14652 mp_no value for 1.0 and 2.0.
14653 (norm): Use RADIXI instead of radixi.d.
14654 (denorm): Likewise.
14655 (__mul): Use 0.0 instead of zero.d.
14656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14657 mp_no value for 1.0 and 2.0.
14658 (norm): Use RADIXI instead of radixi.d.
14659 (denorm): Likewise.
14660 (__mul): Use 0.0 instead of zero.d.
14662 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14665 * math/s_casinh.c (__casinh): Reduce finite argument to first
14666 quadrant then set signs of results at the end.
14667 * math/s_casinhf.c (__casinhf): Likewise.
14668 * math/s_casinhl.c (__casinhl): Likewise.
14669 * math/libm-test.inc (casin_test): Add more tests.
14670 (casinh_test): Likewise.
14671 * sysdeps/i386/fpu/libm-test-ulps: Update.
14672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14674 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14676 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14678 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14680 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14682 (denorm): Likewise.
14683 (__mp_dbl): Likewise.
14686 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14687 and adjust the header comment.
14689 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14690 variable name from declaration.
14692 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14695 Initialize COMMON_CPUID_INDEX_7 element.
14696 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14697 (CPUID_RTM): Likewise.
14698 (HAS_RTM): Likewise.
14699 (COMMON_CPUID_INDEX_7): New enum.
14701 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14704 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14705 size is zero, record memory as freed.
14707 2013-01-03 Andreas Jaeger <aj@suse.de>
14709 * po/ia.po: Add new Interlingua translation.
14711 2012-01-03 Allan McRae <allan@archlinux.org>
14713 * locale/programs/localedef.c: Fix description of '--posix' flag.
14715 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14717 * NEWS: Update dates in second copyright notice.
14718 * README: Update copyright dates in example.
14719 * manual/libc.texinfo: Update copyright dates.
14720 * scripts/test-installation.pl: Update copyright date in --version
14723 * hurd/ctty-input.c: Fix copyright notice formatting.
14724 * hurd/ctty-output.c: Likewise.
14725 * hurd/dtable.c: Likewise.
14726 * hurd/hurd-raise.c: Likewise.
14727 * hurd/hurdprio.c: Likewise.
14728 * hurd/msgportdemux.c: Likewise.
14729 * misc/sys/file.h: Likewise.
14730 * misc/sys/ioctl.h: Likewise.
14731 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14732 * sysdeps/mach/hurd/chdir.c: Likewise.
14733 * sysdeps/mach/hurd/fchdir.c: Likewise.
14734 * sysdeps/mach/hurd/rename.c: Likewise.
14735 * sysdeps/mach/hurd/rmdir.c: Likewise.
14736 * sysdeps/mach/hurd/seekdir.c: Likewise.
14737 * sysdeps/mach/hurd/setsid.c: Likewise.
14738 * sysdeps/posix/wait3.c: Likewise.
14740 * All files with FSF copyright notices: Update copyright dates
14741 using scripts/update-copyrights.
14742 * intl/plural.c: Regenerated.
14743 * locale/programs/charmap-kw.h: Likewise.
14744 * locale/programs/locfile-kw.h: Likewise.
14746 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14748 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14751 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14752 calculation loop and add branch prediction.
14754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14755 check access beyond bounds of m1np.
14757 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14759 (__inv): Remove local variable MPTWO to use the global
14761 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14762 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14764 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14765 MP3HALFS static const.
14767 2013-01-01 David S. Miller <davem@davemloft.net>
14769 * po/ca.po: Update from translation team.
14771 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14773 * scripts/update-copyrights: New file.
14774 * Makeconfig: Reformat copyright notice.
14775 * ctype/ctype.h: Likewise.
14776 * debug/swprintf_chk.c: Likewise.
14777 * elf/dl-cache.c: Likewise.
14778 * elf/dl-debug.c: Likewise.
14779 * elf/dl-object.c: Likewise.
14780 * grp/initgroups.c: Likewise.
14781 * hurd/Makefile: Likewise.
14782 * hurd/hurd/signal.h: Likewise.
14783 * hurd/hurdfault.c: Likewise.
14784 * hurd/hurdioctl.c: Likewise.
14785 * hurd/hurdlookup.c: Likewise.
14786 * hurd/intr-msg.c: Likewise.
14787 * iconv/gconv_open.c: Likewise.
14788 * libio/swprintf.c: Likewise.
14789 * locale/lc-ctype.c: Likewise.
14790 * locale/nl_langinfo.c: Likewise.
14791 * mach/Machrules: Likewise.
14792 * mach/Makefile: Likewise.
14793 * malloc/obstack.h: Likewise.
14794 * manual/Makefile: Likewise.
14795 * manual/tsort.awk: Likewise.
14796 * misc/bits/stab.def: Likewise.
14797 * nis/nis_print_group_entry.c: Likewise.
14798 * nis/nis_table.c: Likewise.
14799 * nis/nss_compat/compat-pwd.c: Likewise.
14800 * nis/nss_compat/compat-spwd.c: Likewise.
14801 * po/Makefile: Likewise.
14802 * posix/fnmatch.c: Likewise.
14803 * posix/regex.h: Likewise.
14804 * resolv/Makefile: Likewise.
14805 * resolv/nss_dns/dns-network.c: Likewise.
14806 * resolv/res_hconf.c: Likewise.
14807 * scripts/gen-sorted.awk: Likewise.
14808 * soft-fp/soft-fp.h: Likewise.
14809 * stdio-common/printf.h: Likewise.
14810 * stdlib/monetary.h: Likewise.
14811 * stdlib/random.c: Likewise.
14812 * stdlib/random_r.c: Likewise.
14813 * sysdeps/generic/Makefile: Likewise.
14814 * sysdeps/gnu/Makefile: Likewise.
14815 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14833 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14835 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14836 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14837 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14838 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14839 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14840 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14842 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14843 * sysdeps/mach/hurd/errnos.awk: Likewise.
14844 * sysdeps/mach/hurd/fork.c: Likewise.
14845 * sysdeps/mach/hurd/getcwd.c: Likewise.
14846 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14847 * sysdeps/mach/hurd/mmap.c: Likewise.
14848 * sysdeps/mach/hurd/utimes.c: Likewise.
14849 * sysdeps/mach/hurd/xmknod.c: Likewise.
14850 * sysdeps/posix/profil.c: Likewise.
14851 * sysdeps/posix/readdir_r.c: Likewise.
14852 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14853 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14854 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14855 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14857 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14858 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14859 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14861 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14862 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14863 * sysdeps/pthread/lio_listio.c: Likewise.
14864 * sysdeps/sparc/dl-procinfo.h: Likewise.
14865 * sysdeps/unix/i386/sysdep.S: Likewise.
14866 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14867 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14868 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14869 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14871 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14872 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14873 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14874 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14875 * sysdeps/wordsize-32/divdi3.c: Likewise.
14876 * time/sys/time.h: Likewise.
14877 * wcsmbs/Makefile: Likewise.
14879 2013-01-01 David S. Miller <davem@davemloft.net>
14881 * po/fr.po: Update from translation team.
14883 * catgets/gencat.c: Update copyright year.
14884 * csu/version.c: Likewise.
14885 * debug/catchsegv.sh: Likewise.
14886 * debug/pcprofiledump.c: Likewise.
14887 * debug/xtrace.sh: Likewise.
14888 * elf/ldconfig.c: Likewise.
14889 * elf/ldd.bash.in: Likewise.
14890 * elf/pldd.c: Likewise.
14891 * elf/sotruss.ksh: Likewise.
14892 * elf/sprof.c: Likewise.
14893 * iconv/iconv_prog.c: Likewise.
14894 * iconv/iconvconfig.c: Likewise.
14895 * locale/programs/locale.c: Likewise.
14896 * locale/programs/localedef.c: Likewise.
14897 * login/programs/pt_chown.c: Likewise.
14898 * malloc/memusage.sh: Likewise.
14899 * malloc/memusagestat.c: Likewise.
14900 * malloc/mtrace.pl: Likewise.
14901 * nscd/nscd.c: Likewise.
14902 * nss/getent.c: Likewise.
14903 * nss/makedb.c: Likewise.
14904 * posix/getconf.c: Likewise.
14906 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14908 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14911 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14913 * math/bits/mathcalls.h (modf): Use __nonnull.
14915 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14917 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14918 (split): Use macro CN instead of the bare value.
14919 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14922 instead of the bare value.
14923 (power1): Likewise.
14925 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14927 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14929 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14931 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14933 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14934 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14935 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14936 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14938 2012-12-28 Andreas Jaeger <aj@suse.de>
14940 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14941 values are from Linux 3.7.
14943 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14944 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14946 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14948 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14951 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14953 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14954 variables with preprocessor constants.
14955 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14956 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14957 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14959 2012-12-27 Bruno Haible <bruno@clisp.org>
14962 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14965 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14968 and use variable directly.
14969 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14971 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14973 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14974 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14976 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14977 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14978 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14979 include directive. Remove local variable MPONE.
14980 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14981 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14982 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14984 2012-12-25 David S. Miller <davem@davemloft.net>
14986 * version.h (RELEASE): Set to "development".
14987 (VERSION): Set to "2.17.90".
14988 * NEWS: Add 2.18 section.
14990 2012-12-21 David S. Miller <davem@davemloft.net>
14992 * po/hr.po: Update from translation team.
14994 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14996 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14998 2012-12-19 Steve Ellcey <sellcey@mips.com>
15000 * NEWS: Mention new memcpy for MIPS.
15002 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15004 * manual/contrib.texi (Contributors): Spelling correction.
15006 2012-12-15 David S. Miller <davem@davemloft.net>
15008 * po/ru.po: Update from translation team.
15010 2012-12-13 David S. Miller <davem@davemloft.net>
15012 * NEWS: Mention IFUNC testsuite enhancements.
15014 * po/pl.po: Update from translation team.
15015 * po/bg.po: Likewise.
15017 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15018 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15020 2012-12-11 David S. Miller <davem@davemloft.net>
15022 * po/sv.po: Update from translation team.
15024 * po/vi.po: Update from translation team.
15026 * po/cs.po: Update from translation team.
15028 * po/de.po: Update from translation team.
15029 * po/eo.po: Likewise.
15030 * po/nl.po: Likewise.
15032 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15035 * manual/argp.texi (Argp Helper Functions): Move node to follow
15036 Argp Parsing State.
15039 * manual/conf.texi (Limits on File System Capacity): Mention if
15040 terminating null is included in the max size.
15042 2012-12-10 Andreas Jaeger <aj@suse.de>
15044 * po/cs.po: Update from translation team.
15046 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15048 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15049 void pointer and cast to uintptr_t.
15050 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15052 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15053 * sysdeps/s390/s390-64/memset.S: Likewise.
15055 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15058 * menual/message.texi (Message Translation): Fix typos.
15059 (Helper programs for gettext): Likewise.
15061 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15064 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15067 2012-12-07 David S. Miller <davem@davemloft.net>
15069 * po/libc.pot: Update.
15071 2012-12-07 Richard Henderson <rth@redhat.com>
15074 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15075 normal/normal case to before the switch.
15076 (_FP_DIV): Likewise.
15078 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15079 Mike Frysinger <vapier@gentoo.org>
15081 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15082 check for __NR_fadvise64_64.
15084 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15086 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15087 0, not just to plain "0" as a statement.
15088 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15091 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15093 * NEWS: Use sourceware.org in Bugzilla URL.
15095 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15098 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15100 * stdio-common/tst-put-error.c (do_test): Add newline to the
15101 padded test to ensure flush.
15103 2012-12-05 Jeff Law <law@redhat.com>
15105 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15107 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15109 * README: Don't refer to ports add-on as distributed separately.
15110 Mention AArch64 in list of systems supported in the ports add-on.
15112 * LICENSES: Add more non-FSF copyright and license notices.
15114 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15117 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15119 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15120 10000 as width of padded output.
15122 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15124 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15126 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15127 variable LX with __attribute__ ((unused)).
15128 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15130 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15131 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15132 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15133 with __attribute__ ((unused)).
15135 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15137 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15139 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15141 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15142 (CFLAGS-nldbl-acos.c): New variable.
15143 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15144 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15145 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15146 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15147 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15148 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15149 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15150 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15151 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15152 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15153 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15154 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15155 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15156 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15157 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15158 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15159 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15160 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15161 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15162 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15163 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15164 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15165 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15166 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15167 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15168 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15169 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15170 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15171 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15172 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15173 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15174 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15175 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15176 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15177 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15178 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15179 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15180 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15181 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15182 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15183 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15184 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15185 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15186 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15187 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15188 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15189 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15190 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15191 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15192 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15193 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15194 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15195 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15196 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15197 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15198 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15199 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15200 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15201 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15202 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15203 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15204 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15205 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15206 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15207 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15208 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15209 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15210 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15211 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15212 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15213 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15214 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15215 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15216 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15217 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15218 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15219 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15220 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15221 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15222 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15223 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15224 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15225 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15226 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15227 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15228 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15229 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15230 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15231 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15232 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15233 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15234 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15235 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15236 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15237 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15238 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15239 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15242 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15245 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15246 whole low double instead of just low 47 bits when splitting values
15249 2012-12-03 Allan McRae <allan@archlinux.org>
15251 * manual/stdio.texi (Predefined Printf Handlers): Remove
15252 @hsep and @vsep usage.
15254 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15256 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15257 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15259 2012-12-03 Jeff Law <law@redhat.com>
15261 * time/sys/time.h (settimeofday): Do not mark TV argument
15264 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15266 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15267 when currently writing and seek to current position when not.
15268 * libio/Makefile (tests): Remove bug-fclose1.
15269 * libio/bug-fclose1.c: Delete.
15271 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15273 * manual/arith.texi (feenableexcept): Fix typo.
15274 (fedisableexcept): Likewise.
15276 2012-11-30 Roland McGrath <roland@hack.frob.com>
15278 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15279 second, differently-typed declaration, rather than a cast.
15281 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15283 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15284 * include/rpc/svc.h: ... here.
15286 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15289 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15290 depending n and resplen2 to catch cases where answer
15293 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15295 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15296 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15298 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15302 2012-11-29 Roland McGrath <roland@hack.frob.com>
15304 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15306 2012-11-28 Jeff Law <law@redhat.com>
15309 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15310 dataset_temporary. Track alloca usage into alloca_used.
15311 If dataset is large allocate and release it via malloc/free.
15313 2012-06-04 Florian Weimer <fweimer@redhat.com>
15316 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15318 2012-11-28 David S. Miller <davem@davemloft.net>
15320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15322 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15325 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15326 of pi/2 rounded to nearest to 64 bits.
15327 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15328 nearest to 64 bits.
15329 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15332 2012-11-28 Jeff Law <law@redhat.com>
15333 Martin Osvald <mosvald@redhat.com>
15336 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15337 * sunrpc/svc.c: Include time.h.
15338 (__svc_accept_failed): New function.
15339 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15340 any reason other than EINTR, call __svc_accept_failed.
15341 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15342 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15344 2012-11-28 Andreas Schwab <schwab@suse.de>
15346 * scripts/abilist.awk: Also handle indirect functions in .opd
15349 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15352 * sysdeps/x86/fpu/powl_helper.c: New file.
15353 * sysdeps/x86/fpu/Makefile: Likewise.
15354 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15356 (__ieee754_powl): Use __powl_helper for finite arguments except
15357 integer exponents below 8.
15358 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15360 (__ieee754_powl): Use __powl_helper for finite arguments except
15361 integer exponents below 8.
15362 * math/libm-test.inc (pow_test): Add more tests and enable some
15363 previously disabled tests.
15364 * sysdeps/i386/fpu/libm-test-ulps: Update.
15365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15367 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15368 Carlos O'Donell <carlos_odonell@mentor.com>
15370 * nss/makedb.c (is_prime): Assert that input is odd and greater
15371 than 4. Note that fact in a comment too.
15372 (next_prime): Add 4 to input.
15374 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15377 * libio/Makefile (tests): Add test case tst-fwrite-error.
15378 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15379 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15380 * libio/tst-fwrite-error.c: New test case.
15382 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15384 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15385 before casting to void *.
15386 * include/libc-internal.h (__pointer_type): New macro.
15387 (__integer_if_pointer_type_sub): Likewise.
15388 (__integer_if_pointer_type): Likewise.
15389 (cast_to_integer): Likewise.
15390 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15391 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15392 before casting to atomic64_t.
15393 (atomic_exchange_acq): Likewise.
15394 (__arch_exchange_and_add_body): Likewise.
15395 (__arch_add_body): Likewise.
15396 (atomic_add_negative): Likewise.
15397 (atomic_add_zero): Likewise.
15399 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15401 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15402 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15403 (add_fdes): Likewise.
15404 (linear_search_fdes): Likewise.
15405 (binary_search_unencoded_fdes): Likewise.
15407 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15409 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15411 2012-11-24 Adam Conrad <adconrad@0c3.net>
15413 * configure.in: Autodetect C++ header directories.
15414 * configure: Regenerated.
15416 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15418 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15420 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15424 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15426 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15427 LDBL_MANT_DIG == 106]: Disable some tests.
15428 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15430 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15434 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15435 input for small inputs. Return +/- pi/2 for large inputs.
15436 * math/libm-test.inc (atan_test): Add more tests.
15438 * sysdeps/generic/unwind-dw2-fde-glibc.c
15439 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15440 __attribute__ ((unused)).
15443 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15444 x * y if x and y are nonzero and z is zero.
15447 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15448 nonzero exponents with absolute value below 0x1p-117 to +/-
15452 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15453 up arguments below 2**-450, not just those below 2**-500.
15454 * math/libm-test.inc (hypot_test): Add another test.
15457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15458 Return a+b for ratio over 2**120, not 2**60.
15459 * math/libm-test.inc (hypot_test): Add another test.
15461 * math/libm-test.inc (clog_test): Use
15462 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15463 (clog10_test): Likewise.
15466 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15468 2012-11-22 Andreas Schwab <schwab@suse.de>
15470 * sysdeps/i386/fpu/libm-test-ulps: Update.
15472 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15474 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15475 printf output with newline.
15477 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15480 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15481 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15482 -z nodlopen, -z initfirst and -z execstack support.
15483 * configure: Regenerated.
15485 * elf/elf.h (DF_1_NODIRECT): New macro.
15486 (DF_1_IGNMULDEF): Likewise.
15487 (DF_1_NOKSYMS): Likewise.
15488 (DF_1_NOHDR): Likewise.
15489 (DF_1_EDITED): Likewise.
15490 (DF_1_NORELOC): Likewise.
15491 (DF_1_SYMINTPOSE): Likewise.
15492 (DF_1_GLOBAUDIT): Likewise.
15493 (DF_1_SINGLETON): Likewise.
15494 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15495 DT_1_SUPPORTED_MASK bits.
15496 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15498 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15500 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15502 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15504 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15507 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15508 (sendmmsg): Move declarations...
15509 * socket/sys/socket.h: ... here.
15510 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15511 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15513 * socket/recvmmsg.c: ... this new file.
15514 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15515 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15516 definition of __sendmmsg hidden.
15517 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15518 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15519 Move ENOSYS stub into and include it from...
15520 * socket/sendmmsg.c: ... this new file.
15521 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15522 (sysdep_routines): Move recvmmsg and sendmmsg...
15523 * socket/Makefile (routines): ... here.
15524 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15525 (GLIBC_PRIVATE): Add __sendmmsg.
15526 * include/sys/socket.h (__sendmmsg): Add declarations.
15527 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15530 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15533 variable I1 with __attribute__ ((unused)).
15534 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15536 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15538 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15539 DUMMY variables with __attribute__ ((unused)).
15541 * bits/byteswap.h: Include <bits/types.h>.
15542 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15544 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15546 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15547 string_t. Do not manually set errno.
15548 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15549 length with __strnlen. Make sure to both set errno and return it on
15552 2012-11-19 David S. Miller <davem@davemloft.net>
15554 With help from Joseph Myers.
15555 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15556 very large arguments properly.
15557 * math/libm-test.inc (atan_test): New tests.
15558 (atan2_test): New tests.
15559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15562 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15565 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15568 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15569 [POSIX] (EADDRNOTAVAIL): Likewise.
15570 [POSIX] (EAFNOSUPPORT): Likewise.
15571 [POSIX] (EALREADY): Likewise.
15572 [POSIX] (ECONNABORTED): Likewise.
15573 [POSIX] (ECONNREFUSED): Likewise.
15574 [POSIX] (ECONNRESET): Likewise.
15575 [POSIX] (EDESTADDRREQ): Likewise.
15576 [POSIX] (EDQUOT): Likewise.
15577 [POSIX] (EHOSTUNREACH): Likewise.
15578 [POSIX] (EIDRM): Likewise.
15579 [POSIX] (EISCONN): Likewise.
15580 [POSIX] (ELOOP): Likewise.
15581 [POSIX] (EMULTIHOP): Likewise.
15582 [POSIX] (ENETDOWN): Likewise.
15583 [POSIX] (ENETUNREACH): Likewise.
15584 [POSIX] (ENOBUFS): Likewise.
15585 [POSIX] (ENODATA): Likewise.
15586 [POSIX] (ENOLINK): Likewise.
15587 [POSIX] (ENOMSG): Likewise.
15588 [POSIX] (ENOPROTOOPT): Likewise.
15589 [POSIX] (ENOSR): Likewise.
15590 [POSIX] (ENOSTR): Likewise.
15591 [POSIX] (ENOTCONN): Likewise.
15592 [POSIX] (ENOTSOCK): Likewise.
15593 [POSIX] (EOPNOTSUPP): Likewise.
15594 [POSIX] (EOVERFLOW): Likewise.
15595 [POSIX] (EPROTO): Likewise.
15596 [POSIX] (EPROTONOSUPPORT): Likewise.
15597 [POSIX] (EPROTOTYPE): Likewise.
15598 [POSIX] (ESTALE): Likewise.
15599 [POSIX] (ETIME): Likewise.
15600 [POSIX] (ETXTBSY): Likewise.
15601 [POSIX] (EWOULDBLOCK): Likewise.
15602 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15603 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15604 [POSIX] (SEEK_CUR): Likewise.
15605 [POSIX] (SEEK_END): Likewise.
15606 [POSIX || UNIX98] (mode_t): Do not require.
15607 [POSIX] (off_t): Likewise.
15608 [POSIX] (pid_t): Likewise.
15609 [POSIX] (sys/stat.h): Do not allow header.
15610 [POSIX] (unistd.h): Likewise.
15611 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15612 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15613 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15614 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15616 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15617 sigevent): Specify elements.
15618 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15620 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15621 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15623 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15624 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15625 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15626 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15627 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15628 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15629 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15630 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15631 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15632 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15633 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15634 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15635 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15636 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15638 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15640 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15642 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15644 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15645 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15646 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15647 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15649 Specify lower bound on value.
15650 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15651 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15652 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15653 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15656 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15657 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15659 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15661 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15665 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15666 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15667 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15668 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15671 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15672 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15673 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15674 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15675 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15678 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15680 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15681 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15682 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15683 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15684 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15685 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15687 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15688 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15689 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15690 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15691 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15692 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15693 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15695 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15696 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15697 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15698 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15699 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15700 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15701 specify as optional.
15702 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15703 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15704 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15705 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15706 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15707 [XPG3] (NL_LANGMAX): Likewise.
15708 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15709 [POSIX || XPG3] (NL_NMAX): Likewise.
15710 [POSIX || XPG3] (NL_SETMAX): Likewise.
15711 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15712 [XPG3] (NZERO): Likewise.
15713 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15714 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15715 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15716 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15717 (REG_ERANGE): Expect.
15718 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15720 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15721 Use (void) in prototype.
15722 [POSIX] (*_t): Allow.
15723 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15724 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15725 (WRDE_BADVAL): Expect.
15727 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15729 [XPG3 || XPG4] (O_RSYNC): Likewise.
15730 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15732 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15733 [XPG3 || XPG4] (sigqueue): Likewise.
15734 [XPG3 || XPG4] (sigtimedwait): Likewise.
15735 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15736 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15737 [XPG3 || XPG4] (vsnprintf): Likewise.
15738 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15740 [XPG3 || XPG4] (blksize_t): Likewise.
15741 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15743 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15744 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15745 [XPG3 || XPG4] (struct itimerspec): Likewise.
15746 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15747 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15748 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15749 [XPG3 || XPG4] (clockid_t): Likewise.
15750 [XPG3 || XPG4] (timer_t): Likewise.
15751 [XPG3 || XPG4] (clock_getres): Likewise.
15752 [XPG3 || XPG4] (clock_gettime): Likewise.
15753 [XPG3 || XPG4] (clock_settime): Likewise.
15754 [XPG3 || XPG4] (nanosleep): Likewise.
15755 [XPG3 || XPG4] (timer_create): Likewise.
15756 [XPG3 || XPG4] (timer_delete): Likewise.
15757 [XPG3 || XPG4] (timer_gettime): Likewise.
15758 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15759 [XPG3 || XPG4] (timer_settime): Likewise.
15760 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15761 [XPG3 || XPG4] (getlogin_r): Likewise.
15762 [XPG3 || XPG4] (pread): Likewise.
15763 [XPG3 || XPG4] (pthread_atfork): Likewise.
15764 [XPG3 || XPG4] (pwrite): Likewise.
15767 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15770 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15772 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15773 finalizing MALLSTREAM.
15775 * sysdeps/mach/hurd/syncfs.c: New file.
15777 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15780 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15781 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15782 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15783 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15784 (_nss_dns_gethostbyname4_r): Likewise.
15785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15786 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15788 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15791 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15793 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15795 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15796 * elf/cache.c (print_entry): Print ",AArch64" for
15799 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15800 * elf/cache.c (print_entry): Print ",hard-float" for
15803 2012-11-18 David S. Miller <davem@davemloft.net>
15805 With help from Joseph Myers.
15806 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15808 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15810 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15811 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15813 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15814 * math/libm-test.inc (y0_test): New tests.
15815 (y1_test): New tests.
15816 * sysdeps/i386/fpu/libm-test-ulps: Update.
15817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15820 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15822 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15824 * configure: Regenerated.
15826 2012-11-17 David S. Miller <davem@davemloft.net>
15829 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15830 nonzero exponents with absolute value below 0x1p-128 to +/-
15833 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15835 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15837 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15839 * posix/getconf-speclist.c: New file.
15840 * posix/posix-envs.def: Likewise.
15841 * posix/confstr.c (START_ENV_GROUP): New macro.
15842 (END_ENV_GROUP): Likewise.
15843 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15844 (KNOWN_PRESENT_ENV_STRING): Likewise.
15845 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15846 (UNKNOWN_ENVIRONMENT): Likewise.
15847 (confstr): Include posix-envs.def instead of handling
15848 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15849 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15850 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15851 (END_ENV_GROUP): Likewise.
15852 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15853 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15854 (UNKNOWN_ENVIRONMENT): Likewise.
15855 (__sysconf): Include posix-envs.def instead of handling associated
15856 cases directly here.
15857 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15858 preprocessing getconf-speclist.c rather than running getconf or
15859 generating empty file.
15861 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15863 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15865 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15868 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15870 2012-11-16 David S. Miller <davem@davemloft.net>
15872 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15873 smaller than LDBL_EPSILON/2.0L, just return xm1.
15875 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15877 * elf/tst-array1.c (init): Set constructor priority to 1000.
15878 (fini): Set destructor priority to 1000.
15879 * elf/tst-array2dep.c: Likewise.
15881 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15884 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15885 (_IO_new_file_xsputn): Also return EOF if none of the input
15886 data was written when overflow failed.
15887 * libio/iopadn.c (_IO_padn): Likewise.
15888 * libio/iowpadn.c (_IO_wpadn): Likewise.
15889 * stdio-common/tst-put-error.c: Add copyright notice.
15890 (do_test): Add case for printing padded string.
15891 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15892 _IO_padn returned error.
15893 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15894 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15897 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15899 * libio/libioP.h: Add comment note that the references to C++
15900 bits are now obsolete.
15902 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15904 * math/libm-test.inc (check_complex): Use asprintf.
15906 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15908 * debug/pcprofiledump.c (print_version): Update copyright year.
15909 * malloc/memusagestat.c (print_version): Likewise.
15911 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15914 * elf/Makefile (tests): Add tst-audit8.
15915 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15916 ($(objpfx)tst-audit8.out): New target.
15917 (tst-audit8-ENV): New variable.
15918 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15919 audit if l_reloc_result is NULL.
15920 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15921 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15922 * elf/tst-audit8.c: New file.
15924 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15926 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15927 * misc/Makefile (CFLAGS-select.c): Define.
15928 * posix/Makefile (CFLAGS-pause.c): Define.
15930 2012-11-13 David S. Miller <davem@davemloft.net>
15932 * crypt/Makefile: Move test targets after toplevel Rules
15933 inclusion. Grab any necessary sysdep routines when linking.
15934 * crypt/md5.c (md5_process_block): Remove define, we will always
15935 name it __md5_process_block.
15936 (md5_finish_ctx): Update md5_process_block call.
15937 (md5_stream): Likewise.
15938 (md5_process_bytes): Likewise.
15939 (md5_process_block): Rename to __md5_process_block and move to ...
15940 * crypt/md5-block.c: ... here.
15941 * crypt/sha256.c (sha256_process_block): Move to ...
15942 * crypt/sha256-block.c: ... here.
15943 * crypt/sha512.c (sha512_process_block): Move to ...
15944 * crypt/sha512-block.c: ... here.
15945 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15947 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15948 * sysdeps/sparc/sparc64/multiarch/Makefile
15949 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15951 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15952 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15954 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15955 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15956 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15957 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15958 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15959 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15960 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15961 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15962 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15964 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15965 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15967 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15969 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15971 * timezone/tzselect.ksh: Update from tzcode git revision
15972 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15973 * timezone/zdump.c: Likewise.
15974 * timezone/zic.c: Likewise.
15975 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15976 in TZVERSION setting, not $(PKGVERSION).
15977 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15978 REPORT_BUGS_TO settings.
15981 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15984 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15986 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15987 detection to immediately after _FP_ROUND().
15988 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15991 2012-11-11 David S. Miller <davem@davemloft.net>
15993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15995 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15996 __close rather than their public counterparts.
15998 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16000 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16002 [UNIX98] (sem_timedwait): Do not expect.
16003 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16004 [XPG4 || UNIX98] (sockatmark): Do not expect.
16005 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16006 (clock_getcpuclockid): Do not expect.
16007 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16008 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16010 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16011 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16012 [UNIX98] (vwscanf): Likewise.
16013 [UNIX98] (vswscanf): Likewise.
16015 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16017 * timezone/version.h: Remove file.
16018 * timezone/README: Do not refer to version.h.
16019 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16020 $(objpfx)version.h.
16021 ($(objpfx)zdump.o): Likewise.
16022 ($(objpfx)version.h): New target.
16024 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16026 * timezone/README: Don't mention modification to tzselect.ksh.
16027 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16028 work on unmodified tzselect.ksh. Substitute version numbers in
16031 * Makefile (format-me): Remove.
16032 (INSTALL): Adjust indentation. Use commands directly instead of
16033 using $(format-me).
16035 * aclocal.m4 (ACX_PKGVERSION): New macro.
16036 (ACX_BUGURL): Likewise.
16037 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16038 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16039 (REPORT_BUGS_TO): Likewise.
16040 * configure: Regenerated.
16041 * config.h.in (PKGVERSION): New macro.
16042 (REPORT_BUGS_TO): Likewise.
16043 * config.make.in (PKGVERSION): New variable.
16044 (PKGVERSION_TEXI): Likewise.
16045 (REPORT_BUGS_TO): Likewise.
16046 (REPORT_BUGS_TEXI): Likewise.
16047 * Makefile (format-me): Use -I$(common-objpfx)manual.
16048 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16049 ($(common-objpfx)manual/%): New target.
16050 (manual/%): Remove target.
16051 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16052 (print_version): Use PKGVERSION.
16053 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16054 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16055 and REPORT_BUGS_TO.
16056 ($(objpfx)xtrace): Likewise.
16057 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16058 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16059 (print_version): Use PKGVERSION.
16060 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16061 (do_version): Use PKGVERSION.
16062 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16064 (common-ldd-rewrite): Likewise.
16065 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16066 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16067 (print_version): Use PKGVERSION.
16068 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16069 * elf/pldd.c (argp_program_bug_address): Remove variable.
16070 (more_help): New function.
16071 (argp): Use more_help.
16072 (print_version): Use PKGVERSION.
16073 * elf/sln.c (main): Use PKGVERSION.
16074 (usage): Use REPORT_BUGS_TO.
16075 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16076 (top level): Use PKGVERSION.
16077 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16078 (print_version): Use PKGVERSION.
16079 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16080 (print_version): Use PKGVERSION.
16081 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16082 (print_version): Use PKGVERSION.
16083 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16084 (print_version): Use PKGVERSION.
16085 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16086 (print_version): Use PKGVERSION.
16087 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16088 (print_version): Use PKGVERSION.
16089 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16091 ($(objpfx)memusage): Likewise.
16092 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16093 (do_version): Use PKGVERSION.
16094 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16095 (print_version): Use PKGVERSION.
16096 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16097 ($PKGVERSION): New variable.
16098 ($REPORT_BUGS_TO): Likewise.
16099 (usage): Use $REPORT_BUGS_TO.
16100 (top level): Use $PKGVERSION.
16101 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16102 ($(objpfx)pkgvers.texi): New rule.
16103 ($(objpfx)stamp-pkgvers): Likewise.
16104 * manual/install.texi: Include pkgvers.texi.
16105 (--with-pkgversion): Document new configure option.
16106 (--with-bugurl): Likewise.
16107 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16108 than necessarily for this particular distribution. Use
16109 REPORT_BUGS_TO for where to report bugs.
16110 * INSTALL: Regenerated.
16111 * manual/libc.texinfo: Include pkgvers.texi.
16112 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16113 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16114 (print_version): Use PKGVERSION.
16115 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16116 (print_version): Use PKGVERSION.
16117 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16118 (print_version): Use PKGVERSION.
16119 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16120 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16122 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16123 (print_version): Use PKGVERSION.
16124 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16125 (print_version): Use PKGVERSION.
16126 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16129 * timezone/checktab.awk: Update from tzcode 2012i.
16130 * timezone/ialloc.c: Likewise.
16131 * timezone/private.h: Likewise.
16132 * timezone/scheck.c: Likewise.
16133 * timezone/tzfile.h: Likewise.
16134 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16135 (TZVERSION): Hardcode tzcode version number.
16136 * timezone/zdump.c: Update from tzcode 2012i.
16137 * timezone/zic.c: Likewise.
16138 * timezone/version.h: New file.
16139 * timezone/README: Describe version.h. Update upstream location.
16142 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16143 (mktemp): Enable declaration.
16144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16161 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16162 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16163 for copies of such integer values.
16164 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16165 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16167 2012-11-09 Andreas Jaeger <aj@suse.de>
16169 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16170 definitions and declarations that are provided by
16171 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16173 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16175 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16176 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16177 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16180 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16182 * elf/elf.h: Update comment before AArch64 relocations.
16184 2012-11-07 David S. Miller <davem@davemloft.net>
16186 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16187 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16188 (__start_context): Declare.
16189 (__makecontext_ret): Delete.
16190 (__makecontext): Hook up __start_context instead of
16192 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16193 (sysdep_routines): Add __start_context when in stdlib.
16195 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16197 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16198 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16199 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16201 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16202 (READELF): New variable. Use it instead of hardcoded "readelf".
16204 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16206 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16207 * sysdeps/x86/Makefile: Here.
16208 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16209 * sysdeps/x86/tst-xmmymm.sh: This.
16211 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16213 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16215 [UNIX98] (pthread_barrier_t): Do not expect.
16216 [UNIX98] (pthread_barrierattr_t): Likewise.
16217 [UNIX98] (pthread_spinlock_t): Likewise.
16218 [UNIX98] (pthread_barrier_destroy): Likewise.
16219 [UNIX98] (pthread_barrier_init): Likewise.
16220 [UNIX98] (pthread_barrier_wait): Likewise.
16221 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16222 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16223 [UNIX98] (pthread_barrierattr_init): Likewise.
16224 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16225 [UNIX98] (pthread_getcpuclockid): Likewise.
16226 [UNIX98] (pthread_mutex_timedlock): Likewise.
16227 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16228 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16229 [UNIX98] (pthread_sigmask): Likewise.
16230 [UNIX98] (pthread_spin_destroy): Likewise.
16231 [UNIX98] (pthread_spin_init): Likewise.
16232 [UNIX98] (pthread_spin_lock): Likewise.
16233 [UNIX98] (pthread_spin_trylock): Likewise.
16234 [UNIX98] (pthread_spin_unlock): Likewise.
16235 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16237 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16238 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16239 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16240 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16241 [XPG3 || XPG4] (pthread_key_t): Likewise.
16242 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16243 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16244 [XPG3 || XPG4] (pthread_once_t): Likewise.
16245 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16246 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16247 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16248 [XPG3 || XPG4] (pthread_t): Likewise.
16250 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16252 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16254 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16255 Change function return type to int.
16257 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16258 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16259 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16260 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16261 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16262 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16263 [!POSIX] (posix_madvise): Likewise.
16264 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16266 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16267 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16268 (mode_t): Likewise.
16269 (posix_mem_offset): Likewise.
16270 (posix_typed_mem_get_info): Likewise.
16271 (posix_typed_mem_open): Likewise.
16273 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16274 Change condition to [XOPEN2K8].
16276 * conform/conformtest.pl: Preprocess allow-header data with -x c
16277 instead of from stdin.
16278 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16279 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16280 [C99-based standards] (cerfc): Likewise.
16281 [C99-based standards] (cexp2): Likewise.
16282 [C99-based standards] (cexpm1): Likewise.
16283 [C99-based standards] (clog10): Likewise.
16284 [C99-based standards] (clog1p): Likewise.
16285 [C99-based standards] (clog2): Likewise.
16286 [C99-based standards] (clgamma): Likewise.
16287 [C99-based standards] (ctgamma): Likewise.
16288 [C99-based standards] (cerff): Likewise.
16289 [C99-based standards] (cerfcf): Likewise.
16290 [C99-based standards] (cexp2f): Likewise.
16291 [C99-based standards] (cexpm1f): Likewise.
16292 [C99-based standards] (clog10f): Likewise.
16293 [C99-based standards] (clog1pf): Likewise.
16294 [C99-based standards] (clog2f): Likewise.
16295 [C99-based standards] (clgammaf): Likewise.
16296 [C99-based standards] (ctgammaf): Likewise.
16297 [C99-based standards] (cerfl): Likewise.
16298 [C99-based standards] (cerfcl): Likewise.
16299 [C99-based standards] (cexp2l): Likewise.
16300 [C99-based standards] (cexpm1l): Likewise.
16301 [C99-based standards] (clog10l): Likewise.
16302 [C99-based standards] (clog1pl): Likewise.
16303 [C99-based standards] (clog2l): Likewise.
16304 [C99-based standards] (clgammal): Likewise.
16305 [C99-based standards] (ctgammal): Likewise.
16306 * conform/data/inttypes.h-data [C99-based standards]: Include
16307 stdint.h-data. Remove all expectations for stdint.h contents.
16308 [C99-based standards] (PRI*): Do not allow.
16309 [C99-based standards] (SCN*): Likewise.
16310 [C99-based standards] (*_t): Likewise.
16311 [C99-based-standards] (PRId8): Expect macro.
16312 [C99-based-standards] (PRIi8): Likewise.
16313 [C99-based-standards] (PRIo8): Likewise.
16314 [C99-based-standards] (PRIu8): Likewise.
16315 [C99-based-standards] (PRIx8): Likewise.
16316 [C99-based-standards] (PRIX8): Likewise.
16317 [C99-based-standards] (SCNd8): Likewise.
16318 [C99-based-standards] (SCNi8): Likewise.
16319 [C99-based-standards] (SCNo8): Likewise.
16320 [C99-based-standards] (SCNu8): Likewise.
16321 [C99-based-standards] (SCNx8): Likewise.
16322 [C99-based-standards] (PRIdLEAST8): Likewise.
16323 [C99-based-standards] (PRIiLEAST8): Likewise.
16324 [C99-based-standards] (PRIoLEAST8): Likewise.
16325 [C99-based-standards] (PRIuLEAST8): Likewise.
16326 [C99-based-standards] (PRIxLEAST8): Likewise.
16327 [C99-based-standards] (PRIXLEAST8): Likewise.
16328 [C99-based-standards] (SCNdLEAST8): Likewise.
16329 [C99-based-standards] (SCNiLEAST8): Likewise.
16330 [C99-based-standards] (SCNoLEAST8): Likewise.
16331 [C99-based-standards] (SCNuLEAST8): Likewise.
16332 [C99-based-standards] (SCNxLEAST8): Likewise.
16333 [C99-based-standards] (PRIdFAST8): Likewise.
16334 [C99-based-standards] (PRIiFAST8): Likewise.
16335 [C99-based-standards] (PRIoFAST8): Likewise.
16336 [C99-based-standards] (PRIuFAST8): Likewise.
16337 [C99-based-standards] (PRIxFAST8): Likewise.
16338 [C99-based-standards] (PRIXFAST8): Likewise.
16339 [C99-based-standards] (SCNdFAST8): Likewise.
16340 [C99-based-standards] (SCNiFAST8): Likewise.
16341 [C99-based-standards] (SCNoFAST8): Likewise.
16342 [C99-based-standards] (SCNuFAST8): Likewise.
16343 [C99-based-standards] (SCNxFAST8): Likewise.
16344 [C99-based-standards] (PRId16): Likewise.
16345 [C99-based-standards] (PRIi16): Likewise.
16346 [C99-based-standards] (PRIo16): Likewise.
16347 [C99-based-standards] (PRIu16): Likewise.
16348 [C99-based-standards] (PRIx16): Likewise.
16349 [C99-based-standards] (PRIX16): Likewise.
16350 [C99-based-standards] (SCNd16): Likewise.
16351 [C99-based-standards] (SCNi16): Likewise.
16352 [C99-based-standards] (SCNo16): Likewise.
16353 [C99-based-standards] (SCNu16): Likewise.
16354 [C99-based-standards] (SCNx16): Likewise.
16355 [C99-based-standards] (PRIdLEAST16): Likewise.
16356 [C99-based-standards] (PRIiLEAST16): Likewise.
16357 [C99-based-standards] (PRIoLEAST16): Likewise.
16358 [C99-based-standards] (PRIuLEAST16): Likewise.
16359 [C99-based-standards] (PRIxLEAST16): Likewise.
16360 [C99-based-standards] (PRIXLEAST16): Likewise.
16361 [C99-based-standards] (SCNdLEAST16): Likewise.
16362 [C99-based-standards] (SCNiLEAST16): Likewise.
16363 [C99-based-standards] (SCNoLEAST16): Likewise.
16364 [C99-based-standards] (SCNuLEAST16): Likewise.
16365 [C99-based-standards] (SCNxLEAST16): Likewise.
16366 [C99-based-standards] (PRIdFAST16): Likewise.
16367 [C99-based-standards] (PRIiFAST16): Likewise.
16368 [C99-based-standards] (PRIoFAST16): Likewise.
16369 [C99-based-standards] (PRIuFAST16): Likewise.
16370 [C99-based-standards] (PRIxFAST16): Likewise.
16371 [C99-based-standards] (PRIXFAST16): Likewise.
16372 [C99-based-standards] (SCNdFAST16): Likewise.
16373 [C99-based-standards] (SCNiFAST16): Likewise.
16374 [C99-based-standards] (SCNoFAST16): Likewise.
16375 [C99-based-standards] (SCNuFAST16): Likewise.
16376 [C99-based-standards] (SCNxFAST16): Likewise.
16377 [C99-based-standards] (PRId32): Likewise.
16378 [C99-based-standards] (PRIi32): Likewise.
16379 [C99-based-standards] (PRIo32): Likewise.
16380 [C99-based-standards] (PRIu32): Likewise.
16381 [C99-based-standards] (PRIx32): Likewise.
16382 [C99-based-standards] (PRIX32): Likewise.
16383 [C99-based-standards] (SCNd32): Likewise.
16384 [C99-based-standards] (SCNi32): Likewise.
16385 [C99-based-standards] (SCNo32): Likewise.
16386 [C99-based-standards] (SCNu32): Likewise.
16387 [C99-based-standards] (SCNx32): Likewise.
16388 [C99-based-standards] (PRIdLEAST32): Likewise.
16389 [C99-based-standards] (PRIiLEAST32): Likewise.
16390 [C99-based-standards] (PRIoLEAST32): Likewise.
16391 [C99-based-standards] (PRIuLEAST32): Likewise.
16392 [C99-based-standards] (PRIxLEAST32): Likewise.
16393 [C99-based-standards] (PRIXLEAST32): Likewise.
16394 [C99-based-standards] (SCNdLEAST32): Likewise.
16395 [C99-based-standards] (SCNiLEAST32): Likewise.
16396 [C99-based-standards] (SCNoLEAST32): Likewise.
16397 [C99-based-standards] (SCNuLEAST32): Likewise.
16398 [C99-based-standards] (SCNxLEAST32): Likewise.
16399 [C99-based-standards] (PRIdFAST32): Likewise.
16400 [C99-based-standards] (PRIiFAST32): Likewise.
16401 [C99-based-standards] (PRIoFAST32): Likewise.
16402 [C99-based-standards] (PRIuFAST32): Likewise.
16403 [C99-based-standards] (PRIxFAST32): Likewise.
16404 [C99-based-standards] (PRIXFAST32): Likewise.
16405 [C99-based-standards] (SCNdFAST32): Likewise.
16406 [C99-based-standards] (SCNiFAST32): Likewise.
16407 [C99-based-standards] (SCNoFAST32): Likewise.
16408 [C99-based-standards] (SCNuFAST32): Likewise.
16409 [C99-based-standards] (SCNxFAST32): Likewise.
16410 [C99-based-standards] (PRId64): Likewise.
16411 [C99-based-standards] (PRIi64): Likewise.
16412 [C99-based-standards] (PRIo64): Likewise.
16413 [C99-based-standards] (PRIu64): Likewise.
16414 [C99-based-standards] (PRIx64): Likewise.
16415 [C99-based-standards] (PRIX64): Likewise.
16416 [C99-based-standards] (SCNd64): Likewise.
16417 [C99-based-standards] (SCNi64): Likewise.
16418 [C99-based-standards] (SCNo64): Likewise.
16419 [C99-based-standards] (SCNu64): Likewise.
16420 [C99-based-standards] (SCNx64): Likewise.
16421 [C99-based-standards] (PRIdLEAST64): Likewise.
16422 [C99-based-standards] (PRIiLEAST64): Likewise.
16423 [C99-based-standards] (PRIoLEAST64): Likewise.
16424 [C99-based-standards] (PRIuLEAST64): Likewise.
16425 [C99-based-standards] (PRIxLEAST64): Likewise.
16426 [C99-based-standards] (PRIXLEAST64): Likewise.
16427 [C99-based-standards] (SCNdLEAST64): Likewise.
16428 [C99-based-standards] (SCNiLEAST64): Likewise.
16429 [C99-based-standards] (SCNoLEAST64): Likewise.
16430 [C99-based-standards] (SCNuLEAST64): Likewise.
16431 [C99-based-standards] (SCNxLEAST64): Likewise.
16432 [C99-based-standards] (PRIdFAST64): Likewise.
16433 [C99-based-standards] (PRIiFAST64): Likewise.
16434 [C99-based-standards] (PRIoFAST64): Likewise.
16435 [C99-based-standards] (PRIuFAST64): Likewise.
16436 [C99-based-standards] (PRIxFAST64): Likewise.
16437 [C99-based-standards] (PRIXFAST64): Likewise.
16438 [C99-based-standards] (SCNdFAST64): Likewise.
16439 [C99-based-standards] (SCNiFAST64): Likewise.
16440 [C99-based-standards] (SCNoFAST64): Likewise.
16441 [C99-based-standards] (SCNuFAST64): Likewise.
16442 [C99-based-standards] (SCNxFAST64): Likewise.
16443 [C99-based-standards] (PRIdMAX): Likewise.
16444 [C99-based-standards] (PRIiMAX): Likewise.
16445 [C99-based-standards] (PRIoMAX): Likewise.
16446 [C99-based-standards] (PRIuMAX): Likewise.
16447 [C99-based-standards] (PRIxMAX): Likewise.
16448 [C99-based-standards] (PRIXMAX): Likewise.
16449 [C99-based-standards] (SCNdMAX): Likewise.
16450 [C99-based-standards] (SCNiMAX): Likewise.
16451 [C99-based-standards] (SCNoMAX): Likewise.
16452 [C99-based-standards] (SCNuMAX): Likewise.
16453 [C99-based-standards] (SCNxMAX): Likewise.
16454 [C99-based-standards] (PRIdPTR): Likewise.
16455 [C99-based-standards] (PRIiPTR): Likewise.
16456 [C99-based-standards] (PRIoPTR): Likewise.
16457 [C99-based-standards] (PRIuPTR): Likewise.
16458 [C99-based-standards] (PRIxPTR): Likewise.
16459 [C99-based-standards] (PRIXPTR): Likewise.
16460 [C99-based-standards] (SCNdPTR): Likewise.
16461 [C99-based-standards] (SCNiPTR): Likewise.
16462 [C99-based-standards] (SCNoPTR): Likewise.
16463 [C99-based-standards] (SCNuPTR): Likewise.
16464 [C99-based-standards] (SCNxPTR): Likewise.
16465 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16467 * conform/data/stdint.h-data: Update comments to clarify
16469 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16471 [C99-based standards] (INT8_MAX): Likewise.
16472 [C99-based standards] (INT16_MIN): Likewise.
16473 [C99-based standards] (INT16_MAX): Likewise.
16474 [C99-based standards] (INT32_MIN): Likewise.
16475 [C99-based standards] (INT32_MAX): Likewise.
16476 [C99-based standards] (INT64_MIN): Likewise.
16477 [C99-based standards] (INT64_MAX): Likewise.
16478 [C99-based standards] (UINT8_MAX): Likewise.
16479 [C99-based standards] (UINT16_MAX): Likewise.
16480 [C99-based standards] (UINT32_MAX): Likewise.
16481 [C99-based standards] (UINT64_MAX): Likewise.
16482 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16483 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16484 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16485 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16486 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16487 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16488 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16489 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16490 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16491 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16492 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16493 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16494 [C99-based standards] (INT_FAST8_MIN): Likewise.
16495 [C99-based standards] (INT_FAST8_MAX): Likewise.
16496 [C99-based standards] (INT_FAST16_MIN): Likewise.
16497 [C99-based standards] (INT_FAST16_MAX): Likewise.
16498 [C99-based standards] (INT_FAST32_MIN): Likewise.
16499 [C99-based standards] (INT_FAST32_MAX): Likewise.
16500 [C99-based standards] (INT_FAST64_MIN): Likewise.
16501 [C99-based standards] (INT_FAST64_MAX): Likewise.
16502 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16503 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16504 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16505 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16506 [C99-based standards] (INTPTR_MIN): Likewise.
16507 [C99-based standards] (INTPTR_MAX): Likewise.
16508 [C99-based standards] (UINTPTR_MAX): Likewise.
16509 [C99-based standards] (INTMAX_MIN): Likewise.
16510 [C99-based standards] (INTMAX_MAX): Likewise.
16511 [C99-based standards] (UINTMAX_MAX): Likewise.
16512 [C99-based standards] (PTRDIFF_MIN): Likewise.
16513 [C99-based standards] (PTRDIFF_MAX): Likewise.
16514 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16515 [C99-based standards] (SIZE_MAX): Likewise.
16516 [C99-based standards] (WCHAR_MAX): Likewise.
16517 [C99-based standards] (WINT_MAX): Likewise.
16518 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16519 constraint on value.
16520 [C99-based standards] (WCHAR_MIN): Likewise.
16521 [C99-based standards] (WINT_MIN): Likewise.
16522 [C99-based standards] (*_t): Allow.
16523 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16524 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16525 Include math.h-data and complex.h-data. Remove all expectations
16526 of math.h and complex.h contents.
16527 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16529 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16530 (struct tm): Expect tag.
16531 [C99-based-standards] (wcstof): Expect function.
16532 [C99-based-standards] (wcstold): Likewise.
16533 [C99-based-standards] (wcstoll): Likewise.
16534 [C99-based-standards] (wcstoull): Likewise.
16535 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16536 macro-int-constant. Specify type.
16537 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16538 constraint on value.
16539 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16541 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16543 [ISO C standards]: Do not allow headers.
16544 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16545 wcs[abcdefghijklmnopqrstuvwxyz]*.
16546 [ISO C standards] (*_t): Do not allow.
16547 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16549 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16550 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16552 [ISO C standards]: Do not allow headers.
16553 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16554 is[abcdefghijklmnopqrstuvwxyz]*.
16555 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16556 to[abcdefghijklmnopqrstuvwxyz]*.
16557 [ISO C standards] (*_t): Do not allow.
16558 * conform/data/stdalign.h-data: New file.
16559 * conform/data/stdbool.h-data: Likewise.
16560 * conform/data/stdnoreturn.h-data: Likewise.
16562 2012-11-07 Roland McGrath <roland@hack.frob.com>
16565 * manual/filesys.texi (Directory Entries): Typo fix.
16566 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16568 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16570 * elf/elf.h (EM_AARCH64): New macro.
16571 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16572 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16573 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16574 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16575 (R_AARCH64_TLSDESC): Likewise.
16576 (NT_ARM_TLS): Likewise.
16577 (NT_ARM_HW_BREAK): Likewise.
16578 (NT_ARM_HW_WATCH): Likewise.
16580 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16583 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16584 (__ieee754_powl): Saturate nonzero exponents with absolute value
16585 below 0x1p-79 to +/- 0x1p-79.
16586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16587 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16588 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16589 nonzero exponents with absolute value below 0x1p-32 to +/-
16591 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16592 (__ieee754_powl): Saturate nonzero exponents with absolute value
16593 below 0x1p-79 to +/- 0x1p-79.
16594 * math/libm-test.inc (pow_test): Add more tests.
16596 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16598 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16599 _dl_s390_cap_flags with kernel. Increase string length.
16600 (_dl_s390_platforms): Add z196 and zEC12.
16602 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16604 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16605 Change XOPEN21K to XOPEN2K.
16607 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16609 * string/memmove.c: Use memcpy when possible.
16611 2012-11-06 Andreas Jaeger <aj@suse.de>
16613 * po/eo.po: Update from translation team.
16615 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16619 exponent and small x and y exponents, scale x or y up. Increase
16620 by 2 the exponent used in scaling up.
16621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16623 * math/libm-test.inc (fma_test): Add more tests.
16624 (fma_test_towardzero): Likewise.
16625 (fma_test_downward): Likewise.
16626 (fma_test_upward): Likewise.
16628 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16631 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16635 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16636 namespace for names of struct fields.
16637 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16639 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16640 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16642 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16645 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16647 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16649 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16653 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16656 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16660 definitely overflow as x * y not x * y + z.
16661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16663 * math/libm-test.inc (fma_test): Add more tests.
16664 (fma_test_towardzero): Likewise.
16665 (fma_test_downward): Likewise.
16666 (fma_test_upward): Likewise.
16668 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16672 * include/stub-tag.h: Remove file.
16673 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16675 * manual/maint.texi (Porting): Don't reference it.
16676 * Makerules ($(objpfx)stubs): Likewise.
16677 * dirent/closedir.c: Don't include <stub-tag.h>.
16678 * dirent/dirfd.c: Likewise.
16679 * dirent/fdopendir.c: Likewise.
16680 * dirent/getdents.c: Likewise.
16681 * dirent/getdents64.c: Likewise.
16682 * dirent/opendir.c: Likewise.
16683 * dirent/readdir.c: Likewise.
16684 * dirent/readdir64.c: Likewise.
16685 * dirent/readdir64_r.c: Likewise.
16686 * dirent/readdir_r.c: Likewise.
16687 * dirent/rewinddir.c: Likewise.
16688 * dirent/seekdir.c: Likewise.
16689 * dirent/telldir.c: Likewise.
16690 * gmon/profil.c: Likewise.
16691 * grp/setgroups.c: Likewise.
16692 * inet/if_index.c: Likewise.
16693 * io/access.c: Likewise.
16694 * io/chdir.c: Likewise.
16695 * io/chmod.c: Likewise.
16696 * io/chown.c: Likewise.
16697 * io/close.c: Likewise.
16698 * io/dup.c: Likewise.
16699 * io/dup2.c: Likewise.
16700 * io/dup3.c: Likewise.
16701 * io/euidaccess.c: Likewise.
16702 * io/faccessat.c: Likewise.
16703 * io/fchdir.c: Likewise.
16704 * io/fchmod.c: Likewise.
16705 * io/fchmodat.c: Likewise.
16706 * io/fchown.c: Likewise.
16707 * io/fchownat.c: Likewise.
16708 * io/fcntl.c: Likewise.
16709 * io/flock.c: Likewise.
16710 * io/fstatfs.c: Likewise.
16711 * io/fstatfs64.c: Likewise.
16712 * io/fstatvfs.c: Likewise.
16713 * io/fstatvfs64.c: Likewise.
16714 * io/futimens.c: Likewise.
16715 * io/fxstat.c: Likewise.
16716 * io/fxstat64.c: Likewise.
16717 * io/fxstatat.c: Likewise.
16718 * io/fxstatat64.c: Likewise.
16719 * io/getcwd.c: Likewise.
16720 * io/isatty.c: Likewise.
16721 * io/lchmod.c: Likewise.
16722 * io/lchown.c: Likewise.
16723 * io/link.c: Likewise.
16724 * io/linkat.c: Likewise.
16725 * io/lseek.c: Likewise.
16726 * io/lseek64.c: Likewise.
16727 * io/lxstat64.c: Likewise.
16728 * io/mkdir.c: Likewise.
16729 * io/mkdirat.c: Likewise.
16730 * io/mkfifo.c: Likewise.
16731 * io/mkfifoat.c: Likewise.
16732 * io/open.c: Likewise.
16733 * io/open64.c: Likewise.
16734 * io/openat.c: Likewise.
16735 * io/openat64.c: Likewise.
16736 * io/pipe.c: Likewise.
16737 * io/pipe2.c: Likewise.
16738 * io/poll.c: Likewise.
16739 * io/posix_fadvise.c: Likewise.
16740 * io/posix_fadvise64.c: Likewise.
16741 * io/posix_fallocate.c: Likewise.
16742 * io/posix_fallocate64.c: Likewise.
16743 * io/read.c: Likewise.
16744 * io/readlink.c: Likewise.
16745 * io/readlinkat.c: Likewise.
16746 * io/rmdir.c: Likewise.
16747 * io/sendfile.c: Likewise.
16748 * io/sendfile64.c: Likewise.
16749 * io/statfs.c: Likewise.
16750 * io/statfs64.c: Likewise.
16751 * io/statvfs.c: Likewise.
16752 * io/statvfs64.c: Likewise.
16753 * io/symlink.c: Likewise.
16754 * io/symlinkat.c: Likewise.
16755 * io/ttyname.c: Likewise.
16756 * io/ttyname_r.c: Likewise.
16757 * io/umask.c: Likewise.
16758 * io/unlink.c: Likewise.
16759 * io/unlinkat.c: Likewise.
16760 * io/utime.c: Likewise.
16761 * io/utimensat.c: Likewise.
16762 * io/write.c: Likewise.
16763 * io/xmknod.c: Likewise.
16764 * io/xmknodat.c: Likewise.
16765 * io/xstat.c: Likewise.
16766 * io/xstat64.c: Likewise.
16767 * login/getpt.c: Likewise.
16768 * login/grantpt.c: Likewise.
16769 * login/unlockpt.c: Likewise.
16770 * math/e_acoshl.c: Likewise.
16771 * math/e_acosl.c: Likewise.
16772 * math/e_asinl.c: Likewise.
16773 * math/e_atan2l.c: Likewise.
16774 * math/e_atanhl.c: Likewise.
16775 * math/e_coshl.c: Likewise.
16776 * math/e_expl.c: Likewise.
16777 * math/e_fmodl.c: Likewise.
16778 * math/e_gammal_r.c: Likewise.
16779 * math/e_hypotl.c: Likewise.
16780 * math/e_j0l.c: Likewise.
16781 * math/e_j1l.c: Likewise.
16782 * math/e_jnl.c: Likewise.
16783 * math/e_lgammal_r.c: Likewise.
16784 * math/e_log10l.c: Likewise.
16785 * math/e_log2l.c: Likewise.
16786 * math/e_logl.c: Likewise.
16787 * math/e_powl.c: Likewise.
16788 * math/e_rem_pio2l.c: Likewise.
16789 * math/e_sinhl.c: Likewise.
16790 * math/e_sqrtl.c: Likewise.
16791 * math/fclrexcpt.c: Likewise.
16792 * math/fedisblxcpt.c: Likewise.
16793 * math/feenablxcpt.c: Likewise.
16794 * math/fegetenv.c: Likewise.
16795 * math/fegetexcept.c: Likewise.
16796 * math/fegetround.c: Likewise.
16797 * math/feholdexcpt.c: Likewise.
16798 * math/fesetenv.c: Likewise.
16799 * math/fesetround.c: Likewise.
16800 * math/feupdateenv.c: Likewise.
16801 * math/fgetexcptflg.c: Likewise.
16802 * math/fraiseexcpt.c: Likewise.
16803 * math/fsetexcptflg.c: Likewise.
16804 * math/ftestexcept.c: Likewise.
16805 * math/k_cosl.c: Likewise.
16806 * math/k_rem_pio2l.c: Likewise.
16807 * math/k_sinl.c: Likewise.
16808 * math/k_tanl.c: Likewise.
16809 * math/s_asinhl.c: Likewise.
16810 * math/s_atanl.c: Likewise.
16811 * math/s_cbrtl.c: Likewise.
16812 * math/s_erfl.c: Likewise.
16813 * math/s_expm1l.c: Likewise.
16814 * math/s_log1pl.c: Likewise.
16815 * math/s_tanhl.c: Likewise.
16816 * misc/acct.c: Likewise.
16817 * misc/brk.c: Likewise.
16818 * misc/chflags.c: Likewise.
16819 * misc/chroot.c: Likewise.
16820 * misc/fchflags.c: Likewise.
16821 * misc/fgetxattr.c: Likewise.
16822 * misc/flistxattr.c: Likewise.
16823 * misc/fremovexattr.c: Likewise.
16824 * misc/fsetxattr.c: Likewise.
16825 * misc/fsync.c: Likewise.
16826 * misc/ftruncate.c: Likewise.
16827 * misc/futimes.c: Likewise.
16828 * misc/futimesat.c: Likewise.
16829 * misc/getdomain.c: Likewise.
16830 * misc/getdtsz.c: Likewise.
16831 * misc/gethostid.c: Likewise.
16832 * misc/gethostname.c: Likewise.
16833 * misc/getloadavg.c: Likewise.
16834 * misc/getpagesize.c: Likewise.
16835 * misc/getsysstats.c: Likewise.
16836 * misc/getxattr.c: Likewise.
16837 * misc/gtty.c: Likewise.
16838 * misc/ioctl.c: Likewise.
16839 * misc/lgetxattr.c: Likewise.
16840 * misc/listxattr.c: Likewise.
16841 * misc/llistxattr.c: Likewise.
16842 * misc/lremovexattr.c: Likewise.
16843 * misc/lsetxattr.c: Likewise.
16844 * misc/lutimes.c: Likewise.
16845 * misc/madvise.c: Likewise.
16846 * misc/mincore.c: Likewise.
16847 * misc/mlock.c: Likewise.
16848 * misc/mlockall.c: Likewise.
16849 * misc/mmap.c: Likewise.
16850 * misc/mprotect.c: Likewise.
16851 * misc/msync.c: Likewise.
16852 * misc/munlock.c: Likewise.
16853 * misc/munlockall.c: Likewise.
16854 * misc/munmap.c: Likewise.
16855 * misc/preadv.c: Likewise.
16856 * misc/preadv64.c: Likewise.
16857 * misc/ptrace.c: Likewise.
16858 * misc/pwritev.c: Likewise.
16859 * misc/pwritev64.c: Likewise.
16860 * misc/readv.c: Likewise.
16861 * misc/reboot.c: Likewise.
16862 * misc/remap_file_pages.c: Likewise.
16863 * misc/removexattr.c: Likewise.
16864 * misc/revoke.c: Likewise.
16865 * misc/select.c: Likewise.
16866 * misc/setdomain.c: Likewise.
16867 * misc/setegid.c: Likewise.
16868 * misc/seteuid.c: Likewise.
16869 * misc/sethostid.c: Likewise.
16870 * misc/sethostname.c: Likewise.
16871 * misc/setregid.c: Likewise.
16872 * misc/setreuid.c: Likewise.
16873 * misc/setxattr.c: Likewise.
16874 * misc/sstk.c: Likewise.
16875 * misc/stty.c: Likewise.
16876 * misc/swapoff.c: Likewise.
16877 * misc/swapon.c: Likewise.
16878 * misc/sync.c: Likewise.
16879 * misc/syncfs.c: Likewise.
16880 * misc/syscall.c: Likewise.
16881 * misc/truncate.c: Likewise.
16882 * misc/ualarm.c: Likewise.
16883 * misc/usleep.c: Likewise.
16884 * misc/ustat.c: Likewise.
16885 * misc/utimes.c: Likewise.
16886 * misc/vhangup.c: Likewise.
16887 * misc/writev.c: Likewise.
16888 * posix/_exit.c: Likewise.
16889 * posix/alarm.c: Likewise.
16890 * posix/execve.c: Likewise.
16891 * posix/fexecve.c: Likewise.
16892 * posix/fork.c: Likewise.
16893 * posix/fpathconf.c: Likewise.
16894 * posix/getaddrinfo.c: Likewise.
16895 * posix/getegid.c: Likewise.
16896 * posix/geteuid.c: Likewise.
16897 * posix/getgid.c: Likewise.
16898 * posix/getgroups.c: Likewise.
16899 * posix/getlogin.c: Likewise.
16900 * posix/getlogin_r.c: Likewise.
16901 * posix/getpgid.c: Likewise.
16902 * posix/getpid.c: Likewise.
16903 * posix/getppid.c: Likewise.
16904 * posix/getresgid.c: Likewise.
16905 * posix/getresuid.c: Likewise.
16906 * posix/getsid.c: Likewise.
16907 * posix/getuid.c: Likewise.
16908 * posix/glob64.c: Likewise.
16909 * posix/nanosleep.c: Likewise.
16910 * posix/pathconf.c: Likewise.
16911 * posix/pause.c: Likewise.
16912 * posix/posix_madvise.c: Likewise.
16913 * posix/pread.c: Likewise.
16914 * posix/pread64.c: Likewise.
16915 * posix/pwrite.c: Likewise.
16916 * posix/pwrite64.c: Likewise.
16917 * posix/sched_getaffinity.c: Likewise.
16918 * posix/sched_getp.c: Likewise.
16919 * posix/sched_gets.c: Likewise.
16920 * posix/sched_primax.c: Likewise.
16921 * posix/sched_primin.c: Likewise.
16922 * posix/sched_rr_gi.c: Likewise.
16923 * posix/sched_setaffinity.c: Likewise.
16924 * posix/sched_setp.c: Likewise.
16925 * posix/sched_sets.c: Likewise.
16926 * posix/sched_yield.c: Likewise.
16927 * posix/setgid.c: Likewise.
16928 * posix/setlogin.c: Likewise.
16929 * posix/setpgid.c: Likewise.
16930 * posix/setresgid.c: Likewise.
16931 * posix/setresuid.c: Likewise.
16932 * posix/setsid.c: Likewise.
16933 * posix/setuid.c: Likewise.
16934 * posix/sleep.c: Likewise.
16935 * posix/spawni.c: Likewise.
16936 * posix/sysconf.c: Likewise.
16937 * posix/times.c: Likewise.
16938 * posix/wait.c: Likewise.
16939 * posix/wait3.c: Likewise.
16940 * posix/wait4.c: Likewise.
16941 * posix/waitpid.c: Likewise.
16942 * resolv/gai_sigqueue.c: Likewise.
16943 * resource/getpriority.c: Likewise.
16944 * resource/getrlimit.c: Likewise.
16945 * resource/getrusage.c: Likewise.
16946 * resource/nice.c: Likewise.
16947 * resource/setpriority.c: Likewise.
16948 * resource/setrlimit.c: Likewise.
16949 * resource/ulimit.c: Likewise.
16950 * rt/aio_cancel.c: Likewise.
16951 * rt/aio_fsync.c: Likewise.
16952 * rt/aio_read.c: Likewise.
16953 * rt/aio_sigqueue.c: Likewise.
16954 * rt/aio_suspend.c: Likewise.
16955 * rt/aio_write.c: Likewise.
16956 * rt/clock_getres.c: Likewise.
16957 * rt/clock_gettime.c: Likewise.
16958 * rt/clock_nanosleep.c: Likewise.
16959 * rt/clock_settime.c: Likewise.
16960 * rt/lio_listio.c: Likewise.
16961 * rt/mq_close.c: Likewise.
16962 * rt/mq_getattr.c: Likewise.
16963 * rt/mq_notify.c: Likewise.
16964 * rt/mq_open.c: Likewise.
16965 * rt/mq_receive.c: Likewise.
16966 * rt/mq_send.c: Likewise.
16967 * rt/mq_setattr.c: Likewise.
16968 * rt/mq_timedreceive.c: Likewise.
16969 * rt/mq_timedsend.c: Likewise.
16970 * rt/mq_unlink.c: Likewise.
16971 * rt/shm_open.c: Likewise.
16972 * rt/shm_unlink.c: Likewise.
16973 * rt/timer_create.c: Likewise.
16974 * rt/timer_delete.c: Likewise.
16975 * rt/timer_getoverr.c: Likewise.
16976 * rt/timer_gettime.c: Likewise.
16977 * rt/timer_settime.c: Likewise.
16978 * setjmp/__longjmp.c: Likewise.
16979 * setjmp/setjmp.c: Likewise.
16980 * signal/kill.c: Likewise.
16981 * signal/killpg.c: Likewise.
16982 * signal/raise.c: Likewise.
16983 * signal/sigaction.c: Likewise.
16984 * signal/sigaltstack.c: Likewise.
16985 * signal/sigblock.c: Likewise.
16986 * signal/sigignore.c: Likewise.
16987 * signal/sigintr.c: Likewise.
16988 * signal/signal.c: Likewise.
16989 * signal/sigpause.c: Likewise.
16990 * signal/sigpending.c: Likewise.
16991 * signal/sigqueue.c: Likewise.
16992 * signal/sigreturn.c: Likewise.
16993 * signal/sigset.c: Likewise.
16994 * signal/sigsetmask.c: Likewise.
16995 * signal/sigstack.c: Likewise.
16996 * signal/sigsuspend.c: Likewise.
16997 * signal/sigtimedwait.c: Likewise.
16998 * signal/sigvec.c: Likewise.
16999 * signal/sigwait.c: Likewise.
17000 * signal/sigwaitinfo.c: Likewise.
17001 * signal/sysv_signal.c: Likewise.
17002 * socket/accept.c: Likewise.
17003 * socket/accept4.c: Likewise.
17004 * socket/bind.c: Likewise.
17005 * socket/connect.c: Likewise.
17006 * socket/getpeername.c: Likewise.
17007 * socket/getsockname.c: Likewise.
17008 * socket/getsockopt.c: Likewise.
17009 * socket/isfdtype.c: Likewise.
17010 * socket/listen.c: Likewise.
17011 * socket/recv.c: Likewise.
17012 * socket/recvfrom.c: Likewise.
17013 * socket/recvmsg.c: Likewise.
17014 * socket/send.c: Likewise.
17015 * socket/sendmsg.c: Likewise.
17016 * socket/sendto.c: Likewise.
17017 * socket/setsockopt.c: Likewise.
17018 * socket/shutdown.c: Likewise.
17019 * socket/sockatmark.c: Likewise.
17020 * socket/socket.c: Likewise.
17021 * socket/socketpair.c: Likewise.
17022 * stdio-common/ctermid.c: Likewise.
17023 * stdio-common/cuserid.c: Likewise.
17024 * stdio-common/remove.c: Likewise.
17025 * stdio-common/rename.c: Likewise.
17026 * stdio-common/renameat.c: Likewise.
17027 * stdio-common/tempname.c: Likewise.
17028 * stdlib/getcontext.c: Likewise.
17029 * stdlib/makecontext.c: Likewise.
17030 * stdlib/setcontext.c: Likewise.
17031 * stdlib/swapcontext.c: Likewise.
17032 * stdlib/system.c: Likewise.
17033 * streams/fattach.c: Likewise.
17034 * streams/fdetach.c: Likewise.
17035 * streams/getmsg.c: Likewise.
17036 * streams/getpmsg.c: Likewise.
17037 * streams/putmsg.c: Likewise.
17038 * streams/putpmsg.c: Likewise.
17039 * sysdeps/unix/bsd/getpt.c: Likewise.
17040 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17041 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17042 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17045 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17046 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17047 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17048 * sysvipc/msgctl.c: Likewise.
17049 * sysvipc/msgget.c: Likewise.
17050 * sysvipc/msgrcv.c: Likewise.
17051 * sysvipc/msgsnd.c: Likewise.
17052 * sysvipc/semctl.c: Likewise.
17053 * sysvipc/semget.c: Likewise.
17054 * sysvipc/semop.c: Likewise.
17055 * sysvipc/semtimedop.c: Likewise.
17056 * sysvipc/shmat.c: Likewise.
17057 * sysvipc/shmctl.c: Likewise.
17058 * sysvipc/shmdt.c: Likewise.
17059 * sysvipc/shmget.c: Likewise.
17060 * termios/tcdrain.c: Likewise.
17061 * termios/tcflow.c: Likewise.
17062 * termios/tcflush.c: Likewise.
17063 * termios/tcgetattr.c: Likewise.
17064 * termios/tcgetpgrp.c: Likewise.
17065 * termios/tcsendbrk.c: Likewise.
17066 * termios/tcsetattr.c: Likewise.
17067 * termios/tcsetpgrp.c: Likewise.
17068 * time/adjtime.c: Likewise.
17069 * time/clock.c: Likewise.
17070 * time/getitimer.c: Likewise.
17071 * time/gettimeofday.c: Likewise.
17072 * time/setitimer.c: Likewise.
17073 * time/settimeofday.c: Likewise.
17074 * time/stime.c: Likewise.
17075 * time/time.c: Likewise.
17077 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17079 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17082 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17084 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17086 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17090 FE_TONEAREST before applying Dekker multiplication and Knuth
17091 addition. Clear inexact exceptions and check for exact zero
17092 results afterwards.
17093 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17094 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17095 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17096 * math/libm-test.inc (fma_test): Add more tests.
17097 (fma_test_towardzero): Likewise.
17098 (fma_test_downward): Likewise.
17099 (fma_test_upward): Likewise.
17100 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17102 (libc_fesetround): New macro.
17103 (libc_fesetroundf): Likewise.
17104 (libc_fesetroundl): Likewise.
17105 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17107 (libc_fesetround_387): Likewise.
17108 (libc_fesetroundf): New macro.
17109 (libc_fesetround): Likewise.
17110 (libc_fesetroundl): Likewise.
17111 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17113 (libc_fesetroundf): New macro.
17114 (libc_fesetround): Likewise.
17115 (libc_fesetroundl): Likewise.
17116 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17117 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17118 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17120 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17121 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17123 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17124 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17126 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17130 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17131 integer constant usable in #if and use that to give value to enum
17133 (FE_DIVBYZERO): Likewise.
17134 (FE_UNDERFLOW): Likewise.
17135 (FE_OVERFLOW): Likewise.
17136 (FE_INVALID): Likewise.
17137 (FE_INVALID_SNAN): Likewise.
17138 (FE_INVALID_ISI): Likewise.
17139 (FE_INVALID_IDI): Likewise.
17140 (FE_INVALID_ZDZ): Likewise.
17141 (FE_INVALID_IMZ): Likewise.
17142 (FE_INVALID_COMPARE): Likewise.
17143 (FE_INVALID_SOFTWARE): Likewise.
17144 (FE_INVALID_SQRT): Likewise.
17145 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17146 (FE_TONEAREST): Likewise.
17147 (FE_TOWARDZERO): Likewise.
17148 (FE_UPWARD): Likewise.
17149 (FE_DOWNWARD): Likewise.
17150 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17151 (FE_DIVBYZERO): Likewise.
17152 (FE_OVERFLOW): Likewise.
17153 (FE_UNDERFLOW): Likewise.
17154 (FE_INEXACT): Likewise.
17155 (FE_TONEAREST): Likewise.
17156 (FE_DOWNWARD): Likewise.
17157 (FE_UPWARD): Likewise.
17158 (FE_TOWARDZERO): Likewise.
17159 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17160 (FE_UNDERFLOW): Likewise.
17161 (FE_OVERFLOW): Likewise.
17162 (FE_DIVBYZERO): Likewise.
17163 (FE_INVALID): Likewise.
17164 (FE_TONEAREST): Likewise.
17165 (FE_TOWARDZERO): Likewise.
17166 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17167 (FE_OVERFLOW): Likewise.
17168 (FE_UNDERFLOW): Likewise.
17169 (FE_DIVBYZERO): Likewise.
17170 (FE_INEXACT): Likewise.
17171 (FE_TONEAREST): Likewise.
17172 (FE_TOWARDZERO): Likewise.
17173 (FE_UPWARD): Likewise.
17174 (FE_DOWNWARD): Likewise.
17175 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17176 (FE_DIVBYZERO): Likewise.
17177 (FE_OVERFLOW): Likewise.
17178 (FE_UNDERFLOW): Likewise.
17179 (FE_INEXACT): Likewise.
17180 (FE_TONEAREST): Likewise.
17181 (FE_DOWNWARD): Likewise.
17182 (FE_UPWARD): Likewise.
17183 (FE_TOWARDZERO): Likewise.
17185 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17187 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17189 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17191 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17192 commands. Quote $PWD.
17193 (blacklist_exports): Don't use remove_newlines. Replace "declare
17195 (remove_newlines): Remove.
17197 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17199 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17200 * stdlib/stdlib.h (atof): Moved to ...
17201 * include/bits/stdlib-float.h: Here. New file.
17202 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17203 * stdlib/bits/stdlib-float.h: New file.
17204 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17206 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17209 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17211 * conform/conformtest.pl (@headers): Add fenv.h.
17212 * conform/data/fenv.h-data: New file.
17213 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17214 include of <math/fenv.h>.
17216 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17217 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17218 && !UNIX98]. Enables tests for XOPEN2K8.
17219 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17220 POSIX2008]: Likewise.
17222 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17223 (struct rusage): Do not expect type or its members.
17226 * math/math.h (FP_NAN): Define macro to integer constant usable in
17227 #if and use that to give value to enum constant.
17228 (FP_INFINITE): Likewise.
17229 (FP_ZERO): Likewise.
17230 (FP_SUBNORMAL): Likewise.
17231 (FP_NORMAL): Likewise.
17233 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17235 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17236 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17239 2012-11-02 Roland McGrath <roland@hack.frob.com>
17241 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17242 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17243 autoconf-time if not.
17244 * configure.in: Remove AC_PREREQ.
17246 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17248 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17249 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17250 of the internal implementation.
17252 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17254 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17255 except include of <misc/sys/syslog.h>.
17257 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17260 function returns with a NULL context exit with zero.
17262 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17264 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17266 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17268 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17269 (run_program_cmd): This.
17270 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17271 (tst_langinfo): New variable. Use it.
17273 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17275 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17276 floating point opcodes.
17278 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17280 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17283 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17285 * sysdeps/mach/hurd/powerpc: Remove directory.
17286 * sysdeps/mach/powerpc: Likewise.
17288 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17290 * scripts/check-local-headers.sh: Ignore c++ headers.
17292 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17294 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17295 __libc_cleanup_region_start argument.
17297 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17302 x * y using scaling, not as x * y + z.
17303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17305 * math/libm-test.inc (fma_test): Add more tests.
17306 (fma_test_towardzero): Likewise.
17307 (fma_test_downward): Likewise.
17308 (fma_test_upward): Likewise.
17310 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17312 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17314 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17316 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17319 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17321 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17323 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17330 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17333 Fix the order of the list for glibc 2.17.
17334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17337 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17341 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17344 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17345 for low part of x being zero before using __atanl (y).
17346 * math/libm-test.inc (atan2_test): Add another test.
17348 * manual/install.texi (Configuring and compiling): Document
17349 general use of test-wrapper and test-wrapper-env.
17350 * INSTALL: Regenerated.
17352 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17353 (__fma): Do not extract and scale down low bits on after-rounding
17354 systems when result rounded to normal precision would have normal
17356 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17357 (__fmal): Do not extract and scale down low bits on after-rounding
17358 systems when result rounded to normal precision would have normal
17360 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17361 (__fmal): Do not extract and scale down low bits on after-rounding
17362 systems when result rounded to normal precision would have normal
17364 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17366 (fma_test): Add more tests.
17367 (fma_test_towardzero): Likewise.
17368 (fma_test_downward): Likewise.
17369 (fma_test_upward): Likewise.
17371 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17373 * sysdeps/i386/tininess.h: Renamed to ...
17374 * sysdeps/x86/tininess.h: This.
17375 * sysdeps/x86_64/tininess.h: Removed.
17377 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17379 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17380 input. Use $(build-program-cmd).
17381 ($(objpfx)tst-array1-static.out): Likewise.
17382 ($(objpfx)tst-array2.out): Likewise.
17383 ($(objpfx)tst-array3.out): Likewise.
17384 ($(objpfx)tst-array4.out): Likewise.
17385 ($(objpfx)tst-array5.out): Likewise.
17386 ($(objpfx)tst-array5-static.out): Likewise.
17388 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17390 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17393 * nss/nsswitch.h (nss_interface_function): Provide new
17394 macro for use with NSS functions.
17395 * grp/initgroups.c: Use new macro.
17396 * nss/getXXbyYY.c: Likewise.
17397 * nss/getXXbyYY_r.c: Likewise.
17398 * nss/getXXent.c: Likewise.
17399 * nss/getXXent_r.c: Likewise.
17400 * sysdeps/posix/getaddrinfo.c: Likewise.
17402 2012-10-30 Andreas Jaeger <aj@suse.de>
17404 * po/ru.po: Update Russion translation from translation project.
17406 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17411 result and shift together with sticky bit instead of replicating
17412 round-to-nearest rounding.
17413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17414 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17415 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17416 missing underflow exceptions.
17417 (fma_test_towardzero): Add more tests.
17418 (fma_test_downward): Likewise.
17419 (fma_test_upward): Likewise.
17422 * sysdeps/generic/tininess.h: New file.
17423 * sysdeps/i386/tininess.h: Likewise.
17424 * sysdeps/sh/tininess.h: Likewise.
17425 * sysdeps/x86_64/tininess.h: Likewise.
17426 * stdlib/tst-strtod-underflow.c: Likewise.
17427 * stdlib/tst-tininess.c: Likewise.
17428 * stdlib/strtod_l.c: Include <tininess.h>.
17429 (round_and_return): Do not set errno for exact underflow cases.
17430 Force an underflow exception when setting errno for underflow.
17431 Determine underflow based on rounding to normal precision if
17432 TININESS_AFTER_ROUNDING.
17433 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17434 ERANGE for exact underflow cases.
17435 * stdlib/Makefile (tests): Add tst-tininess and
17436 tst-strtod-underflow.
17437 ($(objpfx)tst-tininess): Use $(link-libm).
17438 ($(objpfx)tst-strtod-underflow): Likewise.
17440 2012-10-30 Andreas Jaeger <aj@suse.de>
17443 * elf/Makefile (tests): Remove conditional for have-initfini-array
17444 since this is now always required and the variable does not exist
17446 (tests-static): Likewise.
17447 (modules-names): Likewise.
17449 * po/eo.po: Add Esperanto translation from translation project.
17451 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17452 merged with constructor/destructor.
17453 (init_array): Likewise.
17454 * elf/tst-array2dep.c (fini_array): Likewise.
17455 (init_array): Likewise.
17457 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17459 * manual/message.texi: Delete @cartouche tags.
17461 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17463 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17465 * sysdeps/mach/hurd/fsync.c: Likewise.
17467 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17468 [_POSIX_REALTIME_SIGNALS]: Change condition to
17469 [_POSIX_REALTIME_SIGNALS > 0].
17471 2012-10-27 Andreas Jaeger <aj@suse.de>
17473 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17474 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17476 [__WORDSIZE != 64]: Likewise.
17478 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17480 * iconvdata/tst-table.sh: Remove ${SHELL}.
17481 * iconvdata/tst-tables.sh: Likewise.
17483 2012-10-25 David S. Miller <davem@davemloft.net>
17485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17486 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17491 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17492 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17493 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17496 2012-10-25 Roland McGrath <roland@hack.frob.com>
17498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17499 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17502 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17503 Jim Blandy <jimb@codesourcery.com>
17505 * scripts/cross-test-ssh.sh: New file.
17506 * manual/install.texi (Configuring and compiling): Document use of
17508 * INSTALL: Regenerated.
17510 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17512 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17515 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17517 * Makeconfig (run-program-prefix): Fix comment.
17519 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17520 Jim Blandy <jimb@codesourcery.com>
17522 * Makeconfig (test-wrapper): New variable,
17523 (test-wrapper-env): Likewise.
17524 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17525 (run-built-tests): Define to yes.
17526 (run-program-prefix): Use $(test-wrapper).
17527 (built-program-cmd): Likewise.
17528 * Rules (make-test-out): Use $(test-wrapper-env) and
17529 $(host-built-program-cmd).
17530 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17531 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17533 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17534 $(test-wrapper-env) to tst-rtld-load-self.sh.
17535 ($(objpfx)order2.out): Use $(test-wrapper).
17536 ($(objpfx)tst-initorder.out): Likewise.
17537 ($(objpfx)tst-initorder2.out): Likewise.
17538 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17539 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17540 (test_wrapper_env): New variable. Use it to run ld.so.
17541 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17542 Use it to run ld.so.
17543 (test_wrapper_env): Likewise.
17544 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17545 $(test-wrapper) to run-iconv-test.sh.
17546 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17547 (ICONV): Use $test_wrapper.
17548 * posix/Makefile ($(objpfx)globtest.out): Pass
17549 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17550 globtest.sh, not $(run-program-prefix).
17551 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17552 (test_wrapper): Likewise.
17553 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17554 set together with run_via_rtld_prefix.
17555 (run_program_prefix): Define in terms of test_wrapper and
17556 run_via_rtld_prefix.
17558 2012-10-24 Roland McGrath <roland@hack.frob.com>
17560 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17561 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17565 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17566 Declare __clock_getres, __clock_gettime, __clock_settime,
17567 __clock_nanosleep, and __clock_getcpuclockid.
17568 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17569 Remove librt_hidden_def (clock_gettime).
17570 * sysdeps/unix/clock_gettime.c: Likewise.
17571 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17573 * rt/clock_getres.c: Define __clock_getres as an alias.
17574 * sysdeps/posix/clock_getres.c: Likewise.
17575 * rt/clock_settime.c: Define __clock_settime as an alias.
17576 * sysdeps/unix/clock_settime.c: Likewise.
17577 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17578 * sysdeps/unix/clock_nanosleep.c: Likewise.
17579 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17580 * rt/clock-compat.c: New file.
17581 * rt/Makefile (librt-routines): Add clock-compat and move
17582 $(clock-routines) to ...
17583 (routines): ... here, new variable.
17584 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17585 Don't add get_clockfreq here.
17586 * rt/Versions (libc: GLIBC_2.17): New version set.
17587 Add clock_* symbols here.
17588 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17589 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17590 (GLIBC_2.17): Add clock_* symbols.
17591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17602 * NEWS: Mention the move.
17604 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17605 Use __open, __read, __close rather than their public counterparts.
17606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17607 (__get_clockfreq_via_cpuinfo): Likewise.
17608 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17609 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17611 * config.h.in (HAVE_IFUNC): New #undef.
17612 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17614 * configure: Regenerated.
17616 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17618 * configure.in: Move READELF check to start of file.
17619 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17620 libc_cv_asm_gnu_indirect_function in the process.
17621 * configure: Regenerated.
17623 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17625 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17626 send the output to /dev/null.
17627 (libc_cv_cc_with_libunwind): Likewise.
17628 (libc_cv_as_noexecstack): Likewise.
17629 * configure: Regenerate.
17631 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17633 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17635 * posix/globtest.sh (TMPDIR): Do not set.
17636 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17637 (testout): Likewise.
17639 2012-10-24 Andreas Jaeger <aj@suse.de>
17641 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17642 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17643 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17644 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17645 posix_fadvise64, posix_fallocate64.
17647 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17648 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17649 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17651 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17653 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17656 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17657 <bits/fcntl-linux.h>.
17658 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17661 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17662 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17663 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17664 [__WORDSIZE != 64]: Likewise.
17666 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17668 * Makeconfig (run-built-tests): New variable.
17669 * Rules [$(cross-compiling) = yes]: Change condition to
17670 [$(run-built-tests) = no].
17671 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17672 to [$(run-built-tests) = yes].
17673 * elf/Makefile [$(cross-compiling) = no]: Likewise
17674 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17675 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17676 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17677 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17678 * io/Makefile [$(cross-compiling) = no]: Likewise.
17679 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17680 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17681 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17682 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17683 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17684 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17685 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17686 * string/Makefile [$(cross-compiling) = no]: Likewise.
17688 * posix/Makefile ($(objpfx)globtest.out): Pass
17689 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17690 $(rtld-installed-name).
17691 * posix/globtest.sh (elf_objpfx): Remove variable.
17692 (rtld_installed_name): Likewise.
17693 (library_path): Likewise.
17694 (run_program_prefix): New variable. Use for running globtest
17697 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17698 Joseph Myers <joseph@codesourcery.com>
17700 * Makeconfig (host-built-program-cmd): New variable.
17701 * elf/Makefile (tst-stackguard1-ARGS): Use
17702 $(host-built-program-cmd).
17703 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17704 (tst-spawn-ARGS): Likewise.
17705 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17707 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17708 Jim Blandy <jimb@codesourcery.com>
17710 * Makeconfig (run-via-rtld-prefix): New variable.
17711 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17712 (built-program-cmd): Likewise.
17714 2012-10-22 Andreas Jaeger <aj@suse.de>
17716 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17717 __O_RSYNC if it exists, otherwise to O_SYNC.
17719 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17720 Joseph Myers <joseph@codesourcery.com>
17722 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17724 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17726 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17729 2012-10-22 Andreas Jaeger <aj@suse.de>
17731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17736 bits/fcntl-linux.h.
17738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17739 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17746 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17747 Joseph Myers <joseph@codesourcery.com>
17749 * config.make.in (NM): New variable.
17751 2012-10-21 Andreas Jaeger <aj@suse.de>
17753 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17754 definitions and declarations that are provided by
17755 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17757 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17760 * elf/Makefile (tests-static): Add tst-leaks1-static.
17761 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17762 ($(objpfx)tst-leaks1-static): New rule.
17763 ($(objpfx)tst-leaks1-static-mem): Likewise.
17764 (tst-leaks1-static-ENV): New macro.
17765 * elf/dl-open.c (dl_open_worker): Check the main application
17766 only if SHARED is defined.
17767 * elf/tst-leaks1-static.c: New file.
17769 2012-10-20 Andreas Jaeger <aj@suse.de>
17771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17772 generic values for Linux.
17773 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17774 and declarations that are provided by <bits/fcntl-linux.h> and
17775 include <bits/fcntl-linux.h>.
17776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17779 2012-10-20 Roland McGrath <roland@hack.frob.com>
17781 * io/fcntl.h: Move include of <bits/types.h> to the top and
17782 include it unconditionally.
17784 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17786 * wcsmbs/Makefile (tests-ifunc): New variable.
17787 (tests): Add $(tests-ifunc).
17788 * wcsmbs/test-wcschr-ifunc.c: New file.
17789 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17790 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17791 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17792 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17793 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17795 * string/Makefile (tests-ifunc): New variable.
17796 (tests): Add $(tests-ifunc).
17797 * string/test-memccpy.c (TEST_NAME): New macro.
17798 * string/test-memchr.c (TEST_NAME): Likewise.
17799 * string/test-memcmp.c (TEST_NAME): Likewise.
17800 * string/test-memcpy.c (TEST_NAME): Likewise.
17801 * string/test-memmem.c (TEST_NAME): Likewise.
17802 * string/test-memmove.c (TEST_NAME): Likewise.
17803 * string/test-memset.c (TEST_NAME): Likewise.
17804 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17805 * string/test-stpcpy.c (TEST_NAME): Likewise.
17806 * string/test-stpncpy.c (TEST_NAME): Likewise.
17807 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17808 * string/test-strcasestr.c (TEST_NAME): Likewise.
17809 * string/test-strcat.c (TEST_NAME): Likewise.
17810 * string/test-strchr.c (TEST_NAME): Likewise.
17811 * string/test-strcmp.c(TEST_NAME): Likewise.
17812 * string/test-strcpy.c (TEST_NAME): Likewise.
17813 * string/test-strcspn.c (TEST_NAME): Likewise.
17814 * string/test-strlen.c (TEST_NAME): Likewise.
17815 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17816 * string/test-strncmp.c (TEST_NAME): Likewise.
17817 * string/test-strncpy.c (TEST_NAME): Likewise.
17818 * string/test-strnlen.c (TEST_NAME): Likewise.
17819 * string/test-strpbrk.c (TEST_NAME): Likewise.
17820 * string/test-strrchr.c (TEST_NAME): Likewise.
17821 * string/test-strspn.c (TEST_NAME): Likewise.
17822 * string/test-strstr.c (TEST_NAME): Likewise.
17823 * string/test-bcopy-ifunc.c: New file.
17824 * string/test-bzero-ifunc.c: Likewise.
17825 * string/test-memccpy-ifunc.c: Likewise.
17826 * string/test-memchr-ifunc.c: Likewise.
17827 * string/test-memcmp-ifunc.c: Likewise.
17828 * string/test-memcpy-ifunc.c: Likewise.
17829 * string/test-memmem-ifunc.c: Likewise.
17830 * string/test-memmove-ifunc.c: Likewise.
17831 * string/test-mempcpy-ifunc.c: Likewise.
17832 * string/test-memset-ifunc.c: Likewise.
17833 * string/test-rawmemchr-ifunc.c: Likewise.
17834 * string/test-stpcpy-ifunc.c: Likewise.
17835 * string/test-stpncpy-ifunc.c: Likewise.
17836 * string/test-strcasecmp-ifunc.c: Likewise.
17837 * string/test-strcasestr-ifunc.c: Likewise.
17838 * string/test-strcat-ifunc.c: Likewise.
17839 * string/test-strchr-ifunc.c: Likewise.
17840 * string/test-strchrnul-ifunc.c: Likewise.
17841 * string/test-strcmp-ifunc.c: Likewise.
17842 * string/test-strcpy-ifunc.c: Likewise.
17843 * string/test-strcspn-ifunc.c: Likewise.
17844 * string/test-strlen-ifunc.c: Likewise.
17845 * string/test-strncasecmp-ifunc.c: Likewise.
17846 * string/test-strncat-ifunc.c: Likewise.
17847 * string/test-strncmp-ifunc.c: Likewise.
17848 * string/test-strncpy-ifunc.c: Likewise.
17849 * string/test-strnlen-ifunc.c: Likewise.
17850 * string/test-strpbrk-ifunc.c: Likewise.
17851 * string/test-strrchr-ifunc.c: Likewise.
17852 * string/test-strspn-ifunc.c: Likewise.
17853 * string/test-strstr-ifunc.c: Likewise.
17855 * debug/Makefile (tests-ifunc): New variable.
17856 (tests): Add $(tests-ifunc).
17857 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17858 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17859 * debug/test-stpcpy_chk-ifunc.c: New file.
17860 * debug/test-strcpy_chk-ifunc.c: Likewise.
17862 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17865 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17866 header is not read in.
17868 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17870 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17871 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17872 directly. Pass built executable to script as
17873 $(built-program-cmd).
17874 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17875 $testprogram without using LD_LIBRARY_PATH and $ldso.
17877 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17878 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17879 $(rtld-installed-name).
17880 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17881 (rtld_installed_name): Likewise.
17882 (library_path): Likewise.
17883 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17884 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17885 $(run-program-prefix) to tst-tables.sh.
17886 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17887 it to run tst-table-from and tst-table-to.
17888 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17889 Pass it to tst-table.sh.
17890 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17891 $(run-program-prefix) to tst-gettext.sh.
17892 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17894 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17896 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17897 to run tst-gettext.
17898 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17899 to run tst-gettext2.
17900 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17901 to run tst-translit.
17902 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17903 $(run-program-prefix) to tst-mtrace.sh.
17904 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17906 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17907 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17908 $(rtld-installed-name).
17909 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17910 (rtld_installed_name): Likewise.
17911 (run_program_prefix): New variable. Use it to run wordexp-test.
17913 * Makeconfig (ARCH): Remove all definitions.
17914 (machine): Likewise.
17915 [ARCH]: Remove conditional code.
17916 [!objdir]: Give error.
17917 [!objdir] (objpfx): Remove.
17918 [!objdir] (common-objpfx): Likewise.
17919 [!objdir] (common-objdir): Likewise.
17920 * configure.in (config_makefile): Remove. Hardcode Makefile in
17921 AC_CONFIG_FILES call.
17922 * configure: Regenerated.
17925 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17927 (testout): Likewise.
17929 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17930 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17931 $(rtld-installed-name).
17932 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17933 (rtld_installed_name): Likwise.
17934 (runit): Remove function.
17935 (run_getconf): New variable, Use it for running getconf binary.
17937 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17940 * string/test-memmem.c (check_result): New function.
17941 (do_one_test): Use it.
17942 (check1): New function.
17943 (test_main): Use it.
17945 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17947 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17949 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17951 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17952 (_G_LSEEK64): Likewise.
17953 (_G_MMAP64): Likewise.
17954 (_G_FSTAT64): Likewise.
17955 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17956 (_G_LSEEK64): Likewise.
17957 (_G_MMAP64): Likewise.
17958 (_G_FSTAT64): Likewise.
17959 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17960 unconditional. Call __mmap64 directly.
17961 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17962 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17963 __lseek64 directly.
17964 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17965 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17967 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17968 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17969 __lseek64 directly.
17970 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17971 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17972 __lseek64 directly.
17973 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17974 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17975 __lseek64 directly.
17976 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17977 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17978 __fxstat64 directly.
17979 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17980 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17982 (freopen64) [!_G_OPEN64]: Remove conditional code.
17983 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17985 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17986 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17988 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17989 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17991 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17992 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17994 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17995 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17997 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17998 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18000 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18001 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18003 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18005 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18008 * manual/memory.texi (Malloc Tunable Parameters): Add note
18009 about free list pointers overwriting some perturb bytes.
18010 Wording suggested by Roland McGrath.
18012 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18014 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18015 (lgamma_test): Likewise.
18016 (tgamma_test): Likewise.
18018 2012-10-16 Florian Weimer <fweimer@redhat.com>
18021 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18022 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18024 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18026 * NEWS: Mention BZ #14716.
18027 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18028 when removing AVAILABLE1_USES_J macro.
18030 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18032 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18033 (__bswap_64): __uint64_t for unsigned 64-bit int.
18035 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18037 * include/string.h (memmem): Declare libc hidden alias.
18038 * string/memmem.c (memmem): Define libc hidden alias.
18039 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18040 __read, __close instead of open, read, close.
18042 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18044 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18045 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18047 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18048 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18049 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18051 (__rawmemchr_sse2): Likewise.
18052 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18053 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18054 (__strchr_sse2): Likewise.
18055 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18056 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18057 (__strcasecmp_sse2): Likewise.
18058 (__strncasecmp_sse2): Likewise.
18059 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18060 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18061 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18062 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18063 (__strrchr_sse2): Likewise.
18064 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18066 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18067 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18068 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18069 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18070 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18071 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18072 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18073 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18074 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18075 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18076 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18077 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18078 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18079 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18080 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18081 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18082 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18083 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18084 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18085 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18086 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18087 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18088 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18089 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18090 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18091 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18092 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18093 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18094 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18095 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18097 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18099 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18100 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18101 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18102 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18104 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18106 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18107 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18108 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18109 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18111 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18112 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18113 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18114 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18115 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18116 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18117 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18118 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18119 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18120 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18121 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18122 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18123 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18124 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18125 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18126 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18127 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18128 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18129 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18130 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18131 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18132 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18133 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18134 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18135 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18136 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18137 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18138 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18139 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18140 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18141 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18142 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18143 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18144 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18145 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18146 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18147 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18148 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18149 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18150 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18151 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18153 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18154 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18155 * include/ifunc-impl-list.h: New file.
18156 * misc/ifunc-impl-list.c: Likewise.
18157 * misc/Makefile (routines): Add ifunc-impl-list.
18158 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18159 * string/test-string.h: Include <ifunc-impl-list.h>.
18160 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18161 impl_array): New variables.
18162 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18164 (test_init): Call __libc_ifunc_impl_list to initialize
18165 func_list if TEST_IFUNC and TEST_NAME are defined.
18167 * string/Makefile (strop-tests): Add bcopy and bzero.
18168 * string/test-bcopy.c: New file.
18169 * string/test-bzero.c: Likewise.
18170 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18172 * string/test-memset.c: Support bzero test if TEST_BZERO is
18174 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18176 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18178 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18181 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18183 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18184 * configure: Regenerated.
18186 * Makeconfig (+link-static-before-libc): Don't include
18187 $(link-static-libc).
18189 * libio/libio.h (_IO_pos_t): Remove.
18191 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18193 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18196 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18198 * crypt/crypt-entry.c: Include fips-private.h.
18199 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18200 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18201 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18202 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18204 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18206 * crypt/crypt-private.h: Include stdbool.h.
18207 (_ufc_setup_salt_r): Return bool.
18208 * crypt/crypt-entry.c: Include errno.h.
18209 (__crypt_r): Return NULL with EINVAL for bad salt.
18210 * crypt/crypt_util.c (bad_for_salt): New.
18211 (_ufc_setup_salt_r): Check that salt is long enough and within
18212 the specified alphabet.
18213 * crypt/badsalttest.c: New file.
18214 * crypt/Makefile (tests): Add it.
18215 ($(objpfx)badsalttest): New.
18217 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18219 * NEWS: Add entry for BZ #14602.
18221 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18223 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18225 * math/libm-test.inc: Update comment listing what functions and
18227 (isgreater_test): New function.
18228 (isgreaterequal_test): Likewise.
18229 (isless_test): Likewise.
18230 (islessequal_test): Likewise.
18231 (islessgreater_test): Likewise.
18232 (isunordered_test): Likewise.
18233 (main): Call the new functions.
18235 2012-10-09 Roland McGrath <roland@hack.frob.com>
18237 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18238 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18239 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18240 * sysdeps/i386/configure: Regenerated.
18241 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18242 * sysdeps/mach/configure: Regenerated.
18243 * sysdeps/mach/hurd/configure: Regenerated.
18244 * sysdeps/powerpc/configure: Regenerated.
18245 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18246 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18247 * sysdeps/s390/s390-32/configure: Regenerated.
18248 * sysdeps/s390/s390-64/configure: Regenerated.
18249 * sysdeps/sh/configure: Regenerated.
18250 * sysdeps/sparc/configure: Regenerated.
18251 * sysdeps/unix/sysv/linux/configure: Regenerated.
18252 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18253 * sysdeps/x86_64/configure: Regenerated.
18255 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18256 defined. Don't check if MAP is NULL.
18258 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18260 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18261 (_G_stat64): Likewise.
18262 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18263 (_G_stat64): Likewise.
18264 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18265 instead of struct _G_stat64.
18266 * libio/fileops.c (mmap_remap_check): Likewise.
18267 (decide_maybe_mmap): Likewise.
18268 (_IO_new_file_seekoff): Likewise.
18269 (_IO_file_stat): Likewise.
18270 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18272 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18273 instead of struct _G_stat64.
18274 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18276 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18279 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18281 (CHECK_EOL): New macro.
18282 (two_way_short_needle): Check beginning of haystack for EOL. Use
18284 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18285 Replace with CHECK_EOL.
18286 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18287 Replace with CHECK_EOL.
18289 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18291 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18293 * math/libm-test.inc: Update comment listing what functions and
18295 (finite_test): New function.
18296 (isinf_test): Likewise.
18297 (isnan_test): Likewise.
18298 (fpclassify_test): Test subnormal input.
18299 (isfinite_test): Likewise.
18300 (isnormal_test): Likewise.
18301 (main): Call the new functions.
18303 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18306 * Makerules (%.dynsym): Force C locale when running
18307 $(OBJDUMP) --dynamic-syms.
18309 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18311 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18314 2012-10-06 David S. Miller <davem@davemloft.net>
18316 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18317 upper 32-bits of the length value in %o2 since we use branch-on-register
18318 tests which consider the entire 64-bit register.
18320 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18322 * string/test-strstr.c (check2): Add a test for page boundary.
18324 2012-10-05 David S. Miller <davem@davemloft.net>
18326 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18327 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18329 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18331 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18332 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18333 and bzero when HWCAP_SPARC_CRYPTO is present.
18335 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18338 * string/test-strstr.c (check2): New function.
18339 (test_main): Call check2.
18341 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18343 * string/bug-strcasestr1.c (do_test): Moved to ...
18344 * string/test-strcasestr.c (check1): Here. New function.
18345 (do_one_test): Break out result checking code into ...
18346 (check_result): This. New function.
18347 (do_one_test): Call check_result.
18348 (test_main): Call check1.
18349 * string/bug-strchr1.c (do_test): Moved to ...
18350 * string/test-strchr.c (check1): Here. New function.
18351 (do_one_test): Break out result checking code into ...
18352 (check_result): This. New function.
18353 (do_one_test): Call check_result.
18354 (test_main): Call check1.
18355 * string/bug-strstr1.c (main): Moved to ...
18356 * string/test-strstr.c (check1): Here. New function.
18357 (do_one_test): Break out result checking code into ...
18358 (check_result): This. New function.
18359 (do_one_test): Call check_result.
18360 (test_main): Call check1.
18361 * string/bug-strcasestr1.c: Removed.
18362 * string/bug-strchr1.c: Likewise.
18363 * string/bug-strstr1.c: Likewise.
18365 * elf/Makefile (dl-routines): Add hwcaps.
18366 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18367 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18368 (_dl_important_hwcaps): Moved to ...
18369 * elf/dl-hwcaps.c: Here. New file.
18370 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18373 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18374 if IS_IN_rtld isn't defined.
18376 * elf/dl-support.c (_dl_sysinfo_map): New.
18377 Include "get-dynamic-info.h" and "setup-vdso.h".
18378 (_dl_non_dynamic_init): Call setup_vdso.
18379 * elf/dynamic-link.h: Don't include <assert.h>.
18380 (elf_get_dynamic_info): Moved to ...
18381 * elf/get-dynamic-info.h: Here. New file.
18382 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18383 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18384 * elf/setup-vdso.h: Here. New file.
18385 * elf/rtld.c: Include "setup-vdso.h".
18386 (dl_main): Call setup_vdso.
18388 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18390 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18391 creal in comment listing functions tested. List finite, isinf,
18392 isnan, isless, islessequal, isgreater, isgreaterequal,
18393 islessgreater, isunordered, lgamma_r and pow10 as functions and
18394 macros not tested. Mention which functions not tested are aliases
18395 for other functions. Fix typo. Note that signs of NaNs are not
18398 * scripts/config.guess: Update from config.git.
18399 * scripts/config.sub: Likewise.
18401 2012-10-04 Roland McGrath <roland@hack.frob.com>
18403 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18404 * misc/madvise.c (madvise): Renamed to __madvise.
18405 Make madvise a weak alias.
18406 * include/sys/mman.h: Declare __madvise.
18407 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18408 * sysdeps/unix/syscalls.list
18409 (madvise): Make __madvise the strong name, and madvise a weak alias.
18410 * sysdeps/unix/sysv/linux/syscalls.list
18411 (madvise, mmap): Remove redundant entries.
18412 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18413 * malloc/malloc.c (mtrim): Likewise.
18414 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18416 2012-10-03 Roland McGrath <roland@hack.frob.com>
18418 * sysdeps/mach/hurd/dl-cache.c: File removed.
18419 * config.h.in (USE_LDCONFIG): New #undef.
18420 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18421 * configure: Regenerated.
18422 * elf/Makefile (dl-routines): Add dl-cache only under
18423 [$(use-ldconfig) = yes].
18424 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18425 cache on [USE_LDCONFIG].
18426 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18428 * elf/rtld.c (dl_main): Likewise.
18430 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18432 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18433 _SC_LEVEL4_CACHE_LINESIZE.
18435 2012-10-03 Roland McGrath <roland@hack.frob.com>
18437 * sysdeps/unix/bsd/confstr.h: File removed.
18439 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18441 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18444 2012-10-02 Roland McGrath <roland@hack.frob.com>
18446 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18447 Make 'mapoff' field ElfW(Off) rather than off_t.
18449 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18451 * nscd/Makefile: Remove nscd-cflags and all its users.
18452 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18453 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18456 * malloc.c (malloc_printerr): Clarify error message.
18458 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18462 Set bit_FMA_Usable if FMA is supported.
18463 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18465 (bit_FMA4_Usable): Updated.
18466 (index_FMA_Usable): New macro.
18467 (CPUID_FMA): Likewise
18468 (HAS_FMA): Defined with bit_FMA_Usable.
18470 2012-10-01 Roland McGrath <roland@hack.frob.com>
18472 * bits/types.h (__swblk_t): Type removed.
18473 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18474 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18475 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18476 (__SWBLK_T_TYPE): Likewise.
18477 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18478 (__SWBLK_T_TYPE): Likewise.
18479 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18480 (__SWBLK_T_TYPE): Likewise.
18481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18482 (__SWBLK_T_TYPE): Likewise.
18484 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18485 Honza Horak <hhorak@redhat.com>
18487 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18488 (xdr_mapname): Use YPMAXMAP as maxsize.
18489 (xdr_peername): Use YPMAXPEER as maxsize.
18490 (xdr_keydat): Use YPAXRECORD as maxsize.
18491 (xdr_valdat): Use YPMAXRECORD as maxsize.
18493 2012-10-01 Roland McGrath <roland@hack.frob.com>
18495 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18497 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18498 * csu/init-first.c: ... here.
18499 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18500 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18501 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18502 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18503 * sysdeps/i386/init-first.c: File removed.
18504 * sysdeps/sh/init-first.c: File removed.
18506 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18510 if x * y might underflow to zero and z is zero.
18511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18513 * math/libm-test.inc (min_subnorm_value): New variable.
18514 (fma_test): Add more tests.
18515 (fma_test_towardzero): Likewise.
18516 (fma_test_downward): Likewise
18517 (fma_test_upward): Likewise.
18518 (initialize): Set min_subnorm_value.
18520 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18525 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18526 mode for addition resulting in exact zero.
18527 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18530 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18532 * math/libm-test.inc (fma_test): Add more tests.
18533 (fma_test_towardzero): New function.
18534 (fma_test_downward): Likewise.
18535 (fma_test_upward): Likewise.
18536 (main): Call the new functions.
18538 2012-09-28 David S. Miller <davem@davemloft.net>
18540 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18542 2012-09-28 Roland McGrath <roland@hack.frob.com>
18544 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18545 instead of SIGALRM.
18547 * sysdeps/gnu/_G_config.h: Moved to ...
18548 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18549 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18550 * sysdeps/generic/_G_config.h: ... here.
18552 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18554 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18556 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18557 Conditionalize target on [libnss_test1.so-version].
18559 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18561 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18562 (elfobjdir): Move out of conditionals.
18564 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18565 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18566 (__nss_lookup_function): Conditionalize label remove_from_tree on
18567 [!DO_STATIC_NSS || SHARED], matching its only use.
18569 2012-09-28 David S. Miller <davem@davemloft.net>
18571 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18572 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18574 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18576 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18578 when HWCAP_SPARC_CRYPTO is present.
18580 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18582 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18584 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18587 * stdio-common/vfprintf.c (process_string_arg): Revert
18590 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18592 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18594 * stdio-common/tst-sprintf.c: Include <locale.h>
18595 (main): Test sprintf's handling of incomplete multibyte
18598 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18600 * elf/dl-runtime.c (VERSYMIDX): Removed.
18601 * elf/dl-version.c (VERSYMIDX): Likewise.
18602 * elf/do-rel.h (VERSYMIDX): Likewise.
18603 (VALIDX): Likewise.
18604 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18605 * elf/rtld.c (VALIDX): Likewise.
18606 (ADDRIDX): Likewise.
18607 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18608 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18609 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18610 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18611 (VALIDX): Likewise.
18612 (ADDRIDX): Likewise.
18614 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18616 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18618 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18621 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18623 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18624 addresses are in the same scope as 192.0.2/24.
18625 * posix/gai.conf: Document new scope table defaults.
18627 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18630 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18631 for ftell. Compute offsets from write pointers instead.
18632 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18634 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18637 * libio/Makefile (tests): New test case tst-fseek.
18638 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18639 combination works in wide mode.
18640 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18641 state when the external buffer state changes.
18643 2012-09-27 David S. Miller <davem@davemloft.net>
18646 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18647 pass reloc->r_addend in as the 'high' argument to
18648 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18652 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18654 * rt/tst-aio2.c: Include <pthread.h>.
18655 * rt/tst-aio3.c: Likewise.
18657 2012-09-27 Steve Ellcey <sellcey@mips.com>
18659 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18661 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18663 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18664 contents on [SHARED].
18666 2012-09-26 Marek Polacek <polacek@redhat.com>
18670 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18671 for C++ and GCC <4.3 as well as for non GCC compilers.
18673 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18677 2012-09-25 Roland McGrath <roland@hack.frob.com>
18679 * Makefile.in (all, install): Declare with .PHONY.
18680 Reported by Michael Hope <michael.hope@linaro.org>.
18682 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18684 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18685 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18687 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18689 (sydep_routines): Add the new and the internal functions.
18690 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18691 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18693 (GLIBC_2.17): Add the new function.
18694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18695 (GLIBC_2.17): Likewise.
18696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18697 (GLIBC_2.17): Likewise.
18698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18699 (GLIBC_2.17): Likewise.
18700 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18702 2012-09-25 Alan Modra <amodra@gmail.com>
18704 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18705 Add release barrier before setting once_control to say
18706 initialisation is done. Add hints on lwarx. Use macro in
18708 (clear_once_control): Add release barrier.
18710 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18713 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18715 * math/s_clog10.c (__clog10): Likewise.
18716 * math/s_clog10f.c (__clog10f): Likewise.
18717 * math/s_clog10l.c (__clog10l): Likewise.
18718 * math/s_clogf.c (__clogf): Likewise.
18719 * math/s_clogl.c (__clogl): Likewise.
18720 * math/Makefile (libm-calls): Add x2y2m1.
18721 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18722 (__x2y2m1): Likewise.
18723 (__x2y2m1l): Likewise.
18724 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18725 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18728 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18729 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18730 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18731 * sysdeps/i386/fpu/libm-test-ulps: Update.
18732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18735 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18736 int as type of variable DEPTH.
18737 (glob): Use size_t instead of int as type of variables NEWCOUNT
18740 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18742 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18743 Add s_sincosf-sse2.
18744 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18745 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18746 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18747 macros for using routine as __sincosf_ia32.
18748 Use macro for function declaration and weak_alias.
18749 * sysdeps/i386/fpu/libm-test-ulps: Update.
18751 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18754 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18755 subnormal argument.
18756 * math/s_cexpf.c (__cexpf): Likewise.
18757 * math/s_csinf.c (__csinf): Likewise.
18758 * math/s_csinhf.c (__csinhf): Likewise.
18759 * math/s_ctanf.c (__ctanf): Likewise.
18760 * math/s_ctanhf.c (__ctanhf): Likewise.
18761 * math/s_ccosh.c (__ccoshf): Likewise.
18762 * math/s_cexp.c (__cexpl): Likewise.
18763 * math/s_csin.c (__csin): Likewise.
18764 * math/s_csinh.c (__csinh): Likewise.
18765 * math/s_ctan.c (__ctan): Likewise.
18766 * math/s_ctanh.c (ctanh): Likewise.
18767 * math/s_ccoshl.c (__ccoshl): Likewise.
18768 * math/s_cexpl.c (__cexpl): Likewise.
18769 * math/s_csinl.c (__csinl): Likewise.
18770 * math/s_csinhl.c (__csinhl): Likewise.
18771 * math/s_ctanl.c (__ctanl): Likewise.
18772 * math/s_ctanhl.c (__ctanhl): Likewise.
18774 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18776 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18777 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18778 (_IO_off_t): Define to __off_t, not _G_off_t.
18779 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18780 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18781 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18782 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18783 type of __dummy and __dummy2 fields.
18784 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18785 (_G_ssize_t): Likewise.
18786 (_G_off_t): Likewise.
18787 (_G_pid_t): Likewise.
18788 (_G_uid_t): Likewise.
18789 (_G_wchar_t): Likewise.
18790 (_G_wint_t): Likewise.
18791 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18792 (_G_ssize_t): Likewise.
18793 (_G_off_t): Likewise.
18794 (_G_pid_t): Likewise.
18795 (_G_uid_t): Likewise.
18796 (_G_wchar_t): Likewise.
18797 (_G_wint_t): Likewise.
18798 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18799 (_G_ssize_t): Likewise.
18800 (_G_off_t): Likewise.
18801 (_G_pid_t): Likewise.
18802 (_G_uid_t): Likewise.
18803 (_G_wchar_t): Likewise.
18804 (_G_wint_t): Likewise.
18806 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18808 * malloc/arena.c: Include malloc-sysdep.h.
18809 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18810 is sufficient to shrink the heap or an unmap is needed.
18811 * sysdeps/generic/malloc-sysdep.h: New file. Define
18812 new function check_may_shrink_heap.
18813 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18814 new function check_may_shrink_heap.
18816 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18818 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18821 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18823 * catgets/test-gencat.sh: Add "set -e".
18824 * elf/tst-pathopt.sh: Likewise.
18825 * grp/tst_fgetgrent.sh: Likewise.
18826 * iconvdata/run-iconv-test.sh: Likewise.
18827 * intl/tst-gettext.sh: Likewise.
18828 * intl/tst-gettext2.sh: Likewise.
18829 * intl/tst-gettext4.sh: Likewise.
18830 * intl/tst-gettext6.sh: Likewise.
18831 * intl/tst-translit.sh: Likewise.
18832 * io/ftwtest-sh: Likewise.
18833 * libio/test-freopen.sh: Likewise.
18834 * malloc/tst-mtrace.sh: Likewise.
18835 * posix/globtest.sh: Likewise.
18836 * posix/tst-getconf.sh: Likewise.
18837 * posix/wordexp-tst.sh: Likewise.
18838 * stdio-common/tst-printf.sh: Likewise.
18839 * stdio-common/tst-unbputc.sh: Likewise.
18840 * stdlib/tst-fmtmsg.sh: Likewise.
18841 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18842 * catgets/Makefile: Do not specify -e option when running
18843 testsuite shell scripts.
18844 * elf/Makefile: Likewise.
18845 * grp/Makefile: Likewise.
18846 * iconvdata/Makefile: Likewise.
18847 * intl/Makefile: Likewise.
18848 * io/Makefile: Likewise.
18849 * libio/Makefile: Likewise.
18850 * malloc/Makefile: Likewise.
18851 * posix/Makefile: Likewise.
18852 * stdio-common/Makefile: Likewise.
18853 * stdlib/Makefile: Likewise.
18854 * sysdeps/x86_64/Makefile: Likewise.
18856 * io/ftwtest-sh: Add copyright header.
18857 * posix/globtest.sh: Likewise.
18858 * posix/tst-getconf.sh: Likewise.
18859 * posix/wordexp-tst.sh: Likewise.
18860 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18862 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18865 * Makeconfig (+link): Defined as $(+link-static) if
18866 $(build-shared) isn't yes.
18867 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18869 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18871 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18874 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18875 new chunk size with MALLOC_ALIGN_MASK.
18877 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18880 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18882 (__printf_fphex): Determine rounding using get_rounding_mode and
18884 * stdio-common/tst-printf-round.c (struct hex_test): New
18886 (hex_tests): New variable.
18887 (test_hex_in_one_mode): New function.
18888 (do_test): Also run tests for hex float output.
18890 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18892 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18893 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18894 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18895 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18896 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18897 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18898 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18899 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18901 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18903 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18904 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18905 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18906 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18908 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18911 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18913 * elf/tst-rtld-load-self.sh: New test.
18914 * elf/Makefile: Run it.
18916 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18918 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18919 (tst-writev-ENV): Remove.
18920 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18922 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18924 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18926 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18928 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18930 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18932 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18933 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18934 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18937 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18940 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18941 * config.make.in (have-cpp-asm-debuginfo): Removed.
18942 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18943 * configure: Regenerated.
18945 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18948 * stdio-common/printf_fp.c: Include <stdbool.h> and
18950 (___printf_fp): Determine rounding using get_rounding_mode and
18952 * stdio-common/tst-printf-round.c: New file.
18953 * stdio-common/Makefile (tests): Add tst-printf-round.
18954 (link-libm): New variable.
18955 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18957 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18960 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18961 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18963 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18966 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18968 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18969 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18970 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18971 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18973 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18976 * include/rounding-mode.h: New file.
18977 * sysdeps/generic/get-rounding-mode.h: Likewise.
18978 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18979 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18980 (MAX_VALUE): New macro.
18981 (MIN_VALUE): Likewise.
18982 (overflow_value): New function.
18983 (underflow_value): Likewise.
18984 (round_and_return): Use overflow_value and underflow_value to
18985 determine return values in overflow and underflow cases. Use
18986 round_away to determine rounding depending on rounding mode.
18987 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18988 determine return values in overflow and underflow cases.
18989 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18990 (struct test_results): New structure.
18991 (struct test): Use struct test_results to store expected results
18992 for all rounding modes.
18993 (TEST): Include expected results for all rounding modes.
18994 (test_in_one_mode): New function.
18995 (do_test): Use test_in_one_mode to compute and check results.
18996 Check results for all rounding modes.
18997 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19000 2012-12-09 Allan McRae <allan@archlinux.org>
19002 * sysdeps/i386/fpu/libm-test-ulps: Update
19004 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19006 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19007 (_G_int32_t): Likewise.
19008 (_G_uint16_t): Likewise.
19009 (_G_uint32_t): Likewise.
19010 (_G_HAVE_BOOL): Likewise.
19011 (_G_HAVE_ATEXIT): Likewise.
19012 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19013 (_G_HAVE_IO_FILE_OPEN): Likewise.
19014 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19015 (_G_int32_t): Likewise.
19016 (_G_uint16_t): Likewise.
19017 (_G_uint32_t): Likewise.
19018 (_G_HAVE_BOOL): Likewise.
19019 (_G_HAVE_ATEXIT): Likewise.
19020 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19021 (_G_HAVE_IO_FILE_OPEN): Likewise.
19022 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19023 (_G_int32_t): Likewise.
19024 (_G_uint16_t): Likewise.
19025 (_G_uint32_t): Likewise.
19026 (_G_HAVE_BOOL): Likewise.
19027 (_G_HAVE_ATEXIT): Likewise.
19028 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19029 (_G_HAVE_IO_FILE_OPEN): Likewise.
19031 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19033 * csu/libc-tls.c: Update copyright years.
19035 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19037 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19038 [!_G_USING_THUNKS]: Remove conditional code.
19039 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19040 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19042 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19043 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19044 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19045 (_G_VTABLE_LABEL_PREFIX): Likewise.
19046 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19047 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19048 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19049 (_G_VTABLE_LABEL_PREFIX): Likewise.
19050 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19051 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19052 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19053 (_G_VTABLE_LABEL_PREFIX): Likewise.
19054 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19056 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19058 * libio/Makefile: Include ../Makeconfig before tests.
19059 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19060 only if $(build-shared) is yes.
19062 * iconv/gconv_db.c: Update copyright years.
19064 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19066 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19067 unwind info if defined PIC. Fix special cases description.
19068 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19070 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19072 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19074 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19076 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19078 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19081 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19082 (LDLIBS-tst-chk4): This.
19083 (LDFLAGS-tst-chk5): Renamed to ...
19084 (LDLIBS-tst-chk5): This.
19085 (LDFLAGS-tst-chk6): Renamed to ...
19086 (LDLIBS-tst-chk6): This.
19087 (LDFLAGS-tst-lfschk4): Renamed to ...
19088 (LDLIBS-tst-lfschk4): This.
19089 (LDFLAGS-tst-lfschk5): Renamed to ...
19090 (LDLIBS-tst-lfschk5): This.
19091 (LDFLAGS-tst-lfschk6): Renamed to ...
19092 (LDLIBS-tst-lfschk6): This.
19094 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19095 on $(common-objpfx)soversions.mk.
19097 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19100 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19103 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19105 * malloc/arena.c (arena_get_retry): New function that gets
19106 another arena for the caller to try its request on.
19107 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19108 current arena cannot fulfill the request.
19109 (__libc_memalign): Likewise.
19110 (__libc_memalign): Likewise.
19111 (__libc_pvalloc): Likewise.
19112 (__libc_calloc): Likewise.
19114 2012-09-05 John Tobey <john.tobey@gmail.com>
19117 * manual/arith.texi (Operations on Complex): Fix description
19118 of carg branch cut.
19120 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19123 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19127 * manual/memory.texi (Memory): Make order of menu items match
19130 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19132 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19133 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19134 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19136 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19138 * csu/libc-tls.c (static_dtv): Renamed to ...
19139 (_dl_static_dtv): This. Make it global.
19140 (_dl_initial_dtv): Removed.
19141 (__libc_setup_tls): Updated.
19142 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19143 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19146 2012-09-06 Petr Machata <pmachata@redhat.com>
19148 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19149 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19150 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19151 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19153 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19156 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19157 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19160 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19163 * Makeconfig (link-static-before-libc): Replace $(+prector)
19165 (link-static-after-libc): Replace $(+postctor) with
19167 (link-bounded): Replace $(+prector)/$(+postctor) with
19168 $(+prectorT)/$(+postctorT).
19169 (+prectorT): New macro.
19170 (+postctorT): Likewise.
19172 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19174 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19175 (round_str): Handle values above the maximum for IBM long double
19177 * stdlib/tst-strtod-round.c (tests): Regenerated.
19179 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19181 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19183 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19184 zarch_nohighgprs around the zarch optimized routines.
19185 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19186 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19187 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19190 2012-09-05 David S. Miller <davem@davemloft.net>
19192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19194 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19195 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19196 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19197 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19200 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19202 * malloc/arena.c: Fold copyright years.
19203 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19205 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19207 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19209 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19211 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19213 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19215 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19216 change internal state upon failure.
19218 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19220 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19221 * malloc/memusage.c (mmap): Likewise.
19222 (mmap64, mremap): Likewise. Adjust name in comment.
19224 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19226 * libio/fileops.c: Fix typos in comments.
19227 * libio/oldfileops.c: Likewise.
19228 * libio/wfileops.c: Likewise.
19230 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19233 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19234 (tst-malloc-usable-ENV): Set environment for test case.
19235 * malloc/hooks.c (malloc_check_get_size): New function to get
19237 * malloc/malloc.c (musable): Use malloc_check_get_size.
19238 * malloc/tst-malloc-usable.c: New test case.
19240 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19242 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19244 2012-09-05 Allan McRae <allan@archlinux.org>
19247 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19248 determine header location.
19249 * configure: Regenerated.
19251 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19253 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19255 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19256 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19258 (test): Regenerate.
19260 2012-09-04 David S. Miller <davem@davemloft.net>
19262 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19263 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19264 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19266 2012-09-04 Florian Weimer <fweimer@redhat.com>
19268 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19271 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19273 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19276 * libio/iogetdelim.c: Include <limits.h>.
19277 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19278 + len + 1 would overflow.
19280 2012-09-03 Andreas Jaeger <aj@suse.de>
19282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19283 * sysdeps/i386/fpu/libm-test-ulps: Update.
19285 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19287 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19288 Add s_sinf-sse2, s_conf-sse2.
19290 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19291 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19292 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19293 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19295 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19296 for using routine as __sinf_ia32.
19297 Use macro for function declaration and weak_alias.
19298 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19299 for using routine as __cosf_ia32.
19300 Use macro for function declaration and weak_alias.
19302 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19303 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19305 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19306 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19309 * math/libm-test.inc (cos_test): Add more test cases.
19310 (sin_test): Likewise.
19311 (sincos_test): Likewise.
19313 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19315 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19316 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19318 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19320 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19323 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19324 first element of the GOT.
19325 (elf_machine_load_address): Return the difference between
19326 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19328 2012-09-01 Allan McRae <allan@archlinux.org>
19331 * configure.in (AWK): Require gawk version 3.0 or later.
19332 * configure: Regenerated.
19334 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19336 * sysdeps/unix/sysv/linux/kernel-features.h
19337 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19339 [__NR_clock_getres]: Make code unconditional.
19340 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19341 (clock_getcpuclockid): Remove code left unreachable by removal of
19343 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19344 code unconditional.
19345 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19346 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19347 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19348 Make code unconditional.
19349 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19350 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19351 * sysdeps/unix/sysv/linux/clock_settime.c
19352 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19354 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19355 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19357 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19360 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19361 scripts/test-installation.pl.
19363 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19364 and $ld_so_version if it is set.
19366 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19369 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19370 failure if reading from procfs failed.
19371 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19373 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19375 * sysdeps/unix/sysv/linux/kernel-features.h
19376 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19377 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19378 Remove conditional code.
19379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19380 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19381 Remove conditional code.
19382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19383 * sysdeps/unix/sysv/linux/i386/fxstat.c
19384 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19386 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19387 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19389 * sysdeps/unix/sysv/linux/i386/lxstat.c
19390 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19391 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19392 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19393 Remove conditional code.
19394 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19395 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19396 Remove conditional code.
19397 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19398 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19399 <kernel-features.h>.
19400 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19402 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19403 Remove conditional code.
19404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19405 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19406 Remove conditional.
19408 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19411 * NEWS: Add fixed bug number.
19413 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19416 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19417 underflowing exponent in case of negative sign.
19418 * stdlib/tst-strtod-round-data: Add more tests.
19419 * stdlib/tst-strtod-round.c (tests): Regenerated.
19422 * stdlib/strtod_l.c (NDIG): Remove.
19423 (HEXNDIG): Likewise.
19424 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19425 smallest representable value.
19426 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19427 lie within an exact representation of 1/2 ulp of the result.
19428 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19430 (TENS_P9_IDX): Define unconditionally.
19431 (TENS_P9_SIZE): Likewise.
19432 (TENS_P10_IDX): Likewise.
19433 (TENS_P10_SIZE): Likewise.
19434 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19435 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19436 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19437 entries for 10^2^13 and 10^2^14.
19438 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19439 (TENS_P13_IDX): Define.
19440 (TENS_P13_SIZE): Likewise.
19441 (TENS_P14_IDX): Likewise.
19442 (TENS_P14_SIZE): Likewise.
19443 (_fpioconst_pow10): Change array size to
19444 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19446 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19447 1024]: Add entries for 10^2^13 and 10^2^14.
19448 [LAST_POW10 > _LAST_POW10]: Remove #error.
19449 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19450 (_fpioconst_pow10): Change array size to
19451 FPIOCONST_POW10_ARRAY_SIZE.
19452 * stdlib/gen-fpioconst.c: New file.
19453 * stdlib/gen-tst-strtod-round.c: Likewise.
19454 * stdlib/tst-strtod-round-data: Likewise.
19455 * stdlib/tst-strtod-round.c: Likewise.
19456 * stdlib/Makefile (tests): Add tst-strtod-round.
19459 * stdlib/strtod_l.c: Include <stdint.h>.
19460 (NDEBUG): Do not define.
19461 (round_and_return): Change EXPONENT parameter to type intmax_t.
19462 Rearrange calculations to avoid internal overflow possibilities.
19463 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19464 Rearrange calculations to avoid internal overflow possibilities.
19465 Assert that number fits inside MPNSIZE limbs.
19466 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19467 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19468 calculations and add assertions to avoid internal overflow
19469 possibilities. Add casts to avoid signed/unsigned operations.
19470 * stdlib/tst-strtod-overflow.c: New file.
19471 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19473 2012-08-25 Marek Polacek <polacek@redhat.com>
19475 * time/time.h: Fix some typos in comments.
19477 2012-08-23 Roland McGrath <roland@hack.frob.com>
19479 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19480 * posix/tst-rfc3484-2.c: Likewise.
19481 * posix/tst-rfc3484-3.c: Likewise.
19483 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19485 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19486 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19488 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19490 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19491 #include of fxstatat64.c.
19493 2012-08-22 Roland McGrath <roland@hack.frob.com>
19495 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19496 * shadow/getspent_r.c: Likewise.
19497 * shadow/getspnam.c: Likewise.
19498 * shadow/getspnam_r.c: Likewise.
19499 * gshadow/getsgent.c: Likewise.
19500 * gshadow/getsgent_r.c: Likewise.
19501 * gshadow/getsgnam.c: Likewise.
19502 * gshadow/getsgnam_r.c: Likewise.
19503 * inet/getnetbyad.c: Likewise.
19504 * inet/getnetbyad_r.c: Likewise.
19505 * inet/getnetbynm.c: Likewise.
19506 * inet/getnetbynm_r.c: Likewise.
19507 * inet/getnetent.c: Likewise.
19508 * inet/getnetent_r.c: Likewise.
19509 * inet/getproto.c: Likewise.
19510 * inet/getproto_r.c: Likewise.
19511 * inet/getprtent.c: Likewise.
19512 * inet/getprtent_r.c: Likewise.
19513 * inet/getprtname.c: Likewise.
19514 * inet/getprtname_r.c: Likewise.
19515 * inet/getrpcbyname.c: Likewise.
19516 * inet/getrpcbyname_r.c: Likewise.
19517 * inet/getrpcbynumber.c: Likewise.
19518 * inet/getrpcbynumber_r.c: Likewise.
19519 * inet/getrpcent.c: Likewise.
19520 * inet/getrpcent_r.c: Likewise.
19521 * inet/getaliasent.c: Likewise.
19522 * inet/getaliasent_r.c: Likewise.
19523 * inet/getaliasname.c: Likewise.
19524 * inet/getaliasname_r.c: Likewise.
19525 * nscd/getgrgid_r.c: Likewise.
19526 * nscd/getgrnam_r.c: Likewise.
19527 * nscd/gethstbyad_r.c: Likewise.
19528 * nscd/gethstbynm3_r.c: Likewise.
19529 * nscd/getpwnam_r.c: Likewise.
19530 * nscd/getpwuid_r.c: Likewise.
19531 * nscd/getsrvbynm_r.c: Likewise.
19532 * nscd/getsrvbypt_r.c: Likewise.
19533 * nscd/gai.c: Likewise.
19535 * configure.in (build_nscd): New substituted variable, set
19536 by --disable-build-nscd and defaults to $use_nscd.
19537 * configure: Regenerated.
19538 * config.make.in (build-nscd): New substituted variable.
19539 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19540 Change conditional to require [$(build-nscd) = yes] as well.
19541 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19544 * configure.in (use_nscd): New substituted variable, set by
19545 --disable-nscd. If enabled, define USE_NSCD.
19546 * configure: Regenerated.
19547 * config.h.in: Add USE_NSCD.
19548 * config.make.in (use-nscd): New substituted variable.
19549 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19550 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19551 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19552 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19553 (CFLAGS-getgrnam_r.c): Likewise.
19554 (CFLAGS-initgroups.c): Likewise.
19555 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19556 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19558 * inet/getnetgrent_r.c
19559 (nscd_setnetgrent): New function, broken out of ...
19560 (setnetgrent): ... here. Call it.
19561 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19562 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19563 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19564 * nscd/Makefile (routines, aux): Move definitions after include of
19565 Makeconfig. Conditionalize on [$(use-nscd) != no].
19566 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19567 Conditionalize on [USE_NSCD].
19568 (is_nscd, nscd_init_cb): Likewise.
19569 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19570 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19571 * nss/nss_db/db-init.c: Likewise.
19572 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19574 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19575 (make_request): Use it.
19576 (cache_valid_p): New function.
19577 (__check_pf): Use it.
19578 * NEWS: Add item for --disable-nscd.
19580 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19582 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19583 to support sed >= 4.2.1-20-ga9bf076.
19584 * configure: Regenerated.
19586 2012-08-22 Roland McGrath <roland@hack.frob.com>
19588 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19589 Conditionalize whole body on [IREL].
19591 2012-08-22 Jeff Law <law@redhat.com>
19594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19595 if the family is PF_UNSPEC.
19597 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19599 * Makerules (lib-version): Rename from V.
19600 (install-lib-nosubdir): Change V to lib-version.
19602 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19605 * powerpc32/power6/wcschr.c: New file.
19606 * powerpc32/power6/wcscpy.c: New file.
19607 * powerpc32/power6/wcsrchr.c: New file.
19608 * powerpc64/power6/wcschr.c: New file.
19609 * powerpc64/power6/wcscpy.c: New file.
19610 * powerpc64/power6/wcsrchr.c: New file.
19612 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19614 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19615 (two_way_short_needle): Use it.
19616 * string/strstr.c (AVAILABLE1_USES_J): Define.
19617 * string/strcasestr.c: Likewise.
19619 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19621 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19624 * NEWS: Add an entry.
19625 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19626 define their defaults.
19627 (two_way_short_needle): Detect end-of-string on-the-fly.
19628 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19629 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19630 * string/bug-strcasestr1.c: New test.
19631 * string/Makefile: Run it.
19633 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19636 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19637 the first character.
19639 2012-08-21 Roland McGrath <roland@hack.frob.com>
19641 * csu/elf-init.c (__libc_csu_irel): Function removed.
19642 * csu/libc-start.c (apply_irel): New function.
19643 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19645 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19647 * sysdeps/unix/sysv/linux/kernel-features.h
19648 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19649 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19650 <kernel-features.h>.
19651 [__NR_fadvise64_64]: Make code unconditional.
19652 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19653 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19654 !__NR_fadvise64_64)]: Likewise.
19655 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19656 !__NR_fadvise64_64))]: Likewise.
19657 [__NR_fadvise64]: Make code unconditional.
19658 [!__NR_fadvise64]: Remove conditional code.
19659 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19660 <kernel-features.h>.
19661 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19663 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19666 not include <kernel-features.h>.
19667 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19669 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19671 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19672 include <kernel-features.h>.
19673 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19675 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19678 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19680 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19681 slight instruction rearrangements per scrollpipe analysis.
19682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19684 2012-08-20 Roland McGrath <roland@hack.frob.com>
19686 * manual/syslog.texi (syslog; vsyslog, closelog):
19687 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19688 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19690 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19691 DSOCAPS to match condition on defining it.
19693 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19695 * sysdeps/unix/sysv/linux/kernel-features.h
19696 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19698 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19699 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19701 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19702 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19704 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19705 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19707 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19708 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19710 * sysdeps/unix/sysv/linux/kernel-features.h
19711 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19712 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19714 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19715 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19716 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19717 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19718 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19719 Make code unconditional.
19720 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19721 (__mmap64) [!__NR_mmap2]: Likewise.
19722 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19723 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19724 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19725 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19726 [__NR_mmap2]: Make code unconditional.
19727 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19728 (__mmap64) [!__NR_mmap2]: Likewise.
19730 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19732 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19734 2012-08-18 Andreas Jaeger <aj@suse.de>
19736 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19738 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19740 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19741 * include/unistd.h (__have_sock_cloexec): Likewise.
19742 (__have_pipe2): Likewise.
19743 (__have_dup3): Likewise.
19745 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19748 * include/unistd.h (__have_pipe2): Change define into an extern int.
19749 (__have_dup3): Likewise.
19750 * socket/have_sock_cloexec.c: Include fcntl.h.
19751 (__have_pipe2): New variable.
19752 (__have_dup3): Likewise.
19754 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19756 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19758 2012-08-17 Marek Polacek <polacek@redhat.com>
19760 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19761 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19763 2012-08-17 Roland McGrath <roland@hack.frob.com>
19765 * configure.in: Add AC_SUBST for sysheaders.
19766 * configure: Regenerated.
19767 * config.make.in (sysheaders): New substituted variable.
19769 * sysdeps/unix/mkfifo.c: Moved ...
19770 * sysdeps/posix/mkfifo.c: ... here.
19771 * sysdeps/unix/mkfifoat.c: Moved ...
19772 * sysdeps/posix/mkfifoat.c: ... here.
19774 * sysdeps/unix/utime.c: Moved ...
19775 * sysdeps/posix/utime.c: ... here.
19777 * sysdeps/unix/time.c: Moved ...
19778 * sysdeps/posix/time.c: ... here.
19779 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19780 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19782 * sysdeps/unix/nice.c: Moved ...
19783 * sysdeps/posix/nice.c: ... here.
19785 * sysdeps/unix/alarm.c: Moved ...
19786 * sysdeps/posix/alarm.c: ... here.
19788 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19790 2012-08-17 Jeff Law <law@redhat.com>
19792 * intl/Makefile (codeset_mo): New variable.
19793 ($(codeset_mo)): New target.
19794 (tst-codeset.out): Depend on that. Remove explicit rule.
19795 (tst-gettext3.out, tst-gettext5.out): Likewise.
19796 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19797 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19798 * intl/tst-codeset.sh: Remove.
19799 * intl/tst-gettext3.sh: Likewise.
19800 * intl/tst-gettext5.sh: Likewise.
19802 2012-08-17 Roland McGrath <roland@hack.frob.com>
19804 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19805 * sysdeps/unix/syscalls.list: ... here.
19807 * sysdeps/posix/getaddrinfo.c
19808 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19809 (gaiconf_init, gaiconf_reload): Use them.
19810 [!_STATBUF_ST_NSEC]
19811 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19812 Define using time_t rather than struct timespec.
19814 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19815 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19817 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19819 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19820 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19823 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19824 __libc_cleanup_push argument.
19826 * bits/param.h: New file.
19827 * misc/sys/param.h: New file.
19828 * include/sys/param.h: New file.
19829 * misc/Makefile (headers): Add bits/param.h.
19830 * sysdeps/generic/sys/param.h: File removed.
19831 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19832 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19833 * sysdeps/mach/hurd/bits/param.h: New file.
19834 * sysdeps/mach/hurd/sys/param.h: File removed.
19836 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19839 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19841 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19842 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19845 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19846 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19847 rather than -D_IO_MTSAFE_IO conditionally.
19848 * stdio-common/Makefile (CPPFLAGS): Likewise.
19849 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19850 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19851 Use $(libio-mtsafe).
19852 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19853 of -D_IO_MTSAFE_IO.
19854 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19855 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19856 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19857 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19858 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19859 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19860 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19861 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19862 (CFLAGS-fread_u_chk.c): Likewise.
19863 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19864 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19865 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19866 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19867 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19868 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19869 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19870 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19871 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19873 * libio/Makefile: Test [$(libc-reentrant) = yes]
19874 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19877 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19878 * sysdeps/pthread/configure: File removed.
19879 * sysdeps/pthread/Makeconfig: New file.
19880 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19881 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19883 2012-08-16 Gary Benson <gbenson@redhat.com>
19885 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19886 unmapping the first object in a namespace.
19888 2012-08-16 Roland McGrath <roland@hack.frob.com>
19890 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19891 (__internal_setnetgrent): ... this. Add internal_function to
19892 definition. Add libc_hidden_def.
19893 (setnetgrent): Update caller.
19894 (internal_endnetgrent): Renamed to ...
19895 (__internal_endnetgrent): ... this. Add internal_function to
19896 definition. Add libc_hidden_def.
19897 (endnetgrent): Update caller.
19898 (internal_getnetgrent_r): Renamed to ...
19899 (__internal_getnetgrent_r): ... this. Add internal_function to
19900 definition. Add libc_hidden_def.
19901 (__getnetgrent_r): Update caller.
19902 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19904 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19906 * stdlib/longlong.h: Update from GCC.
19908 2012-08-16 Roland McGrath <roland@hack.frob.com>
19910 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19911 on _QL, which is set by umul_ppmm but never used.
19912 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19913 variables, which are set by GMP macros but never used.
19914 * stdio-common/_itowa.c (_itowa): Likewise.
19915 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19916 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19918 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19920 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19921 struct La_sh_regs is not constant.
19922 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19923 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19924 and struct La_sparc64_regs are not constant.
19926 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19928 * sysdeps/unix/sysv/linux/kernel-features.h
19929 (__ASSUME_POSIX_TIMERS): Remove.
19930 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19932 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19933 Make code unconditional.
19934 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19935 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19936 Make code unconditional.
19937 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19938 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19939 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19940 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19941 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19942 Make code unconditional.
19943 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19944 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19945 (__libc_missing_posix_timers): Remove.
19947 2012-08-15 Roland McGrath <roland@hack.frob.com>
19949 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19950 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19952 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19954 * elf/dl-sym.c: Include <stdlib.h>.
19956 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19957 constants, which avoids warnings in 32-bit builds.
19959 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19960 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19962 * misc/lseek.c: File moved to ...
19963 * io/lseek.c: ... here.
19965 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19967 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19968 shifting LEN more than 31 bits at once.
19970 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19973 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19974 segmentation fault for a case of two empty input strings.
19975 * string/test-strncasecmp.c (check1): Renamed to...
19976 (bz12205): ...this.
19977 (bz14195): Add new testcase for two empty input strings and N > 0.
19978 (test_main): Call new testcase, adapt for renamed function.
19980 2012-08-15 Andreas Jaeger <aj@suse.de>
19983 * crypt/md5test2.c: New test, based on test supplied by Serge
19984 Belyshev <belyshev@depni.sinp.msu.ru>.
19985 * crypt/Makefile (xtests): Add md5test-giant..
19986 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19988 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19991 * crypt/md5.c (md5_process_block): Don't assume the buffer
19992 length is less than 2**32.
19993 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19994 length is less than 2**64.
19996 2012-08-15 Roland McGrath <roland@hack.frob.com>
19998 * string/str-two-way.h: Include <sys/param.h>.
19999 (MAX): Macro removed.
20001 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20002 Move #define and #undef of memmove to just before and after
20003 including <string.h>.
20005 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20006 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20007 and after including <string.h>. Move declarations of
20008 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20009 to before #include "string/memmove.c".
20011 * include/dirent.h: Declare __getdirentries.
20013 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20014 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20016 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20018 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20019 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20020 * sysdeps/i386/configure: Regenerated.
20021 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20022 STABS_CURRENT_FILE, and STABS_FUN.
20023 (END): Remove call to STABS_FUN_END.
20024 (STABS_CURRENT_FILE1): Delete.
20025 (STABS_CURRENT_FILE): Likewise.
20026 (STABS_FUN): Likewise.
20027 (STABS_FUN_END): Likewise.
20028 (STABS_FUN2): Likewise.
20029 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20030 * sysdeps/x86_64/configure: Regenerated.
20032 2012-08-14 Roland McGrath <roland@hack.frob.com>
20034 * elf/dl-open.c: Include <atomic.h>.
20035 * elf/dl-lookup.c: Likewise.
20037 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20039 * sysdeps/unix/sysv/linux/kernel-features.h
20040 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20041 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20043 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20045 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20046 condition on __ASSUME_CLONE_THREAD_FLAGS.
20048 2012-08-14 Andreas Jaeger <aj@suse.de>
20050 * sysdeps/i386/fpu/libm-test-ulps: Update.
20052 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20054 * include/atomic.h (atomic_exchange_and_add): Split into ...
20055 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20058 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20062 2012-08-13 Jeff Law <law@redhat.com>
20064 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20065 null byte in the output string.
20067 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20069 * sysdeps/unix/sysv/linux/kernel-features.h
20070 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20071 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20072 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20073 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20074 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20075 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20076 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20078 2012-08-09 Jeff Law <law@redhat.com>
20081 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20082 When avoid_arena is set, don't retry in the that arena. Pick the
20083 next one, whatever it might be.
20084 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20085 (arena_lock): Pass in new parameter to arena_get2.
20086 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20088 (__libc_malloc): Unify retrying after main arena failure with
20089 __libc_memalign version.
20090 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20092 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20095 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20096 to __redirect_strstr.
20097 (__strstr_sse42): Use typeof __redirect_strstr.
20098 (__strstr_ia32): Likewise.
20099 (__libc_strstr): New prototype.
20100 (strstr): Renamed to ...
20101 (__libc_strstr): This.
20102 (strstr): New strong alias of __libc_strstr.
20103 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20104 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20107 (__libc_time): New prototype.
20108 (time_ifunc): Replace time with __libc_time.
20109 (time): New strong alias and hidden definition of __libc_time.
20110 (__GI_time): Remove strong alias.
20111 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20112 Include <stddef.h>.
20113 (memmove): Redefined to __redirect_memmove.
20114 (__memmove_sse2): Use typeof __redirect_memmove.
20115 (__memmove_ssse3): Likewise.
20116 (__memmove_ssse3_back): Likewise.
20117 (__libc_memmove): New prototype.
20118 (memmove): Renamed to ...
20119 (__libc_memmove): This.
20120 (memmove): New strong alias of __libc_memmove.
20122 2012-08-08 Mark Salter <msalter@redhat.com>
20125 (R_MN10300_TLS_GD): Define.
20126 (R_MN10300_TLS_LD): Likewise.
20127 (R_MN10300_TLS_LDO): Likewise.
20128 (R_MN10300_TLS_GOTIE): Likewise.
20129 (R_MN10300_TLS_IE): Likewise.
20130 (R_MN10300_TLS_LE): Likewise.
20131 (R_MN10300_TLS_DTPMOD): Likewise.
20132 (R_MN10300_TLS_DTPOFF): Likewise.
20133 (R_MN10300_TLS_TPOFF): Likewise.
20134 (R_MN10300_SYM_DIFF): Likewise.
20135 (R_MN10300_ALIGN): Likewise.
20136 (R_MN10300_NUM): Update.
20138 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20143 2012-08-08 Roland McGrath <roland@hack.frob.com>
20145 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20147 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20148 sysdeps/unix -> sysdeps/posix move.
20149 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20151 2012-08-07 Allan McRae <allan@archlinux.org>
20154 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20155 (SUNOS_CPP): Likewise.
20156 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20158 (open_input): Call CPP using execvp.
20160 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20162 * sysdeps/unix/sysv/linux/kernel-features.h
20163 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20164 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20165 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20166 (__ASSUME_WAITID_SYSCALL): Likewise.
20167 * sysdeps/unix/sysv/linux/dl-execstack.c
20168 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20169 code unconditional.
20170 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20172 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20173 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20174 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20176 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20178 [__ASSUME_WAITID_SYSCALL]: Likewise.
20179 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20181 2012-08-07 Roland McGrath <roland@hack.frob.com>
20183 * sysdeps/unix/closedir.c: Renamed to ...
20184 * sysdeps/posix/closedir.c: ... here.
20185 * sysdeps/unix/dirfd.c: Renamed to ...
20186 * sysdeps/posix/dirfd.c: ... here.
20187 * sysdeps/unix/dirstream.h: Renamed to ...
20188 * sysdeps/posix/dirstream.h: ... here.
20189 * sysdeps/unix/fdopendir.c: Renamed to ...
20190 * sysdeps/posix/fdopendir.c: ... here.
20191 * sysdeps/unix/opendir.c: Renamed to ...
20192 * sysdeps/posix/opendir.c: ... here.
20193 * sysdeps/unix/readdir.c: Renamed to ...
20194 * sysdeps/posix/readdir.c: ... here.
20195 * sysdeps/unix/readdir_r.c: Renamed to ...
20196 * sysdeps/posix/readdir_r.c: ... here.
20197 * sysdeps/unix/rewinddir.c: Renamed to ...
20198 * sysdeps/posix/rewinddir.c: ... here.
20199 * sysdeps/unix/seekdir.c: Renamed to ...
20200 * sysdeps/posix/seekdir.c: ... here.
20201 * sysdeps/unix/telldir.c: Renamed to ...
20202 * sysdeps/posix/telldir.c: ... here.
20203 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20204 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20205 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20206 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20208 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20209 * bits/fcntl.h: ... here.
20211 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20213 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20214 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20215 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20216 (struct flock): Move l_start, l_len to the beginning.
20217 Use __pid_t for l_pid.
20218 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20219 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20220 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20221 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20222 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20223 [__USE_LARGEFILE64] (struct flock64): New type.
20224 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20226 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20227 * bits/dirent.h: ... here.
20229 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20230 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20232 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20235 Change from 2.6.0 to 2.6.16.
20236 * sysdeps/unix/sysv/linux/configure: Regenerated.
20237 * sysdeps/unix/sysv/linux/kernel-features.h
20238 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20239 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20241 (__ASSUME_UTIMES): Likewise.
20242 (__ASSUME_CLONE_STOPPED): Remove.
20243 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20244 architectures, not kernel version.
20245 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20246 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20247 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20248 (__ASSUME_WAITID_SYSCALL): Likewise.
20249 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20250 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20251 * README: State 2.6.16 as minimum Linux kernel version. Do not
20252 refer to older versions.
20254 2012-08-06 Roland McGrath <roland@hack.frob.com>
20256 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20257 Define alphasort64 as an alias.
20258 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20259 Define versionsort64 as an alias.
20260 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20261 Define scandir64 as an alias.
20262 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20263 Define scandirat64 as an alias.
20264 * dirent/alphasort64.c (alphasort64):
20265 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20266 * dirent/versionsort64.c: Likewise.
20267 * dirent/scandir64.c: Likewise.
20268 * dirent/scandirat64.c: Likewise.
20269 * sysdeps/wordsize-64/alphasort.c: File removed.
20270 * sysdeps/wordsize-64/alphasort64.c: File removed.
20271 * sysdeps/wordsize-64/scandir.c: File removed.
20272 * sysdeps/wordsize-64/scandir64.c: File removed.
20273 * sysdeps/wordsize-64/scandirat.c: File removed.
20274 * sysdeps/wordsize-64/scandirat64.c: File removed.
20275 * sysdeps/wordsize-64/versionsort.c: File removed.
20276 * sysdeps/wordsize-64/versionsort64.c: File removed.
20277 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20278 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20279 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20280 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20281 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20282 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20283 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20284 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20286 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20287 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20288 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20289 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20290 [defined __arch64__ || defined __sparcv9]
20291 (__INO_T_MATCHES_INO64_T): New macro.
20292 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20293 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20294 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20295 * sysdeps/unix/sysv/linux/bits/dirent.h
20296 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20297 (_DIRENT_MATCHES_DIRENT64): New macro.
20299 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20300 Define lockf64 as an alias.
20301 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20302 Define fseeko64 as an alias.
20303 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20304 Define ftello64 as an alias.
20305 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20306 Define _IO_fgetpos64 and fgetpos64 as aliases.
20307 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20308 Define _IO_fsetpos64 and fsetpos64 as aliases.
20309 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20310 Conditionalize body on this.
20311 * libio/fseeko64.c: Likewise.
20312 * libio/ftello64.c: Likewise.
20313 * libio/iofgetpos64.c: Likewise.
20314 * libio/iofsetpos64.c: Likewise.
20315 * sysdeps/wordsize-64/lockf.c: File removed.
20316 * sysdeps/wordsize-64/lockf64.c: File removed.
20317 * sysdeps/wordsize-64/fseeko.c: File removed.
20318 * sysdeps/wordsize-64/fseeko64.c: File removed.
20319 * sysdeps/wordsize-64/ftello.c: File removed.
20320 * sysdeps/wordsize-64/ftello64.c: File removed.
20321 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20322 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20323 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20324 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20325 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20326 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20327 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20328 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20329 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20330 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20331 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20332 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20333 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20334 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20336 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20338 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20340 [defined __arch64__ || defined __sparcv9]
20341 (__OFF_T_MATCHES_OFF64_T): New macro.
20342 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20343 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20345 (__OFF_T_MATCHES_OFF64_T): New macro.
20347 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20349 * stdlib/secure-getenv.c (__secure_getenv): Replace
20350 GLIBC_2_16 with GLIBC_2_17.
20352 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20354 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20355 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20357 2012-08-03 David S. Miller <davem@davemloft.net>
20359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20361 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20363 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20365 (__ASSUME_CORRECT_SI_PID): Likewise.
20366 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20367 (__ASSUME_TMPFS_NAME): Likewise.
20368 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20369 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20370 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20371 (HAVE_AUX_SECURE): Make definition unconditional.
20372 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20373 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20375 2012-08-03 Roland McGrath <roland@hack.frob.com>
20377 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20378 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20379 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20380 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20381 __eloop_threshold instead of SYMLOOP_MAX.
20383 * sysdeps/generic/eloop-threshold.h: New file.
20384 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20386 * elf/chroot_canon.c (chroot_canon): Likewise.
20388 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20391 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20392 Change to 2.6.0 everywhere.
20393 * sysdeps/unix/sysv/linux/configure: Regenerated.
20394 * sysdeps/unix/sysv/linux/kernel-features.h
20395 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20396 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20398 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20399 (__ASSUME_FUTEX_REQUEUE): Remove.
20400 (__ASSUME_STATFS64): Define unconditionally.
20401 (__ASSUME_AT_SECURE): Likewise.
20402 (__ASSUME_CORRECT_SI_PID): Likewise.
20403 (__ASSUME_TGKILL): Define without depending on kernel version for
20405 (__ASSUME_UTIMES): Likewise.
20406 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20408 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20409 (__ASSUME_TMPFS_NAME): Likewise.
20410 * README: Update reference to Linux kernel versions.
20412 2012-08-02 Marek Polacek <polacek@redhat.com>
20415 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20416 libc_cv_asm_type_prefix with %.
20417 * configure: Regenerated.
20418 * include/libc-symbols.h: Remove comment about
20419 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20420 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20421 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20422 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20423 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20424 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20425 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20426 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20427 * elf/tst-unique2mod1.c: Likewise.
20428 * elf/tst-unique1mod2.c: Likewise.
20429 * elf/tst-unique1mod1.c: Likewise.
20430 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20431 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20432 Replace ASM_TYPE_DIRECTIVE with .type.
20433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20434 * sysdeps/i386/sysdep.h: Likewise.
20435 * sysdeps/x86_64/sysdep.h: Likewise.
20436 * sysdeps/sh/sysdep.h: Likewise.
20437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20438 Do not define ASM_TYPE_DIRECTIVE.
20439 * sysdeps/powerpc/sysdep.h: Likewise.
20440 * sysdeps/powerpc/powerpc32/sysdep.h:
20441 Replace ASM_TYPE_DIRECTIVE with .type.
20442 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20443 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20444 * sysdeps/i386/fpu/e_powf.S: Likewise.
20445 * sysdeps/i386/fpu/e_expl.S: Likewise.
20446 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20447 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20448 * sysdeps/i386/fpu/e_pow.S: Likewise.
20449 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20450 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20451 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20452 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20453 * sysdeps/i386/fpu/e_log2.S: Likewise.
20454 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20455 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20456 * sysdeps/i386/fpu/e_powl.S: Likewise.
20457 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20458 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20459 * sysdeps/i386/fpu/e_logl.S: Likewise.
20460 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20461 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20462 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20463 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20464 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20465 * sysdeps/i386/fpu/e_log.S: Likewise.
20466 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20467 * sysdeps/i386/fpu/e_logf.S: Likewise.
20468 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20469 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20470 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20471 * sysdeps/i386/fpu/e_log10.S: Likewise.
20472 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20473 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20474 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20475 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20476 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20477 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20478 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20479 * sysdeps/i386/i686/strtok.S: Likewise.
20480 * sysdeps/i386/i386-mcount.S: Likewise.
20481 * sysdeps/i386/strtok.S: Likewise.
20482 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20483 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20484 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20485 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20486 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20487 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20488 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20489 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20490 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20491 * sysdeps/x86_64/_mcount.S: Likewise.
20492 * sysdeps/x86_64/strtok.S: Likewise.
20493 * sysdeps/sh/_mcount.S: Likewise.
20495 2012-08-01 Roland McGrath <roland@hack.frob.com>
20497 * libio/iofopen.c: Include <fcntl.h>.
20498 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20499 (_IO_fopen64, fopen64): Define as aliases.
20500 * libio/iofopen64.c: Include <fcntl.h>.
20501 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20502 Conditionalize body on this.
20503 * sysdeps/wordsize-64/iofopen.c: File removed.
20504 * sysdeps/wordsize-64/iofopen64.c: File removed.
20506 2012-08-01 Marek Polacek <polacek@redhat.com>
20508 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20509 Use dlfcn directly instead of a variable.
20510 (binfmt-subdir): Do not define.
20513 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20515 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20516 Remove all definitions.
20517 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20518 <kernel-features.h>.
20519 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20520 (miss_F_GETOWN_EX): Remove all definitions.
20521 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20523 [!__ASSUME_FCNTL64]: Remove conditional code.
20524 [__ASSUME_FCNTL64]: Make code unconditional.
20525 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20526 <kernel-features.h>.
20527 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20528 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20529 (lockf64) [__NR_fcntl64]: Make code unconditional.
20530 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20532 * sysdeps/unix/sysv/linux/kernel-features.h
20533 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20534 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20535 Make code unconditional.
20536 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20537 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20539 [__NR_vfork]: Make code unconditional.
20540 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20541 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20543 [__NR_vfork]: Make code unconditional.
20544 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20545 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20547 2012-08-01 Roland McGrath <roland@hack.frob.com>
20549 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20550 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20552 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20553 Define mkstemp64 as an alias.
20554 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20555 Define mkstemps64 as an alias.
20556 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20557 Define mkostemp64 as an alias.
20558 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20559 Define mkostemps64 as an alias.
20560 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20561 Conditionalize body on this.
20562 * misc/mkostemp64.c: Likewise.
20563 * misc/mkostemps64.c: Likewise.
20564 * misc/mkstemps64.c: Likewise.
20565 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20566 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20567 * sysdeps/wordsize-64/mkostemp.c: File removed.
20568 * sysdeps/wordsize-64/mkstemp.c: File removed.
20569 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20570 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20571 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20572 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20575 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20576 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20577 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20578 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20580 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20581 compat_symbol macros from <shlib-compat.h> rather than the underlying
20582 default_symbol_version and symbol_version macros, so that DEFAULT
20583 lines in shlib-versions are respected.
20584 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20586 2012-08-01 Florian Weimer <fweimer@redhat.com>
20588 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20589 Declare with warn_unused_result.
20590 (setgid, setregid, setegid, setresgid): Likewise.
20591 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20593 * WUR-REPORT: Remove set*id functions.
20595 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20597 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20599 2012-07-31 Roland McGrath <roland@hack.frob.com>
20602 * include/sys/socket.h (__libc_accept, __libc_accept4):
20603 Add attribute_hidden.
20604 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20606 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20608 * inet/getnetgrent_r.c (setup): Likewise.
20610 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20612 2012-07-31 David S. Miller <davem@davemloft.net>
20614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20616 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20619 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20620 value between 1.0 and 2.0 and smaller part has absolute value less
20622 * math/s_clog10.c (__clog10): Likewise.
20623 * math/s_clog10f.c (__clog10f): Likewise.
20624 * math/s_clog10l.c (__clog10l): Likewise.
20625 * math/s_clogf.c (__clogf): Likewise.
20626 * math/s_clogl.c (__clogl): Likewise.
20627 * math/libm-test.inc (clog_test): Add more tests.
20628 (clog10_test): Likewise.
20629 * sysdeps/i386/fpu/libm-test-ulps: Update.
20630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20632 2012-07-31 Florian Weimer <fweimer@redhat.com>
20634 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20635 Exit with zero in case no suitable GID is found, and write a
20636 message to standard error.
20638 2012-07-30 Roland McGrath <roland@hack.frob.com>
20640 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20642 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20643 (MAXPATHLEN): Removed.
20644 (NOGROUP, NODEV): New macros.
20645 (setbit, clrbit, isset, isclr): New macros.
20646 (howmany, roundup, powerof2): New macros.
20647 (DEV_BSIZE): New macro.
20649 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20650 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20652 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20653 definition on [!__NO_LONG_DOUBLE_MATH].
20655 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20656 PTR_MANGLE and PTR_DEMANGLE.
20658 * socket/accept4.c (accept4): Rename to __libc_accept4.
20659 Define accept4 as a weak alias.
20661 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20662 on [_DIRENT_HAVE_D_TYPE].
20663 * io/ftw.c (ftw_dir): Likewise.
20665 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20667 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20669 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20670 Use the BSD numbers rather than the arbitrary ones we had.
20671 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20672 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20673 (SIGXCPU, SIGXFSZ): New macros.
20676 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20677 initializer on [_LIBC_REENTRANT].
20679 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20680 definitions inside [_POSIX_MAPPED_FILES].
20682 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20684 * dirent/opendir.c: Include <fcntl.h>.
20686 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20687 (__libc_getspecific): Likewise.
20688 (__libc_key_create): Likewise.
20690 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20691 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20692 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20693 (tmpfile64): Define as alias.
20694 * sysdeps/wordsize-64/tmpfile.c: File removed.
20695 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20696 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20697 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20699 * stdio-common/vfscanf.c: Include <stdbool.h>.
20700 * nss/makedb.c: Likewise.
20701 * stdio-common/_i18n_number.h: Likewise.
20702 * argp/argp-help.c: Likewise.
20703 * posix/wordexp.c: Likewise.
20704 * sysdeps/posix/spawni.c: Likewise.
20705 * nss/nss_files/files-initgroups.c: Likewise.
20706 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20707 * nss/nss_files/files-initgroups.c: Likewise.
20708 * nss/nss_db/db-netgrp.c: Likewise.
20709 * nss/nss_db/db-initgroups.c: Likewise.
20710 * io/fchmodat.c: Include <sys/stat.h>.
20712 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20713 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20715 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20718 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20719 Add multiple inclusion protection.
20721 2012-07-27 David S. Miller <davem@davemloft.net>
20723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20725 2012-07-27 Gary Benson <gbenson@redhat.com>
20728 * elf/rtld.c: Include <stap-probe.h>.
20729 (dl_main): Added static probes "init_start" and "init_complete".
20730 * elf/dl-load.c: Include <stap-probe.h>.
20731 (lose): Take new parameter "nsid".
20732 Added static probe "map_failed".
20733 (_dl_map_object_from_fd): Pass namespace id to lose.
20734 Added static probe "map_start".
20735 (open_verify): Pass namespace id to lose.
20736 * elf/dl-open.c: Include <stap-probe.h>.
20737 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20738 and "reloc_complete".
20739 * elf/dl-close.c: Include <stap-probe.h>.
20740 (_dl_close_worker): Added static probes "unmap_start" and
20742 * elf/rtld-debugger-interface.txt: New file documenting the above.
20744 2012-07-26 Roland McGrath <roland@hack.frob.com>
20746 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20747 rather than a string variable.
20748 * sunrpc/rpc_main.c (h_output): Likewise.
20749 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20751 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20753 * inet/check_native.c: New file.
20755 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20758 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20759 if larger part has absolute value 1.0.
20760 * math/s_clog10.c (__clog10): Likewise.
20761 * math/s_clog10f.c (__clog10f): Likewise.
20762 * math/s_clog10l.c (__clog10l): Likewise.
20763 * math/s_clogf.c (__clogf): Likewise.
20764 * math/s_clogl.c (__clogl): Likewise.
20765 * math/libm-test.inc (clog_test): Add more tests.
20766 (clog10_test): Likewise.
20767 * sysdeps/i386/fpu/libm-test-ulps: Update.
20768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20770 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20771 (pltexit): Likewise.
20772 (La_regs): Likewise.
20773 (La_retval): Likewise.
20774 (int_retval): Likewise.
20775 Update #error for removed macros to refer only to definitions in
20777 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20779 (pltexit): Likewise.
20780 (La_regs): Likewise.
20781 (La_retval): Likewise.
20782 (int_retval): Likewise.
20783 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20785 (pltexit): Likewise.
20786 (La_regs): Likewise.
20787 (La_retval): Likewise.
20788 (int_retval): Likewise.
20789 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20791 (pltexit): Likewise.
20792 (La_regs): Likewise.
20793 (La_retval): Likewise.
20794 (int_retval): Likewise.
20795 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20797 (pltexit): Likewise.
20798 (La_regs): Likewise.
20799 (La_retval): Likewise.
20800 (int_retval): Likewise.
20801 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20803 (pltexit): Likewise.
20804 (La_regs): Likewise.
20805 (La_retval): Likewise.
20806 (int_retval): Likewise.
20807 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20809 (pltexit): Likewise.
20810 (La_regs): Likewise.
20811 (La_retval): Likewise.
20812 (int_retval): Likewise.
20813 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20814 macro definitions in tst-audit.h.
20815 * sysdeps/i386/tst-audit.h: New file.
20816 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20817 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20818 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20819 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20820 * sysdeps/sh/tst-audit.h: Likewise.
20821 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20822 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20823 * sysdeps/x86_64/tst-audit.h: Likewise.
20825 2012-07-26 Andreas Jaeger <aj@suse.de>
20827 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20830 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20831 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20832 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20834 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20835 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20836 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20838 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20841 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20843 (si_call_addr, si_syscall, si_arch): Define new macro.
20844 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20846 (si_call_addr, si_syscall, si_arch): Define new marcro.
20847 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20849 (si_call_addr, si_syscall, si_arch): Define new macro.
20850 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20852 (si_call_addr, si_syscall, si_arch): Define new macro.
20854 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20857 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20858 Change to 2.4.21 where previously 2.4.1.
20859 * sysdeps/unix/sysv/linux/configure: Regenerated.
20860 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20861 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20862 Linux kernel version.
20863 (__ASSUME_STD_AUXV): Remove.
20864 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20866 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20867 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20868 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20869 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20870 (__ASSUME_NETLINK_SUPPORT): Likewise.
20871 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20872 (__no_netlink_support): Remove conditional definition.
20873 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20875 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20876 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20877 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20878 (if_nameindex_ioctl): Remove.
20879 (if_nameindex_netlink): Do not handle __no_netlink_support.
20880 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20882 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20883 Remove conditional code.
20884 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20886 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20888 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20889 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20890 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20892 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20893 [!__ASSUME_STD_AUXV]: Remove conditional code.
20894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20895 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20896 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20898 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20899 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20901 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20903 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20904 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20906 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20908 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20911 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20914 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20915 code unconditional.
20916 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20918 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20920 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20923 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20925 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20928 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20929 code unconditional.
20930 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20932 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20934 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20937 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20938 code unconditional.
20939 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20941 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20943 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20946 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20948 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20949 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20950 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20951 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20952 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20953 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20954 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20955 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20956 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20957 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20958 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20959 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20960 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20961 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20962 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20963 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20964 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20965 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20966 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20968 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20969 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20970 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20972 2012-07-25 Florian Weimer <fweimer@redhat.com>
20974 * Versions.def: Add GLIBC_2.17.
20975 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20976 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20977 Introduce __libc_secure_getenv.
20978 * stdlib/Versions (2.17): Add secure_getenv
20979 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20980 * stdlib/secure-getenv.c: Rename __secure_getenv to
20981 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20982 symbol __secure_getenv for GLIBC_2.0.
20983 * stdlib/tst-secure-getenv.c: New.
20984 * stdlib/Makefile (tests): Add testcase.
20985 * manual/startup.texi (Environment Access): Document
20987 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20988 __libc_secure_getenv.
20989 * inet/ruserpass.c (ruserpass): Likewise.
20990 * malloc/mtrace.c (mtrace): Likewise.
20991 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20992 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20993 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20994 * sysdeps/posix/tempname.c: Likewise. Evaluate
20995 HAVE_SECURE_GETENV.
20996 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20997 __secure_getenv to __libc_secure_getenv.
20998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21011 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21013 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21014 (struct La_i86_retval): Likewise.
21015 (struct La_x86_64_regs): Likewise.
21016 (struct La_x86_64_retval): Likewise.
21017 (struct La_x32_regs): Likewise.
21018 (struct La_x32_retval): Likewise.
21019 (struct La_ppc32_regs): Likewise.
21020 (struct La_ppc32_retval): Likewise.
21021 (struct La_ppc64_regs): Likewise.
21022 (struct La_ppc64_retval): Likewise.
21023 (struct La_sh_regs): Likewise.
21024 (struct La_sh_retval): Likewise.
21025 (struct La_s390_32_regs): Likewise.
21026 (struct La_s390_32_retval): Likewise.
21027 (struct La_s390_64_regs): Likewise.
21028 (struct La_s390_64_retval): Likewise.
21029 (struct La_sparc32_regs): Likewise.
21030 (struct La_sparc32_retval): Likewise.
21031 (struct La_sparc64_regs): Likewise.
21032 (struct La_sparc64_retval): Likewise.
21033 (struct audit_ifaces): Remove architecture-specific pltenter and
21035 * sysdeps/i386/ldsodefs.h: New file.
21036 * sysdeps/powerpc/ldsodefs.h: Likewise.
21037 * sysdeps/s390/ldsodefs.h: Likewise.
21038 * sysdeps/sh/ldsodefs.h: Likewise.
21039 * sysdeps/sparc/ldsodefs.h: Likewise.
21040 * sysdeps/x86_64/ldsodefs.h: Likewise.
21042 2012-07-25 Marek Polacek <polacek@redhat.com>
21045 * math/libm-test.inc (yn_test): Add another test.
21046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21047 to ERANGE when the result is +-Inf.
21048 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21049 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21050 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21051 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21053 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21055 * conform/data/time.h-data (NULL): Use macro-constant. Require
21057 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21059 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21061 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21063 * configure.in <sysdeps resolving>: Correct printing
21065 * configure: Regenerate.
21067 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21069 * math/w_ilogb.c: Include <limits.h>.
21070 * math/w_ilogbl.c: Likewise.
21072 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21074 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21075 va_copy. Document allowing for unavailable va_copy only as
21076 pre-C99 compatibility.
21077 * manual/string.texi (Copying and Concatenation): Use va_copy
21078 instead of __va_copy in concat example.
21080 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21082 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21083 (__sendto): Use create_address_port. Initialize APORT and deallocate
21086 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21087 with O_NOLINK passed to __file_name_lookup.
21089 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21090 with O_NOLINK passed to __file_name_lookup.
21092 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21093 negative N or less than NGIDS.
21095 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21096 type to string_t. Set ERANGE as errno and return it if NAME is not big
21097 enough. Use memcpy instead of strncpy.
21099 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21101 * elf/Makefile (check-data): Remove.
21102 (localplt.data): New vpath directive.
21103 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21104 instead of $(check-data).
21105 * scripts/data/localplt-generic.data: Move to ...
21106 * sysdeps/generic/localplt.data: ... here.
21107 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21108 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21109 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21112 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21115 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21118 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21121 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21124 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21128 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21130 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21131 PPC32 and PPC64 files.
21132 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21133 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21135 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21137 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21138 __makecontext_ret to ...
21139 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21140 ... here and call exit if uc_link is NULL. New file.
21141 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21142 __makecontext_ret.S.
21143 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21144 __makecontext_ret to ...
21145 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21146 ... here and call exit if uc_link is NULL. New file.
21147 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21148 __makecontext_ret.S.
21150 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21152 * elf/elf.h (R_390_IRELATIVE): New definition.
21153 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21154 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21155 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21156 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21157 (elf_machine_lazy_rel): Likewise.
21158 * sysdeps/s390/dl-irel.h: New file.
21159 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21160 * sysdeps/s390/s390-64/memset.S: New asm code.
21161 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21162 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21163 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21164 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21165 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21166 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21167 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21168 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21169 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21170 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21171 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21172 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21173 * sysdeps/s390/s390-32/memset.S: New asm code.
21174 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21176 2012-07-17 Marek Polacek <polacek@redhat.com>
21179 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21180 * sysdeps/s390/s390-64/configure.in: Likewise.
21181 * sysdeps/sparc/configure.in: Likewise.
21182 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21183 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21184 * sysdeps/i386/configure.in: Likewise.
21185 * sysdeps/x86_64/configure.in: Likewise.
21186 * sysdeps/sh/configure.in: Likewise.
21187 * sysdeps/s390/s390-32/configure: Regenerated.
21188 * sysdeps/s390/s390-64/configure: Likewise.
21189 * sysdeps/x86_64/configure: Likewise.
21190 * sysdeps/sh/configure: Likewise.
21191 * sysdeps/powerpc/powerpc64/configure: Likewise.
21192 * sysdeps/powerpc/powerpc32/configure: Likewise.
21193 * sysdeps/sparc/configure: Likwise.
21194 * sysdeps/i386/configure: Likewise.
21196 * elf/dl-open.c: Comment fixes.
21198 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21200 * Makefile [CXX] (check-data): Remove.
21201 [CXX] (c++-types.data): New vpath directive.
21202 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21203 vpath. Do not allow for C++ type data being missing.
21204 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21205 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21206 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21207 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21208 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21209 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21210 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21213 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21216 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21219 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21222 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21225 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21228 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21231 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21234 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21235 definitions to architecture-specific files.
21236 (TLS_IE): Likewise.
21237 (TLS_LD): Likewise.
21238 (TLS_GD): Likewise.
21239 * sysdeps/i386/tls-macros.h: New file.
21240 * sysdeps/powerpc/tls-macros.h: Likewise.
21241 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21242 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21243 * sysdeps/sh/tls-macros.h: Likewise.
21244 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21245 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21246 * sysdeps/x86_64/tls-macros.h: Likewise.
21248 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21250 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21251 zero value for regular exit case.
21253 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21254 (__start_context): Preserve zero value for regular exit case.
21256 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21257 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21259 * manual/setjmp.texi (setcontext): Clarify normal process
21260 termination when uc_link is the null pointer.
21261 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21264 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21266 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21267 preprocessor. Test for each exception mask separately.
21269 2012-07-16 Andreas Jaeger <aj@suse.de>
21271 * po/ru.po: Update from translation team.
21273 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21275 * conform/data/string.h-data (NULL): Use macro-constant. Require
21277 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21278 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21279 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21280 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21283 2012-07-13 Andreas Jaeger <aj@suse.de>
21285 * po/fr.po: Update from translation team.
21287 2012-07-12 Marek Polacek <polacek@redhat.com>
21290 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21291 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21294 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21298 Change to 2.4.1 where previously 2.4.0.
21299 * sysdeps/unix/sysv/linux/configure: Regenerated.
21300 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21301 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21303 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21304 (__ASSUME_AT_CLKTCK): Remove.
21305 (__ASSUME_AT_PAGESIZE): Likewise.
21306 (__ASSUME_AT_XID): Likewise.
21307 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21308 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21309 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21311 (HAVE_AUX_PAGESIZE): Likewise.
21312 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21313 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21314 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21316 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21320 the temporary buffer used to invoke __gethostbyname2_r,
21321 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21322 host_data / struct gaih_addrtuple.
21323 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21324 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21325 header file nss/nsswitch.h.
21326 * nss/nsswitch.h (global scope): Add definition of implementation
21327 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21328 resolv/nss_dns/dns-host.c).
21330 2012-07-11 Andreas Jaeger <aj@suse.de>
21332 * po/fr.po: Update from translation team.
21334 * po/sv.po: Update from translation team
21335 * po/fr.po: Another update from translation team.
21337 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21339 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21340 for subnormals or multiply small sinh result by itself.
21341 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21344 2012-07-11 David S. Miller <davem@davemloft.net>
21346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21348 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21351 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21352 (INTERNAL_MARK): Shift it here.
21354 2012-07-10 Marek Polacek <polacek@redhat.com>
21357 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21358 libc_cv_asm_global_directive with .globl.
21359 * configure: Regenerated.
21360 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21362 * sysdeps/i386/configure: Regenerated.
21363 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21365 * sysdeps/x86_64/configure: Regenerated.
21366 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21367 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21368 * elf/tst-unique2mod2.c: Likewise.
21369 * elf/tst-unique2mod1.c: Likewise.
21370 * elf/tst-unique1mod2.c: Likewise.
21371 * elf/tst-unique1mod1.c: Likewise.
21372 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21373 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21374 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21375 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21376 * sysdeps/mach/sysdep.h: Likewise.
21377 * sysdeps/i386/sysdep.h: Likewise.
21378 * sysdeps/i386/i386-mcount.S: Likewise.
21379 * sysdeps/x86_64/_mcount.S: Likewise.
21380 * sysdeps/x86_64/sysdep.h: Likewise.
21381 * sysdeps/sh/_mcount.S: Likewise.
21382 * sysdeps/sh/sysdep.h: Likewise.
21383 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21384 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21385 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21386 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21387 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21388 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21389 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21390 * locale/localeinfo.h: Likewise.
21391 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21392 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21394 2012-07-09 Roland McGrath <roland@hack.frob.com>
21397 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21399 * manual/message.texi (The Uniforum approach): Likewise.
21400 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21401 (glibc iconv Implementation): Likewise.
21403 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21406 * math/s_clog.c (__clog): Avoid scaling a value down where that
21407 could result in underflow.
21408 * math/s_clog10.c (__clog10): Likewise.
21409 * math/s_clog10f.c (__clog10f): Likewise.
21410 * math/s_clog10l.c (__clog10l): Likewise.
21411 * math/s_clogf.c (__clogf): Likewise.
21412 * math/s_clogl.c (__clogl): Likewise.
21413 * math/libm-test.inc (clog_test): Add more tests.
21414 (clog10_test): Likewise.
21415 * sysdeps/i386/fpu/libm-test-ulps: Update.
21416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21418 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21421 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21422 by 7 not 8 to examine high bit of fractional part.
21425 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21426 for call to __mcount_internal.
21427 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21428 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21429 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21431 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21434 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21435 approximation for values within 0x1p-13f of an odd multiple of
21437 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21438 exception. Add more tests.
21439 * sysdeps/i386/fpu/libm-test-ulps: Update.
21442 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21443 inputs and return -1 for them. Do not check for +Inf in case not
21444 reachable for +Inf.
21445 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21446 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21447 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21448 and return -1 for them. Do not check for +Inf in case not
21449 reachable for +Inf.
21450 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21453 and return -1 for them. Do not check for +Inf in case not
21454 reachable for +Inf.
21455 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21456 spurious underflow.
21457 * sysdeps/i386/fpu/libm-test-ulps: Update.
21458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21460 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21462 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21464 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21468 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21469 could result in spurious underflow. Scale down values above
21470 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21471 * math/s_csqrtf.c (__csqrtf): Likewise.
21472 * math/s_csqrtl.c (__csqrtl): Likewise.
21473 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21474 spurious underflow.
21475 * sysdeps/i386/fpu/libm-test-ulps: Update.
21476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21478 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21480 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21482 * catgets/xopen-msg.awk: New file.
21483 * catgets/xopen-msg.sed: Removed.
21485 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21487 * intl/po2test.awk: New file.
21488 * intl/po2test.sed: Removed.
21490 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21493 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21494 or multiply small sinh result by itself.
21495 * math/s_ctanf.c (__ctanf): Likewise.
21496 * math/s_ctanh.c (__ctanh): Likewise.
21497 * math/s_ctanhf.c (__ctanhf): Likewise.
21498 * math/s_ctanhl.c (__ctanhl): Likewise.
21499 * math/s_ctanl.c (__ctanl): Likewise.
21500 * math/libm-test.inc (ctan_test_tonearest): New function.
21501 (ctan_test_towardzero): Likewise.
21502 (ctan_test_downward): Likewise.
21503 (ctan_test_upward): Likewise.
21504 (ctanh_test_tonearest): Likewise.
21505 (ctanh_test_towardzero): Likewise.
21506 (ctanh_test_downward): Likewise.
21507 (ctanh_test_upward): Likewise.
21508 (main): Call these new functions.
21509 * sysdeps/i386/fpu/libm-test-ulps: Update.
21510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21512 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21514 * .gitignore: Delete /ports entry.
21516 2012-07-03 Andreas Jaeger <aj@suse.de>
21518 * po/bg.po: Update from translation team.
21519 * po/cs.po: Likewise.
21520 * po/de.po: Likewise.
21521 * po/hr.po: Likewise.
21522 * po/nl.pl: Likewise.
21523 * po/pl.po: Likewise.
21524 * po/vi.po: Likewise.
21526 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21528 * Makeconfig [!+link] (+link-before-libc): New variable.
21529 [!+link] (+link-after-libc): Likewise.
21530 [!+link] (+link-tests): Likewise.
21531 [!+link] (+link): Define in terms of $(+link-before-libc) and
21532 $(+link-after-libc).
21533 [!+link-static] (+link-static-before-libc): New variable.
21534 [!+link-static] (+link-static-after-libc): Likewise.
21535 [!+link-static] (+link-static-tests): Likewise.
21536 [!+link-static] (+link-static): Define in terms of
21537 $(+link-static-before-libc) and $(+link-static-after-libc).
21538 [build-shared] (link-libc-before-gnulib): New variable.
21539 [build-shared] (link-libc-tests): Likewise.
21540 [build-shared] (link-libc): Define in terms of
21541 $(link-libc-before-gnulib).
21542 [!build-shared] (link-libc-tests): New variable.
21543 (link-libc-static-tests): New variable.
21544 [!gnulib] (gnulib-arch): New variable.
21545 [!gnulib] (gnulib-tests): Likewise.
21546 [!gnulib] (static-gnulib-arch): Likewise.
21547 [!gnulib] (static-gnulib-tests): Likewise.
21548 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21549 Define with "=" instead of ":=".
21550 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21551 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21552 * Rules (binaries-all-notests): New variable.
21553 (binaries-all-tests): Likewise.
21554 (binaries-static-notests): Likewise.
21555 (binaries-static-tests): Likewise.
21556 (binaries-all): Define using $(binaries-all-notests) and
21557 $(binaries-all-tests).
21558 (binaries-static): Define using $(binaries-static-notests) and
21559 $(binaries-static-tests).
21560 (binaries-shared-tests): New variable.
21561 (binaries-shared-notests): Likewise.
21562 (binaries-shared): Remove variable.
21563 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21564 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21565 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21566 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21567 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21568 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21569 * elf/Makefile (sln-modules): New variable.
21570 (extra-objs): Add $(sln-modules:=.o).
21571 (ldconfig-modules): Add static-stubs.
21572 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21573 * elf/static-stubs.c: New file.
21576 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21577 by 7 not 8 to examine high bit of fractional part. Use volatile
21578 variables when splitting into final array of floats if
21579 __FLT_EVAL_METHOD__ != 0.
21580 * math/libm-test.inc (cos_test): Add another test.
21581 (sin_test): Likewise.
21582 * sysdeps/i386/fpu/libm-test-ulps: Update.
21585 * math/libm-test.inc (cosh_test): Add more tests.
21587 * version.h (RELEASE): Set to "development".
21588 (VERSION): Set to "2.16.90".
21590 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21592 * NEWS: Update copyright. Remove last-updated date.
21593 Mention math library bug fixes and timezone data changes.
21594 * README: Mention GNU/Hurd, x32, and HPPA support status.
21596 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21598 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21600 2012-06-27 Andreas Jaeger <aj@suse.de>
21602 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21604 2012-06-25 Andreas Jaeger <aj@suse.de>
21606 * sysdeps/s390/fpu/libm-test-ulps: Update.
21608 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21609 Thomas Schwinge <thomas@codesourcery.com>
21611 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21612 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21613 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21616 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21618 * sysdeps/mach/start.c: Remove file.
21619 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21620 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21621 * sysdeps/sh/init-first.c: Likewise.
21623 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21624 registers for frame unwinding purposes, add CFI directives.
21625 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21626 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21627 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21630 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21631 __fortify_fail returning.
21632 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21634 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21635 sysdeps/sh/____longjmp_chk.S.
21636 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21637 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21638 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21639 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21641 * sysdeps/sh/abort-instr.h: New file.
21642 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21643 process in case exit returns.
21645 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21646 initialize the GOT register before use.
21648 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21649 calculation of ARGC > 4.
21651 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21652 meaningful names to some local labels.
21654 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21655 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21657 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21658 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21659 (__arch_compare_and_exchange_val_16_acq): Likewise.
21660 (__arch_compare_and_exchange_val_32_acq): Likewise.
21661 (atomic_exchange_and_add): Fix gUSA sequence.
21662 (atomic_add): Likewise.
21663 (atomic_add_negative): Likewise.
21664 (atomic_add_zero): Likewise.
21665 (atomic_bit_test_set): Likewise.
21667 2012-06-22 Andreas Schwab <schwab@redhat.com>
21670 * include/link.h (struct link_map): Add l_free_initfini.
21671 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21673 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21674 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21675 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21678 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21680 * configure.in: Use AC_LANG_SOURCE.
21681 * configure: Regenerate.
21683 2012-06-22 Roland McGrath <roland@hack.frob.com>
21685 * configure.in (libc_cv_localstatedir): New substituted variable.
21686 * configure: Regenerated.
21687 * config.make.in (localstatedir): New variable, substituted from
21688 libc_cv_localstatedir.
21689 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21690 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21691 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21692 * sysdeps/gnu/configure: Regenerated.
21694 2012-06-21 Jeff Law <law@redhat.com>
21697 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21698 free. Simplify list management for _LIBC case.
21700 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21703 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21704 Clear sign bit of 64-bit integer value before comparing against
21707 * sysdeps/mach/configure: Regenerated.
21709 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21712 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21714 2012-06-21 Jeff Law <law@redhat.com>
21717 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21718 uint16_t for elements in the "seen" array to avoid char overflows.
21719 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21720 * elf/dl-open.c (dl_open_worker): Likewise.
21722 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21724 * scripts/list-sources.sh: Scan PORTS for translations.
21725 * po/libc.pot: Regenerated.
21727 2012-06-21 Andreas Jaeger <aj@suse.de>
21730 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21732 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21733 * bits/byteswap-16.h (__bswap_16): Likewise.
21734 * bits/byteswap.h (__bswap_constant_16): Likewise.
21736 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21739 * sysdeps/i386/fpu_control.h: Removed.
21740 * sysdeps/x86_64/fpu_control.h: Moved to ...
21741 * sysdeps/x86/fpu_control.h: Here.
21743 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21744 (_FPU_SETCW): Likewise.
21746 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21749 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21750 * sysdeps/x86/fpu/bits/mathinline.h: This.
21751 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21755 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21756 functions if __x86_64__ is defined.
21758 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21760 * string/endian.h: Add !__ASSEMBLER__ condition for including
21761 conversion interfaces.
21763 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21767 of ABS(x) in calculating zero to negative powers other than odd
21769 * math/libm-test.inc (pow_test): Add more tests.
21771 2012-06-15 Andreas Jaeger <aj@suse.de>
21773 * manual/contrib.texi (Contributors): Update entry of Liubov
21774 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21777 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21779 * string/string.h: Add __wur to GNU version of strerror_r.
21781 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21784 * string/Makefile (tests): Add tst-strtok_r.
21785 * string/tst-strtok_r.c: New file.
21786 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21787 RAX_LP/RDX_LP on SAVE_PTR.
21789 2012-06-14 Roland McGrath <roland@hack.frob.com>
21791 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21793 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21795 * libm_test.inc (csqrt_test): Allow more spurious underflow
21797 (j0_test): Likewise.
21798 (j1_test): Likewise.
21799 (y0_test): Likewise.
21800 (y1_test): Likewise.
21802 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21804 * po/Makefile (libc.pot): Use UTF-8 charset.
21806 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21809 Suppress sign-conversion warning from FD_SET.
21810 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21811 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21812 not unsigned long int.
21813 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21815 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21819 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21820 __extern_always_inline instead of __extern_inline.
21821 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21822 (__signbit): Likewise.
21823 (__signbitl): Support C++ namespace.
21824 (lrintf): New inline function.
21826 (llrintf): Likewise.
21827 (llrint): Likewise.
21837 (floorf): Likewise.
21838 (nearbyint): Likewise.
21839 (nearbyintf): Likewise.
21841 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21843 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21844 non-default versions.
21846 2012-06-11 Roland McGrath <roland@hack.frob.com>
21849 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21851 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21853 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21854 (FE_UPWARD, FE_DOWNWARD): Don't define.
21855 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21856 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21858 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21860 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21861 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21863 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21865 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21866 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21867 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21868 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21870 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21873 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21874 * sysdeps/i386/fpu/Implies: New file.
21875 * sysdeps/x86_64/fpu/Implies: Likewise.
21876 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21877 * sysdeps/x86/fpu/bits/fenv.h: This.
21879 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21882 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21885 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21886 character 0xffff that matches the last element of the
21889 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21891 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21894 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21896 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21897 values higher than 25.6283.
21899 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21902 subnormal exponent extraction and add some __builtin_expect.
21903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21904 Fix for subnormal mantissa calculation.
21906 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21908 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21909 cpu2 is -1 and errno is not ENOSYS.
21911 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21914 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21915 * sysdeps/x86/bits/string.h: This.
21916 * sysdeps/x86_64/bits/string.h: Removed.
21918 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21919 if not compiling for x86-64, but compiling for >= i486.
21921 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21922 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21924 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21925 New macro from Linux kernel 3.4.0.
21926 (FP_XSTATE_MAGIC2): Likewise.
21927 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21928 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21929 (struct _fpx_sw_bytes): New struct.
21930 (struct _xsave_hdr): Likewise.
21931 (struct _ymmh_state): Likewise.
21932 (struct _xstate): Likewise.
21934 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21935 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21936 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21937 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21938 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21939 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21941 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21942 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21943 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21944 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21945 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21946 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21948 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21951 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21952 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21953 (sysdep_headers): Include sys/platform/ppc.h.
21954 * sysdeps/powerpc/test-gettimebase.c: Test for
21955 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21956 * manual/Makefile (appendices): Include platform.texi.
21957 * manual/contrib.texi (Contributors): Update @node pointers.
21958 * manual/maint.texi (Maintenance): Likewise.
21959 (Platform): New node.
21960 * manual/platform.texi: New file. Document the new features.
21962 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21963 Jakub Jelinek <jakub@redhat.com>
21966 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21967 where __builtin_expect is unavailable.
21969 2012-06-03 David S. Miller <davem@davemloft.net>
21971 * stdlib/longlong.h: Updated from GCC.
21973 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21976 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21977 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21980 (GLIBC_2.16): Likewise.
21982 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21984 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21986 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21989 (default-abi): New variable.
21990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21991 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21993 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21995 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21997 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22000 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22001 definition. Document in comment.
22003 2012-06-01 David S. Miller <davem@davemloft.net>
22005 * stdlib/longlong.h: Updated from GCC.
22007 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22010 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22011 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22012 sys/debugreg.h sys/io.h here.
22013 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22014 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22016 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22017 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22018 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22019 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22020 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22021 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22023 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22024 Define only if __x86_64__ is defined.
22026 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22029 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22030 Use int64_t for variable i.
22031 * math/libm-test.inc (fmod_test): Add more tests.
22033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22034 z computation is not scheduled after fetestexcept.
22035 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22036 Use math_force_eval instead of asm to ensure calculation scheduled
22037 before exception test.
22038 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22039 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22041 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22044 computation is not scheduled after fetestexcept.
22046 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22049 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22050 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22052 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22054 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22055 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22057 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22060 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22062 (__WCHAR_MIN): Support __WORDSIZE == 64.
22063 (__WCHAR_MAX): Likewise.
22065 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22066 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22069 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22070 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22073 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22074 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22076 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22077 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22079 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22080 Defined to 1 if __x86_64__ isn't defined.
22081 (_STAT_VER_LINUX_OLD): New.
22082 (st_atime): Remove duplicate.
22083 (st_mtime): Likewise.
22084 (st_ctime): Likewise.
22086 2012-05-31 David S. Miller <davem@davemloft.net>
22088 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22091 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22093 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22097 * elf/dl-reloc.c: Include <_itoa.h>.
22098 (_dl_reloc_bad_type): Remove use of INTUSE.
22099 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22100 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22101 * stdio-common/psiginfo.c (psiginfo): Likewise.
22102 * stdio-common/psignal.c (psignal): Likewise.
22103 * string/strsignal.c (strsignal): Likewise.
22104 * include/signal.h (_sys_siglist): Declare hidden proto.
22105 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22106 INTVARDEF with libc_hidden_data_def.
22107 * stdio-common/itoa-udigits.c: Likewise.
22108 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22109 (_itoa_lower_digits_internal): Remove declaration.
22110 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22111 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22112 (_sys_sigabbrev_internal): Remove aliases.
22113 (_sys_siglist): Define hidden alias.
22115 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22120 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22123 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22124 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22126 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22127 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22128 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22129 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22131 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22133 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22134 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22135 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22137 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22145 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22146 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22147 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22149 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22150 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22151 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22152 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22153 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22154 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22156 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22157 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22159 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22160 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22162 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22164 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22166 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22167 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22169 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22171 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22172 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22173 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22175 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22177 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22179 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22181 * math/math.h (M_El): Use two more decimal places.
22182 (M_LOG2El): Likewise.
22183 (M_LOG10El): Likewise.
22184 (M_LN2l): Likewise.
22185 (M_LN10l): Likewise.
22187 (M_PI_2l): Likewise.
22188 (M_PI_4l): Likewise.
22189 (M_1_PIl): Likewise.
22190 (M_2_PIl): Likewise.
22191 (M_2_SQRTPIl): Likewise.
22192 (M_SQRT2l): Likewise.
22193 (M_SQRT1_2l): Likewise.
22195 2012-05-31 David S. Miller <davem@davemloft.net>
22197 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22198 values between float registers.
22199 * sysdeps/sparc/sparc64/memset.S: Likewise.
22200 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22202 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22204 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22205 -D_FORTIFY_SOURCE=1.
22206 (CPPFLAGS-tst-longjmp_chk.c): Define.
22207 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22208 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22209 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22210 CFLAGS-tst-wchar-h.c.
22212 2012-05-31 Marek Polacek <polacek@redhat.com>
22215 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22216 __endmntent_internal): Remove declaration.
22217 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22218 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22219 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22221 2012-05-30 David S. Miller <davem@davemloft.net>
22223 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22224 (___Q_simulate_exceptions): Use real FP ops rather than writing
22226 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22229 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22232 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22233 * sysdeps/x86/bits/xtitypes.h: This.
22235 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22236 * sysdeps/x86/bits/wordsize.h: This.
22238 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22239 * sysdeps/x86/bits/huge_vall.h: This.
22241 * sysdeps/i386/bits/select.h: Removed.
22242 * sysdeps/x86_64/bits/select.h: Renamed to ...
22243 * sysdeps/x86/bits/select.h: This.
22245 * sysdeps/i386/bits/setjmp.h: Removed.
22246 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22247 * sysdeps/x86/bits/setjmp.h: This.
22249 * sysdeps/i386/bits/mathdef.h: Removed.
22250 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22251 * sysdeps/x86/bits/mathdef.h: This.
22253 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22256 * include/sys/socket.h (__connect_internal)
22257 (__libc_sa_len_internal): Remove declaration.
22258 (__connect, __libc_sa_len): Declare hidden_proto.
22259 (SA_LEN): Remove use of INTUSE.
22260 * socket/connect.c: Add libc_hidden_def.
22261 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22262 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22263 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22265 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22266 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22267 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22268 of adding _internal alias.
22270 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22273 * sysdeps/i386/bits/link.h: Removed.
22274 * sysdeps/i386/bits/linkmap.h: Likewise.
22275 * sysdeps/x86_64/bits/link.h: Renamed to ...
22276 * sysdeps/x86/bits/link.h: This.
22277 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22278 * sysdeps/x86/bits/linkmap.h: This.
22280 * sysdeps/i386/bits/endian.h: Removed.
22281 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22282 * sysdeps/x86/bits/endian.h: This.
22284 * sysdeps/i386/bits/byteswap.h: Removed.
22285 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22286 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22287 * sysdeps/x86/bits/byteswap.h: This.
22288 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22289 * sysdeps/x86/bits/byteswap-16.h: This.
22290 * sysdeps/i386/Implies: Add x86.
22291 * sysdeps/x86_64/Implies: Likewise.
22293 2012-05-30 David S. Miller <davem@davemloft.net>
22295 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22296 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22297 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22298 (FP_TRAPPING_EXCEPTIONS): Define.
22299 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22300 (FP_TRAPPING_EXCEPTIONS): Define.
22301 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22302 subnormals only when inexact has been signalled or underflow
22303 exceptions are enabled.
22304 (_FP_PACK_CANONICAL): Likewise.
22306 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22309 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22310 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22312 2012-05-30 Richard Henderson <rth@twiddle.net>
22314 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22315 with #ifndef NOT_IN_libc.
22317 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22318 marked to avoid plt entry.
22320 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22323 * Makeconfig (default-abi): New macro.
22324 (abi-includes): Likewise.
22325 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22326 $(abi-$(default-abi)-lib-soname) for soname if defined.
22327 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22329 * Makefile (installed-stubs): Likewise.
22330 * include/stubs-biarch.h: Removed.
22331 * scripts/lib-names.awk: Only handle one library at a time.
22332 * scripts/soversions.awk: Remove WORDSIZE support.
22333 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22335 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22337 (syscall-list-default-condition): Likewise.
22338 (syscall-list-default-condition): Likewise.
22339 (syscall-list-includes): Likewise.
22340 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22341 syscall-list-* with abi-*. Handle undefined abi-variants.
22342 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22343 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22344 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22345 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22346 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22347 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22349 (syscall-list-32-options): Likewise.
22350 (syscall-list-32-condition): Likewise.
22351 (syscall-list-64-options): Likewise.
22352 (syscall-list-64-condition): Likewise.
22353 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22355 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22358 (abi-64-ld-soname): New macro.
22359 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22360 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22363 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22364 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22366 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22368 * sysdeps/unix/sysv/linux/kernel-features.h
22369 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22370 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22371 include <kernel-features.h>.
22372 [!__NR_ftruncate64]: Remove conditional code.
22373 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22374 [__NR_ftruncate64]: Make code unconditional.
22375 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22376 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22377 include <kernel-features.h>.
22378 [!__NR_ftruncate64]: Remove conditional code.
22379 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22380 [__NR_ftruncate64]: Make code unconditional.
22381 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22383 include <kernel-features.h>.
22384 [!__NR_ftruncate64]: Remove conditional code.
22385 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22386 [__NR_ftruncate64]: Make code unconditional.
22387 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22389 include <kernel-features.h>.
22390 [!__NR_ftruncate64]: Remove conditional code.
22391 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22392 [__NR_ftruncate64]: Make code unconditional.
22393 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22395 * configure.in (libc_cv_fpie): Weaken to a compile test using
22396 LIBC_TRY_CC_OPTION.
22397 * configure: Regenerated.
22399 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22414 2012-05-27 David S. Miller <davem@davemloft.net>
22416 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22418 (__Q_simulate_exceptions): Return void. Change to simulate
22419 exceptions by writing into the %fsr.
22420 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22421 (__Qp_handle_exceptions): Likewise.
22423 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22424 __Qp_handle_exceptions.
22425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22426 __Qp_handle_exceptions.
22427 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22428 as unused and give dummy FP_RND_NEAREST initializer.
22429 (FP_INHIBIT_RESULTS): Define.
22430 (___Q_simulate_exceptions): Update declaration.
22431 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22433 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22434 as unused and give dummy FP_RND_NEAREST initializer.
22435 (__Qp_handle_exceptions): Update declaration.
22436 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22439 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22441 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22442 the temporary FPU control word.
22443 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22444 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22445 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22446 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22447 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22448 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22449 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22450 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22451 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22452 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22453 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22455 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22457 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22460 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22462 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22463 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22464 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22465 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22467 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22468 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22471 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22473 * po/h.po: Update from translation team.
22475 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22477 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22479 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22480 handling of denormals.
22481 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22482 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22483 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22484 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22486 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22490 2012-05-26 Marek Polacek <polacek@redhat.com>
22493 * math/libm-test.inc (fma_test): Don't always expect underflow
22496 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22499 * elf/tst-execstack.c: Include stackinfo.h.
22500 (do_test): Adjust test case to ensure that pthread_getattr_np
22501 behaviour remains the same after marking stack executable.
22503 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22505 * sysdeps/unix/sysv/linux/kernel-features.h
22506 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22507 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22509 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22510 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22511 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22513 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22514 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22516 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22518 * configure.in: Define the default includes to being none.
22519 * configure: Regenerated.
22521 2012-05-25 Roland McGrath <roland@hack.frob.com>
22523 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22524 * sysdeps/x86_64/setjmp.S: Likewise.
22525 * sysdeps/i386/bsd-setjmp.S: Likewise.
22526 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22527 * sysdeps/i386/setjmp.S: Likewise.
22528 * sysdeps/i386/__longjmp.S: Likewise.
22529 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22530 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22532 * include/stap-probe.h: New file.
22533 * configure.in: Handle --enable-systemtap.
22534 * configure: Regenerated.
22535 * config.h.in (USE_STAP_PROBE): New #undef.
22536 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22537 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22538 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22540 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22544 to 2.4.0 where earlier.
22545 * sysdeps/unix/sysv/linux/configure: Regenerated.
22546 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
22555 [__ASSUME_32BITUIDS]: Make code unconditional.
22556 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22557 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22558 <kernel-features.h>.
22559 [__ASSUME_32BITUIDS]: Make code unconditional.
22560 [!__ASSUME_32BITUIDS]: Remove conditional code.
22561 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22562 <kernel-features.h>.
22563 [__ASSUME_32BITUIDS]: Make code unconditional.
22564 [!__ASSUME_32BITUIDS]: Remove conditional code.
22565 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22566 <kernel-features.h>.
22567 [__ASSUME_32BITUIDS]: Make code unconditional.
22568 [!__ASSUME_32BITUIDS]: Remove conditional code.
22569 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22570 <kernel-features.h>.
22571 [__ASSUME_32BITUIDS]: Make code unconditional.
22572 [!__ASSUME_32BITUIDS]: Remove conditional code.
22573 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22574 <kernel-features.h>.
22575 [__ASSUME_32BITUIDS]: Make code unconditional.
22576 [!__ASSUME_32BITUIDS]: Remove conditional code.
22577 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22578 <kernel-features.h>.
22579 [__ASSUME_32BITUIDS]: Make code unconditional.
22580 [!__ASSUME_32BITUIDS]: Remove conditional code.
22581 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22582 <kernel-features.h>.
22583 [__ASSUME_32BITUIDS]: Make code unconditional.
22584 [!__ASSUME_32BITUIDS]: Remove conditional code.
22585 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22586 <kernel-features.h>.
22587 [__ASSUME_32BITUIDS]: Make code unconditional.
22588 [!__ASSUME_32BITUIDS]: Remove conditional code.
22589 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22590 <kernel-features.h>.
22591 [__ASSUME_32BITUIDS]: Make code unconditional.
22592 [!__ASSUME_32BITUIDS]: Remove conditional code.
22593 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22594 <kernel-features.h>.
22595 [__ASSUME_32BITUIDS]: Make code unconditional.
22596 [!__ASSUME_32BITUIDS]: Remove conditional code.
22597 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22598 <kernel-features.h>.
22599 [__NR_setresgid] (__setresgid): Do not declare.
22600 [__ASSUME_32BITUIDS]: Make code unconditional.
22601 [!__ASSUME_32BITUIDS]: Remove conditional code.
22602 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22603 <kernel-features.h>.
22604 [__NR_setresuid] (__setresuid): Do not declare.
22605 [__ASSUME_32BITUIDS]: Make code unconditional.
22606 [!__ASSUME_32BITUIDS]: Remove conditional code.
22607 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22608 <kernel-features.h>.
22609 [__ASSUME_32BITUIDS]: Make code unconditional.
22610 [!__ASSUME_32BITUIDS]: Remove conditional code.
22611 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22612 <kernel-features.h>.
22613 [__ASSUME_32BITUIDS]: Make code unconditional.
22614 [!__ASSUME_32BITUIDS]: Remove conditional code.
22615 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22616 <kernel-features.h>.
22617 [__ASSUME_32BITUIDS]: Make code unconditional.
22618 [!__ASSUME_32BITUIDS]: Remove conditional code.
22619 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22620 <kernel-features.h>.
22621 [__ASSUME_32BITUIDS]: Make code unconditional.
22622 [!__ASSUME_32BITUIDS]: Remove conditional code.
22623 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22624 <kernel-features.h>.
22625 [__ASSUME_32BITUIDS]: Make code unconditional.
22626 [!__ASSUME_32BITUIDS]: Remove conditional code.
22627 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22628 <kernel-features.h>.
22629 [__ASSUME_32BITUIDS]: Make code unconditional.
22630 [!__ASSUME_32BITUIDS]: Remove conditional code.
22631 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22632 <kernel-features.h>.
22633 [__ASSUME_32BITUIDS]: Make code unconditional.
22634 [!__ASSUME_32BITUIDS]: Remove conditional code.
22635 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22636 <kernel-features.h>.
22637 [__ASSUME_32BITUIDS]: Make code unconditional.
22638 [!__ASSUME_32BITUIDS]: Remove conditional code.
22639 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22640 <kernel-features.h>.
22641 [__ASSUME_32BITUIDS]: Make code unconditional.
22642 [!__ASSUME_32BITUIDS]: Remove conditional code.
22643 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22644 <kernel-features.h>.
22645 [__ASSUME_32BITUIDS]: Make code unconditional.
22646 [!__ASSUME_32BITUIDS]: Remove conditional code.
22647 * sysdeps/unix/sysv/linux/kernel-features.h
22648 (__ASSUME_SETRESUID_SYSCALL): Remove.
22649 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22650 (__ASSUME_32BITUIDS): Likewise.
22651 (__ASSUME_LDT_WORKS): Likewise.
22652 (__ASSUME_O_DIRECTORY): Likewise.
22653 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22654 architecture but not kernel version.
22655 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22656 (__ASSUME_MMAP2_SYSCALL): Likewise.
22657 (__ASSUME_STAT64_SYSCALL): Likewise.
22658 (__ASSUME_IPC64): Likewise.
22659 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22660 <kernel-features.h>.
22661 [__ASSUME_32BITUIDS]: Make code unconditional.
22662 [!__ASSUME_32BITUIDS]: Remove conditional code.
22663 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22664 <kernel-features.h>.
22665 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22666 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22667 132096]: Remove conditional code.
22668 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22669 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22670 <kernel-features.h>.
22671 [__ASSUME_32BITUIDS]: Make code unconditional.
22672 [!__ASSUME_32BITUIDS]: Remove conditional code.
22673 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22674 <kernel-features.h>.
22675 [__ASSUME_32BITUIDS]: Make code unconditional.
22676 [!__ASSUME_32BITUIDS]: Remove conditional code.
22677 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22678 <kernel-features.h>.
22679 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22681 (__setresgid): Do not declare.
22682 [__ASSUME_32BITUIDS]: Make code unconditional.
22683 [!__ASSUME_32BITUIDS]: Remove conditional code.
22684 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22685 <kernel-features.h>.
22686 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22688 (__setresuid): Do not declare.
22689 [__ASSUME_32BITUIDS]: Make code unconditional.
22690 [!__ASSUME_32BITUIDS]: Remove conditional code.
22691 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22692 <kernel-features.h>.
22693 [__ASSUME_32BITUIDS]: Make code unconditional.
22694 [!__ASSUME_32BITUIDS]: Remove conditional code.
22695 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22696 <kernel-features.h>.
22697 [__ASSUME_32BITUIDS]: Make code unconditional.
22698 [!__ASSUME_32BITUIDS]: Remove conditional code.
22700 2012-05-25 Richard Henderson <rth@twiddle.net>
22702 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22703 dl_hwcap to ifunc resolver.
22704 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22706 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22707 dl_hwcap to ifunc resolver.
22708 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22710 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22713 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22714 for |x| <= 2**-26, not 2**-57.
22715 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22718 2012-05-24 Jeff Law <law@redhat.com>
22720 * stdio-common/Makefile (tests): Add bug25.
22721 * stdio-common/bug25.c: New test.
22723 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22726 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22727 multiple of MALLOC_ALIGNMENT in size.
22728 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22730 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22732 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22734 (FILENAME_MAX): Use macro-int-constant.
22735 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22736 (_IOFBF): Use macro-int-constant.
22737 (_IOLBF): Likewise.
22738 (_IONBF): Likewise.
22739 (SEEK_CUR): Likewise.
22740 (SEEK_END): Likewise.
22741 (SEEK_SET): Likewise.
22742 (TMP_MAX): Likewise.
22743 (EOF): Use macro-int-constant. Require < 0.
22744 (NULL): Use macro-constant. Require == 0.
22745 (stdin): Require type to be FILE *.
22746 (stdout): Likewise.
22747 (stderr): Likewise.
22748 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22749 macro-int-constant.
22750 (EXIT_SUCCESS): Likewise.
22751 (NULL): Use macro-constant. Require == 0.
22752 (RAND_MAX): Use macro-int-constant.
22753 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22754 [C99-based standards] (strtof): Require function.
22755 [C99-based standards] (strtold): Likewise.
22756 [C99-based standards] (strtoll): Likewise.
22757 [C99-based standards] (strtoull): Likewise.
22758 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22759 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22760 [ISO || ISO99 || ISO11] (math.h): Likewise.
22761 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22762 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22765 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22768 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22769 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22770 * intl/dgettext.c (DCGETTEXT): Likewise.
22771 * intl/gettext.c (DCGETTEXT): Likewise.
22772 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22773 * posix/regex_internal.h (gettext): Likewise.
22774 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22775 Remove declaration.
22776 * include/argz.h (__argz_count_internal)
22777 (__argz_stringify_internal): Remove declaration.
22778 (__argz_count, __argz_stringify): Declare hidden proto.
22779 * intl/dcgettext.c: Remove use of INTDEF.
22780 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22781 * string/argz-stringify.c: Likewise.
22782 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22783 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22784 Declare hidden proto.
22785 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22786 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22787 Declare hidden proto.
22788 * include/stdio.h (__asprintf_internal): Don't declare.
22789 (__asprintf): Don't define as macro. Declare hidden proto.
22790 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22791 (__fsetlocking): Declare hidden proto.
22792 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22793 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22795 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22796 (_IO_setlinebuf): Remove use of INTUSE.
22797 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22798 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22799 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22800 Remove declaration.
22801 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22802 (_IO_do_flush): Remove use of INTUSE.
22803 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22804 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22805 (_IO_adjust_column, _IO_least_wmarker)
22806 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22807 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22808 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22809 (_IO_default_doallocate, _IO_wdefault_doallocate)
22810 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22811 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22812 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22813 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22814 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22815 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22816 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22817 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22818 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22819 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22820 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22821 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22822 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22824 (_IO_flush_all_internal, _IO_adjust_column_internal)
22825 (_IO_default_uflow_internal, _IO_default_finish_internal)
22826 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22827 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22828 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22829 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22830 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22831 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22832 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22833 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22834 (_IO_file_close_internal, _IO_file_close_it_internal)
22835 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22836 (_IO_file_init_internal, _IO_file_attach_internal)
22837 (_IO_file_fopen_internal, _IO_file_read_internal)
22838 (_IO_file_sync_internal, _IO_file_seek_internal)
22839 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22840 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22841 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22842 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22843 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22844 (_IO_list_all_internal, _IO_link_in_internal)
22845 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22846 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22847 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22848 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22849 (_IO_do_write_internal, _IO_padn_internal)
22850 (_IO_getline_info_internal, _IO_getline_internal)
22851 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22852 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22853 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22854 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22855 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22856 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22857 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22858 with libc_hidden_ver, remove use of INTUSE.
22859 * libio/genops.c: Likewise.
22860 * libio/freopen.c: Likewise.
22861 * libio/freopen64.c: Likewise.
22862 * libio/iofclose.c: Likewise.
22863 * libio/iofdopen.c: Likewise.
22864 * libio/iofflush.c: Likewise.
22865 * libio/iofflush_u.c: Likewise.
22866 * libio/iofgets.c: Likewise.
22867 * libio/iofgets_u.c: Likewise.
22868 * libio/iofopen.c: Likewise.
22869 * libio/iofopncook.c: Likewise.
22870 * libio/iofread.c: Likewise.
22871 * libio/iofread_u.c: Likewise.
22872 * libio/ioftell.c: Likewise.
22873 * libio/iofwrite.c: Likewise.
22874 * libio/iogetline.c: Likewise.
22875 * libio/iogets.c: Likewise.
22876 * libio/iogetwline.c: Likewise.
22877 * libio/iopadn.c: Likewise.
22878 * libio/iopopen.c: Likewise.
22879 * libio/ioseekoff.c: Likewise.
22880 * libio/ioseekpos.c: Likewise.
22881 * libio/iosetbuffer.c: Likewise.
22882 * libio/iosetvbuf.c: Likewise.
22883 * libio/ioungetc.c: Likewise.
22884 * libio/ioungetwc.c: Likewise.
22885 * libio/iovdprintf.c: Likewise.
22886 * libio/iovsprintf.c: Likewise.
22887 * libio/iovsscanf.c: Likewise.
22888 * libio/memstream.c: Likewise.
22889 * libio/obprintf.c: Likewise.
22890 * libio/oldfileops.c: Likewise.
22891 * libio/oldiofclose.c: Likewise.
22892 * libio/oldiofdopen.c: Likewise.
22893 * libio/oldiofopen.c: Likewise.
22894 * libio/oldiopopen.c: Likewise.
22895 * libio/oldstdfiles.c: Likewise.
22896 * libio/putc.c: Likewise.
22897 * libio/setbuf.c: Likewise.
22898 * libio/setlinebuf.c: Likewise.
22899 * libio/stdfiles.c: Likewise.
22900 * libio/strops.c: Likewise.
22901 * libio/vasprintf.c: Likewise.
22902 * libio/vscanf.c: Likewise.
22903 * libio/vsnprintf.c: Likewise.
22904 * libio/vswprintf.c: Likewise.
22905 * libio/wfiledoalloc.c: Likewise.
22906 * libio/wfileops.c: Likewise.
22907 * libio/wgenops.c: Likewise.
22908 * libio/wmemstream.c: Likewise.
22909 * libio/wstrops.c: Likewise.
22910 * libio/__fpurge.c: Likewise.
22911 * libio/__fsetlocking.c: Likewise.
22912 * assert/assert.c: Likewise.
22913 * debug/fgets_chk.c: Likewise.
22914 * debug/fgets_u_chk.c: Likewise.
22915 * debug/fread_chk.c: Likewise.
22916 * debug/fread_u_chk.c: Likewise.
22917 * debug/gets_chk.c: Likewise.
22918 * debug/obprintf_chk.c: Likewise.
22919 * debug/vasprintf_chk.c: Likewise.
22920 * debug/vdprintf_chk.c: Likewise.
22921 * debug/vsnprintf_chk.c: Likewise.
22922 * debug/vsprintf_chk.c: Likewise.
22923 * malloc/mtrace.c: Likewise.
22924 * misc/error.c: Likewise.
22925 * misc/syslog.c: Likewise.
22926 * stdio-common/asprintf.c: Likewise.
22927 * stdio-common/fxprintf.c: Likewise.
22928 * stdio-common/getw.c: Likewise.
22929 * stdio-common/isoc99_fscanf.c: Likewise.
22930 * stdio-common/isoc99_scanf.c: Likewise.
22931 * stdio-common/isoc99_vfscanf.c: Likewise.
22932 * stdio-common/isoc99_vscanf.c: Likewise.
22933 * stdio-common/isoc99_vsscanf.c: Likewise.
22934 * stdio-common/printf-prs.c: Likewise.
22935 * stdio-common/printf_fp.c: Likewise.
22936 * stdio-common/printf_fphex.c: Likewise.
22937 * stdio-common/printf_size.c: Likewise.
22938 * stdio-common/putw.c: Likewise.
22939 * stdio-common/scanf.c: Likewise.
22940 * stdio-common/sprintf.c: Likewise.
22941 * stdio-common/tmpfile.c: Likewise.
22942 * stdio-common/vfprintf.c: Likewise.
22943 * stdio-common/vfscanf.c: Likewise.
22944 * stdlib/strfmon_l.c: Likewise.
22945 * sunrpc/openchild.c: Likewise.
22946 * sunrpc/xdr_stdio.c: Likewise.
22947 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22948 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22950 2012-05-24 Roland McGrath <roland@hack.frob.com>
22952 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22954 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22955 in the third column, to generate for the shared library an IFUNC
22956 that uses _dl_vdso_vsym.
22957 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22958 * Makeconfig (object-suffixes-noshared): New variable.
22960 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22961 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22962 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22963 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22966 * include/sys/time.h (__gettimeofday): Remove macro.
22967 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22968 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22970 (__gettimeofday): Add libc_hidden_def.
22971 (gettimeofday): Add libc_hidden_weak.
22972 * sysdeps/mach/gettimeofday.c: Likewise.
22973 * sysdeps/posix/gettimeofday.c: Likewise.
22974 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22975 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22977 (__gettimeofday_internal): Remove strong_alias.
22978 (__gettimeofday): Add libc_hidden_def.
22979 (gettimeofday): Add libc_hidden_weak.
22980 * sysdeps/unix/syscalls.list (gettimeofday):
22981 Remove __gettimeofday_internal alias.
22983 2012-05-24 Daniel Jacobowitz <drow@false.org>
22984 H.J. Lu <hongjiu.lu@intel.com>
22987 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22988 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22989 (largebin_index_32_big): New.
22990 (largebin_index): Use it for 16-byte alignment.
22991 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22992 correction with front_misalign.
22994 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23022 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23023 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23025 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23029 * math/libm-test.inc (exp_test): Add test from bug 14036.
23030 (pow_test): Add test from bug 10846.
23032 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23034 (special_function): Do not include flags in test name.
23035 (parse_args): Likewise.
23036 * sysdeps/i386/fpu/libm-test-ulps: Update.
23037 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23038 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23039 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23042 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23044 * math/libm-test.inc ("Philosophy"): Update comment about
23046 (UNDERFLOW_EXCEPTION): New macro.
23047 (UNDERFLOW_EXCEPTION_OK): Likewise.
23048 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23049 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23050 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23051 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23052 (INVALID_EXCEPTION_OK): Update value.
23053 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23054 (OVERFLOW_EXCEPTION_OK): Likewise.
23055 (IGNORE_ZERO_INF_SIGN): Likewise.
23056 (test_exceptions): Handle underflow exceptions.
23057 (acos_test): Update for underflow exception expectations.
23058 (cexp_test): Likewise.
23059 (clog_test): Likewise.
23060 (clog10_test): Likewise.
23061 (csqrt_test): Likewise.
23062 (ctan_test): Likewise.
23063 (ctanh_test): Likewise.
23064 (exp_test): Likewise.
23065 (exp10_test): Likewise.
23066 (exp2_test): Likewise.
23067 (expm1_test): Likewise.
23068 (fma_test): Likewise.
23069 (j0_test): Likewise.
23070 (jn_test): Likewise.
23071 (nexttoward_test): Likewise.
23072 (pow_test): Likewise.
23073 (scalbn_test): Likewise.
23074 (scalbln_test): Likewise.
23075 (tan_test): Likewise.
23076 (y1_test): Likewise.
23077 * sysdeps/i386/fpu/libm-test-ulps: Update.
23078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23080 2012-05-23 David S. Miller <davem@davemloft.net>
23082 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23083 (__libc_sigaction): Remove unused local variables.
23085 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23087 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23089 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23091 mktime: avoid signed integer overflow
23092 * time/mktime.c (__mktime_internal): Do not mishandle the case
23093 where diff == INT_MIN.
23095 mktime: simplify computation of average
23096 * time/mktime.c (ranged_convert): Use new time_t_avg function
23097 instead of rolling our own (probably-slower) code.
23099 mktime: do not assume signed right shift propagates sign bit
23100 * time/mktime.c (isdst_differ): New static function.
23101 (__mktime_internal): No need to normalize tm_isdst now.
23102 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23105 mktime: merge another wrapv change from gnulib
23106 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23107 from some compilers.
23109 mktime: remove incorrect attempt at unusual arithmetics
23110 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23111 The code didn't really work on such machines anyway.
23112 (TYPE_MINIMUM): Assume two's complement.
23113 (twos_complement_arithmetic): Verify that long_int and time_t
23114 are two's complement (or unsigned, in the latter case).
23116 mktime: check signed shifts on long_int and time_t, too
23117 * time/mktime.c (SHR): Check that shifts work as desired
23118 on the types long_int and time_t too, as SHR is used on
23121 mktime: do not assume 'long' is wide enough
23122 * time/mktime.c (verify): Move decl up.
23123 (long_int): New type.
23124 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23125 to remove assumption in the code that 'long' is wide enough to
23126 store year values. This assumption is not true on x32 and on
23127 some non-glibc platforms.
23129 mktime: merge wrapv change from gnulib
23130 * time/mktime.c (WRAPV): New macro.
23131 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23132 (guess_time_tm, __mktime_internal): Do not assume that signed
23133 integer overflow wraps around; modern compilers generate code
23134 where this assumption is no longer valid.
23136 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23138 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23139 Replace "jmp L(pseudo_end)" with "ret".
23140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23143 2012-05-23 Andreas Jaeger <aj@suse.de>
23145 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23146 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23148 2012-05-23 Andreas Jaeger <aj@suse.de>
23149 Maximilian Attems <max@stro.at>
23151 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23154 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23156 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23157 code so that pseudo_end is just ret and the stack pointer is
23158 correct also for static library in error case.
23160 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23162 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23163 move to syscalls.list.
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23169 * manual/install.texi (Running make install): Do not mention Linux
23170 kernel version for which pt_chown is not needed.
23171 (Linux): Do not mention problems with nscd with 2.0 kernels.
23172 * INSTALL: Regenerated.
23174 2012-05-23 Andreas Jaeger <aj@suse.de>
23176 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23177 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23179 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23180 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23181 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23183 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23186 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23187 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23188 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23189 * sysdeps/unix/sysv/linux/bits/in.h
23190 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23192 2012-05-22 Roland McGrath <roland@hack.frob.com>
23194 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23195 (PREPARE_VERSION): Just use assert instead, it will be elided
23196 under [NDEBUG] anyway.
23198 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23200 * sysdeps/unix/sysv/linux/Makefile: Include
23201 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23202 (sysdep_routines): Remove sysctl.
23203 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23204 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23205 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23206 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23207 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23209 2012-05-22 Andreas Jaeger <aj@suse.de>
23211 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23212 that pseudo_end is just ret and the stack pointer is correct also
23213 for static library in error case.
23215 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23218 * nss/nsswitch.c (defconfig_entries): New variable.
23219 (__nss_database_lookup): Don't leak defconfig entries.
23220 (nss_parse_service_list): Don't leak on error paths.
23221 (free_database_entries): New function.
23222 (free_defconfig): New function.
23223 (free_mem): Move common code to free_database_entries.
23225 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23227 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23229 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23231 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23232 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23235 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23236 (INTERNAL_SYSCALL_TYPES): Likewise.
23237 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23238 (LOAD_REGS_TYPES_[1-6]): Likewise.
23239 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23240 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23242 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23244 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23245 copysignl for GLIBC_2_0.
23246 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23247 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23249 logbl for GLIBC_2_0.
23250 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23251 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23253 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23256 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23258 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23261 * time/mktime.c: Update copyright years.
23263 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23265 mktime: merge comment-quoting-style change from gnulib
23266 * time/mktime.c: Quote 'like this' in comments.
23267 The GNU coding standards suggest that we no longer quote `like this',
23268 as "`" and "'" are typically rendered asymmetrically nowadays.
23269 The typical gnulib style is to quote 'like this' when quoting
23270 code, and "like this" when quoting English.
23272 * time/mktime.c (compile-command): Add "-I.".
23274 mktime: merge mktime-internal.h change from gnulib
23275 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23277 mktime: merge time_r change from gnulib
23278 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23280 mktime: merge DEBUG change from gnulib
23281 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23282 case system <time.h> has a #define.
23284 mktime: merge <sys/types.h> change from gnulib
23285 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23286 since <time.t> is now guaranteed to define time_t.
23288 mktime: merge HAVE_CONFIG_H change from gnulib
23289 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23291 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23296 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23298 (struct rusage): Use anonymous union to pad each field to
23301 2012-05-21 David S. Miller <davem@davemloft.net>
23303 * Makefules (o-iterator): Remove .s cases.
23304 (compile-command.s): Delete.
23305 (COMPILE.s): Delete.
23306 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23308 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23310 * configure.in (libc_cv_predef_stack_protector): Only consider
23311 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23312 * configure: Regenerated.
23314 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23317 New macro. Use R*LP on int and pointer.
23318 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23319 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23320 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23321 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23323 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23324 [__WORDSIZE_TIME64_COMPAT32] instead of
23325 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23326 (struct utmp): Likewise.
23327 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23328 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23330 (__WORDSIZE_TIME64_COMPAT32): This.
23331 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23332 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23333 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23334 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23335 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23336 (__WORDSIZE_TIME64_COMPAT32): New macro.
23338 2012-05-21 Andreas Jaeger <aj@suse.de>
23340 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23341 only if [SHARED]. Add prototype for __wcschr_ia32.
23343 2012-05-21 Roland McGrath <roland@hack.frob.com>
23345 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23346 of %rbp unmolested in the jmp_buf while mangling the low bits.
23347 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23348 unmolested high bits of %rbp while demangling the low bits.
23349 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23351 2012-05-21 Andreas Jaeger <aj@suse.de>
23353 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23354 * sunrpc/svc_simple.c: Use it for registerrpc.
23355 * sunrpc/xcrypt.c: Use it for passwd2des.
23357 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23359 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23361 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23362 Don't define if [__SYSCALL_WORDSIZE != 32].
23363 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23366 2012-05-21 Bruno Haible <bruno@clisp.org>
23367 Andreas Jaeger <aj@suse.de>
23369 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23370 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23371 inptr and inend for must_buffer_ch.
23372 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23373 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23374 * stdio-common/Makefile (tests): Remove bug15.
23375 (bug15-ENV): Remove macro.
23376 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23379 2012-05-19 Andreas Jaeger <aj@suse.de>
23380 Roland McGrath <roland@hack.frob.com>
23382 * manual/contrib.texi: Completely rewritten. It contains now an
23383 alphabetical list of contributors and their contributions.
23385 2012-05-21 Richard Henderson <rth@twiddle.net>
23387 * misc/getauxval.c (__getauxval): Use unsigned long int.
23388 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23389 (getauxval): Use unsigned long int.
23391 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23393 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23395 2012-05-21 Roland McGrath <roland@hack.frob.com>
23397 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23398 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23399 __alignof__ (long double).
23401 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23405 2012-05-20 Richard Henderson <rth@twiddle.net>
23407 * misc/getauxval.c: New file.
23408 * misc/sys/auxv.h: New file.
23409 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23410 (routines): Add getauxval.
23411 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23412 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23413 * elf/dl-sysdep.c (_dl_auxv): Remove.
23414 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23415 * elf/dl-support.c (_dl_auxv): New variable.
23416 (_dl_aux_init): Initialize it.
23417 * manual/startup.texi (Auxiliary Vector): New node.
23418 * sysdeps/generic/bits/hwcap.h: New file.
23419 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23420 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23421 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23422 * sysdeps/sparc/sysdep.h: ... here. Include it.
23423 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23424 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23430 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23436 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23440 2012-05-19 David S. Miller <davem@davemloft.net>
23442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23444 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23447 * math/s_ccosh.c: Include <float.h>
23448 (__ccosh): Avoid internal overflow calculating sinh and cosh
23449 values before multiplying by sin and cos values.
23450 * math/s_ccoshf.c: Likewise.
23451 * math/s_ccoshl.c: Likewise.
23452 * math/s_csin.c: Likewise.
23453 * math/s_csinf.c: Likewise.
23454 * math/s_csinl.c: Likewise.
23455 * math/s_csinh.c: Likewise.
23456 * math/s_csinhf.c: Likewise.
23457 * math/s_csinhl.c: Likewise.
23458 * math/libm-test.inc (ccos_test): Add more tests.
23459 (ccosh_test): Likewise.
23460 (csin_test): Likewise.
23461 (csinh_test): Likewise.
23462 * sysdeps/i386/fpu/libm-test-ulps: Update.
23463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23465 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23467 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23468 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23470 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23472 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23474 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23475 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23476 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23477 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23478 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23479 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23480 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23481 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23482 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23483 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23484 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23485 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23486 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23487 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23488 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23489 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23490 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23491 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23492 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23493 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23494 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23495 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23496 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23497 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23498 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23499 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23500 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23501 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23502 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23503 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23504 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23506 2012-05-18 Andreas Jaeger <aj@suse.de>
23508 * csu/.gitignore: Delete.
23510 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23512 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23513 (timex): Use __syscall_slong_t.
23515 2012-05-18 Andreas Jaeger <aj@suse.de>
23516 Carlos O'Donell <carlos_odonell@mentor.com>
23518 * manual/install.texi (Configuring and compiling): Update
23519 description about files modified in the source directory.
23520 * INSTALL: Regenerated.
23522 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23524 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23525 value. Use "or" to set return value to -1.
23526 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23527 negate return value.
23529 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23531 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23532 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23533 failure if the compiler has Graphite support disabled.
23534 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23536 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23537 CFLAGS-memmove.c): Likewise.
23538 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23541 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23543 * sysdeps/x86_64/x32/_itoa.h: New file.
23545 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23546 getdents system call only if kernel and user dirents have the
23547 same d_ino and d_off.
23549 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23550 LLONG_MAX != LONG_MAX.
23551 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23552 (_fitoa_word): Likewise.
23554 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23556 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23557 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23558 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23560 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23561 include <bits/wordsize.h>. Check __x86_64__ instead of
23563 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23564 if __x86_64__ is defined. Use anonymous union on fpstate.
23566 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23569 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23571 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23572 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23573 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23574 Refer to _rtld_local_ro instead of _rtld_global_ro.
23575 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23577 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23579 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23581 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23582 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23583 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23585 * sysdeps/powerpc/powerpc32/dl-machine.c
23586 (__elf_machine_runtime_setup) [PROF]: Don't reference
23589 2012-05-18 Andreas Jaeger <aj@suse.de>
23591 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23592 function only available for GCCs before 3.4 since GCC 3.4
23593 introduced a builtin.
23595 (llrintf): Likewise.
23596 (llrint): Likewise.
23603 (nearbyint): Likewise.
23604 (nearbyintf): Likewise.
23608 (floorf): Likewise.
23610 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23612 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23613 on both fields and cast pointer to __syscall_ulong_t.
23615 * bits/types.h (__fsword_t): New type.
23616 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23617 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23619 (__FSWORD_T_TYPE): Likewise.
23620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23621 (__FSWORD_T_TYPE): Likewise.
23622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23623 (__FSWORD_T_TYPE): Likewise.
23624 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23625 (__FSWORD_T_TYPE): Likewise.
23626 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23627 __SWORD_TYPE with __fsword_t.
23628 (statfs64): Likewise.
23630 2012-05-17 David S. Miller <davem@davemloft.net>
23632 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23634 2012-05-17 Andreas Jaeger <aj@suse.de>
23636 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23639 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23641 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23643 2012-05-17 Andreas Jaeger <aj@suse.de>
23645 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23648 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23650 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23652 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23654 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23655 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23657 2012-05-17 Andreas Jaeger <aj@suse.de>
23658 Carlos O'Donell <carlos_odonell@mentor.com>
23661 * sysdeps/x86_64/multiarch/init-arch.h
23662 (bit_YMM_Usable): Rename to...
23663 (bit_AVX_Usable): ... this.
23664 (bit_FMA4_Usable): New macro.
23665 (bit_XMM_state): New macro.
23666 (bit_YMM_state): New macro.
23667 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23668 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23669 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23670 (CPUID_OSXSAVE): New macro.
23671 (CPUID_AVX): New macro.
23672 (CPUID_FMA4): New macro.
23673 (index_YMM_Usable): Rename to...
23674 (index_AVX_Usable): ... this.
23675 (HAS_AVX): Use HAS_ARCH_FEATURE.
23676 (HAS_FMA4): Likewise.
23677 (HAS_YMM_USABLE): Remove.
23678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23679 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23681 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23682 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23683 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23684 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23685 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23687 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23689 * math/libm-test.c: Support platforms without multiple rounding modes.
23690 * math/bug-nextafter.c: Support platforms without FP exceptions.
23691 * math/bug-nexttoward.c: Likewise.
23692 * math/test-fenv.c: Likewise.
23693 * math/test-misc.c: Likewise.
23694 * stdlib/bug-getcontext.c: Likewise.
23696 2012-05-17 Andreas Jaeger <aj@suse.de>
23698 * manual/examples/search.c (critter_cmp): Change signature to
23700 * manual/string.texi (Collation Functions): Likewise.
23702 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23704 * bits/types.h: Fold copyright years.
23705 * bits/typesizes.h: Likewise.
23706 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23710 * time/time.h: Likewise.
23712 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23715 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23716 in instead of returning them. Return void.
23717 (__libc_mallinfo): Accumulate over all arenas.
23718 (__malloc_stats): Adjust for change in int_mallinfo interface.
23720 2012-05-16 Roland McGrath <roland@hack.frob.com>
23723 * configure.in (NM): Add AC_CHECK_TOOL for it.
23724 (libc_extra_cflags): New substituted variable.
23725 Check for -fstack-protector being used implicitly.
23726 * configure: Regenerated.
23727 * config.make.in (config-extra-cflags): New variable,
23728 gets @libc_extra_cflags@.
23729 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23732 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23733 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23734 * configure: Regenerated.
23735 * config.make.in (CPPUNDEFS): New substituted variable.
23736 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23737 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23738 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23740 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23742 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23743 (mq_attr): Use __syscall_slong_t.
23745 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23747 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23748 Check __x86_64__ instead of __WORDSIZE.
23749 (_STAT_VER_LINUX): Likewise.
23750 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23751 __syscall_ulong_t and __syscall_slong_t.
23752 (stat64): Likewise.
23754 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23756 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23758 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23760 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23764 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23767 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23768 include <bits/wordsize.h>. Check __x86_64__ instead of
23770 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23772 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23774 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23775 include <bits/wordsize.h>. Check __x86_64__ instead of
23777 (user_regs_struct): Use "__extension__ unsigned long long"
23778 instead of "unsigned long" if __x86_64__ is defined.
23779 (user): Likewise. Pad after pointer field if __ILP32__ is
23782 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23784 * configure.in (makeinfo): Require version 4.5 or later. Allow
23786 * configure: Regenerated.
23787 * manual/install.texi (texinfo): Increase version requirement to
23789 * INSTALL: Regenerated.
23791 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23793 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23795 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23797 * sysdeps/x86_64/x32/ffs.c: New file.
23799 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23801 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23802 defined. Use __syscall_ulong_t.
23803 (shminfo): Use __syscall_ulong_t.
23804 (shm_info): Likewise.
23806 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23809 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23811 (msgqnum_t): Use __syscall_ulong_t.
23812 (msglen_t): Likewise.
23813 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23816 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23817 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23819 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23821 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23822 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23824 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23827 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23828 include <bits/wordsize.h>. Check __x86_64__ instead of
23831 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23832 "unsigned long long int" if __x86_64__ is defined.
23833 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23835 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23836 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23837 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23839 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23841 (GET_PC): Cast to uintptr_t first.
23842 (GET_FRAME): Likewise.
23843 (GET_STACK): Likewise.
23845 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23846 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23847 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23848 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23849 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23850 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23851 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23852 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23853 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23854 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23855 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23856 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23858 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23859 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23860 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23861 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23862 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23863 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23864 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23865 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23866 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23867 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23868 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23869 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23870 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23871 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23872 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23873 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23875 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23877 * Makerules (+depfiles): Also collect depfiles from .oS in
23879 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23880 .oS, $(libnldbl-routines)).
23882 * Makerules (native-compile-mkdep-flags): Define.
23883 * sunrpc/Makefile (extra-objs): Add $(addprefix
23884 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23885 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23886 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23887 calling $(make-target-directory).
23889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23891 * bits/types.h (__snseconds_t): Removed.
23892 * time/time.h (struct timespec): Replace __snseconds_t with
23894 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23895 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23898 (__SNSECONDS_T_TYPE): Likewise.
23899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23900 (__SNSECONDS_T_TYPE): Likewise.
23901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23902 (__SNSECONDS_T_TYPE): Likewise.
23904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23906 * sysdeps/mach/hurd/bits/typesizes.h
23907 (__SYSCALL_SLONG_TYPE): New macro.
23908 (__SYSCALL_ULONG_TYPE): Likewise.
23910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23912 * bits/types.h (__syscall_slong_t): New type.
23913 (__syscall_ulong_t): Likewise.
23915 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23916 (__SYSCALL_ULONG_TYPE): Likewise.
23917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23918 (__SYSCALL_SLONG_TYPE): Likewise.
23919 (__SYSCALL_ULONG_TYPE): Likewise.
23920 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23921 (__SYSCALL_SLONG_TYPE): Likewise.
23922 (__SYSCALL_ULONG_TYPE): Likewise.
23923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23924 (__SYSCALL_SLONG_TYPE): Likewise.
23925 (__SYSCALL_ULONG_TYPE): Likewise.
23927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23929 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23930 Add sigaltstack-offsets.sym.
23931 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23932 <sigaltstack-offsets.h>.
23933 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23934 longjmp_msg pointer.
23935 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23936 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23938 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23940 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23942 * elf/stackguard-macros.h: Remove file.
23943 * sysdeps/generic/stackguard-macros.h: New file.
23944 * sysdeps/i386/stackguard-macros.h: Likewise.
23945 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23946 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23947 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23948 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23949 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23950 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23951 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23952 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23953 <elf/stackguard-macros.h>.
23956 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23957 __aligned__ in attribute.
23958 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23959 (gregset_t): Likewise.
23961 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23963 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23964 * sysdeps/x86_64/64/Implies-after: Here. New file.
23965 * sysdeps/x86_64/x32/Implies-after: New file.
23967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23969 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23970 and access return value for _dl_profile_fixup. Use R10_LP to
23973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23975 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23979 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23980 * sysdeps/x86_64/x32/sysdep.h: New file.
23982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23984 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23985 * sysdeps/x86_64/setjmp.S: Likewise.
23987 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23989 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23990 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23991 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23992 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23993 remove unused global constant.
23995 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23997 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23998 include of <not-cancel.h>.
24000 2012-05-15 Roland McGrath <roland@hack.frob.com>
24002 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24004 2012-05-15 Jeff Law <law@redhat.com>
24005 Andreas Jaeger <aj@suse.de>
24008 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24010 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24011 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24012 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24013 code changing __hst_map_handle.map.
24015 2012-05-15 Roland McGrath <roland@hack.frob.com>
24017 * configure.in (sysnames): Look for Implies-before and Implies-after
24019 * configure: Regenerated.
24021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24023 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24024 8-byte data alignment with LP_SIZE alignment.
24026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24028 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24033 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24037 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24038 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24039 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24041 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24045 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24046 (stackinfo_sub_sp): Likewise.
24048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24050 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24055 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24060 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24065 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24069 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24070 into R11_LP and load __x86_64_shared_cache_size_half into
24073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24075 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24078 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24080 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24086 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24087 powerpc32/power7/fpu/s_logb.c via #include.
24088 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24089 powerpc32/power7/fpu/s_logbf.c via #include.
24090 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24091 powerpc32/power7/fpu/s_logbl.c via #include.
24093 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24095 * README.libm: Remove file.
24097 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24099 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24100 count for x32. Use R*_LP and omit operand-size suffix.
24102 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24104 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24105 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24106 * sysdeps/x86_64/x32/shlib-versions: New file.
24108 2012-05-14 Roland McGrath <roland@hack.frob.com>
24110 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24111 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24112 Use _dl_fatal_printf instead.
24114 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24116 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24117 set if not set by the user. Do not allow for being unset.
24118 * sysdeps/unix/sysv/linux/configure: Regenerated.
24120 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24122 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24123 the `q' suffix from lea and replace .quad with ASM_ADDR.
24125 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24128 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24130 (PTR_DEMANGLE): Likewise.
24132 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24134 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24136 (ASM_ADDR): Likewise.
24137 (RAX_LP): Likewise.
24138 (RBP_LP): Likewise.
24139 (RBX_LP): Likewise.
24140 (RCX_LP): Likewise.
24141 (RDI_LP): Likewise.
24142 (RSI_LP): Likewise.
24143 (RSP_LP): Likewise.
24146 (R10_LP): Likewise.
24147 (R10_LP): Likewise.
24148 (R11_LP): Likewise.
24149 (R12_LP): Likewise.
24150 (R13_LP): Likewise.
24151 (R14_LP): Likewise.
24152 (R15_LP): Likewise.
24154 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24156 * sysdeps/x86_64/x32/dl-machine.h: New file.
24158 2012-05-14 Andreas Jaeger <aj@suse.de>
24160 * manual/Makefile (subdir): Remove export of subdir.
24161 (all): Remove target.
24162 (.PHONY): Remove all from list.
24163 (mkinstalldirs): Remove.
24164 (.PHONY): Remove installdirs from list.
24165 ($(inst_infodir)/libc.info): Use make-target-directory.
24166 (installdirs): Remove.
24167 (subdir_%): Remove.
24168 (glibc-targets): Remove.
24171 ($(objpfx)stubs ../po/manual.pot): Remove.
24172 ($(objpfx)stamp%): Remove.
24173 (make-target-directory): Remove.
24174 (subdir_install): Remove.
24175 (routines): Remove.
24182 * manual/.gitignore: Remove, it's not needed anymore.
24183 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24185 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24187 (texis): Renamed to $(objpfx)texis.
24188 (texis-path): New, contains path to generated files.
24189 (chapters.%): Use texis-path for complete path, add extra argument
24191 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24192 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24193 (summary,texi, stamp-summary): Use complete path of
24194 files. Generate files in build dir.
24195 (dir-add.texi): Build in build dir.
24196 (libm-err.texi,stamp-libm-err): Likewise.
24197 (version.texi, stamp-version): Likewise.
24198 (.%c.texi): Likewise.
24199 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24200 (mostlyclean): Remove target.
24201 (realclean): Remove target.
24202 (generated): Add new variable with contents from mostlyclean and
24203 realclean, remove entries duplicated in common-mostlyclean, add
24204 stamp-libm-err and stamp-version.
24205 (generated-dirs): Add libc directory.
24206 ($(inst_infodir)/libc.info): Install files from build dir.
24208 * manual/install.texi (Configuring and compiling): Adjust since
24209 the info files are not part of the tar ball anymore.
24211 2012-05-14 Andreas Jaeger <aj@suse.de>
24213 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24216 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24219 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24220 to 2.2.0 where earlier.
24221 * sysdeps/unix/sysv/linux/configure: Regenerated.
24222 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24223 Remove conditional code.
24224 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24225 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24226 Remove conditional code.
24227 [!__NR_lchown]: Likewise.
24228 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24229 [__NR_lchown]: Likewise.
24230 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24231 comment referencing __ASSUME_LCHOWN_SYSCALL.
24232 * sysdeps/unix/sysv/linux/i386/sigaction.c
24233 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24234 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24235 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24236 Remove conditional code.
24237 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24238 (__protocol_available): Remove #if 0 code.
24239 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24241 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24242 * sysdeps/unix/sysv/linux/kernel-features.h
24243 (__ASSUME_GETCWD_SYSCALL): Don't define.
24244 (__ASSUME_REALTIME_SIGNALS): Likewise.
24245 (__ASSUME_PREAD_SYSCALL): Likewise.
24246 (__ASSUME_PWRITE_SYSCALL): Likewise.
24247 (__ASSUME_POLL_SYSCALL): Likewise.
24248 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24249 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24251 (__ASSUME_SIOCGIFNAME): Don't define.
24252 (__ASSUME_MSG_NOSIGNAL): Likewise.
24253 (__ASSUME_SENDFILE): Define unconditionally.
24254 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24255 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24257 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24258 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24259 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24260 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24261 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24262 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24263 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24265 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24268 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24271 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24274 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24277 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24278 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24280 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24283 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24284 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24286 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24288 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24289 Remove conditional code.
24290 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24291 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24292 Remove conditional code.
24293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24294 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24295 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24296 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24297 Remove conditional code.
24298 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24299 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24300 Remove conditional code.
24301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24302 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24303 Remove conditional code.
24304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24305 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24306 Remove conditional code.
24307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24308 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24309 Remove conditional code.
24310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24311 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24312 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24314 * sysdeps/unix/sysv/linux/sigaction.c
24315 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24316 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24317 * sysdeps/unix/sysv/linux/sigpending.c
24318 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24319 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24320 * sysdeps/unix/sysv/linux/sigprocmask.c
24321 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24322 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24323 * sysdeps/unix/sysv/linux/sigsuspend.c
24324 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24325 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24326 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24327 (__libc_missing_rt_sigs): Remove.
24328 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24329 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24330 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24331 Remove conditional code.
24332 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24333 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24335 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24336 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24337 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24338 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24340 2012-05-14 Andreas Jaeger <aj@suse.de>
24342 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24343 it's not used in glibc.
24344 (__coshm1): Likewise.
24345 (__acosh1p): Likewise.
24348 * manual/string.texi (Copying and Concatenation): Add missing
24349 variable in concat example.
24350 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24352 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24356 __builtin_clzl with __builtin_clzll.
24358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24361 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24364 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24366 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24367 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24368 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24369 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24371 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24373 * NEWS: Update ia64 info.
24375 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24377 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24380 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24382 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24383 * sysdeps/unix/syscalls.list (dup3): Likewise.
24384 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24385 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24387 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24389 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24390 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24392 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24394 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24396 (TLS_IE): Use mov/add instead of movq/addq to load thread
24398 (TLS_GD_PREFIX): New.
24401 2012-05-11 David S. Miller <davem@davemloft.net>
24403 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24404 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24405 (_FPU_SETCW): Likewise.
24407 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24409 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24410 is 32-byte aligned.
24412 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24415 * iconvdata/gb18030.c: Update tables.
24416 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24417 characters specially.
24418 (BODY for TO_LOOP): Add encoding of missing ranges.
24420 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24423 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24424 * sysdeps/mach/hurd/dup3.c: Likewise.
24425 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24426 * sysdeps/powerpc/memmove.c:: Likewise.
24428 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24431 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24433 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24435 * elf/elf.h (R_X86_64_RELATIVE64): New.
24436 (R_X86_64_NUM): Updated.
24437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24438 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24439 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24440 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24441 tst-quad1pie tst-quad2pie
24442 (modules-names): Add tst-quadmod1 tst-quadmod2.
24443 ($(objpfx)tst-quad1): New dependency.
24444 ($(objpfx)tst-quad2): Likewise.
24445 ($(objpfx)tst-quad1pie): Likewise.
24446 ($(objpfx)tst-quad2pie): Likewise.
24447 * sysdeps/x86_64/tst-quad1.c: New file.
24448 * sysdeps/x86_64/tst-quad1pie.c: New file.
24449 * sysdeps/x86_64/tst-quad2.c: Likewise.
24450 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24451 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24452 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24453 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24454 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24458 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24459 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24460 * streams/stropts.h (t_scalar_t): Define type.
24462 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24463 (_PATH_PRESERVE): Set to "/var/lib".
24464 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24466 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24469 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24470 if __dir_mkfile succeeded.
24472 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24473 checking for _hurd_dtablesize. Unlock it right after having
24474 finished _hurd_dtable allocation.
24476 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24478 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24479 * sysdeps/mach/hurd/configure: Regenerated.
24480 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24481 special-casing to...
24482 * sysdeps/gnu/configure.in: ... this new file.
24483 * sysdeps/unix/sysv/linux/configure: Regenerated.
24484 * sysdeps/gnu/configure: New generated file.
24486 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24487 for Linux: use nsec instead of usec, as well as:
24488 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24489 members of type struct timespec.
24490 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24492 (struct stat64): Likewise.
24493 (_STATBUF_ST_NSEC): New macro.
24494 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24496 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24497 __strtoul_internal rather than strtoul.
24499 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24501 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24504 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24506 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24507 which preserves existing values.
24508 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24510 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24512 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24513 TIMEOUT values. Return EINVAL for NFDS values either negative or
24514 greater than FD_SETSIZE.
24516 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24518 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24519 allocated, call __vm_protect to finish enabling the existing space, and
24520 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24521 allocate the remainder.
24523 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24525 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24526 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24530 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24531 sysdeps/mach/hurd/readlink.c.
24533 * posix/tst-sysconf.c (posix_options): Only use
24534 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24535 _POSIX_SYNCHRONIZED_IO when they are defined
24536 * sysdeps/mach/hurd/bits/posix_opt.h:
24537 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24538 (_XOPEN_REALTIME): Undefine macro.
24539 (_XOPEN_REALTIME_THREADS): Undefine macro.
24540 (_XOPEN_SHM): Undefine macro.
24541 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24543 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24545 (_POSIX_ASYNC_IO): Undefine macro.
24546 (_POSIX_PRIORITIZED_IO): Undefine macro.
24547 (_POSIX_SPIN_LOCKS): Define macro to -1.
24549 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24550 SA_NODEFER, SA_RESETHAND.
24551 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24552 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24555 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24557 * elf/Makefile (pldd-modules): Define unconditionally.
24559 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24561 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24563 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24565 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24566 Return ENOENT when name is empty.
24567 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24569 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24571 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24573 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24575 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24577 Fix mlock in all cases except non-readable pages.
24578 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24579 instead of VM_PROT_ALL as parameter to __vm_wire function.
24581 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24582 (__mkdir): When path is `/', just fail with EEXIST.
24583 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24585 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24587 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24588 <sys/uio.h> (for writev).
24589 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24590 and <sys/param.h> (for MIN).
24592 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24594 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24595 REQUESTED_TIME. Properly set the remaining time and return EINTR
24598 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24600 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24601 Depend on against $(link-rpcuserlibs).
24603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24605 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24606 (__libc_stack_end): Do not use attribute_relro.
24607 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24608 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24609 to libthread-provided value.
24610 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24613 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24616 * bits/libc-lock.h (__libc_once_get): New macro.
24617 * sysdeps/mach/bits/libc-lock.h: Likewise.
24618 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24619 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24620 instead of using implementation details.
24622 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24623 * libio/freopen.c: Likewise.
24624 * libio/freopen64.c: Likewise.
24625 * misc/syslog.c: Likewise.
24626 * nscd/connections.c: Likewise.
24627 * nscd/netgroupcache.c: Likewise.
24628 * sysdeps/posix/getcwd.c: Likewise.
24630 2012-05-10 Roland McGrath <roland@hack.frob.com>
24632 * math/w_ilogbf.c: Add #include <limits.h>.
24634 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24636 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24637 path instead of returning without unlocking.
24639 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24640 immediate-write ioctls.
24641 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24643 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24645 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24646 __builtin_frame_address instead of making assumptions about the
24647 location of the return address relative to DATA. Force early load of
24648 the return address.
24649 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24650 __builtin_frame_address.
24653 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24654 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24655 implement dup3 and do some further code clean-ups.
24656 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24657 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24659 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24661 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24663 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24664 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24665 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24666 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24667 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24670 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24671 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24672 when handler == SIG_ERR, not when handler != SIG_ERR.
24674 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24676 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24677 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24680 accept4 for GNU Hurd.
24681 * include/sys/socket.h (__libc_accept4): New prototype.
24682 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24683 to implement __libc_accept4.
24684 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24686 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24688 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24689 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24690 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24691 signal-defines.sym.
24693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24695 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24697 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24699 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24700 assertion on O_CLOEXEC flag.
24701 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24702 * hurd/intern-fd.c: Likewise.
24703 * hurd/port2fd.c: Likewise.
24705 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24708 * bits/in.h (IPV6_PKTINFO): Define new macro.
24709 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24711 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24716 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24718 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24719 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24720 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24721 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24722 * math/libm-test.inc (logb_test) : Additional logb tests.
24724 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24725 Andreas Jaeger <aj@suse.de>
24727 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24728 * configure: Regenerated.
24729 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24730 * config.make.in (link-obsolete-rpc): New substituted variable.
24731 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24732 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24733 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24734 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24735 so that libc.a contains the symbols.
24736 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24737 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24738 * sunrpc/auth_none.c: Likewise.
24739 * sunrpc/auth_unix.c: Likewise.
24740 * sunrpc/authdes_prot.c: Likewise.
24741 * sunrpc/authuxprot.c: Likewise.
24742 * sunrpc/clnt_gen.c: Likewise.
24743 * sunrpc/clnt_perr.c: Likewise.
24744 * sunrpc/clnt_raw.c: Likewise.
24745 * sunrpc/clnt_simp.c: Likewise.
24746 * sunrpc/clnt_tcp.c: Likewise.
24747 * sunrpc/clnt_udp.c: Likewise.
24748 * sunrpc/clnt_unix.c: Likewise.
24749 * sunrpc/des_crypt.c: Likewise.
24750 * sunrpc/des_soft.c: Likewise.
24751 * sunrpc/get_myaddr.c: Likewise.
24752 * sunrpc/key_call.c: Likewise.
24753 * sunrpc/key_prot.c: Likewise.
24754 * sunrpc/netname.c: Likewise.
24755 * sunrpc/pm_getmaps.c: Likewise.
24756 * sunrpc/pm_getport.c: Likewise.
24757 * sunrpc/pmap_clnt.c: Likewise.
24758 * sunrpc/pmap_prot.c: Likewise.
24759 * sunrpc/pmap_prot2.c: Likewise.
24760 * sunrpc/pmap_rmt.c: Likewise.
24761 * sunrpc/publickey.c: Likewise.
24762 * sunrpc/rpc_cmsg.c: Likewise.
24763 * sunrpc/rpc_common.c: Likewise.
24764 * sunrpc/rpc_dtable.c: Likewise.
24765 * sunrpc/rpc_prot.c: Likewise.
24766 * sunrpc/rpc_thread.c: Likewise.
24767 * sunrpc/rtime.c: Likewise.
24768 * sunrpc/svc.c: Likewise.
24769 * sunrpc/svc_auth.c: Likewise.
24770 * sunrpc/svc_raw.c: Likewise.
24771 * sunrpc/svc_run.c: Likewise.
24772 * sunrpc/svc_tcp.c: Likewise.
24773 * sunrpc/svc_udp.c: Likewise.
24774 * sunrpc/svc_unix.c: Likewise.
24775 * sunrpc/svcauth_des.c: Likewise.
24776 * sunrpc/xcrypt.c: Likewise.
24777 * sunrpc/xdr.c: Likewise.
24778 * sunrpc/xdr_array.c: Likewise.
24779 * sunrpc/xdr_float.c: Likewise.
24780 * sunrpc/xdr_intXX_t.c: Likewise.
24781 * sunrpc/xdr_mem.c: Likewise.
24782 * sunrpc/xdr_rec.c: Likewise.
24783 * sunrpc/xdr_ref.c: Likewise.
24784 * sunrpc/xdr_sizeof.c: Likewise.
24785 * sunrpc/xdr_stdio.c: Likewise.
24787 2012-05-10 Roland McGrath <roland@hack.frob.com>
24789 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24790 change. Update copyright years.
24792 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24794 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24796 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24797 Joseph Myers <joseph@codesourcery.com>
24798 Paul Pluzhnikov <ppluzhnikov@google.com>
24801 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24803 [cross-compiling] (extra-libs): Likewise.
24804 [cross-compiling] (extra-libs-others): Likewise.
24805 [cross-compiling] (librpcsvc-routines): Likewise.
24806 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24807 [cross-compiling] (omit-deps): Likewise.
24808 (sunrpc-CPPFLAGS): New variable.
24809 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24810 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24811 (cross-rpcgen-objs): New variable.
24812 (extra-objs): Append $(cross-rpcgen-objs).
24813 ($(cross-rpcgen-objs)): New rule.
24814 ($(objpfx)cross-rpcgen): Likewise.
24815 (rpcgen-cmd): Define to use $(built-program-file). Expand
24817 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24818 ($(objpfx)x%.stmp): Likewise.
24819 * sunrpc/proto.h [IS_IN_build] (_): Define.
24820 [IS_IN_build] (_libc_intl_domainname): Likewise.
24822 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24824 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24825 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24826 and R_X86_64_TPOFF64.
24828 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24830 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24831 sysdeps/unix/sysv/syscalls.list.
24834 * sysdeps/unix/sysv/syscalls.list: Remove file.
24836 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24839 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24840 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24841 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24842 (__LC_IDENTIFICATION): Make these macros useful in #if
24843 expressions, as required by C99.
24845 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24847 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24848 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24851 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24853 * stdlib/longlong.h: Updated from GCC.
24855 2012-05-09 Andreas Jaeger <aj@suse.de>
24857 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24858 default is first entry.
24859 (run_mode): Set type.
24860 (main): Remove informal message about syslog.
24861 (options): Fix typo.
24864 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24867 (llrintf): Likewise.
24868 (llrint): Likewise.
24871 (nearbyint): Likewise.
24872 (nearbyintf): Likewise.
24874 2012-05-09 Andreas Jaeger <aj@suse.de>
24875 Pedro Alves <palves@redhat.com>
24877 * nscd/nscd.c (run_mode): Use enum.
24878 (main): Cleanup coding style issue.
24880 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24881 Andreas Jaeger <aj@suse.de>
24883 * nscd/nscd.c (go_background): Replaced with...
24884 (run_mode): ... this.
24885 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24886 (options): Add -F --foreground.
24887 (main): Implement it.
24888 (parse_opt): Parse it.
24890 2012-05-09 Andreas Jaeger <aj@suse.de>
24893 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24894 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24895 -Wconversion warning.
24896 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24899 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24901 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24903 (LC_ALL): Use macro-int-constant.
24904 (LC_COLLATE): Likewise.
24905 (LC_CTYPE): Likewise.
24906 (LC_MESSAGES): Likewise.
24907 (LC_MONETARY): Likewise.
24908 (LC_NUMERIC): Likewise.
24909 (LC_TIME): Likewise.
24910 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24911 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24912 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24913 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24915 [C99-based standards] (float_t): Expect type.
24916 [C99-based standards] (double_t): Expect type.
24917 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24919 [C99-based standards] (HUGE_VALL): Likewise.
24920 [C99-based standards] (INFINITY): Likewise.
24921 [C99-based standards] (NAN): Likewise.
24922 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24923 [C99-based standards] (FP_NAN): Likewise.
24924 [C99-based standards] (FP_NORMAL): Likewise.
24925 [C99-based standards] (FP_SUBNORMAL): Likewise.
24926 [C99-based standards] (FP_ZERO): Likewise.
24927 [C99-based standards] (FP_FAST_FMA): Use
24928 optional-macro-int-constant. Specify type. Require == 1.
24929 [C99-based standards] (FP_FAST_FMAF): Likewise.
24930 [C99-based standards] (FP_FAST_FMAL): Likewise.
24931 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24932 [C99-based standards] (FP_ILOGBNAN): Likewise.
24933 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24935 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24936 [C99-based standards] (math_errhandling): Specify type.
24937 [ISO99 || ISO11] (signgam): Do not allow.
24938 [non-C99-based standards] (copysignf): Do not allow.
24939 [non-C99-based standards] (exp2f): Likewise.
24940 [non-C99-based standards] (log2f): Likewise.
24941 [non-C99-based standards] (modff): Allow.
24942 [non-C99-based standards] (erff): Do not allow.
24943 [non-C99-based standards] (erfcf): Likewise.
24944 [non-C99-based standards] (gammaf): Likewise.
24945 [non-C99-based standards] (hypotf): Likewise.
24946 [non-C99-based standards] (j0f): Likewise.
24947 [non-C99-based standards] (j1f): Likewise.
24948 [non-C99-based standards] (jnf): Likewise.
24949 [non-C99-based standards] (lgammaf): Likewise.
24950 [non-C99-based standards] (tgammaf): Likewise.
24951 [non-C99-based standards] (y0f): Likewise.
24952 [non-C99-based standards] (y1f): Likewise.
24953 [non-C99-based standards] (ynf): Likewise.
24954 [non-C99-based standards] (isnanf): Likewise.
24955 [non-C99-based standards] (acoshf): Likewise.
24956 [non-C99-based standards] (asinhf): Likewise.
24957 [non-C99-based standards] (atanhf): Likewise.
24958 [non-C99-based standards] (cbrtf): Likewise.
24959 [non-C99-based standards] (expm1f): Likewise.
24960 [non-C99-based standards] (ilogbf): Likewise.
24961 [non-C99-based standards] (log1pf): Likewise.
24962 [non-C99-based standards] (logbf): Likewise.
24963 [non-C99-based standards] (nextafterf): Likewise.
24964 [non-C99-based standards] (remainderf): Likewise.
24965 [non-C99-based standards] (rintf): Likewise.
24966 [non-C99-based standards] (scalbf): Likewise.
24967 [non-C99-based standards] (copysignl): Likewise.
24968 [non-C99-based standards] (exp2l): Likewise.
24969 [non-C99-based standards] (log2l): Likewise.
24970 [non-C99-based standards] (modfl): Allow.
24971 [non-C99-based standards] (erfl): Do not allow.
24972 [non-C99-based standards] (erfcl): Likewise.
24973 [non-C99-based standards] (gammal): Likewise.
24974 [non-C99-based standards] (hypotl): Likewise.
24975 [non-C99-based standards] (j0l): Likewise.
24976 [non-C99-based standards] (j1l): Likewise.
24977 [non-C99-based standards] (jnl): Likewise.
24978 [non-C99-based standards] (lgammal): Likewise.
24979 [non-C99-based standards] (tgammal): Likewise.
24980 [non-C99-based standards] (y0l): Likewise.
24981 [non-C99-based standards] (y1l): Likewise.
24982 [non-C99-based standards] (ynl): Likewise.
24983 [non-C99-based standards] (isnanl): Likewise.
24984 [non-C99-based standards] (acoshl): Likewise.
24985 [non-C99-based standards] (asinhl): Likewise.
24986 [non-C99-based standards] (atanhl): Likewise.
24987 [non-C99-based standards] (cbrtl): Likewise.
24988 [non-C99-based standards] (expm1l): Likewise.
24989 [non-C99-based standards] (ilogbl): Likewise.
24990 [non-C99-based standards] (log1pl): Likewise.
24991 [non-C99-based standards] (logbl): Likewise.
24992 [non-C99-based standards] (nextafterl): Likewise.
24993 [non-C99-based standards] (remainderl): Likewise.
24994 [non-C99-based standards] (rintl): Likewise.
24995 [non-C99-based standards] (scalbl): Likewise.
24996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24997 [non-C99-based standards] (FP_*): Do not allow.
24998 [C99-based standards] (FP_*): Change to
24999 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25000 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25002 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25003 (SIG_ERR): Likewise.
25004 [X/Open-based standards] (SIG_HOLD): Likewise.
25005 (SIG_IGN): Likewise.
25006 (SIGABRT): Use macro-int-constant. Specify type. Require
25008 (SIGFPE): Likewise.
25009 (SIGILL): Likewise.
25010 (SIGINT): Likewise.
25011 (SIGSEGV): Likewise.
25012 (SIGTER): Likewise.
25013 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25014 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25015 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25016 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25017 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25018 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25019 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25020 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25021 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25022 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25023 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25024 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25025 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25026 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25027 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25028 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25029 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25030 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25031 [X/Open-based standards] (SIGTRAP): Likewise.
25032 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25033 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25034 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25035 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25036 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25039 2012-05-08 Ian Wienand <ianw@vmware.com>
25042 * time/tzset.c (__tzset_parse_tz): Update default rules for
25043 daylight time changes in the Energy Policy Act of 2005.
25045 2012-05-09 Andreas Jaeger <aj@suse.de>
25048 * elf/ldconfig.c (parse_conf): Change string to make clear that
25049 ldconfig only issued a warning if ld.so.conf does not exist.
25051 2012-05-08 David S. Miller <davem@davemloft.net>
25053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25054 movxtod instead of popping the value on the stack.
25056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25058 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25060 * config.h.in: Add HAVE_ARM_PCS_VFP.
25062 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25065 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25066 checking but the checks are disabled for any reason.
25068 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25070 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25071 and ELF64_R_TYPE with ELFW(R_TYPE).
25073 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25075 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25076 (ulimit): Likewise.
25078 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25079 (settimeofday): Likewise.
25081 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25083 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25084 a struct th_u2 inside the union, and move tu_block/tu_code into
25085 a new th_u3 union of tu_block/tu_code inside of that. Move
25086 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25087 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25088 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25089 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25090 (th_stuff): Change to th_u1.tu_stuff.
25092 (th_msg): Change to th_u1.th_u2.tu_data.
25094 2012-05-07 David S. Miller <davem@davemloft.net>
25096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25099 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25100 (SETUP_PIC_REG): Use it.
25101 (SETUP_PIC_REG_LEAF): Use it.
25103 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25107 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25109 (EXPL_FINITE): Likewise.
25110 (FLDLOG): Likewise.
25111 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25112 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25114 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25116 (EXPL_FINITE): Likewise.
25117 (FLDLOG): Likewise.
25118 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25119 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25121 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25122 test of -max_value argument for long double.
25123 * sysdeps/i386/fpu/libm-test-ulps: Update.
25124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25126 2012-05-06 David S. Miller <davem@davemloft.net>
25128 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25129 quad soft-float symbols whose references which are compiler
25131 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25133 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25137 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25139 (EXPL_FINITE): Likewise.
25140 (FLDLOG): Likewise.
25143 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25144 Adjust comments for base varying.
25145 (__expl_finite): Change alias to EXPL_FINITE.
25146 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25148 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25149 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25150 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25151 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25152 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25154 (EXPL_FINITE): Likewise.
25155 (FLDLOG): Likewise.
25158 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25159 Adjust comments for base varying.
25160 (__expl_finite): Change alias to EXPL_FINITE.
25161 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25166 * math/libm-test.inc (check_float_internal): Correct ulp
25167 calculation for subnormal expected results.
25169 2012-05-06 Andreas Jaeger <aj@suse.de>
25171 * Makeconfig (+math-flags): New, set to -frounding-math.
25172 (+cflags): Add +math-flags so that all of glibc gets compiled with
25175 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25177 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25179 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25185 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25186 (__ieee754_expl): Allow for and saturate large arguments.
25187 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25188 (u_threshold): Likewise.
25189 (__exp): Call __ieee754_exp before checking for overflow and
25191 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25192 (u_threshold): Likewise.
25193 (__expf): Call __ieee754_expf before checking for overflow and
25195 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25196 (u_threshold): Likewise.
25197 (__expl): Call __ieee754_expl before checking for overflow and
25199 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25200 (__ieee754_expl): Allow for and saturate large arguments.
25201 * math/libm-test.inc (exp_test): Add another test. Do not allow
25202 missing overflow exception on overflow.
25203 (expm1_test): Do not allow missing overflow exception on overflow.
25205 * sysdeps/i386/fpu/e_expl.c: Move to ...
25206 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25207 rather than using inline asm.
25208 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25209 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25210 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25212 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25215 (signal): Likewise.
25219 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25221 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25222 sysdeps/unix/common/syscalls.list.
25223 (fchmod): Likewise.
25224 (fchown): Likewise.
25225 (ftruncate): Likewise.
25226 (getrusage): Likewise.
25227 (gettimeofday): Likewise.
25228 (setpgid): Likewise.
25229 (setregid): Likewise.
25230 (setreuid): Likewise.
25231 (sigaction): Likewise.
25232 (truncate): Likewise.
25233 (vhangup): Likewise.
25234 * sysdeps/unix/common/syscalls.list: Remove file.
25235 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25236 * sysdeps/unix/sysv/linux/Implies: Likewise.
25238 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25240 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25242 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25246 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25249 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25252 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25255 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25258 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25261 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25264 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25268 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25272 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25275 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25279 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25283 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25285 * sysdeps/unix/common/bits/dirent.h: Remove file.
25286 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25288 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25289 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25290 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25291 * sysdeps/unix/bsd/isatty.c: Likewise.
25292 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25293 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25294 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25296 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25299 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25300 long double comparison inaccuracies.
25301 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25304 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25306 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25307 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25309 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25312 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25313 nonzero digits before rounding a hex value.
25314 * stdlib/tst-strtod.c (tests): Add another test.
25316 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25318 * sysdeps/s390/fpu/libm-test-ulps: Update.
25320 2012-05-03 Andreas Jaeger <aj@suse.de>
25322 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25323 does not get optimized out.
25324 (malloc_opt_barrier): New.
25326 2012-05-03 Andreas Jaeger <aj@suse.de>
25327 Roland McGrath <roland@hack.frob.com>
25329 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25330 intermediate file deletion.
25331 (generated): Add .symlist files.
25333 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25336 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25337 Redirect under this condition.
25338 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25339 [__USE_GNU] (__dprintf_chk): Not under this condition.
25340 [__USE_GNU] (__vdprintf_chk): Likewise.
25341 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25342 under this condition.
25343 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25344 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25345 [__USE_XOPEN2K8] (vdprintf): Likewise.
25346 [__USE_GNU] (__dprintf_chk): Not under this condition.
25347 [__USE_GNU] (__vdprintf_chk): Likewise.
25348 [__USE_GNU] (dprintf): Likewise.
25349 [__USE_GNU] (vdprintf): Likewise.
25351 2012-05-03 Roland McGrath <roland@hack.frob.com>
25353 * elf/Makefile (common-generated): Set this instead of generated for
25354 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25355 $(all-built-dso)-derived lists.
25357 2012-05-03 Andreas Jaeger <aj@suse.de>
25359 * sysdeps/i386/fpu/libm-test-ulps: Update.
25362 * FAQ.in: Likewise.
25363 * scripts/gen-FAQ.pl: Likewise.
25364 * manual/install.texi (Installation): Point to online location of
25366 * Makefile (files-for-dist): Remove FAQ.
25369 2012-05-02 Allan McRae <allan@archlinux.org>
25371 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25372 (LDFLAGS-reldepmod5.so): Likewise.
25373 (LDFLAGS-reldep6mod1.so): Likewise.
25374 (LDFLAGS-reldep6mod4.so): Likewise.
25375 (LDFLAGS-reldep8mod3.so): Likewise.
25376 (LDFLAGS-unload4mod1.so): Likewise.
25377 (LDFLAGS-unload4mod2.so): Likewise.
25378 (LDFLAGS-tst-initorder): Likewise.
25379 (LDFLAGS-tst-initordera2.so): Likewise.
25380 (LDFLAGS-tst-initordera3.so): Likewise.
25381 (LDFLAGS-tst-initordera4.so): Likewise.
25382 (LDFLAGS-tst-initorderb2.so): Likewise.
25383 (LDFLAGS-noload): Likewise.
25384 (LDFLAGS-next): Likewise.
25385 (LDFLAGS-order2mod1.so): Likewise.
25386 (LDFLAGS-order2mod2.so): Likewise.
25387 (LDFLAGS-tst-initorder2): Likewise.
25388 (LDFLAGS-tst-initorder2a.so): Likewise.
25389 (LDFLAGS-tst-initorder2b.so): Likewise.
25390 (LDFLAGS-tst-initorder2c.so): Likewise.
25391 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25393 2012-05-02 David S. Miller <davem@davemloft.net>
25395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25397 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25400 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25402 2012-05-02 Andreas Jaeger <aj@suse.de>
25404 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25405 since we manipulate rounding mode.
25406 (CPPFLAGS-test-idouble.c): Likewise.
25407 (CPPFLAGS-test-ifloat.c): Likewise.
25408 (CFLAGS-test-ldouble.c): Likewise.
25409 (CFLAGS-test-double.c): Likewise.
25410 (CFLAGS-test-float.c): Likewise.
25411 (CFLAGS-test-misc.c): Likewise.
25412 (CFLAGS-test-test-fenv.c): Likewise.
25414 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25418 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25419 comparisons to determine direction to adjust input.
25421 2012-05-01 Roland McGrath <roland@hack.frob.com>
25423 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25424 output to the target.
25426 * scripts/localplt.awk: New file.
25427 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25428 (check-localplt-CFLAGS): Variable removed.
25429 ($(all-built-dso:=.jmprel)): New static pattern rule.
25430 (generated): Add those targets.
25431 (localplt-built-dso): New variable.
25432 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25434 * elf/check-localplt.c: File removed.
25436 * scripts/check-execstack.awk: New file.
25437 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25438 (check-execstack-CFLAGS): Variable removed.
25439 ($(objpfx)check-execstack.h): Target removed.
25440 ($(objpfx)execstack-default): New target.
25441 (generated): Add that instead of check-execstack.h.
25442 ($(all-built-dso:=.phdr)): New static pattern rule.
25443 (generated): Add those targets.
25444 * elf/check-execstack.c: File removed.
25446 * scripts/check-textrel.awk: New file.
25447 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25448 (check-textrel-CFLAGS): Variable removed.
25449 (all-built-dso): Use := to define.o
25450 ($(all-built-dso:=.dyn)): New static pattern rule.
25451 (generated): Add those targets.
25452 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25453 * config.make.in (READELF): New substituted variable.
25454 * elf/check-textrel.c: File removed.
25456 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25458 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25460 * conform/data/ctype.h-data [C99-based standards] (isblank):
25462 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25463 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25465 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25466 Specify type. Require positive value.
25467 (EILSEQ): Likewise.
25468 (ERANGE): Likewise.
25469 [ISO || POSIX] (EILSEQ): Do not expect.
25470 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25471 Specify type. Require positive value.
25472 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25486 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25487 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25488 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25489 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25490 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25491 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25492 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25493 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25494 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25495 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25496 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25497 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25498 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25499 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25500 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25501 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25502 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25503 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25504 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25505 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25506 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25507 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25508 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25509 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25510 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25511 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25512 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25513 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25514 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25515 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25516 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25517 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25518 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25519 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25520 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25521 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25522 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25523 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25524 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25525 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25526 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25527 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25528 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25529 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25530 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25531 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25532 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25533 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25534 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25535 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25536 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25537 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25538 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25539 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25540 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25541 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25542 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25543 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25544 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25545 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25546 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25547 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25548 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25550 (FLT_ROUNDS): Expect as macro, not constant.
25551 (FLT_MANT_DIG): Use macro-int-constant.
25552 (DBL_MANT_DIG): Likewise.
25553 (LDBL_MANT_DIG): Likewise.
25554 (FLT_DIG): Likewise.
25555 (DBL_DIG): Likewise.
25556 (LDBL_DIG): Likewise.
25557 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25558 (DBL_MIN_EXP): Likewise.
25559 (LDBL_MIN_EXP): Likewise.
25560 (FLT_MAX_EXP): Use macro-int-constant.
25561 (DBL_MAX_EXP): Likewise.
25562 (LDBL_MAX_EXP): Likewise.
25563 (FLT_MAX_10_EXP): Likewise.
25564 (DBL_MAX_10_EXP): Likewise.
25565 (LDBL_MAX_10_EXP): Likewise.
25566 (FLT_MAX): Use macro-constant.
25567 (DBL_MAX): Likewise.
25568 (LDBL_MAX): Likewise.
25569 (FLT_EPSILON): Use macro-constant. Give upper bound.
25570 (DBL_EPSILON): Likewise.
25571 (LDBL_EPSILON): Likewise.
25572 (FLT_MIN): Likewise.
25573 (DBL_MIN): Likewise.
25574 (LDBL_MIN): Likewise.
25575 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25576 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25577 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25578 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25579 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25580 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25581 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25582 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25583 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25584 [ISO11] (FLT_TRUE_MIN): Likewise.
25585 [ISO11] (LDBL_TRUE_MIN): Likewise.
25586 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25587 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25588 (SCHAR_MIN): Use macro-int-constant. Specify type.
25589 (SCHAR_MAX): Likewise.
25590 (UCHAR_MAX): Likewise.
25591 (CHAR_MIN): Likewise.
25592 (CHAR_MAX): Likewise.
25593 (MB_LEN_MAX): Use macro-int-constant.
25594 (SHRT_MIN): Use macro-int-constant. Specify type.
25595 (SHRT_MAX): Likewise.
25596 (USHRT_MAX): Likewise.
25597 (INT_MAX): Likewise.
25598 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25600 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25602 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25604 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25605 bound negative. Suffix upper bound with "L".
25606 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25608 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25610 [C99-based standards] (LLONG_MAX): Likewise.
25611 [C99-based standards] (ULLONG_MAX): Likewise.
25612 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25614 [ISO11] (max_align_t): Require type.
25615 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25617 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25618 from $CFLAGS, without defining away __attribute__ calls.
25619 (checknamespace): Use $CFLAGS_namespace.
25621 * conform/conformtest.pl (@keywords): Only include C99 keywords
25622 for standards based on C99 or C11.
25624 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25626 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25629 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25630 usability of symbols in #if.
25632 * conform/conformtest.pl: If macro or constant types start
25633 "promoted:", expect the symbol to be of the following type
25634 promoted by the integer promotions.
25636 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25637 in one place. Also handle "macro-constant".
25639 * conform/conformtest.pl: Only accept expected macro values with
25640 "==". Parse all "macro" lines in one place.
25641 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25643 * conform/conformtest.pl: Handle braced types on "constant" lines
25644 instead of handling "typed-constant".
25645 * conform/data/signal.h-data: Use "constant" instead of
25648 * conform/conformtest.pl: Handle "optional-" at start of lines in
25649 one place rather than duplicating several cases. Handle each
25650 format of "macro" line with initial "optional-".
25652 * conform/conformtest.pl: Only accept expected constant or
25653 optional-constant values with "==". Parse all "constant" lines in
25654 one place. Parse all "optional-constant" lines in one place.
25655 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25656 * conform/data/fmtmsg.h-data: Likewise.
25657 * conform/data/netinet/in.h-data: Likewise.
25658 * conform/data/tar.h-data: Likewise.
25659 * conform/data/limits.h-data: Use "==" form on "constant" and
25660 "optional-constant" lines.
25662 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25663 Use -std=c99 for XOPEN2K.
25664 (@knownproblems): Remove.
25665 (newtoken): Don't check %isknown.
25667 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25668 Do not expect macro.
25669 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25672 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25673 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25681 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25682 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25692 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25693 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25694 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25699 [XPG3] (acosh): Likewise.
25700 [XPG3] (asinh): Likewise.
25701 [XPG3] (atanh): Likewise.
25702 [XPG3] (cbrt): Likewise.
25703 [XPG3] (expm1): Likewise.
25704 [XPG3] (ilogb): Likewise.
25705 [XPG3] (log1p): Likewise.
25706 [XPG3] (logb): Likewise.
25707 [XPG3] (nextafter): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25710 [XPG3] (remainder): Likewise.
25711 [XPG3] (rint): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25719 [UNIX98 || XOPEN2K] (scalb): Expect.
25720 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25721 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25728 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25729 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25730 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25731 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25732 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25733 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25734 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25735 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25736 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25737 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25738 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25739 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25740 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25741 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25742 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25744 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25745 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25746 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25747 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25748 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25749 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25750 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25751 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25753 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25754 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25755 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25756 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25757 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25758 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25759 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25760 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25761 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25762 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25763 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25764 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25765 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25766 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25767 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25768 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25769 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25770 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25771 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25772 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25773 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25774 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25775 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25776 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25777 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25778 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25779 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25780 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25781 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25792 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25797 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25798 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25799 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25800 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25801 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25802 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25803 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25804 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25805 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25806 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25807 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25808 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25809 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25810 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25811 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25812 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25813 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25814 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25815 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25816 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25817 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25818 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25819 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25820 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25821 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25822 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25823 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25824 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25825 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25826 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25827 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25828 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25829 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25830 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25831 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25832 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25833 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25834 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25835 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25836 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25837 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25838 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25839 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25840 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25841 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25842 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25843 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25844 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25845 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25846 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25847 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25848 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25849 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25850 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25851 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25852 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25853 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25854 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25855 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25856 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25858 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25859 _XOPEN_SOURCE_EXTENDED for XPG4.
25861 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25863 * Makeconfig (localtime): Remove variable.
25864 (inst_localtime-file): Likewise.
25866 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25887 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25891 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25892 comparisons to determine direction to adjust input.
25893 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25894 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25895 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25897 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25899 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25901 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25902 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25904 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25906 * math/libm-test.inc (nexttoward_test): Add more tests.
25908 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25911 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25912 in version GLIBC_2.1, not GLIBC_2.0.
25913 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25916 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25919 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25921 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25922 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25923 * math/libm-test.inc (acos_test): Add more tests.
25924 (asin_test): Likewise.
25925 * sysdeps/i386/fpu/libm-test-ulps: Update.
25926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25929 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25931 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25932 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25933 * math/libm-test.inc (acos_test_tonearest): New function.
25934 (acos_test_towardzero): Likewise.
25935 (acos_test_downward): Likewise.
25936 (acos_test_upward): Likewise.
25937 (asin_test_tonearest): Likewise.
25938 (asin_test_towardzero): Likewise.
25939 (asin_test_downward): Likewise.
25940 (asin_test_upward): Likewise.
25941 (main): Call the new functions.
25942 * sysdeps/i386/fpu/libm-test-ulps: Update.
25943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25947 * math/e_exp10.c: Include <float.h>.
25948 (__ieee754_exp10): Handle underflow here rather than multiplying
25949 large negative argument by M_LN10.
25950 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25952 * math/e_exp10l.c: Include <float.h>.
25953 (__ieee754_exp10l): Handle underflow here rather than multiplying
25954 large negative argument by M_LN10l.
25955 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25956 spurious overflow exception on underflow.
25958 2012-04-29 Marek Polacek <polacek@redhat.com>
25960 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25961 (__fortify_function): New macro.
25962 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25963 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25964 __extern_always_inline.
25965 * libio/bits/stdio2.h: Likewise.
25966 * libio/bits/stdio.h: Likewise.
25967 * string/string.h: Likewise.
25968 * string/bits/string3.h: Likewise.
25969 * include/stdio.h: Likewise.
25970 * stdlib/bits/stdlib.h: Likewise.
25971 * stdlib/stdlib.h: Likewise.
25972 * rt/bits/mqueue2.h: Likewise.
25973 * rt/mqueue.h: Likewise.
25974 * posix/bits/unistd.h: Likewise.
25975 * posix/unistd.h: Likewise.
25976 * io/bits/poll2.h: Likewise.
25977 * io/bits/fcntl2.h: Likewise.
25978 * io/fcntl.h: Likewise.
25979 * io/sys/poll.h: Likewise.
25980 * misc/bits/syslog.h: Likewise.
25981 * misc/bits/syslog-ldbl.h: Likewise.
25982 * misc/sys/syslog.h: Likewise.
25983 * socket/bits/socket2.h: Likewise.
25984 * socket/sys/socket.h: Likewise.
25985 * debug/tst-chk1.c: Likewise.
25986 * wcsmbs/bits/wchar2.h: Likewise.
25987 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25988 * wcsmbs/wchar.h: Likewise.
25990 2012-04-29 Andreas Jaeger <aj@suse.de>
25992 * Makerules (tests): Remove enable-check-abi protection.
25993 (check-abi-warn): Remove.
25994 (check-abi-%): Remove check-abi-warn usage.
25996 * configure.in: Remove check-abi configure option.
25997 * configure: Regenerated.
25998 * config.make.in (enable-check-abi): Remove.
26000 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26003 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26004 double functions to double *_finite functions.
26007 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26008 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26010 * stdio-common/Makefile (tests): Add tst-sprintf3.
26011 * stdio-common/tst-sprintf3.c: New file.
26013 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26014 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26016 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26018 * conform/conformtest.pl: Remove duplicate typed-constant
26021 2012-04-28 David S. Miller <davem@davemloft.net>
26023 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26024 (check-abi-%): Remove AWK script prerequisite and explicit
26026 (check-abi): Rewrite to just diff the symlist with the abilist.
26027 (config-tls, config-abi-config): Delete, no longer used.
26028 (update-abi-%): Remove AWK script and explicit abilist directory.
26029 (update-abi): Rewrite to simply compare and conditionally copy the
26030 symlist and the sysdep abilist file. Remove update-abi-config
26032 * abilist/ld.abilist: Remove.
26033 * abilist/libBrokenLocale.abilist: Remove.
26034 * abilist/libanl.abilist: Remove.
26035 * abilist/libcrypt.abilist: Remove.
26036 * abilist/libdl.abilist: Remove.
26037 * abilist/librt.abilist: Remove.
26038 * abilist/libthread_db.abilist: Remove.
26039 * abilist/libutil.abilist: Remove.
26040 * scripts/extract-abilist.awk: Remove.
26041 * scripts/merge-abilist.awk: Remove.
26042 * sysdeps/generic/libcidn.abilist: New file.
26043 * sysdeps/generic/libnss_compat.abilist: New file.
26044 * sysdeps/generic/libnss_db.abilist: New file.
26045 * sysdeps/generic/libnss_dns.abilist: New file.
26046 * sysdeps/generic/libnss_files.abilist: New file.
26047 * sysdeps/generic/libnss_hesiod.abilist: New file.
26048 * sysdeps/generic/libnss_nis.abilist: New file.
26049 * sysdeps/generic/libnss_nisplus.abilist: New file.
26050 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26051 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26052 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26054 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26055 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26056 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26057 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26058 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26059 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26060 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26061 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26062 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26064 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26065 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26066 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26067 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26069 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26070 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26071 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26072 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26073 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26074 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26076 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26077 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26078 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26080 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26183 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26184 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26185 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26188 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26189 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26190 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26191 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26192 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26193 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26194 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26195 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26196 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26248 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26250 * conform/conformtest.pl: Fix typo in handling typed-constant from
26253 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26255 * README: Cut down references to pre-2.6 Linux kernels and
26256 Linuxthreads. Update lists of configurations in libc and ports
26257 and sort alphabetically. Say "or newer" with Linux kernel version
26260 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26262 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26265 * math/libm-test.inc (logb_test_downward): New test to expose
26266 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26269 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26272 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26274 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26275 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26277 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26279 * sysdeps/unix/i386/brk.S: Remove file.
26280 * sysdeps/unix/i386/dl-brk.S: Likewise.
26281 * sysdeps/unix/i386/pipe.S: Likewise.
26282 * sysdeps/unix/i386/sigreturn.S: Likewise.
26283 * sysdeps/unix/i386/syscall.S: Likewise.
26284 * sysdeps/unix/i386/vfork.S: Likewise.
26285 * sysdeps/unix/i386/wait.S: Likewise.
26287 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26288 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26290 * configure.in (arm*-none*): Do not allow without
26291 --enable-hacker-mode.
26292 (netbsd*): Remove case setting base_os.
26293 (386bsd*): Likewise.
26294 (freebsd*): Likewise.
26297 (sunos*): Likewise.
26298 (ultrix*): Likewise.
26299 (newsos*): Likewise.
26300 (dynix*): Likewise.
26306 (minix*): Likewise.
26307 (irix4*): Likewise.
26308 (irix6*): Likewise.
26309 (solaris[2-9]*): Likewise.
26311 * configure: Regenerated.
26313 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26316 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26317 overflow or cancellation in calculating denominator.
26318 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26319 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26320 down expression to avoid unexpected rounding in newer GCCs.
26321 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26323 2012-04-26 David S. Miller <davem@davemloft.net>
26325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26326 long-double compat symbols.
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26341 2012-04-25 David S. Miller <davem@davemloft.net>
26343 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26344 HWCAP_* values only after the memory barriers have been defined.
26345 (atomic_full_barrier): Define.
26346 (atomic_read_barrier): Define.
26347 (atomic_write_barrier): Define.
26349 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26351 * shlib-versions: Add libgcc_s version information.
26352 * sysdeps/generic/libgcc_s.h: Remove.
26353 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26355 * sysdeps/gnu/unwind-resume.c: Likewise.
26356 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26358 2012-04-25 David S. Miller <davem@davemloft.net>
26360 * sysdeps/unix/sparc/brk.S: Delete.
26361 * sysdeps/unix/sparc/dl-brk.S: Delete.
26362 * sysdeps/unix/sparc/pipe.S: Delete.
26363 * sysdeps/unix/sparc/sysdep.S: Delete.
26364 * sysdeps/unix/sparc/sysdep.h: Delete.
26365 * sysdeps/unix/sparc/vfork.S: Delete.
26366 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26367 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26368 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26369 ret_ERRVAL, r0, r1, MOVE): Define.
26370 (JUMPTARGET): Remove.
26371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26372 sysdeps/unix/sparc/sysdep.h
26373 (ENTRY, END): Remove.
26374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26376 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26378 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26379 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26382 * timezone/README: Update upstream location and email address for
26384 * timezone/zdump.c: Update from tzcode 2012b.
26385 * timezone/zic.c: Likewise.
26387 * configure.in (libc_cv_as_needed): Remove test.
26388 * configure: Regenerated.
26389 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26390 conditional definition.
26391 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26392 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26393 * config.make.in (have-as-needed): Remove variable.
26395 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26396 Paul Pluzhnikov <ppluzhnikov@google.com>
26398 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26401 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26403 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26404 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26405 * sysdeps/sh/strlen.S: Likewise.
26407 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26409 * sysdeps/unix/fork.S: Remove file.
26410 * sysdeps/unix/i386/fork.S: Likewise.
26411 * sysdeps/unix/sparc/fork.S: Likewise.
26413 * sysdeps/unix/system.c: Remove file.
26414 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26416 * sysdeps/unix/getegid.S: Remove file.
26417 * sysdeps/unix/geteuid.S: Likewise.
26419 2012-04-24 Roland McGrath <roland@hack.frob.com>
26421 * scripts/check-localplt.awk: New file.
26422 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26424 * scripts/data/localplt-generic.data: Add a comment.
26426 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26427 NODE when __dir_mkfile failed.
26428 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26429 Reported by Ludovic Courtès <ludo@gnu.org>.
26431 2012-04-24 Andreas Jaeger <aj@suse.de>
26433 * Makerules (common-clean): Also remove gen-as-const-headers
26436 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26438 * Makerules (native-compile): Do not change working directory for
26439 build. Use $(OUTPUT_OPTION) in command.
26440 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26442 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26445 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26446 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26447 * math/libm-test.inc (floor_test): Add more tests.
26448 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26450 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26452 * sysdeps/unix/getdents.c: Remove file.
26453 * sysdeps/unix/sysv/getdents.c: Likewise.
26454 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26456 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26457 sysdeps/unix/mman/syscalls.list.
26459 (mprotect): Likewise.
26461 (munmap): Likewise.
26462 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26463 * sysdeps/unix/mman/syscalls.list: Remove.
26464 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26466 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26467 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26468 * configure: Regenerated.
26469 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26470 $(libgcc_s_suffix).
26471 * config.make.in (libgcc_s_suffix): Remove variable.
26473 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26475 * sysdeps/unix/sysv/gethostname.c: Move to ...
26476 * sysdeps/posix/gethostname.c: ... here.
26478 * sysdeps/unix/execve.S: Remove file.
26480 * sysdeps/unix/_exit.S: Remove file.
26482 2012-04-23 Andreas Jaeger <aj@suse.de>
26485 * manual/Makefile: Remove make dist support, there's no
26486 need for a stand-alone documentation tar ball.
26487 (TEXI2DVI): Define always, it's not in Makeconfig.
26490 (edition): Removed.
26491 (glibc-doc-$(edition).tar): Removed
26495 (ETAGS): Remove, it's in Makeconfig.
26496 (move-if-change): Remove, it's in Makeconfig.
26498 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26501 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26502 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26503 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26504 (strtod_l, strtof_l, strtold_l): Remove __wur.
26505 It is not necessarily an error to ignore strtol's return value.
26506 One can reliably look at the stored endptr to decide whether
26507 the number had valid syntax.
26509 2012-04-21 Andreas Jaeger <aj@suse.de>
26512 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26514 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26516 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26517 * sysdeps/unix/sysv/Versions: Remove file.
26519 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26524 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26528 version from __vm86.
26530 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26532 * sysdeps/unix/common/lxstat.c: Remove file.
26533 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26535 * sysdeps/unix/sysv/Makefile: Remove file.
26537 * sysdeps/unix/sysv/direct.h: Remove file.
26539 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26540 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26541 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26542 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26543 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26544 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26545 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26547 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26549 * sysdeps/unix/xmknod.c: Remove file.
26550 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26552 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26554 * sysdeps/unix/sysv/i386/time.S: Remove file.
26556 * sysdeps/unix/fxstat.c: Remove file.
26557 * sysdeps/unix/xstat.c: Likewise.
26558 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26560 * sysdeps/unix/sysv/sigaction.c: Remove file.
26562 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26563 (sysdep_headers): Remove variable.
26564 [termio.h not in sysdep_headers] (generated): Likewise.
26565 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26566 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26567 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26568 * sysdeps/unix/sysv/tcflow.c: Likewise.
26569 * sysdeps/unix/sysv/tcflush.c: Likewise.
26570 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26571 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26572 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26573 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26574 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26576 * sysdeps/unix/siglist.c: Remove file.
26578 * sysdeps/unix/getppid.S: Remove file.
26580 * sysdeps/unix/mkdir.c: Remove file.
26581 * sysdeps/unix/rmdir.c: Likewise.
26583 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26585 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26587 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26588 errlist-compat value.
26590 2012-04-18 David S. Miller <davem@davemloft.net>
26592 * sysdeps/generic/memcopy.h (reg_char): Delete.
26593 * debug/strcat_chk.c: Use char, not reg_char.
26594 * debug/strcpy_chk.c: Likewise.
26595 * debug/strncat_chk.c: Likewise.
26596 * debug/strncpy_chk.c: Likewise.
26597 * string/memchr.c: Likewise.
26598 * string/memrchr.c: Likewise.
26599 * string/rawmemchr.c: Likewise.
26600 * string/strcat.c: Likewise.
26601 * string/strchr.c: Likewise.
26602 * string/strchrnul.c: Likewise.
26603 * string/strcmp.c: Likewise.
26604 * string/strcpy.c: Likewise.
26605 * string/strncat.c: Likewise.
26606 * string/strncmp.c: Likewise.
26607 * string/strncpy.c: Likewise.
26609 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26611 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26612 __builtin_memcopy is called when src and dest ranges are known to not
26615 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26617 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26618 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26619 fwd_align_merge macro call.
26620 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26621 bwd_align_merge macro call.
26622 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26624 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26626 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26627 bwd_align_merge macros.
26628 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26629 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26630 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26632 2012-04-18 David S. Miller <davem@davemloft.net>
26634 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26636 2012-04-18 Andreas Jaeger <aj@suse.de>
26639 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26640 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26641 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26643 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26644 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26645 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26647 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26648 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26649 Adjust for changed ldbl-128 files.
26651 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26652 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26653 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26655 2012-04-17 David S. Miller <davem@davemloft.net>
26657 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26659 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26661 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26662 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26663 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26664 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26665 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26666 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26668 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26671 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26672 * math/libm-test.inc: Add ilogb errno and exception tests.
26673 * math/w_ilogb.c: New file: ilogb wrapper.
26674 * math/w_ilogbf.c: New file: ilogbf wrapper.
26675 * math/w_ilogbl.c: New file: ilogbl wrapper.
26676 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26677 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26678 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26679 exception being thrown with 0.0 as argument.
26680 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26681 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26682 exception being thrown with 0.0 as argument.
26683 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26684 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26685 exception being thrown with 0.0 as argument.
26686 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26687 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26688 exception being thrown with 0.0 as argument.
26689 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26690 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26691 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26692 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26693 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26694 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26695 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26696 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26697 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26699 2012-04-17 Petr Baudis <pasky@ucw.cz>
26701 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26704 2012-04-16 Marek Polacek <polacek@redhat.com>
26706 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26708 2012-04-16 Marek Polacek <polacek@redhat.com>
26710 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26711 operands of fdivp instruction.
26713 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26715 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26716 * elf/tst-auditmod3b.c: Likewise.
26717 * elf/tst-auditmod4b.c: Likewise.
26718 * elf/tst-auditmod5b.c: Likewise.
26719 * elf/tst-auditmod6b.c: Likewise.
26720 * elf/tst-auditmod6c.c: Likewise.
26721 * elf/tst-auditmod7b.c: Likewise.
26722 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26723 * sysdeps/x86_64/preconfigure.in: Likewise.
26724 * sysdeps/x86_64/preconfigure: Regenerated.
26726 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26728 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26731 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26734 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26736 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26739 * locale/iso-639.def: Fix gl language name. Spotted by
26742 2012-04-12 Roland McGrath <roland@hack.frob.com>
26745 * libio/libio.h (__io_write_fn): Update comment.
26747 2012-04-12 Petr Baudis <pasky@ucw.cz>
26750 * stdio.texi (Hook Functions): The user provided writer function
26751 is not allowed to return -1.
26753 2012-04-11 David S. Miller <davem@davemloft.net>
26755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26757 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26759 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26760 Add a leading slash to rtkaio.
26762 2012-04-11 Jim Meyering <meyering@redhat.com>
26765 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26766 It is not necessarily an error to ignore fwrite's return
26767 value. One can reliably use ferror to test for errors after
26770 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26772 * bits/types.h (__snseconds_t): New type.
26773 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26775 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26777 (__SNSECONDS_T_TYPE): Likewise.
26778 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26779 (__SNSECONDS_T_TYPE): Likewise.
26780 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26781 (__SNSECONDS_T_TYPE): Likewise.
26783 2012-04-10 Andreas Jaeger <aj@suse.de>
26786 * manual/time.texi (Processor Time): Return type of times is
26787 elapsed real time since an arbitrary point in the past.
26788 (CPU Time): Move CLK_TCK from here...
26789 (Processor Time): ...to here. Correct description.
26790 * manual/conf.texi (Constants for Sysconf): Correct description of
26793 2012-04-10 David S. Miller <davem@davemloft.net>
26796 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26797 where the is a gap between DT_REL(A) and DT_JMPREL.
26799 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26801 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26802 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26803 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26805 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26807 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26808 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26809 (dl_main): Handle --inhibit-cache.
26810 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26812 * elf/dl-load.c (_dl_map_object): Use it.
26813 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26815 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26818 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26819 (__ieee754_powl): Saturate large exponents rather than testing for
26820 overflow of y*log2(x).
26821 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26822 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26826 * math/s_ctan.c: Include <float.h>.
26827 (__ctan): Avoid internal overflow or cancellation in calculating
26829 * math/s_ctanf.c: Likewise.
26830 * math/s_ctanl.c: Likewise.
26831 * math/s_ctanh.c: Likewise.
26832 * math/s_ctanhf.c: Likewise.
26833 * math/s_ctanhl.c: Likewise.
26834 * math/libm-test.inc (ctan_test): Add more tests.
26835 (ctanh_test): Likewise.
26836 * sysdeps/i386/fpu/libm-test-ulps: Update.
26837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26839 2012-04-09 Andreas Jaeger <aj@suse.de>
26842 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26843 is an optional BSD extension.
26846 * manual/stdio.texi (Opening Streams): Document additional fopen
26849 2012-04-09 Roland McGrath <roland@hack.frob.com>
26851 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26852 %eax without telling the compiler.
26854 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26857 * manual/install.texi: Use sourceware.org.
26859 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26862 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26863 (__ieee754_pow): Generate overflow and underflow using huge*huge
26864 and tiny*tiny rather than just returning constant infinity or zero
26865 for large exponents.
26866 * math/libm-test.inc (pow_test): Require overflow exceptions for
26867 applicable cases of large exponents.
26870 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26871 (__ieee754_pow): Use iterative multiplication algorithm only for
26872 integer exponents with absolute value below 1024. Check for odd
26873 integer exponents when using algorithm for real exponents.
26874 * math/libm-test.inc (pow_test): Add more tests.
26875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26877 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26880 * math/libm-test.inc (exp_test): Do not allow overflow exception
26883 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26886 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26887 instead of __kernel_standard_f.
26889 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26891 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26892 * sysdeps/x86_64/memset_chk.S: Likewise.
26894 2012-04-08 Andreas Jaeger <aj@suse.de>
26897 * manual/startup.texi (Environment Access): Describe return value
26898 for putenv and setenv.
26901 * manual/filesys.texi (Directory Entries): Add description for
26905 * manual/filesys.texi (Directory Entries): Clarify that it's file
26906 system not operating system in the description of DT_UNKNOWN.
26909 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26911 2012-04-08 Stephen Compall <s11@member.fsf.org>
26914 * manual/llio.texi (Opening and Closing Files): Add cross
26915 reference to explain mode argument.
26917 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26919 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26920 * sysdeps/x86_64/memset_chk.S: Likewise.
26922 2012-04-07 David S. Miller <davem@davemloft.net>
26924 * elf/elf.h (R_SPARC_WDISP10): Define.
26925 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26927 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26928 R_SPARC_SIZE64 and R_SPARC_H34.
26930 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26933 conditions and remove no longer applicable assertion.
26935 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26937 * bits/byteswap.h: Include <features.h>.
26938 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26939 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26941 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26943 * bits/byteswap.h (__bswap_16): Removed.
26944 Include <bits/byteswap-16.h> to get __bswap_16.
26945 * sysdeps/i386/bits/byteswap.h: Likewise.
26946 * sysdeps/s390/bits/byteswap.h: Likewise.
26947 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26948 * bits/byteswap-16.h: New file.
26949 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26950 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26951 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26952 * string/Makefile (headers): Add bits/byteswap-16.h.
26954 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26957 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26959 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26960 * nss/tst-nss-static.c: New.
26962 2012-04-06 Robert Millan <rmh@gnu.org>
26965 * manual/llio.texi (File Position Primitive): lseek
26966 refers to WHENCE when it really means OFFSET.
26968 2012-04-06 Andreas Jaeger <aj@suse.de>
26970 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26971 strncmp declarations.
26973 * abilist/libc.abilist: Add __poll and __ppoll.
26975 2012-04-05 David S. Miller <davem@davemloft.net>
26977 * scripts/check-local-headers.sh: Accept a host triplet in the
26978 path matched by the exclude regexp.
26980 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26982 * sysdeps/powerpc/powerpc32/dl-machine.h
26983 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26984 * sysdeps/s390/s390-32/dl-machine.h
26985 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26986 * sysdeps/sparc/sparc32/dl-machine.h
26987 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26988 * sysdeps/sparc/sparc64/dl-machine.h
26989 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26991 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26993 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26994 undefined symbol errors.
26996 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26999 2012-04-05 Michael Matz <matz@suse.de>
27002 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27004 2012-04-05 Andreas Jaeger <aj@suse.de>
27007 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27010 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27012 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27013 which ROUND is no valid rounding mode.
27015 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27017 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27019 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27021 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27023 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27024 an exception using FPU order intentionally.
27026 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27028 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27029 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27030 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27031 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27033 2012-04-05 Simon Josefsson <simon@josefsson.org>
27036 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27037 EINVAL when BUFLEN is too smal.
27039 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27042 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27043 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27045 2012-04-03 Andreas Jaeger <aj@suse.de>
27048 * manual/setjmp.texi (System V contexts): Fix sentence.
27051 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27052 New macro for this case.
27053 [!__GNUC__] (__bswap_64): New inline function for this case.
27054 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27055 * bits/byteswap.h: Likewise.
27056 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27057 ull, guard with __GLIBC_HAVE_LONG_LONG.
27059 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27060 __GLIBC_HAVE_LONG_LONG.
27062 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27063 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27065 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27068 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27069 inptr and inend, rather than using last_ch.
27071 2012-04-02 David S. Miller <davem@davemloft.net>
27073 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27074 * stdio-common/printf-parse.h (read_int): Change return type to
27075 'int', return -1 on INT_MAX overflow.
27076 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27077 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27078 overflows INT_MAX. Check for overflow of in-format-string precision
27079 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27080 SIZE_MAX not INT_MAX for integer overflow test.
27081 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27082 skip the construct in the format string but do not record anything.
27083 * stdio-common/bug22.c: Adjust to test both width/prevision
27084 INT_MAX overflow as well as total length INT_MAX overflow. Check
27085 explicitly for proper errno values.
27087 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27089 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27091 * string/test-strcmp.c [! WIDE]: Likewise.
27092 * time/tst-mktime2.c: Likewise for INT_MAX.
27093 * string/test-string.h: #include <sys/param.h> for MIN.
27095 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27096 * sysdeps/i386/init-first.c (init): Likewise.
27097 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27098 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27099 * sysdeps/sh/init-first.c (init): Likewise.
27101 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27103 * po/ru.po: Update from translation team.
27104 * po/vi.po: Likewise.
27106 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27108 * resolv/nss_dns/dns-host.c: Merge copyright years.
27110 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27112 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27113 Optimize memcpy with prefetch if
27114 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27115 src, dst pointers have unequal 16 byte alignments.
27117 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27120 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27121 from a CNAME entry and return the minimum ttl for the query.
27122 (gaih_getanswer_slice): Likewise.
27124 2012-03-30 Jeff Law <law@redhat.com>
27126 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27128 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27129 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27131 * resolv/nss_dns/dns-host.c: Update copyright year.
27133 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27135 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27136 requests to save a system call. Fix check that all bytes are sent.
27138 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27139 comments for sendmmsg.
27141 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27144 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27145 with only 1 character between 0x0041 and 0x01b0.
27146 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27147 * wcsmbs/tst-mbsnrtowcs.c: New file.
27149 2012-03-29 David S. Miller <davem@davemloft.net>
27151 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27152 small copies by hand.
27154 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27157 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27158 _nss_compat_initgroups_dyn): Fall back to malloc/free
27159 for large group memberships.
27161 2012-03-28 David S. Miller <davem@davemloft.net>
27163 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27164 that branches into memcpy.
27165 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27166 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27167 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27168 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27171 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27172 implementation too.
27173 * sysdeps/sparc/mempcpy.S: New file.
27175 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27176 the IFUNC routine in the libc case.
27177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27179 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27180 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27181 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27182 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27183 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27184 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27185 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27186 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27188 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27189 loop to 256 bytes instead of 64 bytes and fix test signedness.
27191 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27192 * sysdeps/sparc/sparc32/Makefile: rather than here...
27193 * sysdeps/sparc/sparc64/Makefile: and here.
27195 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27197 * malloc/mallocbug.c: Avoid warnings about unused variables.
27199 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27202 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27203 in the right place. Discard and retry query if response is
27204 larger than input buffer size.
27206 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27211 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27212 x for large integer exponent.
27213 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27214 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27215 sign of result as needed afterwards.
27216 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27217 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27218 result for underflowing pow the same as for overflow.
27219 (__kernel_standard_l): Handle powl overflow and underflow here
27220 rather than calling __kernel_standard.
27221 * math/libm-test.inc (pow_test): Add more tests.
27236 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27237 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27238 (__kernel_standard_l): New function.
27239 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27241 * math/w_acosl.c (__acosl): Likewise.
27242 * math/w_asinl.c (__asinl): Likewise.
27243 * math/w_atan2l.c (__atan2l): Likewise.
27244 * math/w_atanhl.c (__atanhl): Likewise.
27245 * math/w_coshl.c (__coshl): Likewise.
27246 * math/w_exp10l.c (__exp10l): Likewise.
27247 * math/w_exp2l.c (__exp2l): Likewise.
27248 * math/w_fmodl.c (__fmodl): Likewise.
27249 * math/w_hypotl.c (__hypotl): Likewise.
27250 * math/w_j0l.c (__j0l, __y0l): Likewise.
27251 * math/w_j1l.c (__j1l, __y1l): Likewise.
27252 * math/w_jnl.c (__jnl, __ynl): Likewise.
27253 * math/w_lgammal.c (__lgammal): Likewise.
27254 * math/w_log10l.c (__log10l): Likewise.
27255 * math/w_log2l.c (__log2l): Likewise.
27256 * math/w_logl.c (__logl): Likewise.
27257 * math/w_powl.c (__powl): Likewise.
27258 * math/w_remainderl.c (__remainderl): Likewise.
27259 * math/w_scalbl.c (sysv_scalbl): Likewise.
27260 * math/w_sinhl.c (__sinhl): Likewise.
27261 * math/w_sqrtl.c (__sqrtl): Likewise.
27262 * math/w_tgammal.c (__tgammal): Likewise.
27263 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27264 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27265 * math/libm-test.inc (acos_test): Add more tests.
27266 (acosh_test): Likewise.
27267 (asin_test): Likewise.
27268 (atanh_test): Likewise.
27269 (exp_test): Likewise.
27270 (exp10_test): Likewise.
27271 (exp2_test): Likewise.
27272 (expm1_test): Likewise.
27273 (lgamma_test): Likewise.
27274 (log_test): Likewise.
27275 (log10_test): Likewise.
27276 (log1p_test): Likewise.
27277 (log2_test): Likewise.
27278 (pow_test): Do not allow some spurious overflow exceptions.
27279 (sqrt_test): Add more tests.
27280 (tgamma_test): Likewise.
27281 (y0_test): Likewise.
27282 (y1_test): Likewise.
27283 (yn_test): Likewise.
27285 2012-03-27 Anton Blanchard <anton@samba.org>
27287 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27289 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27291 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27293 2012-03-27 David S. Miller <davem@davemloft.net>
27295 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27297 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27298 have-as-vis3 check.
27300 2012-03-27 Andreas Jaeger <aj@suse.de>
27302 * sysdeps/x86_64/elf/configure.in: Moved to ...
27303 * sysdeps/x86_64/configure.in: ... here.
27304 * sysdeps/x86_64/elf/start.S: Moved to ...
27305 * sysdeps/x86_64/start.S: ... here.
27306 * sysdeps/x86_64/elf/configure: Delete.
27308 * sysdeps/x86_64/configure.in: Merge contents from
27309 sysdeps/i386/configure.in (without i686 check).
27311 * sysdeps/i386/elf/Versions: Merge into ...
27312 * sysdeps/i386/Versions: ... this.
27313 * sysdeps/i386/elf/Versions: Delete file.
27314 * sysdeps/i386/elf/start.S: Moved to ...
27315 * sysdeps/i386/start.S: ...here.
27316 * sysdeps/i386/elf/configure.in: Merge into...
27317 * sysdeps/i386/configure.in: ...here.
27318 * sysdeps/i386/elf/configure.in: Delete file.
27319 * sysdeps/i386/elf/configure: Delete file.
27321 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27322 * debug/backtracesyms.c: ... here.
27323 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27324 * debug/backtracesymsfd.c: ... here.
27325 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27326 * sysdeps/generic/ifunc-sel.h: ... here.
27328 * sysdeps/unix/i386/start.c: Delete file.
27329 * sysdeps/unix/sparc/start.c: Delete file.
27330 * sysdeps/unix/start.c: Delete file.
27332 * sysdeps/sh/elf/configure.in: Moved to ...
27333 * sysdeps/sh/configure.in: ... here.
27334 * sysdeps/sh/elf/start.S: Moved to ...
27335 * sysdeps/sh/start.S: ... here.
27336 * sysdeps/sh/elf/configure: Delete file.
27338 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27339 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27340 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27341 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27342 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27343 * sysdeps/powerpc/powerpc64/start.S: here.
27344 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27345 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27346 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27347 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27348 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27350 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27351 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27352 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27353 * sysdeps/powerpc/powerpc32/start.S: ... here.
27354 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27355 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27356 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27358 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27359 * sysdeps/powerpc/ifunc-sel.h: ... here.
27360 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27361 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27363 * sysdeps/sparc/elf/configure.in: Moved to ...
27364 * sysdeps/sparc/configure.in: ... here.
27365 * sysdeps/sparc/elf/configure: Delete file.
27366 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27367 * sysdeps/sparc/sparc32/start.S: ... here.
27368 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27369 * sysdeps/sparc/sparc64/start.S: ... here.
27370 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27371 * sysdeps/sparc/sparc32/Makefile: ... this.
27372 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27373 * sysdeps/sparc/sparc64/Makefile: ... this.
27375 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27376 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27377 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27378 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27379 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27380 * sysdeps/s390/s390-32/setjmp.S: ... here.
27381 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27382 * sysdeps/s390/s390-32/configure.in: ... here.
27383 * sysdeps/s390/s390-32/elf/configure: Delete file.
27384 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27385 * sysdeps/s390/s390-32/start.S: ... here.
27387 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27388 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27389 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27390 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27391 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27392 * sysdeps/s390/s390-64/setjmp.S: ... here.
27393 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27394 * sysdeps/s390/s390-64/configure.in: ... here
27395 * sysdeps/s390/s390-64/elf/configure: Delete file.
27396 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27397 * sysdeps/s390/s390-64/start.S: ... here.
27398 * sysdeps/s390/s390-64/elf/configure: Delete.
27400 * configure.in: Remove support for elf directories in sysdeps.
27402 * configure: Regenerated.
27403 * sysdeps/i386/configure: Regenerated.
27404 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27405 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27406 * sysdeps/s390/s390-32/configure: Regenerated.
27407 * sysdeps/s390/s390-64/configure: Regenerated.
27408 * sysdeps/sh/configure: Regenerated.
27409 * sysdeps/sparc/configure: Regenerated.
27410 * sysdeps/x86_64/configure: Regenerated.
27412 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27416 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27417 denormal result into account.
27419 2012-03-25 Roland McGrath <roland@hack.frob.com>
27421 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27422 Reported by Allan McRae <allan@archlinux.org>.
27424 2012-03-23 Jeff Law <law@redhat.com>
27426 * nss/getnssent.c (__nss_getent): Fix typo.
27428 2012-03-23 David S. Miller <davem@davemloft.net>
27430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27432 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27434 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27435 to pad to uint64_t for each field.
27436 (dl_tls_index): Replace unsigned long with uint64_t.
27438 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27439 Paul Pluzhnikov <ppluzhnikov@google.com>
27442 * grp/Makefile (otherlibs): Don't set it.
27443 * inet/Makefile (otherlibs): Likewise.
27444 * login/Makefile (otherlibs): Likewise.
27445 * nscd/Makefile (otherlibs): Likewise.
27446 * posix/Makefile (otherlibs): Likewise.
27447 * pwd/Makefile (otherlibs): Likewise.
27448 * rt/Makefile (otherlibs): Likewise.
27449 * sunrpc/Makefile (otherlibs): Likewise.
27450 * nss/Makefile (otherlibs): Likewise.
27451 Add libnss_files to routines and static-only-routines.
27452 ($(objpfx)getent): Remove rule.
27453 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27454 static-only-routines.
27456 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27459 * math/s_cexp.c: Include <float.h>.
27460 (__cexp): Handle exp result overflowing not necessarily
27461 overflowing both real and imaginary parts of result.
27462 * math/s_cexpf.c: Likewise.
27463 * math/s_cexpl.c: Likewise.
27464 * math/libm-test.inc (cexp_test): Add more tests.
27465 * sysdeps/i386/fpu/libm-test-ulps: Update.
27466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27468 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27470 * include/link.h (ELFW): New macro.
27471 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27472 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27474 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27476 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27479 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27481 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27483 (struct La_x32_retval): Likewise.
27485 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27487 * sysdeps/x86_64/preconfigure.in: New file.
27488 * sysdeps/x86_64/preconfigure: New generated file.
27490 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27493 * math/e_exp2l.c: Include <float.h>.
27494 (__ieee754_exp2l): Handle overflow and underflow cases
27495 separately. Only pass fractional part of argument to
27497 * math/libm-test.inc (exp2_test): Add more tests.
27499 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27500 negating x to take absolute value.
27501 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27503 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27504 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27506 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27507 computing low part if x was negated.
27508 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27510 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27512 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27513 la_x32_gnu_pltexit.
27514 (pltexit): Cast int_retval to ptrdiff_t.
27515 * elf/tst-auditmod3b.c: Likewise.
27516 * elf/tst-auditmod4b.c: Likewise.
27517 * elf/tst-auditmod5b.c: Likewise.
27518 * elf/tst-auditmod6b.c: Likewise.
27519 * elf/tst-auditmod6c.c: Likewise.
27520 * elf/tst-auditmod7b.c: Likewise.
27522 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27523 and x32_gnu_pltexit.
27525 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27526 __ELF_NATIVE_CLASS.
27527 (La_x32_regs): New macro.
27528 (La_x32_retval): Likewise.
27529 (la_x32_gnu_pltenter): New function prototype.
27530 (la_x32_gnu_pltexit): Likewise.
27532 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27534 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27539 * configure.in (libc_cv_cc_nofma): Check for option to disable
27540 generation of FMA instructions.
27541 * configure: Regenerate.
27542 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27543 * sysdeps/ieee754/dbl-64/Makefile: New file.
27544 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27545 Remove brandred-fma4.
27546 (CFLAGS-brandred-fma4.c): Remove.
27547 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27548 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27550 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27553 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27555 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27556 LLONG_MAX != LONG_MAX.
27557 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27558 (_fitoa_word): Likewise.
27559 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27560 LLONG_MAX != LONG_MAX.
27561 * stdio-common/_itowa.h: Include <_itoa.h>.
27562 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27563 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27564 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27565 only if not defined.
27566 (_ITOA_WORD_TYPE): Likewise.
27567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27568 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27570 2012-03-21 David S. Miller <davem@davemloft.net>
27572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27574 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27576 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27577 of x86_64 when setting libc_cv_slibdir, libdir and
27579 * sysdeps/unix/sysv/linux/configure: Regenerated.
27581 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27583 * manual/lang.texi (Old Varargs): Remove section.
27584 (How Variadic): Update menu.
27585 (va_start): Do not mention varargs.h.
27587 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27588 Joseph Myers <joseph@codesourcery.com>
27590 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27592 * configure: Regenerated.
27594 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27596 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27597 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27600 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27603 * Makefile (files-for-dist): Remove NOTES.
27604 (NOTES): Remove rule.
27605 * README: Don't refer to NOTES.
27606 * manual/creature.texi: Don't include macros.texi.
27607 * manual/intro.texi (creature.texi): Remove comment referring to
27610 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27611 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27612 * configure: Regenerated.
27613 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27614 LIBC_TRY_CC_OPTION.
27615 (libc_cv_as_i686): Likewise.
27616 (libc_cv_cc_avx): Likewise.
27617 (libc_cv_cc_sse2avx): Likewise.
27618 (libc_cv_cc_fma4): Likewise.
27619 (libc_cv_cc_novzeroupper): Likewise.
27620 * sysdeps/i386/configure: Regenerated.
27623 * sysdeps/i386/fpu/s_cexp.S: Remove.
27624 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27625 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27626 * math/libm-test.inc (cexp_test): Add more tests.
27627 * sysdeps/i386/fpu/libm-test-ulps: Update.
27628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27630 2012-03-21 Allan McRae <allan@archlinux.org>
27632 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27634 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27637 * math/w_exp2.c: Do not include <float.h>.
27638 (o_threshold, u_threshold): Remove.
27639 (__exp2): Calculate result before checking finiteness and calling
27641 * math/w_exp2f.c: Likewise.
27642 * math/w_exp2l.c: Likewise.
27643 * math/libm-test.inc (exp2_test): Require overflow exception for
27647 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27648 range of signed 64-bit integers before using fistpll. Remove
27649 checks for whether integers fit in mantissa bits.
27650 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27651 the range of signed 32-bit integers before using fistpl. Remove
27652 checks for whether integers fit in mantissa bits.
27653 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27654 (__ieee754_powl): Test for y outside the range of signed 64-bit
27655 integers before using fistpll. Reduce 64-bit values to 63-bit
27657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27658 divide-by-zero is raised for zero to large negative powers.
27659 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27660 (__ieee754_powl): Test for y outside the range of signed 64-bit
27661 integers before using fistpll. Reduce 64-bit values to 63-bit
27663 * math/libm-test.inc (pow_test): Add more tests.
27665 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27667 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27668 <stdio-common/_itoa.h>.
27669 * debug/segfault.c: Likewise.
27670 * elf/dl-cache.c: Likewise.
27671 * elf/dl-minimal.c: Likewise.
27672 * elf/dl-misc.c: Likewise.
27673 * elf/dl-sysdep.c: Likewise.
27674 * elf/dl-version.c: Likewise.
27675 * elf/rtld.c: Likewise.
27676 * hurd/hurdsock.c: Likewise.
27677 * hurd/lookup-retry.c: Likewise.
27678 * malloc/malloc.c: Likewise.
27679 * malloc/mtrace.c: Likewise.
27680 * nscd/nscd_getgr_r.c: Likewise.
27681 * nscd/nscd_getpw_r.c: Likewise.
27682 * nscd/nscd_getserv_r.c: Likewise.
27683 * posix/getopt_init.c: Likewise.
27684 * posix/wordexp.c: Likewise.
27685 * stdio-common/_itoa.c: Likewise.
27686 * stdio-common/printf_fphex.c: Likewise.
27687 * stdio-common/vfprintf.c: Likewise.
27688 * string/_strerror.c: Likewise.
27689 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27690 * sysdeps/i386/i686/hp-timing.h: Likewise.
27691 * sysdeps/mach/_strerror.c: Likewise.
27692 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27693 * sysdeps/mach/hurd/sethostid.c: Likewise.
27694 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27695 * sysdeps/mach/xpg-strerror.c: Likewise.
27696 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27697 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27698 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27699 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27700 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27701 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27702 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27703 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27704 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27705 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27706 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27707 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27708 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27709 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27710 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27711 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27712 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27713 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27714 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27715 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27716 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27718 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27720 * stdio-common/_itoa.h: Moved to ...
27721 * sysdeps/generic/_itoa.h: Here.
27723 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27725 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27726 instead of "_itoa.h" and "_itowa.h".
27727 * stdio-common/vfprintf.: Likewise.
27729 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27731 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27733 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27734 (__signbit): Likwise.
27735 (llrintf): Likwise.
27738 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27740 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27743 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27745 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27746 OVERFLOW_EXCEPTION_OK.
27747 * math/libm-test.inc ("Philosophy"): Update comment about
27749 (OVERFLOW_EXCEPTION): Define.
27750 (OVERFLOW_EXCEPTION_OK): Likewise.
27751 (INVALID_EXCEPTION_OK): Renumber.
27752 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27753 (IGNORE_ZERO_INF_SIGN): Likewise.
27754 (test_exceptions): Handle FE_OVERFLOW.
27755 (exp10_test): Expect overflow exceptions.
27756 (exp2_test): Likewise.
27757 (expm1_test): Likewise.
27758 (nextafter_test): Likewise.
27759 (pow_test): Likewise.
27760 (scalbn_test): Likewise.
27761 (scalbln_test): Likewise.
27763 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27765 * sysdeps/x86_64/bits/atomic.h
27766 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27768 (atomic_exchange_acq): Likewise.
27769 (__arch_exchange_and_add_body): Likewise.
27770 (__arch_add_body): Likewise.
27771 (atomic_add_negative): Likewise.
27772 (atomic_add_zero): Likewise.
27774 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27776 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27777 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27779 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27781 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27782 Check __x86_64__ instead of __WORDSIZE.
27784 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27786 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27788 2012-03-19 David S. Miller <davem@davemloft.net>
27790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27792 * sysdeps/sparc/fpu/fenv_private.h: New file.
27793 * sysdeps/sparc/fpu/math_private.h: Use it.
27794 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27796 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27797 (libc_feholdexcept_setroundl): Remove.
27798 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27800 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27801 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27803 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27805 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27806 int64_t instead of long int.
27807 (INSERT_WORDS64): Likwise.
27809 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27811 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27812 _Unwind_GetCFA return to _Unwind_Ptr first.
27814 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27817 * math/s_clog.c: Include <float.h>.
27818 (__clog): Scale large or subnormal inputs.
27819 * math/s_clogf.c: Likewise.
27820 * math/s_clogl.c: Likewise.
27821 * math/s_clog10.c: Include <float.h>.
27822 (M_LOG10_2): Define.
27823 (__clog10): Scale large or subnormal inputs.
27824 * math/s_clog10f.c: Likewise.
27825 * math/s_clog10l.c: Likewise.
27826 * math/libm-test.inc (clog_test): Add more tests.
27827 (clog10_test): Likewise.
27828 * sysdeps/i386/fpu/libm-test-ulps: Update.
27829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27832 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27834 * math/libm-test.inc (atan2_test): Add another test.
27836 * Makerules (common-objdir-compile): Remove.
27837 * sysdeps/unix/Makefile (config-generated): Do not add
27838 $(unix-generated) to variable.
27839 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27840 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27842 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27844 [generic bits/local_lim.h] (before-compile): Do not append to
27846 [generic bits/local_lim.h] (common-generated): Likewise.
27847 [generic sys/param.h] (before-compile): Do not append to variable.
27848 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27849 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27850 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27851 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27853 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27854 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27855 [generic sys/param.h] ($(addprefix
27856 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27857 [generic sys/param.h] (common-generated): Do not append to
27859 [generic sys/param.h] (sysdep_headers): Likewise.
27860 [generic bits/errno.h] (before-compile): Do not append to
27862 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27864 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27865 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27866 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27867 [generic bits/errno.h] (common-generated): Do not append to
27869 [generic bits/ioctls.h] (before-compile): Do not append to
27871 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27873 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27874 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27875 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27877 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27878 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27879 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27880 [generic bits/ioctls.h] (common-generated): Do not append to
27882 [generic sys/syscall.h] (syscall.h): Remove variable.
27883 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27885 [generic sys/syscall.h] (before-compile): Do not append to
27887 [generic sys/syscall.h] (common-generated): Likewise.
27888 * sysdeps/unix/errnos-tmpl.c: Remove file.
27889 * sysdeps/unix/errnos.awk: Likewise.
27890 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27891 * sysdeps/unix/ioctls.awk: Likewise.
27892 * sysdeps/unix/mk-local_lim.c: Likewise.
27893 * sysdeps/unix/snarf-ioctls: Likewise.
27895 2012-03-19 Richard Henderson <rth@twiddle.net>
27897 * sysdeps/i386/fpu/fenv_private.h: New file.
27898 * sysdeps/i386/fpu/math_private.h: Use it.
27899 (math_opt_barrier, math_force_eval): Remove.
27900 (libc_feholdexcept_setround_53bit): Remove.
27901 (libc_feupdateenv_53bit): Remove.
27902 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27903 (math_opt_barrier, math_force_eval): Remove.
27904 (libc_feholdexcept): Remove.
27905 (libc_feholdexcept_setround): Remove.
27906 (libc_fetestexcept, libc_fesetenv): Remove.
27907 (libc_feupdateenv_test): Remove.
27908 (libc_feupdateenv, libc_feholdsetround): Remove.
27909 (libc_feresetround): Remove.
27911 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27912 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27914 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27915 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27916 (libc_feupdateenv_testl): New.
27917 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27918 (libc_feupdateenv_testf): New.
27919 (libc_feupdateenv): Use libc_feupdateenv_test.
27920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27921 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27923 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27924 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27925 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27926 (libc_feresetround_noex): New.
27927 (libc_feresetround_noexf): New.
27928 (libc_feresetround_noexl): New.
27929 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27930 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27931 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27932 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27934 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27935 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27937 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27938 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27939 SET_RESTORE_ROUND_NOEX.
27940 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27941 SET_RESTORE_ROUND_NOEXF.
27942 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27943 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27944 (libc_feholdsetroundf): New.
27945 (libc_feresetround, libc_feresetroundf): New.
27947 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27948 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27949 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27951 * sysdeps/generic/math_private.h: Include <fenv.h>.
27952 (default_libc_feholdexcept): New.
27953 (default_libc_feholdexcept_setround): New.
27954 (default_libc_fesetenv, default_libc_feupdateenv): New.
27955 (libc_feholdexcept): Only define if undefined.
27956 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27957 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27958 (libc_feholdexcept_setroundl): Likewise.
27959 (libc_feholdexcept_setround_53bit): Likewise.
27960 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27961 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27962 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27963 (libc_feupdateenv_53bit): Likewise.
27964 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27965 (libc_feholdexcept): Convert from macro to inline function.
27966 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27967 (libc_fesetenv, libc_feupdateenv): Likewise.
27969 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27970 not previously defined.
27971 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27972 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27973 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27974 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27975 * sysdeps/ieee754/flt-32/math_private.h: New file.
27976 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27977 math_private.h below SET_FLOAT_WORD.
27978 (__isnan, __isinf_ns, __finite): Remove.
27979 (__isnanf, __isinf_nsf, __finitef): Remove.
27981 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27985 2012-03-17 David S. Miller <davem@davemloft.net>
27988 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27991 2012-03-16 David S. Miller <davem@davemloft.net>
27993 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27997 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27999 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28000 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28001 sysdep_routines when subdir is sysvipc.
28002 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28003 __getshmlba helper.
28005 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28007 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28009 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28012 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28014 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28015 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28016 (__lround): Renamed to ...
28017 (__llround): This. Replace long int with long long int.
28018 Define lround functions as aliases of llround functions.
28019 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28021 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28023 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28024 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28025 adresses to uintptr_t. Replace "long int" and "unsigned long
28026 int" with "greg_t" on va_arg.
28028 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28030 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28031 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28033 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28034 Move e_machine check before EI_CLASS check. Handle x32
28035 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28036 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28037 SKIP_EM_IA_64 and include
28038 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28040 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28041 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28042 (add_system_dir): New macro.
28044 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28045 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28047 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28058 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28060 * math/w_j0f.c (j0f): Likewise.
28062 * math/w_j0l.c (__j0l): Likewise.
28064 * math/w_j1.c (j1): Likewise.
28066 * math/w_j1f.c (j1f): Likewise.
28068 * math/w_j1l.c (__j1l): Likewise.
28070 * math/w_jn.c (jn): Likewise.
28072 * math/w_jnf.c (jnf): Likewise.
28074 * math/w_jnl.c (__jnl): Likewise.
28076 * math/libm-test.inc (j0_test): Add more tests.
28077 (j1_test): Likewise.
28078 (jn_test): Likewise. Add trailing semicolon to existing test.
28079 (y0_test): Likewise.
28080 (y1_test): Likewise.
28081 * sysdeps/i386/fpu/libm-test-ulps: Update.
28082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28086 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28087 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28088 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28089 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28090 (__tanl): Set errno for infinite argument.
28091 * sysdeps/i386/fpu/mptan.c: Remove.
28092 * sysdeps/i386/fpu/s_tan.S: Likewise.
28093 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28094 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28095 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28096 * math/libm-test.inc (tan_test): Add more tests and enable more
28097 tests for double and long double.
28098 * sysdeps/i386/fpu/libm-test-ulps: Update.
28099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28101 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28103 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28104 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28106 2012-03-16 Roland McGrath <roland@hack.frob.com>
28108 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28109 * configure.in: Use it for both main tree and add-ons.
28110 * configure: Regenerated.
28112 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28114 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28116 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28118 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28122 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28123 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28124 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28125 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28126 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28128 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28130 != 0 for prec == 2.
28131 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28132 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28133 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28134 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28135 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28136 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28137 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28138 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28139 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28140 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28141 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28142 * math/libm-test.inc (cos_test): Add more tests and enable more
28143 tests for long double.
28144 (sin_test): Likewise.
28145 (sincos_test): Likewise.
28146 * sysdeps/i386/fpu/libm-test-ulps: Update.
28147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28149 2012-03-16 David S. Miller <davem@davemloft.net>
28151 * sysdeps/sparc/fpu/math_private.h: New file.
28153 2012-03-15 David S. Miller <davem@davemloft.net>
28155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28169 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28170 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28172 * sysdeps/sparc/sparc-ifunc.h: New file.
28173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28211 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28215 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28218 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28220 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28224 2012-03-15 Andreas Jaeger <aj@suse.de>
28227 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28228 ieee754/flt-32 implementation for sin, cos and sincos.
28229 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28230 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28231 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28232 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28233 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28234 ieee754/flt-32 implementation for tan.
28236 * math/libm-test.inc (cos_test): Enable some large input tests for
28238 (sin_test): Likewise.
28239 (sincos_test): Likewise.
28240 (tan_test): Add tests for large input.
28242 * sysdeps/i386/fpu/libm-test-ulps: Update.
28244 2012-03-15 Andreas Jaeger <aj@suse.de>
28247 * math/libm-test.inc (cos_test): Add more test cases.
28248 (sin_test): Likewise.
28249 (sincos_test): Likewise.
28251 2012-03-15 Andreas Jaeger <aj@suse.de>
28254 * math/libm-test.inc (cos_test): Add a test case for large input
28256 (sin_test): Likewise.
28257 (sincos_test): Likewise.
28259 2012-03-15 Andreas Jaeger <aj@suse.de>,
28260 Joseph Myers <joseph@codesourcery.com>
28263 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28264 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28265 * sysdeps/i386/fpu/branred.c: Likewise.
28266 * sysdeps/i386/fpu/dosincos.c: Likewise.
28267 * sysdeps/i386/fpu/mpa.c: Likewise.
28268 * sysdeps/i386/fpu/s_cos.S: Likewise.
28269 * sysdeps/i386/fpu/s_sin.S: Likewise.
28270 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28271 * sysdeps/i386/fpu/sincos32.c: Likewise.
28273 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28275 (libc_feupdateenv_53bit): Define.
28276 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28278 (libc_feupdateenv_53bit): Define.
28280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28281 53 bit (without extend i386 double precision).
28283 * math/libm-test.inc (sincos_test): Add tests for large input.
28287 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28289 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28293 2012-03-15 David S. Miller <davem@davemloft.net>
28295 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28296 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28297 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28298 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28323 fmin/fmax sysdep routines.
28324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28326 2012-03-14 David S. Miller <davem@davemloft.net>
28328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28332 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28333 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28336 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28348 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28349 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28352 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28353 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28356 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28400 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28405 * sysdeps/sparc/configure.in: New file.
28406 * sysdeps/sparc/configure: Generate.
28407 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28408 * configure: Regenerate.
28409 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28410 * config.make.in (have-as-vis3): New.
28411 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28412 available use -Av9d instead of -Av9a.
28413 * sysdeps/sparc/sparc64/Makefile: Likewise.
28414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28423 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28424 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28429 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28430 fzeros/fnegs to load 0x80000000 into a float register instead of
28432 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28434 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28438 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28439 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28440 ($(inst_includedir)/bits/syscall.h): Remove rule.
28441 ($(objpfx)bits/syscall.d): Include instead of
28442 $(objpfx)syscall-list.d.
28443 (generated): Change syscall-list.h and syscall-list.d to
28444 bits/syscall.h and bits/syscall.d.
28446 2012-03-14 Roland McGrath <roland@hack.frob.com>
28449 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28451 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28454 * math/s_csqrt.c: Include <float.h>.
28455 (__csqrt): Scale large or subnormal inputs.
28456 * math/s_csqrtf.c: Likewise.
28457 * math/s_csqrtl.c: Likewise.
28458 * math/libm-test.inc (csqrt_test): Add more tests.
28459 * sysdeps/i386/fpu/libm-test-ulps: Update.
28460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28463 * math/libm-test.inc (hypot_test): Add more tests.
28465 2012-03-13 David S. Miller <davem@davemloft.net>
28468 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28469 double-precision for the calculation instead of scaling.
28471 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28473 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28474 manipulate bits before adding and subtracting TWO52[sx].
28475 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28476 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28478 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28480 2012-03-13 David S. Miller <davem@davemloft.net>
28482 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28483 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28485 rtld-global-offsets.h
28486 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28488 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28491 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28493 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28494 'err' in the ifdef scope in which it is actually used.
28496 * nss/nss_db/db-init.c: Include string.h
28498 2012-03-12 David S. Miller <davem@davemloft.net>
28500 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28501 masking out of the most significant byte of random value used.
28502 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28503 Fix coding style in previous change.
28505 * sysdeps/unix/sysv/linux/kernel-features.h
28506 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28507 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28509 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28512 2012-03-11 David S. Miller <davem@davemloft.net>
28514 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28515 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28516 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28517 for 'resultvar' otherwise things get truncated on 64-bit.
28519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28520 Fix masking out of the most significant byte of random value used.
28522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28524 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28528 2012-03-09 David S. Miller <davem@davemloft.net>
28530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28531 variables with appropriate CPP guards.
28532 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28533 frame pointer, not the stack pointer. Correct layout comments. Fix test
28534 on resulting framesize and the management of the outregs buffer for pltexit.
28535 Preserve floating point return values across _dl_call_pltexit call.
28536 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28537 framesize and the management of the outregs buffer for pltexit.
28538 Preserve floating point return values across _dl_call_pltexit
28540 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28541 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28542 (print_exit): Fix format string for return register value.
28544 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28546 * sunrpc/Makefile (others): Add rpcgen.
28547 ($(objpfx)rpcgen): Remove special build rule and dependency on
28549 * sunrpc/rpcgen.c: New file.
28551 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28554 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28555 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28556 * sysdeps/i386/crti.S: Likewise.
28557 * sysdeps/i386/crtn.S: Likewise.
28558 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28559 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28560 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28561 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28562 * sysdeps/sh/crti.S: Likewise.
28563 * sysdeps/sh/crtn.S: Likewise.
28564 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28567 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28569 * locale/programs/locfile-kw.gperf: Likewise.
28570 * locale/programs/charmap-kw.h: Regenerated.
28571 * locale/programs/locfile-kw.h: Likewise.
28574 * intl/plural.y: Replace FSF snail mail address with URL.
28575 * intl/plural.c: Regenerated.
28577 2012-03-09 Richard Henderson <rth@twiddle.net>
28579 * include/math_private.h: Remove file.
28580 * math/math_private.h: Move file ...
28581 * sysdeps/generic/math_private.h: ... here.
28583 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28584 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28585 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28587 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28588 and <math_private.h>.
28589 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28590 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28591 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28592 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28593 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28615 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28616 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28618 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28619 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28620 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28621 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28622 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28623 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28624 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28625 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28627 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28630 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28631 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28632 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28633 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28634 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28635 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28636 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28637 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28638 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28639 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28640 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28641 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28642 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28643 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28644 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28645 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28646 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28647 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28648 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28649 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28650 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28651 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28652 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28653 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28654 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28655 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28656 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28657 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28658 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28659 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28660 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28661 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28662 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28663 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28664 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28665 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28667 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28668 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28669 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28670 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28671 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28672 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28673 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28674 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28675 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28676 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28677 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28678 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28679 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28680 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28681 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28682 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28683 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28684 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28685 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28686 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28687 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28688 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28689 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28690 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28691 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28692 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28693 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28694 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28695 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28696 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28697 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28698 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28699 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28700 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28701 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28702 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28703 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28704 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28706 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28708 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28709 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28710 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28711 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28712 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28713 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28714 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28715 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28716 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28717 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28718 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28719 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28720 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28721 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28722 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28723 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28724 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28725 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28726 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28727 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28728 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28729 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28730 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28731 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28732 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28733 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28734 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28735 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28736 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28737 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28738 * sysdeps/ieee754/k_standard.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28794 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28796 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28803 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28804 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28805 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28806 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28808 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28809 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28810 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28812 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28813 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28814 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28816 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28818 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28821 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28823 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28824 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28827 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28830 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28831 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28832 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28833 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28834 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28837 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28843 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28844 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28845 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28847 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28848 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28849 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28850 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28854 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28858 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28860 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28861 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28862 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28863 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28864 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28865 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28866 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28868 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28869 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28870 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28871 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28872 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28873 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28874 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28875 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28876 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28877 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28878 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28879 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28880 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28881 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28882 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28883 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28884 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28885 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28886 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28887 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28888 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28889 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28890 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28891 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28892 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28893 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28894 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28895 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28896 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28897 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28898 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28899 * sysdeps/ieee754/s_lib_version.c: Likewise.
28900 * sysdeps/ieee754/s_matherr.c: Likewise.
28901 * sysdeps/ieee754/s_signgam.c: Likewise.
28902 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28903 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28904 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28905 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28906 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28907 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28908 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28909 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28910 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28911 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28912 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28913 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28914 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28915 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28916 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28917 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28918 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28919 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28920 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28922 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28924 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28926 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28927 * sunrpc/rpc_main.c: Likewise.
28928 * sunrpc/rpc_svcout.c: Likewise.
28930 2012-03-09 David S. Miller <davem@davemloft.net>
28932 * include/math_private.h: New file.
28934 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28936 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28937 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28938 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28939 from <bits/socket_type.h>.
28940 (enum __socket_type): Don't define here.
28941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28943 bits/socket_type.h.
28946 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28947 checking __USE_GNU.
28949 * Makerules ($(inst_includedir)/%.h): New rule.
28950 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28951 (install-others): Remove variable setting.
28952 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28954 2012-03-08 Richard Henderson <rth@twiddle.net>
28956 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28957 from macro to inline function; merge with the
28958 !__LIBC_INTERNAL_MATH_INLINES version.
28959 (__ieee754_sqrtf): Likewise.
28961 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28962 to inline function.
28963 (__rintf, __floor, __floorf): Likewise.
28965 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28966 macro to inline function.
28967 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28969 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28970 not <math/math_private.h>.
28972 2012-03-08 David S. Miller <davem@davemloft.net>
28974 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28976 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28978 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28980 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28982 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28983 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28985 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28987 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28988 be defined individually, they must be defined as a block. Define
28989 S for printing a string instead of hidint the different by using a
28990 macro for adding the 'l'.
28991 * stdio-common/tst-fphex-wide.c: Adjust.
28993 2012-03-07 Marek Polacek <polacek@redhat.com>
28995 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28997 2012-03-08 Marek Polacek <polacek@redhat.com>
29000 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29001 * stdio-common/tst-fphex.c: Define a few macros to make the
29002 test reusable. Use them.
29003 * stdio-common/tst-fphex-wide.c: New file.
29005 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29008 * manual/macros.texi (gnusystems): New macro.
29009 (nongnusystems): Likewise.
29010 (gnulinuxhurdsystems): Likewise.
29011 (gnuhurdsystems): Likewise..
29012 (gnulinuxsystems): Likewise.
29013 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29014 variants of the GNU system, not "GNU system".
29015 * manual/conf.texi: Likewise.
29016 * manual/errno.texi: Likewise. Update example of errno macro
29018 * manual/filesys.texi: Likewise.
29019 (getumask): Document as specific to GNU/Hurd.
29020 * manual/install.texi: Likewise. Reword some references to
29022 * manual/intro.texi: Likewise.
29023 * manual/io.texi: Likewise.
29024 (File Name Portability): Detail which constraints are inapplicable
29025 to all GNU systems and which are only inapplicable to GNU/Hurd.
29026 * manual/job.texi: Likewise.
29027 * manual/llio.texi: Likewise.
29028 (O_NOCTTY): Document as present on GNU/Linux.
29029 * manual/maint.texi: Likewise.
29030 * manual/memory.texi: Likewise.
29031 * manual/pattern.texi: Likewise.
29032 * manual/pipe.texi: Likewise.
29033 * manual/process.texi: Likewise.
29034 * manual/resource.texi: Likewise.
29035 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29037 * manual/setjmp.texi: Likewise.
29038 * manual/signal.texi: Likewise.
29039 * manual/startup.texi: Likewise.
29040 * manual/stdio.texi: Likewise.
29041 * manual/terminal.texi: Likewise.
29042 (ONLCR): Document as POSIX.
29043 (OXTABS): Document availability on GNU/Linux as XTABS.
29044 (ONOEOT): Document availability separately from other bits.
29045 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29046 * manual/time.texi: Likewise.
29047 * manual/users.texi: Likewise.
29048 * INSTALL: Regenerated.
29049 * sysdeps/gnu/errlist.c: Regenerated.
29051 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29052 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29053 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29055 * configure: Regenerated.
29057 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29059 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29060 default includes instead of AC_HEADER_CHECK.
29061 * sysdeps/i386/configure: Regenerated.
29064 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29065 * math/s_cacoshf.c (__cacoshf): Likewise.
29066 * math/s_cacoshl.c (__cacoshl): Likewise.
29067 * math/s_casinh.c (__casinh): Set signs of result from argument.
29068 * math/s_casinhf.c (__casinhf): Likewise.
29069 * math/s_casinhl.c (__casinhl): Likewise.
29070 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29071 (casinh_test): Add more tests.
29072 * sysdeps/i386/fpu/libm-test-ulps: Update.
29073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29075 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29077 * po/zh_TW.po: Update from translation team.
29079 * login/Makefile (distribute): Remove variable.
29080 * catgets/Makefile: Likewise.
29081 * mach/Makefile: Likewise.
29082 * malloc/Makefile: Likewise.
29083 * misc/Makefile: Likewise.
29084 * iconv/Makefile: Likewise.
29085 * nscd/Makefile: Likewise.
29086 * hurd/Makefile: Likewise.
29087 * manual/Makefile: Likewise.
29088 * locale/Makefile: Likewise.
29089 * intl/Makefile: Likewise.
29090 * conform/Makefile: Likewise.
29091 * nss/Makefile: Likewise.
29092 * time/Makefile: Likewise.
29093 * soft-fp/Makefile: Likewise.
29094 * dirent/Makefile: Likewise.
29095 * gmon/Makefile: Likewise.
29096 * po/Makefile: Likewise.
29097 * rt/Makefile: Likewise.
29098 * socket/Makefile: Likewise.
29099 * math/Makefile: Likewise.
29100 * signal/Makefile: Likewise.
29101 * debug/Makefile: Likewise.
29102 * elf/Makefile: Likewise.
29103 * timezone/Makefile: Likewise.
29104 * stdlib/Makefile: Likewise.
29105 * iconvdata/Makefile: Likewise.
29106 * sunrpc/Makefile: Likewise.
29107 * io/Makefile: Likewise.
29108 * argp/Makefile: Likewise.
29109 * inet/Makefile: Likewise.
29110 * hesiod/Makefile: Likewise.
29111 * grp/Makefile: Likewise.
29112 * csu/Makefile: Likewise.
29113 * wctype/Makefile: Likewise.
29114 * crypt/Makefile: Likewise.
29115 * libio/Makefile: Likewise.
29116 * string/Makefile: Likewise.
29117 * nis/Makefile: Likewise.
29118 * resolv/Makefile: Likewise.
29119 * stdio-common/Makefile: Likewise.
29120 * wcsmbs/Makefile: Likewise.
29121 * dlfcn/Makefile: Likewise.
29122 * posix/Makefile: Likewise.
29125 * timezone/Makefile: Don't install timezone files, just the programs
29128 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29130 * nss/databases.def: Add missing gshadow entry.
29132 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29134 2012-03-06 Marek Polacek <polacek@redhat.com>
29137 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29138 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29139 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29140 * stdio-common/tst-long-dbl-fphex.c: New file.
29142 2012-03-06 David S. Miller <davem@davemloft.net>
29144 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29145 (set_obp_int): New function.
29146 (get_obp_int): New function.
29147 (__get_clockfreq_via_dev_openprom): Likewise.
29148 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29149 Avoid unused variable warnings on 'val' and use builtin_expect.
29150 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29152 (INLINE_CLONE_SYSCALL): Likewise.
29154 2012-03-05 David S. Miller <davem@davemloft.net>
29156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29158 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29163 only for |x| >= 40.
29164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29166 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29168 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29169 Replace gettimeofday with __vdso_gettimeofday.
29171 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29172 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29173 __vdso_clock_gettime and __vdso_getcpu.
29175 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29176 time with __vdso_time.
29178 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29180 * manual/lang.texi (size_t): Note types to which size_t may be
29181 equivalent with the GNU C Library, but do not describe when
29182 differences between them are significant.
29184 2012-03-05 Andreas Jaeger <aj@suse.de>
29186 * sysdeps/i386/fpu/libm-test-ulps: Update.
29188 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29191 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29192 (__ieee754_pow): Save and restore rounding mode and use
29193 round-to-nearest for main computations.
29194 * math/libm-test.inc (pow_test_tonearest): New function.
29195 (pow_test_towardzero): Likewise.
29196 (pow_test_downward): Likewise.
29197 (pow_test_upward): Likewise.
29198 (main): Call the new functions.
29199 * sysdeps/i386/fpu/libm-test-ulps: Update.
29200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29203 * math/libm-test.inc (cosh_test_tonearest): New function.
29204 (cosh_test_towardzero): Likewise.
29205 (cosh_test_downward): Likewise.
29206 (cosh_test_upward): Likewise.
29207 (sinh_test_tonearest): Likewise.
29208 (sinh_test_towardzero): Likewise.
29209 (sinh_test_downward): Likewise.
29210 (sinh_test_upward): Likewise.
29211 (main): Call the new functions.
29212 * sysdeps/i386/fpu/libm-test-ulps: Update.
29213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29215 2012-03-05 Tom de Vries <tom@codesourcery.com>
29217 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29218 default stack guard is set in last bytes.
29219 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29221 2012-03-05 Kees Cook <keescook@chromium.org>
29223 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29226 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29227 possibly allocate from heap instead of stack.
29228 * stdio-common/bug-vfprintf-nargs.c: New file.
29229 * stdio-common/Makefile (tests): Add nargs overflow test.
29231 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29235 2012-03-03 Marek Polacek <polacek@redhat.com>
29237 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29238 * math/math_private.h: Likewise.
29239 * stdlib/tst-strtod.c: Likewise.
29240 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29241 * sysdeps/x86_64/bits/atomic.h: Likewise.
29243 2012-03-02 David S. Miller <davem@davemloft.net>
29245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29249 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29250 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29251 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29252 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29254 2012-03-02 Roland McGrath <roland@hack.frob.com>
29257 * manual/examples/README: New file, says the example source files
29258 can be used under GPL>=2.
29259 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29260 line containing just "*/".
29261 * manual/examples/add.c: Add copyright header (GPL>=2).
29262 * manual/examples/argp-ex1.c: Likewise.
29263 * manual/examples/argp-ex2.c: Likewise.
29264 * manual/examples/argp-ex3.c: Likewise.
29265 * manual/examples/argp-ex4.c: Likewise.
29266 * manual/examples/atexit.c: Likewise.
29267 * manual/examples/db.c: Likewise.
29268 * manual/examples/dir.c: Likewise.
29269 * manual/examples/dir2.c: Likewise.
29270 * manual/examples/execinfo.c: Likewise.
29271 * manual/examples/filecli.c: Likewise.
29272 * manual/examples/filesrv.c: Likewise.
29273 * manual/examples/fmtmsgexpl.c: Likewise.
29274 * manual/examples/genpass.c: Likewise.
29275 * manual/examples/inetcli.c: Likewise.
29276 * manual/examples/inetsrv.c: Likewise.
29277 * manual/examples/isockad.c: Likewise.
29278 * manual/examples/longopt.c: Likewise.
29279 * manual/examples/memopen.c: Likewise.
29280 * manual/examples/memstrm.c: Likewise.
29281 * manual/examples/mkfsock.c: Likewise.
29282 * manual/examples/mkisock.c: Likewise.
29283 * manual/examples/mygetpass.c: Likewise.
29284 * manual/examples/pipe.c: Likewise.
29285 * manual/examples/popen.c: Likewise.
29286 * manual/examples/rprintf.c: Likewise.
29287 * manual/examples/search.c: Likewise.
29288 * manual/examples/select.c: Likewise.
29289 * manual/examples/setjmp.c: Likewise.
29290 * manual/examples/sigh1.c: Likewise.
29291 * manual/examples/sigusr.c: Likewise.
29292 * manual/examples/stpcpy.c: Likewise.
29293 * manual/examples/strdupa.c: Likewise.
29294 * manual/examples/strftim.c: Likewise.
29295 * manual/examples/strncat.c: Likewise.
29296 * manual/examples/subopt.c: Likewise.
29297 * manual/examples/swapcontext.c: Likewise.
29298 * manual/examples/termios.c: Likewise.
29299 * manual/examples/testopt.c: Likewise.
29300 * manual/examples/testpass.c: Likewise.
29301 * manual/examples/timeval_subtract.c: Likewise.
29304 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29306 * manual/timeval_subtract.c.texi: ... here, new file.
29308 2012-03-02 David S. Miller <davem@davemloft.net>
29310 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29312 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29315 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29316 (__sin): Save and restore rounding mode and use round-to-nearest
29317 for all computations.
29318 (__cos): Save and restore rounding mode and use round-to-nearest
29319 for all computations.
29320 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29322 (tan): Save and restore rounding mode and use round-to-nearest for
29324 * math/libm-test.inc (cos_test_tonearest): New function.
29325 (cos_test_towardzero): Likewise.
29326 (cos_test_downward): Likewise.
29327 (cos_test_upward): Likewise.
29328 (sin_test_tonearest): Likewise.
29329 (sin_test_towardzero): Likewise.
29330 (sin_test_downward): Likewise.
29331 (sin_test_upward): Likewise.
29332 (tan_test_tonearest): Likewise.
29333 (tan_test_towardzero): Likewise.
29334 (tan_test_downward): Likewise.
29335 (tan_test_upward): Likewise.
29336 (main): Call the new functions.
29337 * sysdeps/i386/fpu/libm-test-ulps: Update.
29338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29341 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29342 small n, then large n, before computing and testing k+n.
29343 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29344 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29346 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29348 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29349 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29350 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29351 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29352 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29353 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29354 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29355 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29356 * math/libm-test.inc (scalbn_test): Add more tests.
29357 (scalbln_test): Likewise.
29359 * manual/filesys.texi (mode_t): Describe constraints on size and
29360 signedness, not exact equivalence to a particular type.
29362 (ino64_t): Likewise.
29364 (nlink_t): Likewise.
29365 (blkcnt_t): Likewise.
29366 (blkcnt64_t): Likewise.
29367 * manual/llio.texi (off_t): Likewise.
29370 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29371 (__ieee754_exp): Save and restore rounding mode and use
29372 round-to-nearest for all computations.
29373 * math/libm-test.inc (exp_test_tonearest): New function.
29374 (exp_test_towardzero): Likewise.
29375 (exp_test_downward): Likewise.
29376 (exp_test_upward): Likewise.
29377 (main): Call the new functions.
29378 * sysdeps/i386/fpu/libm-test-ulps: Update.
29379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29381 2012-03-01 Chris Demetriou <cgd@google.com>
29383 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29384 have predictable order.
29386 2012-03-01 David S. Miller <davem@davemloft.net>
29388 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29390 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29391 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29392 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29393 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29395 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29396 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29397 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29399 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29400 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29401 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29402 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29403 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29407 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29408 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29409 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29411 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29412 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29413 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29414 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29415 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29416 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29417 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29418 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29419 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29420 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29421 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29422 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29423 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29424 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29425 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29426 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29427 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29428 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29429 * sysdeps/sparc/elf/configure: Regenerated.
29431 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29433 * configure.in (AS, LD): Require binutils 2.20 or later.
29434 * configure: Regenerated.
29435 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29436 as required minimum version.
29437 * INSTALL: Regenerated.
29441 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29442 before squaring exponent.
29443 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29444 bottom long double and 27 bits of top long double before squaring
29446 * math/libm-test.inc (erfc_test): Add more tests.
29447 * sysdeps/i386/fpu/libm-test-ulps: Update.
29448 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29451 2012-03-01 Kai Tietz <ktietz@redhat.com>
29453 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29454 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29455 containing bit-fields.
29456 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29457 * soft-fp/single.h (_FP_UNION_S): Likewise.
29458 * soft-fp/double.h (_FP_UNION_D): Likewise.
29460 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29463 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29464 not include ../strcmp.S.
29465 [USE_AS_STRNCASECMP_L]: Likewise.
29466 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29467 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29468 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29469 (__strncasecmp_l_ia32): Define as alias to
29470 __strncasecmp_l_nonascii.
29473 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29474 * sysdeps/i386/fpu/libm-test-ulps: Update.
29475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29477 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29480 2012-02-29 Jeff Law <law@redhat.com>
29482 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29483 out of bounds read.
29485 2012-02-29 Marek Polacek <polacek@redhat.com>
29488 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29489 * elf/Makefile: Add rules to run tst-unused-dep.out.
29491 2012-02-28 David S. Miller <davem@davemloft.net>
29493 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29494 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29495 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29496 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29497 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29498 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29500 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29502 * math/libm-test.inc (llround_test): Move one test from
29503 lround_test. Use TEST_f_L in moved test.
29504 (lround_test): Move misplaced test to llround_test. Add testcase
29507 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29509 * sysdeps/x86_64/fpu/e_expf.S: New file.
29510 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29512 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29515 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29516 of remain_len that may cause incomplete multi-byte character and
29518 * posix/bug-regex33.c: New file.
29519 * posix/Makefile (tests): Add bug-regex33.
29521 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29523 * manual/macros.texi: New file.
29524 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29525 * manual/libc.texinfo: Include macros.texi.
29526 * manual/creatute.texi: Likewise.
29527 * manual/install.texi: Likewise.
29528 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29529 @glibcadj{} in references to the GNU C Library.
29530 * manual/charset.texi: Likewise.
29531 * manual/conf.texi: Likewise.
29532 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29533 when not using those macros.
29534 * manual/creature.texi: Likewise.
29535 * manual/crypt.texi: Likewise.
29536 * manual/errno.texi: Likewise.
29537 * manual/filesys.texi: Likewise.
29538 * manual/header.texi: Likewise.
29539 * manual/install.texi: Likewise.
29540 * manual/intro.texi: Likewise.
29541 * manual/io.texi: Likewise.
29542 * manual/job.texi: Likewise.
29543 * manual/lang.texi: Likewise.
29544 * manual/libc.texiinfo: Likewise.
29545 * manual/llio.texi: Likewise.
29546 * manual/locale.texi: Likewise.
29547 * manual/maint.texi: Likewise.
29548 * manual/math.texi: Likewise.
29549 * manual/memory.texi: Likewise.
29550 * manual/message.texi: Likewise.
29551 * manual/nss.texi: Likewise.
29552 * manual/pattern.texi: Likewise.
29553 * manual/process.texi: Likewise.
29554 * manual/resource.texi: Likewise.
29555 * manual/search.texi: Likewise.
29556 * manual/setjmp.texi: Likewise.
29557 * manual/signal.texi: Likewise.
29558 * manual/socket.texi: Likewise.
29559 * manual/startup.texi: Likewise.
29560 * manual/stdio.texi: Likewise.
29561 * manual/string.texi: Likewise.
29562 * manual/sysinfo.texi: Likewise.
29563 * manual/syslog.texi: Likewise.
29564 * manual/terminal.texi: Likewise.
29565 * manual/time.texi: Likewise.
29566 * manual/users.texi: Likewise.
29567 * INSTALL: Regenerated.
29568 * NOTES: Regenerated.
29569 * sysdeps/gnu/errlist.c: Regenerated.
29571 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29573 * include/dirent.h: Include <dirstream.h> before
29576 2012-02-28 David S. Miller <davem@davemloft.net>
29578 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29579 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29580 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29581 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29583 2012-02-27 David S. Miller <davem@davemloft.net>
29585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29587 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29588 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29591 frame pointer instead of stack pointer relative arg slot.
29592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29593 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29594 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29596 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29599 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29601 2012-02-27 David S. Miller <davem@davemloft.net>
29603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29607 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29608 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29609 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29610 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29612 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29614 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29615 later. Allow versions 5-9.
29616 * configure: Regenerated.
29617 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29618 required minimum version and 4.6 as recommended version. Do not
29619 mention bugs in GCC 2.7 and 2.8.
29620 * INSTALL: Regenerated.
29622 2012-02-27 David S. Miller <davem@davemloft.net>
29624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29628 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29629 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29630 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29631 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29633 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29634 manipulate bits before adding and subtracting TWO112[sx].
29635 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29637 2012-02-27 Roland McGrath <roland@hack.frob.com>
29640 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29641 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29642 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29643 being in POSIX, because they are in 1003.1-2008.
29645 * rt/tst-aio.c: Include <fcntl.h>.
29646 * rt/tst-aio7.c: Likewise.
29647 * rt/tst-aio64.c: Likewise.
29649 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29651 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29653 * manual/install.texi (--with-headers): Describe headers as
29654 interface headers, not private headers.
29655 (Specific advice for GNU/Linux systems): Describe use of headers
29656 from "make headers_install", not private headers from older
29658 * INSTALL: Regenerated.
29659 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29661 * sysdeps/unix/sysv/linux/configure: Regenerated.
29663 * manual/llio.texi (fclean): Remove documentation.
29665 * manual/Makefile (libc-texi-generated): New variable. Include
29667 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29668 $(libc-texi-generated), not duplicated list of files.
29669 (version.texi, stamp-version): New rules.
29670 (realclean): Remove $(libc-texi-generated), not individual files
29671 from that list. Do not remove dir-add.texinfo.
29672 * manual/libc.texinfo: Comment out uses of edition numbers and
29673 references to printed manual. Remove last-updated dates.
29674 (EDITION): Comment out.
29676 (VERSION, UPDATED): Remove.
29677 (version.texi): Include.
29679 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29681 * sysdeps/posix/spawni.c: Include <signal.h>.
29682 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29683 * sysdeps/pthread/aio_fsync.c: Likewise.
29685 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29687 * conform/Makefile (tests): Run only when not cross-compiling and
29688 when fast-check is not defined.
29690 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29691 * conform/data/limits.h-data: Fixes for POSIX2008.
29692 * conform/run-conformtest.sh: Run all tests.
29693 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29695 * include/bits/dlfcn.h: Likewise.
29696 * include/langinfo.h: Likewise.
29697 * include/monetary.h: Likewise.
29698 * include/sys/poll.h: Likewise.
29700 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29702 * posix/spawn.h: Define __need_sigset_t.
29703 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29704 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29705 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29706 to get sigevent_t only.
29707 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29708 only for __USE_GNU.
29709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29710 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29711 process_vm_writev only for __USE_GNU.
29712 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29714 * conform/Makefile: For now ignore errors from run-conformtest.
29715 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29716 POSIX to avoid namespace pollution. Don't prepend headers.
29717 * conform/data/aio.h-data: Fixes for POSIX testing.
29718 * conform/data/fcntl.h-data: Likewise.
29719 * conform/data/glob.h-data: Likewise.
29720 * conform/data/grp.h-data: Likewise.
29721 * conform/data/pthread.h-data: Likewise.
29722 * conform/data/pwd.h-data: Likewise.
29723 * conform/data/signal.h-data: Likewise.
29724 * conform/data/spawn.h-data: Likewise.
29725 * conform/data/stdio.h-data: Likewise.
29726 * conform/data/stdlib.h-data: Likewise.
29727 * conform/data/stropts.h-data: Likewise.
29728 * conform/data/sys/mman.h-data: Likewise.
29729 * conform/data/sys/stat.h-data: Likewise.
29730 * conform/data/sys/types.h-data: Likewise.
29731 * conform/data/sys/wait.h-data: Likewise.
29732 * conform/data/time.h-data: Likewise.
29733 * conform/data/unistd.h-data: Likewise.
29734 * conform/data/utime.h-data: Likewise.
29736 * io/sys/stat.h: fchmod was always in POSIX.
29737 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29738 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29739 * rt/aio.h: Define __need_timespec before including <time.h>.
29740 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29741 struct. Add forward declaration of pthread_attr_t and use it in
29743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29745 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29746 always remove CLK_TCK definition.
29748 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29750 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29752 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29754 * conform/run-conformtest.sh: New file.
29755 * conform/Makefile: Run run-conformtest for tests.
29756 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29759 * conform/data/uchar.h-data: New file.
29760 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29761 * conform/data/arpa/inet.h-data: Likewise.
29762 * conform/data/assert.h-data: Likewise.
29763 * conform/data/complex.h-data: Likewise.
29764 * conform/data/cpio.h-data: Likewise.
29765 * conform/data/ctype.h-data: Likewise.
29766 * conform/data/dirent.h-data: Likewise.
29767 * conform/data/dlfcn.h-data: Likewise.
29768 * conform/data/errno.h-data: Likewise.
29769 * conform/data/fcntl.h-data: Likewise.
29770 * conform/data/float.h-data: Likewise.
29771 * conform/data/fmtmsg.h-data: Likewise.
29772 * conform/data/fnmatch.h-data: Likewise.
29773 * conform/data/ftw.h-data: Likewise.
29774 * conform/data/glob.h-data: Likewise.
29775 * conform/data/grp.h-data: Likewise.
29776 * conform/data/iconv.h-data: Likewise.
29777 * conform/data/inttypes.h-data: Likewise.
29778 * conform/data/langinfo.h-data: Likewise.
29779 * conform/data/libgen.h-data: Likewise.
29780 * conform/data/limits.h-data: Likewise.
29781 * conform/data/locale.h-data: Likewise.
29782 * conform/data/math.h-data: Likewise.
29783 * conform/data/monetary.h-data: Likewise.
29784 * conform/data/mqueue.h-data: Likewise.
29785 * conform/data/ndbm.h-data: Likewise.
29786 * conform/data/net/if.h-data: Likewise.
29787 * conform/data/netdb.h-data: Likewise.
29788 * conform/data/netinet/in.h-data: Likewise.
29789 * conform/data/nl_types.h-data: Likewise.
29790 * conform/data/poll.h-data: Likewise.
29791 * conform/data/pthread.h-data: Likewise.
29792 * conform/data/pwd.h-data: Likewise.
29793 * conform/data/regex.h-data: Likewise.
29794 * conform/data/sched.h-data: Likewise.
29795 * conform/data/search.h-data: Likewise.
29796 * conform/data/semaphore.h-data: Likewise.
29797 * conform/data/setjmp.h-data: Likewise.
29798 * conform/data/signal.h-data: Likewise.
29799 * conform/data/spawn.h-data: Likewise.
29800 * conform/data/stdarg.h-data: Likewise.
29801 * conform/data/stdio.h-data: Likewise.
29802 * conform/data/stdlib.h-data: Likewise.
29803 * conform/data/string.h-data: Likewise.
29804 * conform/data/strings.h-data: Likewise.
29805 * conform/data/stropts.h-data: Likewise.
29806 * conform/data/sys/ipc.h-data: Likewise.
29807 * conform/data/sys/mman.h-data: Likewise.
29808 * conform/data/sys/msg.h-data: Likewise.
29809 * conform/data/sys/resource.h-data: Likewise.
29810 * conform/data/sys/select.h-data: Likewise.
29811 * conform/data/sys/sem.h-data: Likewise.
29812 * conform/data/sys/shm.h-data: Likewise.
29813 * conform/data/sys/socket.h-data: Likewise.
29814 * conform/data/sys/stat.h-data: Likewise.
29815 * conform/data/sys/statvfs.h-data: Likewise.
29816 * conform/data/sys/time.h-data: Likewise.
29817 * conform/data/sys/timeb.h-data: Likewise.
29818 * conform/data/sys/times.h-data: Likewise.
29819 * conform/data/sys/types.h-data: Likewise.
29820 * conform/data/sys/uio.h-data: Likewise.
29821 * conform/data/sys/un.h-data: Likewise.
29822 * conform/data/sys/utsname.h-data: Likewise.
29823 * conform/data/sys/wait.h-data: Likewise.
29824 * conform/data/syslog.h-data: Likewise.
29825 * conform/data/tar.h-data: Likewise.
29826 * conform/data/termios.h-data: Likewise.
29827 * conform/data/utime.h-data: Likewise.
29828 * conform/data/utmpx.h-data: Likewise.
29829 * conform/data/varargs.h-data: Likewise.
29830 * conform/data/wchar.h-data: Likewise.
29831 * conform/data/wctype.h-data: Likewise.
29832 * conform/data/wordexp.h-data: Likewise.
29834 * include/stropts.h: New file.
29835 * include/uchar.h: New file.
29836 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29837 * include/assert.h: Likewise.
29838 * include/ctype.h: Likewise.
29839 * include/dirent.h: Likewise.
29840 * include/dlfcn.h: Likewise.
29841 * include/fcntl.h: Likewise.
29842 * include/fnmatch.h: Likewise.
29843 * include/glob.h: Likewise.
29844 * include/grp.h: Likewise.
29845 * include/libio.h: Likewise.
29846 * include/locale.h: Likewise.
29847 * include/math.h: Likewise.
29848 * include/net/if.h: Likewise.
29849 * include/netdb.h: Likewise.
29850 * include/netinet/in.h: Likewise.
29851 * include/pthread.h: Likewise.
29852 * include/pwd.h: Likewise.
29853 * include/regex.h: Likewise.
29854 * include/sched.h: Likewise.
29855 * include/search.h: Likewise.
29856 * include/setjmp.h: Likewise.
29857 * include/signal.h: Likewise.
29858 * include/stdio.h: Likewise.
29859 * include/stdlib.h: Likewise.
29860 * include/string.h: Likewise.
29861 * include/sys/cdefs.h: Likewise.
29862 * include/sys/mman.h: Likewise.
29863 * include/sys/msg.h: Likewise.
29864 * include/sys/resource.h: Likewise.
29865 * include/sys/select.h: Likewise.
29866 * include/sys/socket.h: Likewise.
29867 * include/sys/stat.h: Likewise.
29868 * include/sys/statvfs.h: Likewise.
29869 * include/sys/time.h: Likewise.
29870 * include/sys/times.h: Likewise.
29871 * include/sys/uio.h: Likewise.
29872 * include/sys/utsname.h: Likewise.
29873 * include/sys/wait.h: Likewise.
29874 * include/termios.h: Likewise.
29875 * include/time.h: Likewise.
29876 * include/ulimit.h: Likewise.
29877 * include/unistd.h: Likewise.
29878 * include/utime.h: Likewise.
29879 * include/wchar.h: Likewise.
29880 * include/wctype.h: Likewise.
29881 * include/wordexp.h: Likewise.
29883 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29885 * time/time.h: TIME_UTC must be a macro.
29886 Make timespec_get available for ISO C11 only as well.
29888 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29890 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29891 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29893 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29895 * configure.in: Use -o not -a in test for unsupported multi-arch.
29897 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29899 * manual/texinfo.tex: Update to version 2012-01-19.16.
29901 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29903 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29905 2012-02-24 Roland McGrath <roland@hack.frob.com>
29908 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29909 * manual/fdl-1.3.texi: New file.
29910 * manual/fdl-1.1.texi: File removed.
29913 * manual/libc.texinfo (FDL_VERSION): New @set.
29914 Use it for mention of FDL in cover text.
29915 (Documentation License): Use it in @include file name.
29917 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29918 Roland McGrath <roland@hack.frob.com>
29921 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29922 not LONG_LONG_MAX and LONG_LONG_MIN.
29923 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29924 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29926 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29928 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29932 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29933 manipulate bits before adding and subtracting TWO23[sx].
29934 * math/libm-test.inc (nearbyint_test): Add more tests.
29936 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29939 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29940 bits before adding and subtracting TWO23[sx].
29941 * math/libm-test.inc (rint_test): Add more tests.
29942 (rint_test_tonearest): Likewise.
29943 (rint_test_towardzero): Likewise.
29944 (rint_test_downward): Likewise.
29945 (rint_test_upward: Likewise.
29947 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29950 * include/stdc-predef.h: New file. Extracted from features.h.
29951 * include/features.h: Include stdc-predef.h.
29952 * Makefile (headers): Add stdc-predef.h.
29953 * CONFORMANCE (Compiler limitations): Update.
29955 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29957 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29959 2012-02-21 David S. Miller <davem@davemloft.net>
29961 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29962 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29964 2012-02-20 David S. Miller <davem@davemloft.net>
29966 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29967 using a normal save/restore sequence, rather than allocating a
29968 dummy stack frame just to store a frame pointer and restore.
29969 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29971 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29973 * manual/install.texi: Fix stray word in line-wrapped comment.
29975 2012-02-20 David S. Miller <davem@davemloft.net>
29977 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29978 both binutils and gcc support GOTDATA.
29980 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29981 "rd %pc" in the PIC register setup sequences.
29983 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29984 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29985 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29986 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29987 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29988 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29989 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29990 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29992 (SYSCALL_ERROR_HANDLER): Likewise.
29993 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29994 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29996 (SYSCALL_ERROR_HANDLER): Likewise.
29998 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29999 (HAVE_GCC_GOTDATA): New.
30000 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30001 relocation support in both binutils and gcc.
30002 * sysdeps/sparc/elf/configure: Regenerate.
30004 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30005 * sysdeps/sparc/sparc32/elf/configure: Delete.
30006 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30007 * sysdeps/sparc/sparc64/elf/configure: Delete.
30008 * sysdeps/sparc/elf/configure.in: New file.
30009 * sysdeps/sparc/elf/configure: Generate.
30011 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30012 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30013 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30014 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30015 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30017 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30019 * manual/install.texi: Do not mention specific glibc version
30021 * manual/libc.texinfo (VERSION, UPDATED): Update.
30022 (@copying): Use @copyright{} and range of years.
30024 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30027 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30028 [crti.S not in sysdirs] (generated): Do not append.
30029 [crti.S not in sysdirs] (omit-deps): Likewise.
30030 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30031 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30032 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30033 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30034 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30036 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30037 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30038 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30039 * csu/defs.awk: Remove file.
30040 * sysdeps/generic/initfini.c: Likewise.
30041 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30043 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30046 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30048 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30049 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30050 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30052 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30053 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30055 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30056 (__EPOLL_PACKED): Define to empty if not defined by
30058 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30059 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30062 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30064 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30065 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30066 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30067 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30069 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30073 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30075 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30077 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30078 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30079 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30082 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30084 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30085 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30087 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30089 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30090 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30092 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30094 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30097 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30099 * math/w_acos.c: Use non-signaling floating-point comparisons.
30100 * math/w_acosf.c: Likewise.
30101 * math/w_acosh.c: Likewise.
30102 * math/w_acoshf.c: Likewise.
30103 * math/w_acoshl.c: Likewise.
30104 * math/w_acosl.c: Likewise.
30105 * math/w_asin.c: Likewise.
30106 * math/w_asinf.c: Likewise.
30107 * math/w_asinl.c: Likewise.
30108 * math/w_atanh.c: Likewise.
30109 * math/w_atanhf.c: Likewise.
30110 * math/w_atanhl.c: Likewise.
30111 * math/w_exp2.c: Likewise.
30112 * math/w_exp2f.c: Likewise.
30113 * math/w_exp2l.c: Likewise.
30114 * math/w_j0.c: Likewise.
30115 * math/w_j0f.c: Likewise.
30116 * math/w_j0l.c: Likewise.
30117 * math/w_j1.c: Likewise.
30118 * math/w_j1f.c: Likewise.
30119 * math/w_j1l.c: Likewise.
30120 * math/w_jn.c: Likewise.
30121 * math/w_jnf.c: Likewise.
30122 * math/w_log.c: Likewise.
30123 * math/w_log10.c: Likewise.
30124 * math/w_log10f.c: Likewise.
30125 * math/w_log10l.c: Likewise.
30126 * math/w_log2.c: Likewise.
30127 * math/w_log2f.c: Likewise.
30128 * math/w_log2l.c: Likewise.
30129 * math/w_logf.c: Likewise.
30130 * math/w_logl.c: Likewise.
30131 * math/w_sqrt.c: Likewise.
30132 * math/w_sqrtf.c: Likewise.
30133 * math/w_sqrtl.c: Likewise.
30134 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30135 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30136 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30137 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30138 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30140 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30143 * manual/string.texi (strnlen): Use correct parameter name in
30144 equivalent expression.
30146 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30149 * manual/users.texi (seteuid): Consistently use neweuid for
30152 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30155 * manual/nss.texi (Services in the NSS configuration): Correct
30156 list of services in example configuration file.
30158 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30161 * manual/arith.texi: Remove statements about negative zero
30162 behaving identically to zero.
30164 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30167 * manual/install.texi: Do not document upgrading from libc5.
30169 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30172 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30174 2012-02-18 David S. Miller <davem@davemloft.net>
30176 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30177 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30178 %o7 across the call.
30179 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30182 SETUP_PIC_REG_LEAF.
30183 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30184 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30185 * sysdeps/sparc/crtn.S: Likewise.
30187 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30189 * aout/Makefile: Remove.
30191 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30194 * manual/examples/argp-ex1.c (main): Format definition in GNU
30196 * manual/examples/argp-ex2.c (main): Likewise.
30197 * manual/examples/argp-ex3.c (main): Likewise.
30198 * manual/examples/argp-ex4.c (main): Likewise.
30199 * manual/examples/longopt.c (main): Use new-style prototype
30201 * manual/examples/strncat.c (main): Specify return type and use
30202 (void) for arguments.
30203 * manual/examples/subopt.c (main): Use char **argv argument.
30205 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30208 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30211 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30214 * manual/string.texi (strchr): Change when strchrnul is
30217 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30220 * manual/locale.texi (setlocale): Document LOCPATH.
30222 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30225 * manual/process.texi (execle): Move @dots{} before last argument.
30227 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30230 * manual/charset.texi (Generic Charset Conversion): Fix typo
30231 (LC_TYPE -> LC_CTYPE).
30233 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30236 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30237 (scalbnf): Likewise.
30238 (scalbnl): Likewise.
30239 (scalbln): Likewise.
30240 (scalblnf): Likewise.
30241 (scalblnl): Likewise.
30242 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30243 (vwarnx): Likewise.
30246 * manual/filesys.texi (telldir): Use braces around return type.
30247 * manual/llio.texi (mmap): Add space after comma.
30248 (mmap64): Likewise.
30249 * manual/math.texi (jn): Use @var{} on parameter names.
30255 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30257 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30259 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30260 (sched_get_priority_max): Likewise.
30261 * manual/signal.texi (sigvec): Add space after comma.
30262 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30264 (if_indextoname): Likewise.
30265 (if_freenameindex): Likewise.
30266 (sendto): Use ',' instead of '.' in prototype.
30267 * manual/startup.texi (syscall): Use @dots{} instead of literal
30269 * manual/stdio.texi (__fpending): Separate initial words of
30270 paragraph from @deftypefun line.
30271 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30273 (vsyslog): Use @var{} on parameter names.
30274 * manual/terminal.texi (stty): Use @var{} on parameter names.
30275 * manual/users.texi (getutmp): Use @var{} on parameter names.
30276 (getutmpx): Likewise.
30278 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30281 * manual/stdio.texi (fopen): Fix typos in description of
30284 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30287 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30288 get clock_id definition.
30290 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30293 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30294 (madvise): Cast every argument to void on its own.
30296 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30299 * manual/startup.texi (Exit Status): Fix typo.
30301 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30304 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30305 * manual/examples/argp-ex2.c: Likewise.
30306 * manual/examples/argp-ex3.c: Likewise.
30308 2012-02-16 Richard Henderson <rth@redhat.com>
30310 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30311 * sysdeps/s390/s390-32/initfini.c: Remove.
30312 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30313 * sysdeps/s390/s390-64/initfini.c: Remove.
30315 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30317 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30318 compiler output for sysdeps/generic/initfini.c.
30319 * sysdeps/sh/elf/initfini.c: Remove file.
30321 2012-02-16 David S. Miller <davem@davemloft.net>
30324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30326 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30327 * sysdeps/sparc/crti.S: New file.
30328 * sysdeps/sparc/crtn.S: New file.
30329 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30330 * sysdeps/sparc/sparc64/Makefile: Likewise.
30332 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30335 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30337 2012-02-15 Roland McGrath <roland@hack.frob.com>
30340 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30342 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30343 (write, read, close): Likewise.
30344 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30346 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30348 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30349 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30350 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30351 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30353 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30357 2012-02-14 Marek Polacek <polacek@redhat.com>
30359 * sysdeps/x86_64/crti.S: New file.
30360 * sysdeps/x86_64/crtn.S: New file.
30361 * sysdeps/x86_64/elf/initfini.c: Remove file.
30363 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30365 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30366 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30367 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30368 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30370 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30374 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30376 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30377 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30378 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30379 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30381 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30385 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30387 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30388 __feraiseexcept instead of feraiseexcept.
30390 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30391 nanosleep invocations.
30392 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30393 strings, and add error checking for a nanosleep invocations.
30395 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30397 Replace FSF snail mail address with URLs, as per GNU coding standards.
30398 Most of the snail mail addresses were wrong anyway, and omitting
30399 them makes the source code easier to maintain. Almost all of the
30400 changes are to license notices and to locale LC_IDENTIFICATION
30401 addresses, except for this one:
30402 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30403 not its snail mail address.
30405 2012-02-09 Richard Henderson <rth@twiddle.net>
30407 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30408 of kernel-features.h.
30410 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30412 2012-02-08 Marek Polacek <polacek@redhat.com>
30414 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30415 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30416 * sysdeps/gnu/_G_config.h: Likewise.
30417 * sysdeps/generic/_G_config.h: Likewise.
30419 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30421 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30425 * sysdeps/powerpc/powerpc32/crti.S: New file.
30426 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30427 * sysdeps/powerpc/powerpc64/crti.S: New file.
30428 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30430 * Makeconfig (have-initfini): Don't set.
30431 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30432 * configure.in (nopic_initfini): Don't substitute.
30433 * config.h.in (HAVE_INITFINI): Don't #undef.
30434 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30435 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30437 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30439 Support crti.S and crtn.S provided directly by architectures.
30440 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30441 [crti.S in sysdirs] (omit-deps): Likewise.
30442 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30443 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30444 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30445 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30446 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30447 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30448 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30449 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30450 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30451 compiler output for sysdeps/generic/initfini.c.
30452 * sysdeps/i386/elf/Makefile: Remove file.
30453 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30455 2012-02-07 Marek Polacek <polacek@redhat.com>
30457 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30458 * sysdeps/gnu/_G_config.h: Likewise.
30459 * sysdeps/mach/hurd/_G_config.h: Likewise.
30461 2012-02-07 Marek Polacek <polacek@redhat.com>
30463 * math/Makefile (tests): Add tst-CMPLX2.
30464 * math/tst-CMPLX2.c: New file.
30466 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30468 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30470 * math/libm-test.inc (jn_test): Add missing L suffix.
30472 2012-02-06 Marek Polacek <polacek@redhat.com>
30474 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30475 * sysdeps/i386/fpu/e_powf.S: Likewise.
30476 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30477 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30478 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30479 * sysdeps/i386/fpu/e_pow.S: Likewise.
30480 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30481 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30482 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30483 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30484 * sysdeps/i386/fpu/e_log2.S: Likewise.
30485 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30486 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30487 * sysdeps/i386/fpu/e_powl.S: Likewise.
30488 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30489 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30490 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30491 * sysdeps/i386/fpu/e_logl.S: Likewise.
30492 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30493 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30494 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30495 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30496 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30497 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30498 * sysdeps/i386/fpu/e_log.S: Likewise.
30499 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30500 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30501 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30502 * sysdeps/i386/fpu/e_logf.S: Likewise.
30503 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30504 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30505 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30506 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30507 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30508 * sysdeps/i386/fpu/e_log10.S: Likewise.
30509 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30510 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30511 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30512 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30513 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30514 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30515 * sysdeps/i386/asm-syntax.h: Likewise.
30516 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30517 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30518 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30519 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30520 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30521 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30522 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30523 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30524 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30525 * sysdeps/powerpc/sysdep.h: Likewise.
30526 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30527 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30529 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30532 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30534 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30536 * sysdeps/i386/sysdep.h: Include <features.h>.
30537 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30540 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30542 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30544 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30547 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30549 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30550 (SETUP_PIC_REG): Use GET_PC_THUNK.
30551 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30554 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30556 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30557 for non-PIC compilation.
30558 (SETUP_PIC_REG): Add .p2align directive.
30559 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30560 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30561 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30562 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30563 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30564 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30565 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30566 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30567 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30568 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30569 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30570 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30571 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30572 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30573 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30574 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30575 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30576 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30577 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30578 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30579 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30580 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30581 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30582 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30583 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30584 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30585 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30587 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30588 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30589 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30590 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30591 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30592 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30593 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30594 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30595 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30596 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30597 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30598 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30599 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30601 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30603 * math/tst-CMPLX.c: Include <stdio.h>.
30605 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30607 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30609 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30610 * sysdeps/sparc/bits/mathdef.h: Likewise.
30612 2012-01-31 Marek Polacek <polacek@redhat.com>
30614 * libio/libio.h: Don't define _PARAMS.
30615 * locale/programs/config.h: Don't define PARAMS.
30616 * stdlib/strtol_l.c: Likewise.
30617 (__strtol_l): Remove PARAMS from the prototype.
30619 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30621 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30622 names. Just use the correct names. Remove unnecessary wrapper
30624 * malloc/arena.c: Likewise.
30625 * malloc/hooks.c: Likewise.
30627 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30628 ARENA_TEST says not to. Simplify test for creation of a new arena.
30629 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30631 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30633 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30635 (update_get_addr): New function.
30636 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30637 GET_ADDR_MODULE parameter.
30639 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30641 * crypt/cert.c: Remove __STDC__ conditionals.
30642 * crypt/crypt-entry.c: Likewise.
30643 * crypt/crypt_util.c: Likewise.
30644 * libio/filedoalloc.c: Likewise.
30645 * libio/fileops.c: Likewise.
30646 * libio/genops.c: Likewise.
30647 * libio/iofclose.c: Likewise.
30648 * libio/iofdopen.c: Likewise.
30649 * libio/iofopen.c: Likewise.
30650 * libio/iofopen64.c: Likewise.
30651 * libio/iogetdelim.c: Likewise.
30652 * libio/iopopen.c: Likewise.
30653 * libio/obprintf.c: Likewise.
30654 * libio/oldfileops.c: Likewise.
30655 * libio/oldiofclose.c: Likewise.
30656 * libio/oldiofdopen.c: Likewise.
30657 * libio/oldiofopen.c: Likewise.
30658 * libio/oldiopopen.c: Likewise.
30659 * libio/wfiledoalloc.c: Likewise.
30660 * libio/wgenops.c: Likewise.
30661 * locale/programs/xmalloc.c: Likewise.
30662 * misc/syslog.c: Likewise.
30663 * stdio-common/xbug.c: Likewise.
30664 * string/memchr.c: Likewise.
30665 * string/memcmp.c: Likewise.
30666 * string/memrchr.c: Likewise.
30667 * string/rawmemchr.c: Likewise.
30668 * sysdeps/posix/getcwd.c: Likewise.
30669 * time/strftime_l.c: Likewise.
30671 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30673 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30674 * config.make.in (config-cflags-sse2avx): Define.
30675 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30678 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30680 * scripts/config.guess: Update from upstream config git repository.
30681 * scripts/config.sub: Likewise.
30683 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30685 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30687 (R_TILEPRO_*, R_TILEGX_*): New macros.
30689 * scripts/firstversions.awk: Fix bug in version range handling.
30691 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30693 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30695 * include/sys/epoll.h: New file.
30696 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30699 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30701 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30702 Avoid unnecessary __WORDSIZE == 64 test.
30703 (fmaxf): Use VEX format if possible.
30708 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30709 * math/math_private.h: Remove libc_fegetround* and
30711 * sysdeps/i386/configure.in: Check for -msse2avx.
30712 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30713 also if SSE2AVX is defined.
30714 Remove libc_fegetround* and libc_fesetround*.
30715 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30716 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30717 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30719 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30720 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30721 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30722 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30725 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30727 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30729 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30731 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30733 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30736 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30738 * Makeconfig (libm): Define.
30739 * elf/Makefile: Add rules to build and run tst-relsort1.
30740 * elf/tst-relsort1.c: New file.
30741 * elf/tst-relsort1mod1.c: New file.
30742 * elf/tst-relsort1mod2.c: New file.
30744 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30746 * math/s_ldexp.c: Remove __STDC__ conditionals.
30747 * math/s_ldexpf.c: Likewise.
30748 * math/s_ldexpl.c: Likewise.
30749 * math/s_nextafter.c: Likewise.
30750 * math/s_nexttowardf.c: Likewise.
30751 * math/s_significand.c: Likewise.
30752 * math/s_significandf.c: Likewise.
30753 * math/s_significandl.c: Likewise.
30754 * math/w_jnl.c: Likewise.
30755 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30756 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30757 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30758 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30759 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30760 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30761 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30762 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30763 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30764 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30765 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30766 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30767 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30768 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30769 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30770 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30771 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30772 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30773 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30774 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30775 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30776 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30777 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30778 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30779 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30780 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30781 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30782 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30783 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30784 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30785 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30786 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30787 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30788 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30789 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30790 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30791 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30792 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30793 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30794 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30795 * sysdeps/ieee754/k_standard.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30814 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30815 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30828 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30834 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30835 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30836 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30837 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30838 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30839 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30842 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30843 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30844 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30845 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30846 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30847 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30848 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30849 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30850 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30851 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30852 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30853 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30854 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30855 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30856 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30857 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30858 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30860 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30861 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30862 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30863 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30864 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30865 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30866 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30867 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30868 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30869 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30870 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30871 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30872 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30873 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30874 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30875 * sysdeps/ieee754/s_matherr.c: Likewise.
30876 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30877 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30878 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30879 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30881 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30883 * crypt/md5.h: Remove __STDC__ conditionals.
30884 * libio/libioP.h: Likewise.
30885 * locale/programs/config.h: Likewise.
30886 * sysdeps/generic/sysdep.h: Likewise.
30887 * sysdeps/i386/asm-syntax.h: Likewise.
30888 * sysdeps/s390/asm-syntax.h: Likewise.
30889 * sysdeps/unix/sysdep.h: Likewise.
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30893 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30895 * libio/libio.h: Remove __STDC__ conditionals.
30896 * malloc/obstack.h: Likewise.
30897 * math/complex.h: Likewise.
30898 * math/math.h: Likewise.
30899 * sysdeps/generic/_G_config.h: Likewise.
30900 * sysdeps/gnu/_G_config.h: Likewise.
30901 * sysdeps/mach/hurd/_G_config.h: Likewise.
30902 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30903 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30904 * sysdeps/sparc/bits/mathdef.h: Likewise.
30906 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30909 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30910 Clean up HAS_* macros.
30911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30912 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30914 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30916 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30917 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30918 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30919 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30920 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30922 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30924 * elf/tst-unique3.cc (gets): Remove declaration.
30925 * elf/tst-unique3lib.cc (gets): Likewise.
30926 * elf/tst-unique3lib2.cc (gets): Likewise.
30927 * elf/tst-unique4.cc (gets): Likewise.
30929 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30931 * include/stdio.h: Add C++ protection. Add gets declarations and
30933 * debug/tst-chk1.c: Don't declare gets here.
30934 * stdio-common/tst-gets.c: Likewise.
30936 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30938 * posix/glob: Remove directory.
30940 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30942 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30944 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30946 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30947 of the non-standard EPFNOSUPPORT.
30949 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30951 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30952 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30953 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30955 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30957 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30959 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30961 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30963 * nscd/grpcache.c (cache_addgr): Likewise.
30964 * nscd/hstcache.c (cache_addhst): Likewise.
30965 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30966 * nscd/pwdcache.c (cache_addpw): Likewise.
30967 * nscd/servicescache.c (cache_addserv): Likewise.
30969 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30971 * malloc/malloc.c: Various cleanups.
30972 * malloc/hooks.c: Likewise.
30974 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30975 * stdlib/bug-fmtmsg1.c: New file.
30977 * stdlib/fmtmsg.c (init): Add missing unlock.
30978 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30980 2012-01-12 Marek Polacek <polacek@redhat.com>
30982 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30985 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30987 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30988 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30989 macro to ensure uniqueness of label name.
30990 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30991 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30993 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30995 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30997 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30998 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30999 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31000 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31002 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31004 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31006 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31007 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31008 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31010 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31012 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31013 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31014 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31015 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31017 * math/bits/math-finite.h: Add ldexp support.
31019 2012-01-10 Marek Polacek <polacek@redhat.com>
31021 * locale/programs/localedef.h (show_archive_content): Add noreturn
31024 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31026 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31028 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31030 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31032 * io/Makefile (headers): Add bits/poll2.h.
31034 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31037 typo #include statement.
31039 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31041 * include/sys/cdefs.h: Define __attribute_alloc_size.
31042 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31043 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31044 * elf/pldd.c: Likewise.
31045 * iconv/iconv_charmap.c: Likewise.
31046 * iconv/iconvconfig.c: Likewise.
31047 * iconv/strtab.c: Likewise.
31048 * locale/programs/locale.c: Likewise.
31049 * locale/programs/localedef.h: Likewise.
31050 * locale/programs/simple-hash.c: Likewise.
31051 * nscd/nscd.h: Likewise.
31052 * nss/makedb.c: Likewise.
31053 * sysdeps/generic/ldconfig.h: Likewise.
31054 * locale/programs/localedef.c: Remove xmalloc prototype.
31055 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31057 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31059 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31062 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31064 * math/Makefile (tests): Add tst-CMPLX.
31065 * math/tst-CMPLX.c: New file.
31067 * math/complex.h (CMPLXL): Fix typo.
31069 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31070 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31072 * debug/tst-chk1.c: Add poll and ppoll tests.
31073 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31074 * include/sys/poll.h: Add hidden proto for ppoll.
31075 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31076 * sysdeps/mach/hurd/ppoll.c: Likewise.
31077 * io/ppoll.c: Likewise.
31078 * debug/poll_chk.c: New file.
31079 * debug/ppoll_chk.c: New file.
31080 * include/bits/poll2.h: New file.
31081 * io/bits/poll2.h: New file.
31084 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31086 * configure.in: static is always set to yes. Remove.
31087 * config.make.in: Don't set build-static.
31088 * Makeconfig: Remove use of build-static.
31089 * dlfcn/Makefile: Likewise.
31090 * elf/Makefile: Likewise.
31091 * math/Makefile: Likewise.
31092 * misc/Makefile: Likewise.
31093 * nptl/Makefile: Likewise.
31094 * sysdeps/mach/hurd/Makefile: Likewise.
31096 * configure.in: PWD_P is not used anymore.
31097 * config.make.in: Remove PWD_P entry.
31099 * configure.in: Remove last remnants of RANLIB.
31100 No need to check for signed size_t anymore.
31101 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31103 Remove __builtin_expect test because we require at least gcc 3.4.
31104 * aclocal.m4: Likewise.
31106 * wcsmbs/mbrtoc16.c: Implement using towc function.
31107 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31108 * wcsmbs/wcsmbsload.c: Likewise.
31109 * iconv/gconv_simple.c: Likewise.
31110 * iconv/gconv_int.h: Likewise.
31111 * iconv/gconv_builtin.h: Likewise.
31112 * iconv/iconv_prog.c: Remove CHAR16 handling.
31114 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31116 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31118 * configure.in: Remove --with-elf and --enable-bounded options.
31119 Dont set base_machine for ia64. More non-ELF conditions removed.
31120 Remove testing and setting of leading underscore information.
31121 * config.make.in (build-bounded): Set to no.
31122 * config.h.in: Remove NO_UNDERSCORES entry.
31123 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31125 * csu/start.c: Remove !NO_UNDERSCORE code.
31126 * locale/localeinfo.h: Likewise.
31127 * sysdeps/generic/machine-gmon.h: Likewise.
31128 * sysdeps/generic/sysdep.h: Likewise.
31129 * sysdeps/i386/sysdep.h: Likewise.
31130 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31131 * sysdeps/mach/sysdep.h: Likewise.
31132 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31133 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31134 * sysdeps/sh/sysdep.h: Likewise.
31135 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31136 * sysdeps/unix/i386/sysdep.S: Likewise.
31137 * sysdeps/unix/sparc/start.c: Likewise.
31138 * sysdeps/unix/sparc/sysdep.S: Likewise.
31139 * sysdeps/unix/sparc/sysdep.h: Likewise.
31140 * sysdeps/unix/start.c: Likewise.
31141 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31142 * sysdeps/x86_64/sysdep.h: Likewise.
31144 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31147 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31149 * argp/argp-fmtstream.h: Use const instead __const.
31150 * argp/argp.h: Likewise.
31151 * assert/assert.h: Likewise.
31152 * bits/fenv.h: Likewise.
31153 * bits/sched.h: Likewise.
31154 * bits/sigset.h: Likewise.
31155 * bits/sigthread.h: Likewise.
31156 * catgets/nl_types.h: Likewise.
31157 * conform/data/pthread.h-data: Likewise.
31158 * crypt/crypt-private.h: Likewise.
31159 * crypt/crypt.h: Likewise.
31160 * crypt/crypt_util.c: Likewise.
31161 * ctype/ctype.h: Likewise.
31162 * debug/execinfo.h: Likewise.
31163 * debug/mbsnrtowcs_chk.c: Likewise.
31164 * debug/mbsrtowcs_chk.c: Likewise.
31165 * debug/wcsnrtombs_chk.c: Likewise.
31166 * debug/wcsrtombs_chk.c: Likewise.
31167 * debug/wcstombs_chk.c: Likewise.
31168 * dirent/dirent.h: Likewise.
31169 * dlfcn/dlfcn.h: Likewise.
31170 * elf/neededtest4.c: Likewise.
31171 * grp/grp.h: Likewise.
31172 * gshadow/gshadow.h: Likewise.
31173 * iconv/gconv.h: Likewise.
31174 * iconv/gconv_int.h: Likewise.
31175 * iconv/gconv_simple.c: Likewise.
31176 * iconv/iconv.h: Likewise.
31177 * iconv/loop.c: Likewise.
31178 * iconv/skeleton.c: Likewise.
31179 * include/aio.h: Likewise.
31180 * include/aliases.h: Likewise.
31181 * include/argz.h: Likewise.
31182 * include/arpa/inet.h: Likewise.
31183 * include/assert.h: Likewise.
31184 * include/dirent.h: Likewise.
31185 * include/dlfcn.h: Likewise.
31186 * include/execinfo.h: Likewise.
31187 * include/fcntl.h: Likewise.
31188 * include/fenv.h: Likewise.
31189 * include/glob.h: Likewise.
31190 * include/grp.h: Likewise.
31191 * include/libintl.h: Likewise.
31192 * include/mntent.h: Likewise.
31193 * include/netdb.h: Likewise.
31194 * include/pwd.h: Likewise.
31195 * include/rpc/netdb.h: Likewise.
31196 * include/sched.h: Likewise.
31197 * include/search.h: Likewise.
31198 * include/shadow.h: Likewise.
31199 * include/signal.h: Likewise.
31200 * include/stdio.h: Likewise.
31201 * include/stdlib.h: Likewise.
31202 * include/string.h: Likewise.
31203 * include/sys/socket.h: Likewise.
31204 * include/sys/stat.h: Likewise.
31205 * include/sys/statfs.h: Likewise.
31206 * include/sys/statvfs.h: Likewise.
31207 * include/sys/syslog.h: Likewise.
31208 * include/sys/time.h: Likewise.
31209 * include/sys/uio.h: Likewise.
31210 * include/time.h: Likewise.
31211 * include/unistd.h: Likewise.
31212 * include/utmp.h: Likewise.
31213 * include/wchar.h: Likewise.
31214 * include/wctype.h: Likewise.
31215 * inet/aliases.h: Likewise.
31216 * inet/arpa/inet.h: Likewise.
31217 * inet/netinet/ether.h: Likewise.
31218 * inet/netinet/in.h: Likewise.
31219 * intl/libintl.h: Likewise.
31220 * io/bits/fcntl2.h: Likewise.
31221 * io/fcntl.h: Likewise.
31222 * io/ftw.h: Likewise.
31223 * io/sys/poll.h: Likewise.
31224 * io/sys/stat.h: Likewise.
31225 * io/sys/statfs.h: Likewise.
31226 * io/sys/statvfs.h: Likewise.
31227 * io/utime.h: Likewise.
31228 * libio/bits/stdio.h: Likewise.
31229 * libio/bits/stdio2.h: Likewise.
31230 * libio/libio.h: Likewise.
31231 * libio/libioP.h: Likewise.
31232 * libio/stdio.h: Likewise.
31233 * locale/lc-ctype.c: Likewise.
31234 * locale/locale.h: Likewise.
31235 * login/utmp.h: Likewise.
31236 * malloc/arena.c: Likewise.
31237 * malloc/malloc.c: Likewise.
31238 * malloc/malloc.h: Likewise.
31239 * malloc/mcheck.c: Likewise.
31240 * malloc/mtrace.c: Likewise.
31241 * math/bits/mathcalls.h: Likewise.
31242 * math/fenv.h: Likewise.
31243 * math/math_private.h: Likewise.
31244 * misc/bits/error.h: Likewise.
31245 * misc/bits/syslog.h: Likewise.
31246 * misc/err.h: Likewise.
31247 * misc/error.h: Likewise.
31248 * misc/fstab.h: Likewise.
31249 * misc/mntent.h: Likewise.
31250 * misc/regexp.h: Likewise.
31251 * misc/search.h: Likewise.
31252 * misc/sgtty.h: Likewise.
31253 * misc/sys/mman.h: Likewise.
31254 * misc/sys/syslog.h: Likewise.
31255 * misc/sys/uio.h: Likewise.
31256 * misc/sys/xattr.h: Likewise.
31257 * misc/ttyent.h: Likewise.
31258 * nis/rpcsvc/ypclnt.h: Likewise.
31259 * nss/nss.h: Likewise.
31260 * posix/bits/unistd.h: Likewise.
31261 * posix/fnmatch.h: Likewise.
31262 * posix/glob.h: Likewise.
31263 * posix/sched.h: Likewise.
31264 * posix/spawn.h: Likewise.
31265 * posix/sys/wait.h: Likewise.
31266 * posix/unistd.h: Likewise.
31267 * posix/wordexp.h: Likewise.
31268 * pwd/pwd.h: Likewise.
31269 * resolv/netdb.h: Likewise.
31270 * resource/sys/resource.h: Likewise.
31271 * rt/aio.h: Likewise.
31272 * rt/bits/mqueue2.h: Likewise.
31273 * rt/mqueue.h: Likewise.
31274 * shadow/shadow.h: Likewise.
31275 * signal/signal.h: Likewise.
31276 * socket/send.c: Likewise.
31277 * socket/sendto.c: Likewise.
31278 * socket/sys/socket.h: Likewise.
31279 * stdio-common/printf.h: Likewise.
31280 * stdlib/bits/stdlib.h: Likewise.
31281 * stdlib/fmtmsg.h: Likewise.
31282 * stdlib/monetary.h: Likewise.
31283 * stdlib/stdlib.h: Likewise.
31284 * stdlib/ucontext.h: Likewise.
31285 * streams/stropts.h: Likewise.
31286 * string/argz.h: Likewise.
31287 * string/bits/string2.h: Likewise.
31288 * string/string.h: Likewise.
31289 * string/strings.h: Likewise.
31290 * sunrpc/rpc/auth.h: Likewise.
31291 * sunrpc/rpc/auth_des.h: Likewise.
31292 * sunrpc/rpc/clnt.h: Likewise.
31293 * sunrpc/rpc/netdb.h: Likewise.
31294 * sunrpc/rpc/pmap_clnt.h: Likewise.
31295 * sunrpc/rpc/xdr.h: Likewise.
31296 * sysdeps/generic/inttypes.h: Likewise.
31297 * sysdeps/generic/net/if.h: Likewise.
31298 * sysdeps/generic/sys/swap.h: Likewise.
31299 * sysdeps/gnu/net/if.h: Likewise.
31300 * sysdeps/gnu/utmpx.h: Likewise.
31301 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31302 * sysdeps/i386/i486/bits/string.h: Likewise.
31303 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31304 * sysdeps/s390/bits/string.h: Likewise.
31305 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31306 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31307 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31308 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31309 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31310 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31311 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31312 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31313 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31314 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31315 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31316 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31317 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31318 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31319 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31320 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31321 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31323 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31324 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31325 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31326 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31327 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31328 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31329 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31330 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31331 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31332 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31333 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31334 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31335 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31336 * sysvipc/sys/ipc.h: Likewise.
31337 * sysvipc/sys/msg.h: Likewise.
31338 * sysvipc/sys/sem.h: Likewise.
31339 * sysvipc/sys/shm.h: Likewise.
31340 * termios/termios.h: Likewise.
31341 * time/sys/time.h: Likewise.
31342 * time/time.h: Likewise.
31343 * wcsmbs/bits/wchar2.h: Likewise.
31344 * wcsmbs/uchar.h: Likewise.
31345 * wcsmbs/wchar.h: Likewise.
31346 * wctype/wctype.h: Likewise.
31349 * Makeconfig: Remove all but ELF support including AIX support.
31350 * Makerules: Likewise.
31351 * config.h.in: Likewise.
31352 * config.make.in: Likewise.
31353 * configure: Likewise.
31354 * configure.in: Likewise.
31355 * csu/Makefile: Likewise.
31356 * csu/version.c: Likewise.
31357 * debug/Makefile: Likewise.
31358 * dlfcn/Makefile: Likewise.
31359 * elf/Makefile: Likewise.
31360 * extra-lib.mk: Likewise.
31361 * iconv/Makefile: Likewise.
31362 * include/libc-symbols.h: Likewise.
31363 * include/shlib-compat.h: Likewise.
31364 * resolv/Makefile: Likewise.
31365 * resolv/res_libc.c: Likewise.
31366 * rt/Makefile: Likewise.
31367 * sysdeps/i386/asm-syntax.h: Likewise.
31368 * sysdeps/i386/sysdep.h: Likewise.
31369 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31370 * sysdeps/mach/sysdep.h: Likewise.
31371 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31372 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31373 * sysdeps/s390/asm-syntax.h: Likewise.
31374 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31375 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31376 * sysdeps/sh/sysdep.h: Likewise.
31377 * sysdeps/unix/sparc/sysdep.h: Likewise.
31378 * sysdeps/wordsize-32/divdi3.c: Likewise.
31379 * sysdeps/x86_64/sysdep.h: Likewise.
31381 * argp/Versions: Remove _argp_unlock_xxx.
31384 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31385 * abilist/libBrokenLocale.abilist: Likewise.
31386 * abilist/libanl.abilist: Likewise.
31387 * abilist/libc.abilist: Likewise.
31388 * abilist/libcrypt.abilist: Likewise.
31389 * abilist/libdl.abilist: Likewise.
31390 * abilist/libm.abilist: Likewise.
31391 * abilist/libnsl.abilist: Likewise.
31392 * abilist/libpthread.abilist: Likewise.
31393 * abilist/libresolv.abilist: Likewise.
31394 * abilist/librt.abilist: Likewise.
31395 * abilist/libthread_db.abilist: Likewise.
31396 * abilist/libutil.abilist: Likewise.
31397 * abilist/libnss_db.abilist: New file.
31399 * scripts/abilist.awk: Add support for indirect functions.
31401 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31403 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31405 * shlib-versions: Remove entries for ports architectures.
31407 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31409 * elf/stackguard-macros.h: Remove support for IA-64.
31410 * elf/tst-auditmod1.c: Likewise.
31411 * sysdeps/generic/ldsodefs.h: Likewise.
31413 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31414 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31418 * configure.in: Remove --enable-omitfp support.
31420 * config.make.in: Likewise.
31421 * Makeconfig: Likewise.
31422 * manual/install.texi: Likewise.
31424 In case anyone cares, the IA-64 architecture could move to ports.
31425 * sysdeps/ia64/*: Removed.
31426 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31427 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31430 * configure.in: Remove entries for unsupported architectures.
31433 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31434 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31436 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31437 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31438 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31439 fall back to using wcrtomb.
31440 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31441 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31443 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31444 * wcsmbs/tst-c16c32-1.c: New file.
31446 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31449 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31451 * elf/tst-unique3.cc: Add explicit declaration of gets.
31452 * elf/tst-unique3lib.cc: Likewise.
31453 * elf/tst-unique3lib2.cc: Likewise.
31454 * elf/tst-unique4.cc: Likewise.
31456 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31458 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31461 * assert/assert.h (static_assert): Don't define for C++.
31462 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31463 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31465 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31467 * iconv/loop.c (single loop): Fix assertion in storing of
31470 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31472 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31474 * posix/getconf.c: Update copyright year.
31475 * nss/getent.c: Likewise.
31476 * nss/makedb.c: Likewise.
31477 * iconv/iconvconfig.c: Likewise.
31478 * iconv/iconv_prog.c: Likewise.
31479 * elf/ldconfig.c: Likewise.
31480 * elf/pldd.c: Likewise.
31481 * elf/sotruss.ksh: Likewise.
31482 * catgets/gencat.c: Likewise.
31483 * csu/version.c: Likewise.
31484 * elf/ldd.bash.in: Likewise.
31485 * elf/sprof.c (print_version): Likewise.
31486 * locale/programs/locale.c: Likewise.
31487 * locale/programs/localedef.c: Likewise.
31488 * login/programs/pt_chown.c: Likewise.
31489 * nscd/nscd.c (print_version): Likewise.
31490 * debug/xtrace.sh: Likewise.
31491 * malloc/memusage.sh: Likewise.
31492 * malloc/mtrace.pl: Likewise.
31493 * debug/catchsegv.sh: Likewise.
31495 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31497 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31500 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31503 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31504 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31506 * iconv/gconv_int.h: Likewise.
31507 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31508 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31509 from libc for GLIBC_2.16.
31510 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31511 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31512 * wcsmbs/uchar.h: Really define mbstate_t.
31513 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31514 * wcsmbs/c16rtomb.c: New file.
31515 * wcsmbs/mbrtoc16.c: New file.
31516 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31517 for C/POSIX locale.
31518 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31519 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31521 * wcsmbs/wchar.h: Add missing __restrict.
31523 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31526 * time/Makefile (routines): Add timespec_get.
31527 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31528 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31529 timespec for ISO C11.
31530 * time/timespec_get.c: New file.
31531 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31532 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31535 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31536 * stdlib/stdlib.h: Declare aligned_alloc.
31537 * Versions.def: Add GLIBC_2.16 for libc.
31538 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31541 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31544 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31548 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31551 * assert/assert.h (static_assert): Define.
31553 * version.h: Update for 2.16 development version.
31556 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31559 * version.h (RELEASE): Bump for 2.15 release.
31560 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31562 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31563 Patch by Marek Polacek <mpolacek@redhat.com>.
31565 * bits/byteswap.h: Protect long long constants with __extension__.
31566 * sysdeps/i386/bits/byteswap.h: Likewise.
31567 * sysdeps/ia64/bits/byteswap.h: Likewise.
31568 * sysdeps/s390/bits/byteswap.h: Likewise.
31569 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31571 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31574 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31575 destination buffer.
31576 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31578 2011-12-23 Marek Polacek <polacek@redhat.com>
31580 * elf/dl-addr.c (determine_info): Add inline keyword.
31581 * elf/tst-auditmod4b.c (check_avx): Likewise.
31582 * elf/tst-auditmod6b.c (check_avx): Likewise.
31583 * elf/tst-auditmod6c.c (check_avx): Likewise.
31584 * elf/tst-auditmod7b.c (check_avx): Likewise.
31586 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31588 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31591 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31594 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31595 processing for last bytes.
31597 2011-08-06 Bruno Haible <bruno@clisp.org>
31600 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31601 U+0385, not to U+1FEE.
31604 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31605 entry for U+00A5 U+0301.
31607 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31610 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31611 buffer for the output is too small.
31613 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31617 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31618 SSE flags if possible.
31620 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31623 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31624 processing for last bytes.
31626 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31628 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31629 (syscall-list-default-options, syscall-list-default-condition)
31630 (syscall-list-includes): Define.
31631 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31632 list of ABIs and options and #if conditions for each ABI. Do not
31633 handle common syscalls between ABIs specially.
31634 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31636 (syscall-list-variants, syscall-list-32bit-options)
31637 (syscall-list-32bit-condition, syscall-list-64bit-options)
31638 (syscall-list-64bit-condition): Define.
31639 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31640 (syscall-list-variants, syscall-list-32bit-options)
31641 (syscall-list-32bit-condition, syscall-list-64bit-options)
31642 (syscall-list-64bit-condition): Define.
31643 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31645 (syscall-list-variants, syscall-list-32bit-options)
31646 (syscall-list-32bit-condition, syscall-list-64bit-options)
31647 (syscall-list-64bit-condition): Define.
31648 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31650 (syscall-list-variants, syscall-list-32bit-options)
31651 (syscall-list-32bit-condition, syscall-list-64bit-options)
31652 (syscall-list-64bit-condition): Define.
31654 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31656 * locale/iso-639.def: Add brx entry.
31659 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31660 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31662 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31663 __feraiseexcept_renamed.
31665 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31668 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31669 EPOLLET with unsigned values.
31670 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31671 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31673 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31674 to large cancellation.
31675 * math/s_cacoshf.c: Likewise.
31676 * math/s_cacoshl.c: Likewise.
31678 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31682 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31683 * math/s_cacoshf.c: Likewise.
31684 * math/s_cacoshl.c: Likewise.
31686 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31689 * iconv/gconv.h: Define __GCONV_SWAP.
31690 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31691 * iconvdata/utf-16.c: Likewise.
31692 * iconvdata/utf-32.c: Likewise.
31694 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31698 numerator after shifting it by one limb.
31700 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31702 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31703 under [__USE_EXTERN_INLINES].
31705 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31708 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31710 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31712 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31713 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31715 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31716 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31717 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31718 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31719 for strncasecmp/strncasecmp_l compilation.
31720 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31721 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31723 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31726 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31729 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31732 * time/tzfile.c (__tzfile_read): Check values from file header.
31734 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31736 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31737 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31738 * powerpc/powerpc32/dl-start.S: Likewise.
31739 * powerpc/powerpc32/elf/start.S: Likewise.
31740 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31741 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31742 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31743 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31744 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31745 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31746 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31747 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31748 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31749 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31750 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31751 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31752 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31753 * powerpc/powerpc32/memset.S: Likewise.
31754 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31755 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31756 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31757 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31758 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31759 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31760 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31761 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31762 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31763 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31764 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31765 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31766 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31768 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31770 * math/libm-test.inc: Added more nearbyint tests.
31771 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31772 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31773 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31774 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31776 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31778 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31781 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31783 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31784 Add wcscpy-ssse3 wcscpy-c.
31785 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31786 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31787 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31788 * sysdeps/x86_64/wcschr.S: New file.
31789 * sysdeps/x86_64/wcsrchr.S: New file.
31790 * string/test-strcmp.c: Remove checking of wcscmp function for
31792 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31793 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31794 wcsrchr-sse2 wcsrchr-c.
31795 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31796 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31797 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31798 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31799 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31800 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31801 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31802 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31803 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31804 * wcsmbc/wcschr.c (WCSCHR): New macro.
31806 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31808 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31809 * wcsmbs/test-wcsrchr.c: New file.
31810 * string/test-strrchr.c: Add wcsrchr support.
31812 * wcsmbs/test-wcscpy.c: New file.
31813 * string/test-strcpy.c: Add wcscpy support.
31816 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31818 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31821 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31824 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31826 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31828 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31829 Minor optimizations.
31831 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31832 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31833 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31835 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31837 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31838 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31839 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31840 for gcc to avoid warnings.
31841 * inet/Makefile (tests): Add tst-checks.
31842 * inet/tst-checks.c: New file.
31844 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31847 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31850 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31851 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31853 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31855 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31857 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31860 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31862 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31864 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31865 conditional on GCC version.
31866 (__arch_compare_and_exchange_val_8_acq)
31867 (__arch_compare_and_exchange_val_16_acq)
31868 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31869 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31870 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31872 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31874 * sysdeps/sh/backtrace.c: New file.
31876 2011-12-02 Andreas Schwab <schwab@redhat.com>
31878 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31881 2011-12-01 Andreas Schwab <schwab@redhat.com>
31883 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31884 falling back to utime.
31886 2011-11-30 Andreas Schwab <schwab@redhat.com>
31888 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31889 expectations for float.
31891 2011-11-29 Andreas Schwab <schwab@redhat.com>
31893 * locale/weight.h (findidx): Add parameter len.
31894 * locale/weightwc.h (findidx): Likewise.
31895 * posix/fnmatch_loop.c (FCT): Adjust caller.
31896 * posix/regcomp.c (build_equiv_class): Likewise.
31897 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31898 * posix/regexec.c (check_node_accept_bytes): Likewise.
31899 * string/strcoll_l.c (STRCOLL): Likewise.
31900 * string/strxfrm_l.c (STRXFRM): Likewise.
31902 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31904 * Makefile.in: Remove CVSOPT handling.
31905 * configure.in: Remove use of AC_REVISION.
31906 * iconvdata/Makefile (distribute): No need to filter out CVS.
31907 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31910 2011-11-16 Andreas Schwab <schwab@redhat.com>
31912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31913 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31914 [USE_AS_STRNCASECMP_L]: Likewise.
31915 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31916 NO_TLS_DIRECT_SEG_REFS.
31917 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31918 Fix argument offsets for non-PIC.
31919 [USE_AS_STRNCASECMP_L]: Likewise.
31920 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31921 NO_TLS_DIRECT_SEG_REFS.
31923 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31925 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31927 * locale/loadlocale.c (_nl_load_locale): Likewise.
31929 2011-11-15 Andreas Schwab <schwab@redhat.com>
31931 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31932 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31933 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31934 (SYSCALL_GETTIME): Set errno on error.
31936 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31937 count references to noai6ai_cached.
31939 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31941 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31943 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31944 FD_CLOEXEC for /proc/self/maps.
31946 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31947 FD_CLOEXEC for /proc/meminfo.
31949 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31952 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31953 FD_CLOEXEC for given file.
31955 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31957 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31958 FD_CLOEXEC for /etc/hosts.
31959 (_gethtent): Likewise.
31961 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31963 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31964 cancellation and set FD_CLOEXEC for /etc/netgroup.
31966 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31967 reading /etc/publickey.
31969 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31970 allow cancellation when reading /etc/group.
31972 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31974 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31976 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31977 when using data file.
31979 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31981 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31982 (write_nis_obj): Use "c" and "e" in fopen.
31984 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31986 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31988 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31990 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31992 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31995 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31997 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31999 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32001 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32002 file parsing and set FD_CLOEXEC.
32004 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32006 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32008 2011-11-14 Andreas Schwab <schwab@redhat.com>
32010 * malloc/arena.c (arena_get2): Don't call reused_arena when
32011 _int_new_arena failed.
32013 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32015 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32016 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32017 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32018 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32019 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32020 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32021 to compile strcasecmp and strncasecmp.
32022 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32023 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32027 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32029 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32030 locale-defines.sym to gen-as-const-headers.
32031 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32032 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32034 to compile strcasecmp and strncasecmp.
32035 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32036 strcasecmp_l and strncasecmp_l.
32037 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32038 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32039 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32040 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32041 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32042 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32043 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32044 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32045 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32046 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32047 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32049 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32051 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32052 result of SYSDEP_GETTIME_CPU to retval.
32053 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32054 parameter list to macro. Remove trailing semicolon. Adjust users.
32056 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32059 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32061 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32063 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32064 from unused variable.
32066 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32068 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32071 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32074 * sunrpc/rpc_prot.c (rejected): Fix case value.
32076 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32077 unsigned long long int to avoid warnings in shift.
32079 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32081 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32084 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32085 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32086 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32088 * nis/nis_table.c (nis_list): Use variable of correct type for
32089 result of __follow_path call.
32091 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32093 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32094 of math functions ceil, trunc, floor, round, and sqrt, when
32095 avaliable on the platform.
32096 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32098 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32099 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32100 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32102 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32104 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32105 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32107 2011-11-11 Roland McGrath <roland@hack.frob.com>
32109 * include/unistd.h: Fix __readlink return type.
32110 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32112 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32114 * stdlib/ucontext.h: Undo last change for makecontext.
32116 2011-11-11 Andreas Schwab <schwab@redhat.com>
32118 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32120 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32121 * setjmp/setjmp.h: Mark functions as non-leaf.
32122 * setjmp/bits/setjmp2.h: Likewise.
32123 * stdlib/ucontext.h: Likewise.
32125 2011-11-10 Andreas Schwab <schwab@redhat.com>
32127 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32128 (reused_arena): Don't check arena limit.
32129 (arena_get2): Atomically check arena limit.
32131 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32133 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32134 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32136 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32139 2011-11-07 Andreas Schwab <schwab@redhat.com>
32141 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32142 handler when locking.
32144 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32145 Fix size of allocated buffer.
32147 2011-11-04 Andreas Schwab <schwab@redhat.com>
32150 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32151 declarations for long double functions.
32152 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32154 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32156 2011-11-03 Andreas Schwab <schwab@redhat.com>
32158 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32161 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32164 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32166 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32168 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32170 * include/alloca.h (stackinfo_alloca_round): Define.
32171 (extend_alloca): Use it.
32172 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32173 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32176 * scripts/check-local-headers.sh: Ignore libaudit.h.
32178 * nscd/Makefile (extra-objs): Make recursively expanded.
32180 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32182 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32183 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32185 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32186 * posix/tst-rfc3484-2.c: Likewise.
32187 * posix/tst-rfc3484-3.c: Likewise.
32189 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32191 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32193 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32194 process_vm_writev from libc using GLIBC_2.15 version.
32196 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32198 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32200 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32203 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32206 * nss/getent.c (initgroups_keys): Show error message in case no group
32209 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32210 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32211 __bump_nl_timestamp.
32212 * nscd/connections (nscd_init): When host database is served open
32213 netlink socket and request notification about configuration changes.
32214 (main_loop_poll): Track netlink file descriptor and bump timestamp
32215 in case data becomes available.
32216 (main_loop_epoll): Likewise.
32217 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32218 (database_pers_head): Add extra_data fileds.
32219 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32220 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32221 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32223 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32224 in6ai data, call __free_in6ai.
32225 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32226 Add -DHAVE_NETLINK.
32227 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32228 interface information. Reuse previous data if netlink timestamp
32230 (__bump_nl_timestamp): New function.
32231 (__free_in6ai): New function.
32233 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32235 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32236 close_not_cancel_no_status here.
32237 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32239 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32242 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32245 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32246 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32247 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32249 2011-07-03 Andreas Jaeger <aj@suse.de>
32252 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32253 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32254 * math/libm-test.inc (sin_test): Add test case.
32256 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32259 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32260 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32262 * elf/chroot_canon.c (chroot_canon): Cleanups.
32264 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32267 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32268 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32270 * string/test-strchr.c: Make usable for strchrnul testing.
32271 * string/test-strchrnul.c: New file.
32272 * string/Makefile (strop-tests): Add strchrnul.
32274 * po/it.po: Update from translation team.
32275 * po/es.po: Likewise.
32277 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32279 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32280 the three constants needed as parameters. Drop the others.
32281 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32282 __m128i_strloadu_tolower.
32283 Create and initialize variable zero and use it in all the places
32284 where _mm_setzero_si128 was used.
32286 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32287 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32288 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32289 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32291 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32292 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32293 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32294 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32295 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32296 __mpranred, __mptan.
32297 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32298 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32299 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32300 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32301 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32302 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32303 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32304 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32305 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32307 2011-10-28 Andreas Schwab <schwab@redhat.com>
32309 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32310 redefine if SHARED.
32311 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32313 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32314 wide char related routines to wcsmbs subdir.
32316 2011-10-27 Andreas Schwab <schwab@redhat.com>
32319 * misc/sys/cdefs.h (__THROWNL): Define.
32320 * posix/unistd.h: Use __THREADNL instead of __THREAD
32321 for memory synchronization functions.
32323 2011-10-26 Roland McGrath <roland@hack.frob.com>
32326 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32328 * manual/stdio.texi (Obstack Streams): Node removed.
32330 2011-10-26 Andreas Schwab <schwab@redhat.com>
32332 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32333 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32334 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32336 * math/math_private.h (math_force_eval): Allow non-addressable
32338 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32340 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32342 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32343 file is not needed.
32345 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32346 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32347 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32348 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32349 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32350 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32351 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32352 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32354 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32355 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32356 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32357 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32358 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32359 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32360 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32361 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32362 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32363 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32364 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32365 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32366 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32367 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32368 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32369 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32370 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32371 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32372 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32374 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32375 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32377 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32378 place. Use VEX encoding when compiling for AVX.
32380 2011-10-25 Andreas Schwab <schwab@redhat.com>
32382 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32383 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32385 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32387 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32389 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32390 useless if() expression.
32391 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32392 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32393 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32394 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32395 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32396 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32398 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32399 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32400 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32401 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32402 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32403 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32404 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32405 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32406 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32407 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32408 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32409 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32411 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32413 2011-10-25 Andreas Schwab <schwab@redhat.com>
32415 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32417 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32419 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32421 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32422 .text section. Avoid duplicate constants.
32423 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32425 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32427 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32430 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32431 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32432 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32433 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32434 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32435 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32436 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32437 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32438 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32439 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32440 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32441 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32442 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32443 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32444 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32445 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32446 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32447 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32448 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32449 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32450 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32451 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32452 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32453 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32454 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32455 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32456 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32457 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32458 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32459 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32460 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32461 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32462 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32463 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32464 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32465 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32466 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32467 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32469 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32471 * sysdeps/x86_64/dla.h: Move to ...
32472 * sysdeps/x86_64/fpu/dla.h: ...here.
32473 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32474 situations. Use __builtin_fma only for gcc 4.6 and up.
32476 * config.make.in: Add have-mfma4 entry.
32477 * configure.in: Substitute libc_cv_cc_fma4.
32478 * math/Makefile (dbl-only-routines): Add sincostab.
32479 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32480 Use __sincostab not sincos.
32481 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32483 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32484 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32485 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32488 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32489 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32490 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32491 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32493 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32494 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32496 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32497 define aliases when function name is a macro.
32498 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32499 sysdeps/ieee754/dbl-64/sincos.tbl.
32500 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32501 fma4-enabled routines.
32502 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32503 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32504 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32505 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32506 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32507 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32508 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32509 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32510 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32511 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32512 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32513 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32514 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32515 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32516 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32517 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32518 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32519 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32520 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32521 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32522 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32523 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32524 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32525 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32526 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32527 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32529 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32530 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32531 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32533 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32535 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32536 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32544 2011-10-24 Andreas Schwab <schwab@redhat.com>
32546 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32548 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32550 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32552 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32554 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32556 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32557 Remove unused variable magic_bits.
32558 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32560 * string/strnlen.c: Define and use STRNLEN macro.
32561 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32562 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32563 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32564 * wcsmbs/wcslen.c: Define and use WCSLEN.
32565 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32566 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32567 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32568 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32569 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32570 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32571 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32573 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32576 strnlen-sse2-no-bsf.
32577 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32578 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32579 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32580 Add strnlen support.
32581 (USE_AS_STRNLEN): New macro.
32582 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32583 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32584 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32585 * sysdeps/x86_64/wcslen.S: New file.
32587 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32589 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32590 XMM-moves are used for copying on small sizes.
32592 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32594 * wcsmbs/Makefile (strop-tests): Add wcschr.
32595 * wcsmbs/test-wcschr.c: New file.
32596 * string/test-strchr.c: Update.
32597 Add wcschr support.
32600 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32602 * wcsmbs/Makefile (strop-tests): Add wcslen.
32603 * wcsmbs/test-wcslen.c: New file.
32604 * string/test-strlen.c: Update.
32605 Add wcslen support.
32608 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32610 * po/it.po: Update from translation team.
32612 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32614 * sysdeps/x86_64/wcscmp.S: Update.
32615 Fix wrong comparison semantics.
32616 wcscmp shall use signed comparison not unsigned.
32617 Don't use substraction to avoid overflow bug.
32618 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32619 * wcsmbc/wcscmp.c: Likewise.
32620 * string/test-strcmp.c: Likewise.
32621 Add new tests to check cases with negative values.
32623 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32625 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32626 * sysdeps/x86_64/dla.h: ...here. New file.
32627 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32632 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32633 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32634 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32635 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32637 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32639 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32640 __ynl_finite aliases.
32642 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32646 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32648 [DLA_FMA] (EMULV): Use DLA_FMA.
32649 [DLA_FMA] (MUL12): Use EMULV.
32650 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32651 that are not needed.
32652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32657 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32658 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32660 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32662 * math/s_nan.c: Undef __nan.
32663 * math/s_nanf.c: Undef __nanf.
32664 * math/s_nanl.c: Undef __nanl.
32665 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32668 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32670 * math/s_catan.c: Add branch predictions.
32671 * math/s_catanf.c: Likewise.
32672 * math/s_catanh.c: Likewise.
32673 * math/s_catanhf.c: Likewise.
32674 * math/s_catanhl.c: Likewise.
32675 * math/s_catanl.c: Likewise.
32676 * math/s_cexp.c: Likewise.
32677 * math/s_cexpf.c: Likewise.
32678 * math/s_cexpl.c: Likewise.
32679 * math/s_clog.c: Likewise.
32680 * math/s_clog10.c: Likewise.
32681 * math/s_clog10f.c: Likewise.
32682 * math/s_clog10l.c: Likewise.
32683 * math/s_clogf.c: Likewise.
32684 * math/s_clogl.c: Likewise.
32685 * math/s_csqrt.c: Likewise.
32686 * math/s_csqrtf.c: Likewise.
32687 * math/s_csqrtl.c: Likewise.
32688 * math/s_ctanf.c: Likewise.
32689 * math/s_ctanh.c: Likewise.
32690 * math/s_ctanhf.c: Likewise.
32691 * math/s_ctanhl.c: Likewise.
32692 * math/s_ctanl.c: Likewise.
32694 * math/math_private.h: Define __nan, __nanf, __nanl.
32695 * math/s_cacosh.c: Include <math_private.h>.
32696 * math/s_cacoshl.c: Likewise.
32697 * math/s_casinh.c: Likewise.
32698 * math/s_casinhf.c: Likewise.
32699 * math/s_casinhl.c: Likewise.
32700 * math/s_ccos.c: Rely entire on ccosh.
32701 * math/s_ccosf.c: Rely entire on ccoshf.
32702 * math/s_ccosl.c: Rely entirely on ccoshl.
32703 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32704 Remove tests for FE_INVALID.
32705 * math/s_ccoshf.c: Likewise.
32706 * math/s_ccoshl.c: Likewise.
32707 * math/s_csin.c: Likewise.
32708 * math/s_csinf.c: Likewise.
32709 * math/s_csinh.c Likewise.
32710 * math/s_csinhf.c: Likewise.
32711 * math/s_csinhl.c: Likewise.
32712 * math/s_csinl.c: Likewise.
32713 * math/s_ctan.c: Likewise.
32714 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32715 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32716 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32718 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32721 compilation problems.
32723 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32726 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32728 * sysdeps/i386/configure.in: Test for -mfma4 option.
32729 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32730 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32731 COMMON_CPUID_INDEX_80000001.
32732 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32733 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32734 use it if FMA3 is not supported.
32735 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32737 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32738 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32740 2011-10-20 Andreas Schwab <schwab@redhat.com>
32743 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32744 it would create a cycle with a link time dependency.
32746 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32748 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32750 * string/Makefile (strop-tests): Add rawmemchr.
32751 * string/test-rawmemchr.c: New file.
32753 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32755 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32756 when compiling str{,n}casecmp and when AVX is available. Hook up
32757 new optimized code in initializers.
32759 2011-10-19 Andreas Schwab <schwab@redhat.com>
32761 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32762 __feraiseexcept instead of feraiseexcept.
32764 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32766 * math/math_private.h: Define defaults for libc_fetestexcept and
32768 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32769 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32770 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32771 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32772 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32773 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32774 libc_fetestexcept and libc_feupdateenv.
32776 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32777 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32778 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32779 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32780 libc_feholdexcept_setround.
32782 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32783 Add s_nearbyint-c and s_nearbyintf-c.
32784 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32785 nearbyintf inlines.
32786 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32787 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32788 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32789 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32791 * math/math_private.h: Define defaults for libc_fegetround,
32792 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32793 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32794 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32795 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32796 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32797 standard functions.
32798 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32799 Remove comments and hacks for old compiler versions.
32800 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32801 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32802 libc_feholdexceptl.
32804 2011-10-18 Andreas Schwab <schwab@redhat.com>
32806 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32807 (__feraiseexcept_renamed): Add __NTH.
32808 (feraiseexcept): Add __NTH. Rename local variables to fix
32809 namespace violations.
32811 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32813 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32815 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32817 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32818 recently added interfaces.
32819 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32821 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32822 about macro parameter expansion.
32824 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32825 __NO_MATH_INLINES is defined. Cleanups.
32827 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32828 and __floorf is target has SSE4.1.
32829 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32830 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32831 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32832 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32834 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32836 (floorf): Likewise.
32838 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32840 2011-10-17 Andreas Schwab <schwab@redhat.com>
32842 * misc/sys/cdefs.h: Fix last change.
32844 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32847 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32849 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32851 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32852 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32853 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32854 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32855 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32856 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32857 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32858 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32859 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32860 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32861 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32862 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32863 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32864 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32865 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32866 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32867 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32868 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32869 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32870 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32871 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32872 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32874 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32875 ceil, ceilf, floor, floorf.
32877 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32878 Perform IRELATIVE relocations last.
32880 * elf/do-rel.h: Add another parameter nrelative, replacing the
32881 local variable with the same name. Change name of the function
32882 to end in Rel or Rela (uppercase).
32883 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32884 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32885 elf_dynamic_do_##reloc function.
32887 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32889 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32890 is sufficient, at least on modern CPUs.
32892 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32894 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32895 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32897 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32899 * math/bits/math-finite.h: Add entries for exp.
32900 * math/e_expl.c: Add __*_finite alias.
32901 * sysdeps/i386/fpu/e_exp.S: Likewise.
32902 * sysdeps/i386/fpu/e_expf.S: Likewise.
32903 * sysdeps/i386/fpu/e_expl.c: Likewise.
32904 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32905 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32906 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32907 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32909 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32910 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32912 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32913 is sufficient, at least on modern CPUs.
32915 * ctype/ctype-info.c (__ctype_init): Define.
32916 * include/ctype.h (__ctype_init): Declare.
32917 (__ctype_b_loc): The variable is always initialized.
32918 (__ctype_toupper_loc): Likewise.
32919 (__ctype_tolower_loc): Likewise.
32920 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32921 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32923 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32925 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32927 * configure.in: Also look in $cxxmachine/include for C++ system
32930 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32932 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32933 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32934 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32935 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32936 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32937 (USE_AS_WMEMCMP): New macro.
32939 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32940 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32941 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32942 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32944 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32945 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32946 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32947 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32948 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32949 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32950 (USE_AS_WMEMCMP): New macro.
32951 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32952 * sysdeps/string/test-memcmp.c: Update.
32953 Fix simple_wmemcmp.
32955 * wcsmbs/wmemcmp.c: Update.
32956 (WMEMCMP): New macro.
32959 2011-10-12 Andreas Jaeger <aj@suse.de>
32962 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32964 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32966 * libio/iofwide.c (do_length): Avoid warning.
32968 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32970 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32972 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32974 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32975 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32976 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32977 * sysdeps/i386/i686/fpu/e_log.S: New file.
32978 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32979 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32981 * ctype/ctype.h: Add support for inlined isXXX functions when
32982 compiling C++ code.
32984 2011-10-14 Andreas Schwab <schwab@redhat.com>
32986 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32988 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32990 2011-10-13 Roland McGrath <roland@hack.frob.com>
32993 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32995 2011-10-13 Andreas Schwab <schwab@redhat.com>
32997 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32998 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33001 * sysdeps/x86_64/memrchr.S: Check for zero size.
33003 * string/stratcliff.c: Add memrchr tests.
33005 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33008 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33009 rawmemchr-sse2 rawmemchr-sse2-bsf.
33010 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33011 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33012 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33013 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33014 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33015 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33016 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33017 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33018 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33019 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33020 * string/memrchr.c (MEMRCHR): New macro.
33022 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33024 Add integration with gcc's -ffinite-math-only and optimize wrapper
33026 * Versions.def: Define GLIBC_2.15 version for libm.
33027 * math/Makefile (headers): Add bits/math-finite.h.
33028 * math/bits/math-finite.h: New file.
33029 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33030 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33031 * math/e_acoshl.c: Add __*_finite alias.
33032 * math/e_acosl.c: Likewise.
33033 * math/e_asinl.c: Likewise.
33034 * math/e_atan2l.c: Likewise.
33035 * math/e_atanhl.c: Likewise.
33036 * math/e_coshl.c: Likewise.
33037 * math/e_exp10.c: Likewise.
33038 * math/e_exp10f.c: Likewise.
33039 * math/e_exp10l.c: Likewise.
33040 * math/e_exp2l.c: Likewise.
33041 * math/e_fmodl.c: Likewise.
33042 * math/e_gammal_r.c: Likewise.
33043 * math/e_hypotl.c: Likewise.
33044 * math/e_j0l.c: Likewise.
33045 * math/e_j1l.c: Likewise.
33046 * math/e_jnl.c: Likewise.
33047 * math/e_lgammal_r.c: Likewise.
33048 * math/e_log10l.c: Likewise.
33049 * math/e_log2l.c: Likewise.
33050 * math/e_logl.c: Likewise.
33051 * math/e_powl.c: Likewise.
33052 * math/e_sinhl.c: Likewise.
33053 * math/e_sqrtl.c: Likewise.
33054 * math/e_scalb.c: Completely rewritten and optimized.
33055 * math/e_scalbf.c: Likewise.
33056 * math/e_scalbl.c: Likewise.
33057 * math/w_acos.c: Likewise.
33058 * math/w_acosf.c: Likewise.
33059 * math/w_acosl.c: Likewise.
33060 * math/w_acosh.c: Likewise.
33061 * math/w_acoshf.c: Likewise.
33062 * math/w_acoshl.c: Likewise.
33063 * math/w_asin.c: Likewise.
33064 * math/w_asinf.c: Likewise.
33065 * math/w_asinl.c: Likewise.
33066 * math/w_atan2.c: Likewise.
33067 * math/w_atan2f.c: Likewise.
33068 * math/w_atan2l.c: Likewise.
33069 * math/w_atanh.c: Likewise.
33070 * math/w_atanhf.c: Likewise.
33071 * math/w_atanhl.c: Likewise.
33072 * math/w_exp10.c: Likewise.
33073 * math/w_exp10f.c: Likewise.
33074 * math/w_exp10l.c: Likewise.
33075 * math/w_fmod.c: Likewise.
33076 * math/w_fmodf.c: Likewise.
33077 * math/w_fmodl.c: Likewise.
33078 * math/w_j0.c: Likewise.
33079 * math/w_j0f.c: Likewise.
33080 * math/w_j0l.c: Likewise.
33081 * math/w_j1.c: Likewise.
33082 * math/w_j1f.c: Likewise.
33083 * math/w_j1l.c: Likewise.
33084 * math/w_jn.c: Likewise.
33085 * math/w_jnf.c: Likewise.
33086 * math/w_log.c: Likewise.
33087 * math/w_logf.c: Likewise.
33088 * math/w_logl.c: Likewise.
33089 * math/w_log10.c: Likewise.
33090 * math/w_log10f.c: Likewise.
33091 * math/w_log10l.c: Likewise.
33092 * math/w_log2.c: Likewise.
33093 * math/w_log2f.c: Likewise.
33094 * math/w_log2l.c: Likewise.
33095 * math/w_pow.c: Likewise.
33096 * math/w_powf.c: Likewise.
33097 * math/w_powl.c: Likewise.
33098 * math/w_remainder.c: Likewise.
33099 * math/w_remainderf.c: Likewise.
33100 * math/w_remainderl.c: Likewise.
33101 * math/w_scalb.c: Likewise.
33102 * math/w_scalbf.c: Likewise.
33103 * math/w_scalbl.c: Likewise.
33104 * math/w_sqrt.c: Likewise.
33105 * math/w_sqrtf.c: Likewise.
33106 * math/w_sqrtl.c: Likewise.
33107 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33108 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33110 * math/math_private.h: Declare __kernel_standard_f.
33111 * math/w_cosh.c: Remove cruft and optimize a bit.
33112 * math/w_coshf.c: Likewise.
33113 * math/w_coshl.c: Likewise.
33114 * math/w_exp2.c: Likewise.
33115 * math/w_exp2f.c: Likewise.
33116 * math/w_exp2l.c: Likewise.
33117 * math/w_hypot.c: Likewise.
33118 * math/w_hypotf.c: Likewise.
33119 * math/w_hypotl.c: Likewise.
33120 * math/w_lgamma.c: Likewise.
33121 * math/w_lgamma_r.c: Likewise.
33122 * math/w_lgammaf.c: Likewise.
33123 * math/w_lgammaf_r.c: Likewise.
33124 * math/w_lgammal.c: Likewise.
33125 * math/w_lgammal_r.c: Likewise.
33126 * math/w_sinh.c: Likewise.
33127 * math/w_sinhf.c: Likewise.
33128 * math/w_sinhl.c: Likewise.
33129 * math/w_tgamma.c: Likewise.
33130 * math/w_tgammaf.c: Likewise.
33131 * math/w_tgammal.c: Likewise.
33132 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33133 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33134 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33135 Minor optimizations. Pretty printing. Remove cruft.
33136 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33137 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33138 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33139 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33140 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33141 * sysdeps/i386/fpu/e_asin.S: Likewise.
33142 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33143 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33144 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33145 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33146 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33147 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33148 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33149 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33150 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33151 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33152 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33153 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33154 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33155 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33156 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33157 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33158 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33159 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33160 * sysdeps/i386/fpu/e_log.S: Likewise.
33161 * sysdeps/i386/fpu/e_log10.S: Likewise.
33162 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33163 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33164 * sysdeps/i386/fpu/e_log2.S: Likewise.
33165 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33166 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33167 * sysdeps/i386/fpu/e_logf.S: Likewise.
33168 * sysdeps/i386/fpu/e_logl.S: Likewise.
33169 * sysdeps/i386/fpu/e_pow.S: Likewise.
33170 * sysdeps/i386/fpu/e_powf.S: Likewise.
33171 * sysdeps/i386/fpu/e_powl.S: Likewise.
33172 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33173 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33174 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33175 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33176 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33177 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33178 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33179 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33180 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33181 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33182 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33184 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33185 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33186 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33187 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33188 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33189 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33190 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33191 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33192 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33195 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33197 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33198 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33199 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33201 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33202 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33203 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33204 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33205 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33206 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33207 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33208 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33209 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33210 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33211 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33212 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33213 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33214 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33215 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33216 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33217 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33218 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33219 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33220 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33221 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33222 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33231 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33233 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33234 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33236 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33237 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33238 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33246 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33250 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33252 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33253 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33255 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33257 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33258 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33260 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33261 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33262 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33263 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33264 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33265 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33266 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33267 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33268 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33269 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33270 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33271 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33272 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33273 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33274 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33275 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33276 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33277 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33278 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33279 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33280 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33281 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33282 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33283 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33284 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33285 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33286 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33287 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33288 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33289 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33290 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33291 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33292 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33293 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33294 (__isnanf): Likewise.
33295 (__isinf_ns): Likewise.
33296 (__isinf_nsf): Likewise.
33297 (__finite): Likewise.
33298 (__finitef): Likewise.
33299 (__ieee754_sqrt): Define as macro.
33300 (__ieee754_sqrtf): Define as macro.
33301 (__ieee754_sqrtl): Define as macro.
33302 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33304 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33305 __FINITE_MATH_ONLY__ consistent.
33306 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33308 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33310 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33313 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33315 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33317 * po/ja.po: Update from translation team.
33319 2011-10-08 Roland McGrath <roland@hack.frob.com>
33321 * locale/programs/locarchive.c (prepare_address_space): New function.
33322 (create_archive, enlarge_archive, open_archive): Use it.
33324 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33325 inside [SHARED], where it is used.
33327 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33329 * nss/getent.c (netgroup_keys): Remove unused variable.
33330 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33332 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33334 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33335 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33336 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33337 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33338 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33339 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33340 * math/Makefile (libm-calls): Add s_isinf_ns.
33341 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33342 * math/multc3.c: Likewise.
33343 * math/s_casin.c: Likewise.
33344 * math/s_casinf.c: Likewise.
33345 * math/s_casinl.c: Likewise.
33346 * math/s_ccos.c: Likewise.
33347 * math/s_ccosf.c: Likewise.
33348 * math/s_ccosl.c: Likewise.
33349 * math/s_ctan.c: Likewise.
33350 * math/s_ctanf.c: Likewise.
33351 * math/s_ctanh.c: Likewise.
33352 * math/s_ctanhf.c: Likewise.
33353 * math/s_ctanhl.c: Likewise.
33354 * math/s_ctanl.c: Likewise.
33355 * math/w_fmod.c: Likewise.
33356 * math/w_fmodf.c: Likewise.
33357 * math/w_fmodl.c: Likewise.
33358 * math/w_remainder.c: Likewise.
33359 * math/w_remainderf.c: Likewise.
33360 * math/w_remainderl.c: Likewise.
33361 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33362 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33363 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33364 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33365 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33366 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33367 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33368 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33370 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33372 * stdio-common/printf_fphex.c: Likewise.
33373 * stdio-common/printf_size.c: Likewise.
33375 * math/e_exp10.c: Include math_private.h using <...> not "...".
33376 * math/e_exp10f.c: Likewise.
33377 * math/e_exp10l.c: Likewise.
33378 * math/e_exp2l.c: Likewise.
33379 * math/e_j0l.c: Likewise.
33380 * math/e_j1l.c: Likewise.
33381 * math/e_jnl.c: Likewise.
33382 * math/e_lgammal_r.c: Likewise.
33383 * math/e_rem_pio2l.c: Likewise.
33384 * math/e_scalb.c: Likewise.
33385 * math/e_scalbf.c: Likewise.
33386 * math/e_scalbl.c: Likewise.
33387 * math/k_cosl.c: Likewise.
33388 * math/k_sinl.c: Likewise.
33389 * math/k_tanl.c: Likewise.
33390 * math/s_cacoshf.c: Likewise.
33391 * math/s_catan.c: Likewise.
33392 * math/s_catanf.c: Likewise.
33393 * math/s_catanh.c: Likewise.
33394 * math/s_catanhf.c: Likewise.
33395 * math/s_catanhl.c: Likewise.
33396 * math/s_catanl.c: Likewise.
33397 * math/s_ccosh.c: Likewise.
33398 * math/s_ccoshf.c: Likewise.
33399 * math/s_ccoshl.c: Likewise.
33400 * math/s_cexp.c: Likewise.
33401 * math/s_cexpf.c: Likewise.
33402 * math/s_cexpl.c: Likewise.
33403 * math/s_clog.c: Likewise.
33404 * math/s_clog10.c: Likewise.
33405 * math/s_clog10f.c: Likewise.
33406 * math/s_clog10l.c: Likewise.
33407 * math/s_clogf.c: Likewise.
33408 * math/s_clogl.c: Likewise.
33409 * math/s_csin.c: Likewise.
33410 * math/s_csinf.c: Likewise.
33411 * math/s_csinh.c: Likewise.
33412 * math/s_csinhf.c: Likewise.
33413 * math/s_csinhl.c: Likewise.
33414 * math/s_csinl.c: Likewise.
33415 * math/s_csqrt.c: Likewise.
33416 * math/s_csqrtf.c: Likewise.
33417 * math/s_csqrtl.c: Likewise.
33418 * math/s_ctan.c: Likewise.
33419 * math/s_ctanf.c: Likewise.
33420 * math/s_ctanh.c: Likewise.
33421 * math/s_ctanhf.c: Likewise.
33422 * math/s_ctanhl.c: Likewise.
33423 * math/s_ctanl.c: Likewise.
33424 * math/s_ldexp.c: Likewise.
33425 * math/s_ldexpf.c: Likewise.
33426 * math/s_ldexpl.c: Likewise.
33427 * math/s_significand.c: Likewise.
33428 * math/s_significandf.c: Likewise.
33429 * math/s_significandl.c: Likewise.
33430 * math/w_acos.c: Likewise.
33431 * math/w_acosf.c: Likewise.
33432 * math/w_acosh.c: Likewise.
33433 * math/w_acoshf.c: Likewise.
33434 * math/w_acoshl.c: Likewise.
33435 * math/w_acosl.c: Likewise.
33436 * math/w_asin.c: Likewise.
33437 * math/w_asinf.c: Likewise.
33438 * math/w_asinl.c: Likewise.
33439 * math/w_atan2.c: Likewise.
33440 * math/w_atan2f.c: Likewise.
33441 * math/w_atan2l.c: Likewise.
33442 * math/w_atanh.c: Likewise.
33443 * math/w_atanhf.c: Likewise.
33444 * math/w_atanhl.c: Likewise.
33445 * math/w_cosh.c: Likewise.
33446 * math/w_coshf.c: Likewise.
33447 * math/w_coshl.c: Likewise.
33448 * math/w_dremf.c: Likewise.
33449 * math/w_exp10.c: Likewise.
33450 * math/w_exp10f.c: Likewise.
33451 * math/w_exp10l.c: Likewise.
33452 * math/w_exp2.c: Likewise.
33453 * math/w_exp2f.c: Likewise.
33454 * math/w_fmod.c: Likewise.
33455 * math/w_fmodf.c: Likewise.
33456 * math/w_fmodl.c: Likewise.
33457 * math/w_hypot.c: Likewise.
33458 * math/w_hypotf.c: Likewise.
33459 * math/w_hypotl.c: Likewise.
33460 * math/w_j0.c: Likewise.
33461 * math/w_j0f.c: Likewise.
33462 * math/w_j0l.c: Likewise.
33463 * math/w_j1.c: Likewise.
33464 * math/w_j1f.c: Likewise.
33465 * math/w_j1l.c: Likewise.
33466 * math/w_jn.c: Likewise.
33467 * math/w_jnf.c: Likewise.
33468 * math/w_jnl.c: Likewise.
33469 * math/w_lgamma.c: Likewise.
33470 * math/w_lgamma_r.c: Likewise.
33471 * math/w_lgammaf.c: Likewise.
33472 * math/w_lgammaf_r.c: Likewise.
33473 * math/w_lgammal.c: Likewise.
33474 * math/w_lgammal_r.c: Likewise.
33475 * math/w_log.c: Likewise.
33476 * math/w_log10.c: Likewise.
33477 * math/w_log10f.c: Likewise.
33478 * math/w_log10l.c: Likewise.
33479 * math/w_log2.c: Likewise.
33480 * math/w_log2f.c: Likewise.
33481 * math/w_log2l.c: Likewise.
33482 * math/w_logf.c: Likewise.
33483 * math/w_logl.c: Likewise.
33484 * math/w_pow.c: Likewise.
33485 * math/w_powf.c: Likewise.
33486 * math/w_powl.c: Likewise.
33487 * math/w_remainder.c: Likewise.
33488 * math/w_remainderf.c: Likewise.
33489 * math/w_remainderl.c: Likewise.
33490 * math/w_scalb.c: Likewise.
33491 * math/w_scalbf.c: Likewise.
33492 * math/w_scalbl.c: Likewise.
33493 * math/w_sinh.c: Likewise.
33494 * math/w_sinhf.c: Likewise.
33495 * math/w_sinhl.c: Likewise.
33496 * math/w_sqrt.c: Likewise.
33497 * math/w_sqrtf.c: Likewise.
33498 * math/w_sqrtl.c: Likewise.
33499 * math/w_tgamma.c: Likewise.
33500 * math/w_tgammaf.c: Likewise.
33501 * math/w_tgammal.c: Likewise.
33503 * po/ja.po: Update from translation team.
33505 2011-09-29 Andreas Jaeger <aj@suse.de>
33508 * sunrpc/netname.c (netname2host): Fix logic.
33512 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33514 * math/w_remainder.c (__remainder): Likewise.
33515 * math/w_remainderf.c (__remainderf): Likewise.
33516 * math/libm-test.inc (remainder_test): Add test cases.
33518 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33520 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33523 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33525 * string/test-memcmp.c: Avoid unncessary #defines.
33526 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33528 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33530 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33531 Use new sse2 version for core i3 - i7 as it's faster
33532 than sse42 version.
33533 (bit_Prefer_PMINUB_for_stringop): New.
33534 * sysdeps/x86_64/rawmemchr.S: Update.
33535 Replace with faster SSE2 version.
33536 * sysdeps/x86_64/memrchr.S: New file.
33537 * sysdeps/x86_64/memchr.S: Update.
33538 Replace with faster SSE2 version.
33540 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33542 * elf/dl-load.c (lose): Add cast to avoid warning.
33544 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33546 * po/ca.po: Update from translation team.
33548 * inet/getnetgrent_r.c: Hook up nscd.
33549 * nscd/Makefile (routines): Add nscd_netgroup.
33550 (nscd-modules): Add netgroupcache.
33551 (CFLAGS-netgroupcache.c): Define.
33552 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33553 (cache_search): Add const to second parameter.
33554 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33556 (dbs): Add netgrdb entry.
33557 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33558 (verify_persistent_db): Handle netgrdb.
33559 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33560 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33562 (netgroup_response_header): Define.
33563 (innetgroup_response_header): Define.
33564 (datahead): Add netgroup_response_header and innetgroup_response_header
33566 * nscd/nscd.conf: Add entries for netgroup cache.
33567 * nscd/nscd.h (dbtype): Add netgrdb.
33568 (_PATH_NSCD_NETGROUP_DB): Define.
33569 (netgroup_iov_disabled): Declare.
33570 (xmalloc, xcalloc, xrealloc): Move declarations here.
33571 (cache_search): Adjust prototype.
33572 Add netgroup-related prototypes.
33573 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33574 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33575 (__nscd_innetgr): Declare.
33576 * nscd/selinux.c (perms): Use access_vector_t as element type and
33577 add netgroup-related initializers.
33578 * nscd/netgroupcache.c: New file.
33579 * nscd/nscd_netgroup.c: New file.
33580 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33581 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33582 For four parameters use innetgr.
33583 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33584 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33585 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33586 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33588 * nscd/connections.c (register_traced_file): Don't register file
33589 for disabled databases.
33591 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33593 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33595 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33596 from tree and freeing node.
33598 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33600 * nss/nsswitch.c (__nss_database_lookup): Handle
33601 nss_parse_service_list out of memory case.
33603 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33605 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33606 out of memory case.
33608 2011-10-04 Andreas Schwab <schwab@redhat.com>
33610 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33611 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33613 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33614 elf_machine_rela, elf_machine_lazy_rel.
33615 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33616 (ELF_DYNAMIC_DO_REL): Likewise.
33617 (ELF_DYNAMIC_DO_RELA): Likewise.
33618 (ELF_DYNAMIC_RELOCATE): Likewise.
33619 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33620 to ELF_DYNAMIC_DO_REL.
33621 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33622 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33623 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33625 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33626 skip_ifunc, don't call ifunc function if non-zero.
33627 (elf_machine_rela): Likewise.
33628 (elf_machine_lazy_rel): Likewise.
33629 (elf_machine_lazy_rela): Likewise.
33630 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33631 (elf_machine_lazy_rel): Likewise.
33632 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33634 (elf_machine_lazy_rel): Likewise.
33635 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33637 (elf_machine_lazy_rel): Likewise.
33638 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33639 (elf_machine_lazy_rel): Likewise.
33640 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33641 (elf_machine_lazy_rel): Likewise.
33642 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33643 (elf_machine_lazy_rel): Likewise.
33644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33645 (elf_machine_lazy_rel): Likewise.
33646 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33647 (elf_machine_lazy_rel): Likewise.
33648 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33649 (elf_machine_lazy_rel): Likewise.
33651 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33653 * nss/nss_files/files-init.c (_nss_files_init): Use static
33654 initialization for all the *_traced_file variables.
33656 2011-09-28 Andreas Schwab <schwab@redhat.com>
33658 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33660 2011-09-27 Roland McGrath <roland@hack.frob.com>
33663 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33665 2011-09-27 Andreas Schwab <schwab@redhat.com>
33667 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33668 Reread the line before reparsing it.
33670 2011-09-26 Andreas Schwab <schwab@redhat.com>
33672 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33674 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33675 Maxim Kuvyrkov <maxim@codesourcery.com>
33676 Joseph Myers <joseph@codesourcery.com>
33678 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33679 if needed for __stack_chk_guard.
33681 2011-09-19 Roland McGrath <roland@hack.frob.com>
33683 * sysdeps/posix/spawni.c (script_execute): Always define it.
33684 It will be optimized away if unused.
33685 (maybe_script_execute): New function.
33686 (__spawni): Call it.
33688 * Makerules: Don't include tls.make.
33689 (config-tls): Always set to thread.
33690 * tls.make.c: File removed.
33692 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33694 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33695 * config.make.in (CPPFLAGS-config): New substituted variable.
33697 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33699 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33702 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33703 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33705 2011-09-15 Roland McGrath <roland@hack.frob.com>
33707 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33708 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33709 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33710 (CALL_FAIL): Likewise.
33711 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33712 (CALL_FAIL): Macro removed.
33713 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33715 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33717 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33718 for __FINITE_MATH_ONLY__ == 1.
33720 2011-09-15 Andreas Schwab <schwab@redhat.com>
33722 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33723 __ieee754_sqrt instead of sqrt.
33724 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33725 __ieee754_sqrtf instead of sqrtf.
33726 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33727 __floorf instead of floorf.
33728 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33729 __floorf, __truncf instead of floorf, truncf.
33731 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33733 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33735 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33736 __extern_always_inline.
33737 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33740 2011-09-14 Andreas Schwab <schwab@redhat.com>
33742 * elf/rtld.c (dl_main): Also relocate in dependency order when
33743 doing symbol dependency testing.
33745 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33748 Always define `refsym'.
33750 2011-09-13 Andreas Schwab <schwab@redhat.com>
33752 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33753 (__FD_ELT): Renamed from __FDELT.
33754 * misc/bits/select2.h (__FD_ELT): Likewise.
33755 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33756 __FD_MASK instead of __FDELT, __FDMASK.
33757 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33759 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33762 * elf/Makefile (gen-ldd): Fix pattern.
33764 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33765 (init_tls): Likewise.
33767 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33769 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33771 2011-09-12 Andreas Schwab <schwab@redhat.com>
33773 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33774 `struct cmsghdr *' instead of `void *'.
33775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33778 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33780 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33782 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33783 ldd_rewrite_script.
33785 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33787 * configure.in: Remove --with-tls option.
33788 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33789 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33790 out in case it is missing.
33791 * sysdeps/ia64/elf/configure.in: Likewise.
33792 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33793 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33794 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33795 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33796 * sysdeps/sh/elf/configure.in: Likewise.
33797 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33798 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33799 * sysdeps/x86_64/elf/configure.in: Likewise.
33800 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33801 * sysdeps/mach/hurd/tls.h: Likewise.
33804 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33807 * configure.in: Fix use of AC_INIT.
33809 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33811 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33813 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33815 * malloc/hooks.c: Likewise.
33818 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33819 variables statically.
33820 (narenas): Initialize.
33821 (list_lock): Initialize.
33822 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33823 initializtion of main_arena and list_lock. Small cleanups.
33824 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33825 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33826 Add initializers to main_arena and mp_.
33827 (malloc_state): Remove pagesize member. Change all users to use
33830 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33831 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33832 is always initialized.
33834 * malloc/malloc.c: Removed unused configurations and dead code.
33835 * malloc/arena.c: Likewise.
33836 * malloc/hooks.c: Likewise.
33837 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33839 * include/tls.h: Removed. USE___THREAD must always be defined.
33840 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33841 * elf/dl-libc.c: Likewise.
33842 * elf/dl-tsd.c: Likewise.
33843 * include/errno.h: Likewise.
33844 * include/netdb.h: Likewise.
33845 * include/resolv.h: Likewise.
33846 * inet/herrno-loc.c: Likewise.
33847 * inet/herrno.c: Likewise.
33848 * malloc/arena.c: Likewise.
33849 * malloc/hooks.c: Likewise.
33850 * malloc/malloc.c: Likewise.
33851 * resolv/res-state.c: Likewise.
33852 * resolv/res_libc.c: Likewise.
33853 * sysdeps/i386/dl-machine.h: Likewise.
33854 * sysdeps/ia64/dl-machine.h: Likewise.
33855 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33856 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33857 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33858 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33859 * sysdeps/sh/dl-machine.h: Likewise.
33860 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33861 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33862 * sysdeps/unix/i386/sysdep.S: Likewise.
33863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33864 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33865 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33866 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33868 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33869 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33873 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33874 * sysdeps/x86_64/dl-machine.h: Likewise.
33875 * tls.make.c: Likewise.
33877 * configure.in: Remove --with-__thread option. Make tests for
33878 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33879 tls_model attribute fail if no support is available. Remove
33881 * Makeconfig: Adjust for dropped configure option. All features are
33883 * Makerules: Likewise.
33884 * Versions.def: Likewise.
33885 * argp/argp-fmtstream.c: Likewise.
33886 * argp/argp-fmtstream.h: Likewise.
33887 * argp/argp-help.c: Likewise.
33888 * assert/assert.c: Likewise.
33889 * config.h.in: Likewise.
33890 * config.make.in: Likewise.
33891 * configure: Likewise.
33892 * configure.in: Likewise.
33893 * csu/Versions: Likewise.
33894 * csu/init.c: Likewise.
33895 * elf/tst-audit2.c: Likewise.
33896 * elf/tst-tls10.c: Likewise.
33897 * elf/tst-tls10.h: Likewise.
33898 * elf/tst-tls11.c: Likewise.
33899 * elf/tst-tls12.c: Likewise.
33900 * elf/tst-tls14.c: Likewise.
33901 * elf/tst-tlsmod11.c: Likewise.
33902 * elf/tst-tlsmod12.c: Likewise.
33903 * elf/tst-tlsmod13.c: Likewise.
33904 * elf/tst-tlsmod13a.c: Likewise.
33905 * elf/tst-tlsmod14a.c: Likewise.
33906 * elf/tst-tlsmod15b.c: Likewise.
33907 * elf/tst-tlsmod16a.c: Likewise.
33908 * elf/tst-tlsmod16b.c: Likewise.
33909 * elf/tst-tlsmod7.c: Likewise.
33910 * elf/tst-tlsmod8.c: Likewise.
33911 * elf/tst-tlsmod9.c: Likewise.
33912 * gmon/gmon.c: Likewise.
33913 * grp/fgetgrent_r.c: Likewise.
33914 * grp/putgrent.c: Likewise.
33915 * hurd/fopenport.c: Likewise.
33916 * include/libc-symbols.h: Likewise.
33917 * include/tls.h: Likewise.
33918 * intl/gettextP.h: Likewise.
33919 * intl/loadinfo.h: Likewise.
33920 * locale/global-locale.c: Likewise.
33921 * locale/localeinfo.h: Likewise.
33922 * mach/devstream.c: Likewise.
33923 * malloc/arena.c: Likewise.
33924 * malloc/set-freeres.c: Likewise.
33925 * misc/err.c: Likewise.
33926 * misc/getttyent.c: Likewise.
33927 * misc/mntent_r.c: Likewise.
33928 * posix/getopt.c: Likewise.
33929 * posix/wordexp.c: Likewise.
33930 * pwd/fgetpwent_r.c: Likewise.
33931 * resolv/Versions: Likewise.
33932 * resolv/res_hconf.c: Likewise.
33933 * shadow/fgetspent_r.c: Likewise.
33934 * shadow/putspent.c: Likewise.
33935 * stdio-common/printf_fphex.c: Likewise.
33936 * stdio-common/tmpfile.c: Likewise.
33937 * stdlib/abort.c: Likewise.
33938 * stdlib/fmtmsg.c: Likewise.
33939 * sunrpc/auth_unix.c: Likewise.
33940 * sunrpc/clnt_perr.c: Likewise.
33941 * sunrpc/clnt_tcp.c: Likewise.
33942 * sunrpc/clnt_udp.c: Likewise.
33943 * sunrpc/clnt_unix.c: Likewise.
33944 * sunrpc/openchild.c: Likewise.
33945 * sunrpc/svc_simple.c: Likewise.
33946 * sunrpc/svc_tcp.c: Likewise.
33947 * sunrpc/svc_udp.c: Likewise.
33948 * sunrpc/svc_unix.c: Likewise.
33949 * sunrpc/xdr.c: Likewise.
33950 * sunrpc/xdr_array.c: Likewise.
33951 * sunrpc/xdr_rec.c: Likewise.
33952 * sunrpc/xdr_ref.c: Likewise.
33953 * sunrpc/xdr_stdio.c: Likewise.
33955 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33957 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33959 2011-07-03 Andreas Jaeger <aj@suse.de>
33961 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33962 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33963 regenerate with gen-libm-tests.pl.
33965 2010-05-12 Petr Baudis <pasky@suse.cz>
33968 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33969 around j0() zero points by switching to j1().
33970 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33975 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33977 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33979 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33982 Patch in part by Pavel Roskin <proski@gnu.org>.
33985 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33987 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33988 Free memory block if necessary.
33991 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33992 be NULL. Don't lock in this case.
33994 2011-09-09 Roland McGrath <roland@hack.frob.com>
33996 * elf/elf.h (ELFOSABI_GNU): New macro.
33997 (ELFOSABI_LINUX): Define to that.
33999 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34001 * string/strncat.c (strncat): Undef the symbol in case it has been
34002 defined in bits/string.h.
34004 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34006 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34008 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34011 2011-08-17 Andreas Jaeger <aj@suse.de>
34013 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34015 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34016 Ian Lance Taylor <iant@google.com>
34018 * math/libm-test.inc (lround_test): New testcase.
34019 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34021 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34023 * Makefile: Remove support for automatic cvs check-ins.
34024 * Makerules: Likewise.
34025 * config.make.in: Likewise.
34026 * configure.in: Likewise.
34027 * intl/Makefile: Likewise.
34028 * locale/Makefile: Likewise.
34029 * po/Makefile: Likewise.
34030 * posix/Makefile: Likewise.
34031 * sysdeps/gnu/Makefile: Likewise.
34032 * sysdeps/mach/hurd/Makefile: Likewise.
34033 * sysdeps/sparc/sparc32/Makefile: Likewise.
34036 * posix/Makefile (bug-regex32-ENV): Define.
34037 Patch by John Stanley <jpsinthemix@verizon.net>.
34039 * misc/Makefile (headers): Add bits/select2.h.
34040 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34041 * misc/bits/select2.h: New file.
34042 * include/bits/select2.h: New file.
34043 * debug/Makefile (routines): Add fdelt_chk.
34044 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34045 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34047 * debug/fdelt_chk.c: New file.
34049 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34050 * wcsmbs/test-wmemcmp.c: Likewise.
34051 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34052 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34054 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34056 * string/Makefile (strop-tests): Add memcmp.
34057 * string/test-wmemcmp.c: New file.
34058 * string/test-memcmp.c: Add wmemcmp support.
34060 2011-09-08 Roland McGrath <roland@hack.frob.com>
34063 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34066 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34067 garbage value in a __mach_port_mod_refs call in the cases of the
34068 task-self and thread-self ports.
34070 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34072 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34074 2011-09-08 Andreas Schwab <schwab@redhat.com>
34076 * elf/dl-load.c (lose): Check for non-null L.
34078 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34080 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34082 * elf/dl-libc.c (dlerror_run): Pass back error code from
34086 * elf/dl-load.c (lose): Free l_origin if it is valid.
34088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34090 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34091 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34092 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34093 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34094 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34095 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34097 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34099 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34100 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34101 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34102 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34103 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34104 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34105 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34106 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34107 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34108 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34110 2011-08-15 Alan Modra <amodra@gmail.com>
34113 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34114 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34115 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34116 ppc_mcount to static-only-routines.
34117 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34119 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34120 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34122 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34124 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34125 for finite and infinity parameters.
34127 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34129 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34130 and add nop instructions for throughput optimization.
34131 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34133 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34135 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34136 aligned copy for power7 with vector-scalar instructions.
34137 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34139 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34144 2011-09-07 Andreas Schwab <schwab@redhat.com>
34147 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34150 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34152 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34153 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34154 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34155 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34158 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34160 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34161 Forgot to demangle the pointer.
34163 * sysdeps/i386/sysdep.h: Define atom_text_section.
34164 * sysdeps/x86_64/sysdep.h: Likewise.
34165 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34166 section with atom_text_section.
34167 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34168 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34169 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34171 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34173 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34174 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34175 already be defined. Change to take two parameters and don't assign
34176 result to variable. Adjust all users.
34177 Define INTERNAL_GETTIME if not already defined.
34178 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34181 HAVE_CLOCK_GETTIME_VSYSCALL.
34182 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34184 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34185 gettimeofday vsyscall, just use time.
34187 2011-09-06 Andreas Schwab <schwab@redhat.com>
34189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34192 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34194 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34198 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34199 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34200 syscall if possible.
34202 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34204 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34205 e_ident. Don't pass to find_mapsXX.
34206 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34208 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34211 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34212 * sysdeps/x86_64/multiarch/strchr.S: Update.
34213 Check bit_slow_BSF bit.
34214 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34215 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34216 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34218 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34221 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34223 (tryshell): Define.
34224 (__spawni): Change last parameter to be flag. Test
34225 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34226 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34227 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34228 * posix/spawni.c: Likewise.
34229 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34230 * posix/spawnp.c: Likewise. Change normal version to use
34231 SPAWN_XFLAGS_USE_PATH.
34232 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34233 SPAWN_XFLAGS_TRY_SHELL.
34236 * posix/glob.h: Remove gcc 1.x support.
34239 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34241 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34244 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34246 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34247 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34248 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34249 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34250 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34251 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34253 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34255 * sysdeps/x86_64/wcscmp.S: New file.
34257 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34258 wcscmp-c wcscmp-sse2
34259 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34260 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34261 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34262 * wcsmbs/wcscmp.c: Allow renaming.
34264 2011-09-05 David S. Miller <davem@davemloft.net>
34266 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34267 stack slot, rather than the struct return pointer slot.
34268 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34269 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34271 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34273 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34275 * po/ja.po: Update from translation team.
34278 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34279 kernel in 64-bit binaries.
34281 2011-09-01 David S. Miller <davem@davemloft.net>
34283 * elf/elf.h (HWCAP_SPARC_*): Move to..
34284 * sysdeps/sparc/sysdep.h: this new file and add new values.
34285 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34286 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34287 _DL_HWCAP_COUNT to 24.
34288 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34290 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34291 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34292 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34293 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34294 instead of magic constants.
34295 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34297 2011-08-31 David S. Miller <davem@davemloft.net>
34299 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34301 Reimplement to do errno handling inline.
34302 (SYSCALL_ERROR_HANDLER): New macro.
34303 (__SYSCALL_STRING): Do not do errno handling in asm.
34304 (__CLONE_SYSCALL_STRING): Delete.
34305 (__INTERNAL_SYSCALL_STRING): Delete.
34306 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34307 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34308 (PSEUDO): Reimplement to do errno handling inline.
34309 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34310 (SYSCALL_ERROR_HANDLER): New macro.
34311 (__SYSCALL_STRING): Do not do errno handling in asm.
34312 (__CLONE_SYSCALL_STRING): Delete.
34313 (__INTERNAL_SYSCALL_STRING): Delete.
34314 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34315 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34317 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34318 (inline_syscall*): Add 'err' argument.
34319 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34320 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34321 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34322 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34324 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34325 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34327 2011-08-30 Andreas Schwab <schwab@redhat.com>
34329 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34331 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34333 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34336 2011-08-24 David S. Miller <davem@davemloft.net>
34338 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34340 2011-08-24 Andreas Schwab <schwab@redhat.com>
34342 * elf/Makefile: Add rules to build and run unload8 test.
34343 * elf/unload8.c: New file.
34344 * elf/unload8mod1.c: New file.
34345 * elf/unload8mod1x.c: New file.
34346 * elf/unload8mod2.c: New file.
34347 * elf/unload8mod3.c: New file.
34349 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34352 2011-08-23 David S. Miller <davem@davemloft.net>
34354 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34355 subtract stack bias.
34356 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34357 %sp not %fp in calculations.
34358 (_JMPBUF_UNWINDS_ADJ): Likewise.
34360 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34361 (aio_suspend): Call it to force an exception region around the
34362 AIO_MISC_WAIT() invocation.
34364 2011-08-23 Andreas Schwab <schwab@redhat.com>
34366 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34369 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34371 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34373 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34374 and <dl-machine.h>.
34375 (Elf64_FuncDesc): Remove.
34377 2011-08-22 David S. Miller <davem@davemloft.net>
34379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34380 sigaltstack check, add missing cfi directives.
34381 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34382 missing cfi directives, and sigaltstack handling.
34384 2011-08-16 Andreas Schwab <schwab@redhat.com>
34387 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34388 object is seen twice.
34389 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34391 * elf/Makefile (distribute): Add tst-initorder2.c.
34392 (tests): Add tst-initorder2.
34393 (modules-names): Add tst-initorder2a tst-initorder2b
34394 tst-initorder2c tst-initorder2d. Add rules to build them.
34395 ($(objpfx)tst-initorder2.out): New rule.
34396 * elf/tst-initorder2.c: New file.
34397 * elf/tst-initorder2.exp: New file.
34399 2011-08-22 Andreas Schwab <schwab@redhat.com>
34401 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34403 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34404 dependencies back to end of function.
34406 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34407 $(elfobjdir)/ld.so.
34409 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34411 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34412 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34414 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34415 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34416 of __vdso_gettimeofday.
34417 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34418 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34420 (_libc_vdso_platform_setup): Remove initialization of
34421 __vdso_gettimeofday and __vdso_time.
34423 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34425 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34426 and fgetc_unlocked.
34427 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34430 * elf/dl-open.c (add_to_global): Report additions to the global scope
34431 for LD_DEBUG=scopes.
34432 (dl_open_worker): Also print scope of newly loaded dependencies.
34433 (_dl_show_scope): Indicate if there is no scope.
34436 * stdio-common/Makefile (tests): Add bug24.
34437 * stdio-common/bug24.c: New file.
34439 2011-08-19 Andreas Jaeger <aj@suse.de>
34442 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34443 non-existant file when using close-on-exec mode.
34445 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34448 the very first instruction.
34450 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34451 the CFI state in the end.
34452 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34453 inclusion of dl-trampoline.h.
34454 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34456 2011-08-19 Andreas Schwab <schwab@redhat.com>
34458 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34459 expectations for long double.
34461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34462 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34464 2011-08-14 David S. Miller <davem@davemloft.net>
34466 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34467 artificual limit depends upon the system page size.
34469 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34471 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34472 * resolv/Makefile: Define CFLAGS-libresolv.
34474 2011-08-17 Andreas Schwab <schwab@redhat.com>
34476 * nss/makedb.c (compute_tables): Make variables used in nested
34479 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34481 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34482 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34483 if buffer was too small.
34485 * elf/pldd.c (main): Attach to all threads in the process.
34486 Rewrite /proc handling to use *at functions.
34488 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34490 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34491 specifies first scope to show.
34492 (dl_open_worker): Update callers. Move printing scope of new
34493 object to before the relocation.
34494 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34495 * sysdeps/generic/ldsodefs.h: Update declaration.
34497 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34498 string for the scope number.
34500 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34502 * nscd/servicescache.c (cache_addserv): Make sure written is always
34505 2011-08-14 Roland McGrath <roland@hack.frob.com>
34507 * sysdeps/i386/i486/bits/atomic.h
34508 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34509 statement expression, so as to suppress "set but not used" warning.
34510 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34512 * string/strncat.c (STRNCAT): Use prototype definition.
34514 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34515 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34517 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34518 (localedef-modules): Add localedef.
34519 (locale-modules): Add locale.
34521 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34522 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34523 to avoid a warning.
34525 2011-08-14 David S. Miller <davem@davemloft.net>
34527 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34528 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34530 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34532 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34533 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34534 * elf/rtld.c (dl_main): Set l_name of vDSO.
34535 Call _dl_show_scope when DL_DEBUG_SCOPES.
34536 (process_dl_debug): Recognize scopes flag and also set it for all.
34537 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34538 Declare _dl_show_scope.
34540 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34541 (do_dlopen): Pass caller_dlopen to dl_open.
34542 (__libc_dlopen_mode): Initialize caller_dlopen.
34544 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34545 of libc. Make tolower call locale-independent. Optimize a bit by
34546 using isdigit instead of isalnum.
34547 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34549 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34551 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34552 was a dependency or dynamically loaded.
34554 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34556 * intl/l10nflist.c: Allow architecture-specific pop function.
34557 * sysdeps/x86_64/l10nflist.c: New file.
34559 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34562 2011-08-10 Andreas Schwab <schwab@redhat.com>
34564 * include/dirent.h: Add libc_hidden_proto for scandirat and
34565 scandirat64. Don't declare __scandirat64.
34566 * dirent/scandirat.c: Add libc_hidden_def.
34567 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34568 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34570 2011-08-10 David S. Miller <davem@davemloft.net>
34572 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34574 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34575 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34576 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34578 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34580 * Versions.def [libc]: Add GLIBC_2.15.
34581 * dirent/Makefile (routines): Add scandirat and scandirat64.
34582 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34584 * dirent/dirent.h: Declare scandirat and scandirat64.
34585 * dirent/scandirat.c: New file.
34586 * dirent/scandirat64.c: New file.
34587 * sysdeps/wordsize-64/scandirat.c: New file.
34588 * sysdeps/wordsize-64/scandirat64.c: New file.
34589 * dirent/opendir.c: Define opendirat.
34590 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34592 * dirent/scandir64.c: Adjust for scandir.c change.
34593 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34594 __scandirat64, and __scandir_cancel_handler.
34595 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34596 additional parameter and use openat instead of open (outside of ld.so).
34597 Add new __opendir as wrapper around __opendirat.
34598 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34599 here without requiring old scandirat implementation.
34601 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34603 * dirent/scandir.c (cancel_handler): Renamed to
34604 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34605 defined. Adjust users.
34606 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34607 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34609 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34611 * string/test-string.h (IMPL): Use __STRING to expand name and then
34614 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34617 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34619 * string/Makefile: Update.
34620 (strop-tests): Append strncat.
34621 * string/test-wcscmp.c: New file.
34622 New comprehensive test for wcscmp.
34623 * string/test-strcmp.c: Update.
34624 (WIDE): New define.
34626 2011-07-22 Andreas Schwab <schwab@redhat.com>
34628 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34631 2011-07-26 Andreas Schwab <schwab@redhat.com>
34633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34634 encoding to ACE if AI_IDN.
34636 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34638 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34639 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34641 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34643 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34644 Fix overflow bug in strncat.
34645 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34647 * string/test-strncat.c: Update.
34648 Add new tests for checking overflow bugs.
34650 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34653 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34654 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34655 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34656 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34657 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34658 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34659 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34660 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34663 (USE_AS_STRCAT): Define.
34664 Add strcat and strncat support.
34665 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34667 2011-07-25 Andreas Schwab <schwab@redhat.com>
34669 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34670 __n bigger than INT_MAX+1.
34671 (__strncmp_g): Likewise.
34673 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34675 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34676 * libio/stido.h: Likewise.
34678 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34683 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34684 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34685 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34686 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34687 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34690 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34693 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34695 (_dl_x86_64_save_sse): Likewise.
34697 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34701 (_dl_x86_64_save_sse): Likewise.
34703 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34705 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34707 2011-07-21 Andreas Schwab <schwab@redhat.com>
34709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34711 (_dl_x86_64_save_sse): Use correct AVX check.
34713 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34715 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34716 bug in strncpy/strncat.
34717 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34719 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34721 * string/tester.c (test_strcat): Add tests for different alignments
34722 of source and destination.
34723 (test_strncat): Likewise.
34725 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34728 * posix/glob.c (glob): Check passed in values before using them in
34729 expressions to avoid some overflows.
34730 (glob_in_dir): Likewise.
34733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34734 check for AVX enablement so that we don't crash with old kernels and
34736 * elf/tst-audit4.c: Add same checks here.
34737 * elf/tst-audit6.c: Likewise.
34739 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34741 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34743 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34745 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34747 * po/cs.po: Update from translation team.
34748 * po/bg.po: Likewise.
34750 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34752 * misc/sys/cdefs.h: Add support for const attribute.
34753 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34754 to gnu_dev_{major,minor,makedev} functions.
34756 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34758 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34760 2011-07-20 Andreas Schwab <schwab@redhat.com>
34762 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34765 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34767 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34768 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34769 register in order to avoid conflicts with the soft frame pointer
34770 being held in r11 when necessary.
34771 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34772 (INTERNAL_VSYSCALL_NCS): Likewise.
34774 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34776 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34777 * elf/dl-fini.c (_dl_fini): Adjust caller.
34778 * elf/dl-close.c (_dl_close_worker): Likewise.
34779 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34781 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34783 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34784 "aux_cache->nlibs < 0".
34786 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34787 in the reload-count case.
34789 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34792 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34793 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34794 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34795 * sysdeps/x86_64/multiarch/strcat.S: New file.
34796 * sysdeps/x86_64/multiarch/strncat.S: New file.
34797 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34798 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34799 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34800 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34801 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34802 (USE_AS_STRCAT): Define.
34803 Add strcat and strncat support.
34804 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34805 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34806 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34807 * string/strncat.c: Update.
34808 (USE_AS_STRNCAT): Define.
34809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34810 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34812 * sysdeps/x86_64/multiarch/init-arch.h
34813 (bit_Prefer_PMINUB_for_stringop): New.
34814 (index_Prefer_PMINUB_for_stringop): Likewise.
34815 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34816 bit_Prefer_PMINUB_for_stringop.
34818 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34820 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34822 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34823 of casting of buffer.
34824 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34825 buffer32 and buffer64.
34826 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34827 writes instead of casting of buffer.
34828 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34830 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34833 2011-07-19 Andreas Schwab <schwab@redhat.com>
34835 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34837 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34839 * nscd/nscd.c (termination_handler): Don't do anything for a database
34840 if it has not yet been initialized.
34842 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34844 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34846 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34848 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34850 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34852 * po/nl.po: Update from translation team.
34853 * po/sv.po: Likewise.
34855 2011-07-16 Roland McGrath <roland@hack.frob.com>
34857 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34858 now disallowed by GCC.
34860 * configure.in (use-default-link): Default to yes if a test -shared
34861 link meets our qualifications.
34862 * configure: Regenerated.
34864 * config.make.in (output-format): New variable.
34865 * configure.in: Check for ld --print-output-format support.
34866 * configure: Regenerated.
34867 * Makerules ($(common-objpfx)format.lds)
34868 [$(output-format) != unknown]: Just use $(output-format),
34869 instead of the linker-script munging.
34871 2011-07-14 Roland McGrath <roland@hack.frob.com>
34873 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34874 of $(common-objpfx)shlib.lds.
34875 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34877 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34878 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34880 * configure.in (-z relro check): Adjust test code to add a large
34881 writable data section after it.
34882 * configure: Regenerated.
34884 2011-07-11 Roland McGrath <roland@hack.frob.com>
34886 * configure.in (-z relro check): Fix test code to make the variable
34888 * configure: Regenerated.
34890 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34892 * nscd/nscd.h (struct traced_file): Define.
34893 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34894 elements. Add traced_files.
34895 (inotify_fd): Declare.
34896 (register_traced_file): Declare.
34897 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34898 (inotify_fd): Export.
34899 (resolv_conf_descr): Remove.
34900 (nscd_init): Move inotify descriptor creation to main.
34901 Don't register files for notification here.
34902 (register_traced_file): New function.
34903 (invalidate_cache): Don't use reset_res to determine whether to call
34904 res_init, go through the list of registered files.
34905 (main_loop_poll): The inotify descriptors are now stored in the
34906 structures for the traced files.
34907 (main_loop_epoll): Likewise
34908 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34909 to __nss_disable_nscd.
34910 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34911 for a database anymore. Check the records for all the registered
34913 * nss/Makefile (libnss_files-routines): Add files-init.
34914 (libnss_db-routines): Add db-init.
34915 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34916 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34917 * nss/nss_db/db-init.c: New file.
34918 * nss/nss_files/files-init.c: New file.
34919 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34920 __nss_lookup_function.
34921 (__nss_lookup_function): Call nss_load_library.
34922 (nss_load_all_libraries): New function.
34923 (__nss_disable_nscd): Take parameter with callback function for files
34924 to register. Set is_nscd. Load all the DSOs for the NSS modules
34925 used for the cached services.
34926 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34927 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34928 options for features to all the files in nscd.
34930 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34932 2011-07-10 Roland McGrath <roland@hack.frob.com>
34934 * csu/elf-init.c (__libc_csu_init): Comment typo.
34936 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34938 * po/pl.po: Update from translation team.
34939 * po/ja.po: Likewise.
34940 * po/ru.po: Likewise.
34941 * po/ko.po: Likewise.
34942 * po/fr.po: Likewise.
34944 2011-07-09 Roland McGrath <roland@hack.frob.com>
34946 * configure.in (.ctors/.dtors header and trailer check):
34947 Use an empirical test on a built program.
34948 * configure: Regenerated.
34950 * configure.in (-z relro check): Use an empirical test on a built DSO.
34951 Detect, but do not require, on ia64.
34952 * configure: Regenerated.
34954 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34955 Update tests that use readelf to use $READELF instead.
34956 * configure: Regenerated.
34958 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34960 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34961 if the result is not used.
34963 2011-07-05 Andreas Jaeger <aj@suse.de>
34966 * stdlib/tst-strtod.c: Add testcase.
34968 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34970 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34971 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34972 The latter has a higher limit. Take additional parameter to pass to
34974 (__pathconf): Pass file to __statfs_link_max.
34975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34977 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34981 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34982 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34984 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34985 (__statfs_filesize_max): Likewise.
34986 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34988 2011-07-05 Andreas Jaeger <aj@suse.de>
34990 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34992 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34994 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34996 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34999 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35001 * Makefile (strop-tests): Add strncat.
35002 * string/test-strncat.c: New file.
35004 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35006 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35008 2011-06-21 Andreas Jaeger <aj@suse.de>
35010 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35011 Copy rule from iconvdata/Makefile.
35013 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35016 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35017 but no long options are defined, just return 'W'.
35019 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35022 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35024 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35026 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35028 (innetgr): Likewise.
35030 2011-07-05 Roland McGrath <roland@hack.frob.com>
35032 * config.make.in (install_root): Default to $(DESTDIR).
35034 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35036 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35038 2011-07-02 Roland McGrath <roland@hack.frob.com>
35040 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35042 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35043 containing directory rather than embedding absolute directory names.
35045 * scripts/check-local-headers.sh: Rewritten using awk.
35046 Match by word, not by line. Print error messages for matches.
35047 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35049 * Makerules [shlib-lds-flags empty]:
35050 ($(common-objpfx)libc_pic.opts): New target.
35051 ($(common-objpfx)libc_pic.os.clean): New target.
35052 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35054 * config.make.in (OBJCOPY): New variable.
35055 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35056 * configure: Regenerated.
35058 * config.make.in (use-default-link): New variable.
35059 * configure.in (use_default_link): Grok --with-default-link to set it.
35060 * configure: Regenerated.
35061 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35062 (shlib-lds, shlib-lds-flags): Define to empty.
35064 * Makerules (shlib-lds): New variable.
35065 (shlib-lds-flags): New variable.
35066 (build-shlib, build-moduile, build-module-asneeded): Use it.
35067 ($(common-objpfx)libc.so): Use $(shlib-lds).
35068 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35069 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35071 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35072 DT_FLAGS/DT_FLAGS_1 with zero flags.
35074 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35075 linker script munging.
35077 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35079 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35081 * crypt/sha512.c (sha512_process_block): Perform total addition using
35082 128-bit if possible.
35083 (__sha512_finish_ctx): Likewise.
35084 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35086 * crypt/sha256.c (SWAP64): Define.
35087 (sha256_process_block): Perform total addition using 64-bit if
35089 (__sha256_finish_ctx): Likewise.
35091 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35093 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35094 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35095 * nscd/hstcache.c (cache_addhst): Likewise.
35096 * nscd/grpcache.c (cache_addgr): Likewise.
35097 * nscd/aicache.c (addhstaiX): Likewise
35098 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35100 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35102 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35103 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35104 * nscd/hstcache.c (cache_addhst): Likewise.
35105 * nscd/grpcache.c (cache_addgr): Likewise.
35106 * nscd/aicache.c (addhstaiX): Likewise
35108 2011-07-01 Andreas Schwab <schwab@redhat.com>
35110 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35111 domain only when needed.
35113 2011-06-30 Andreas Schwab <schwab@redhat.com>
35115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35116 is always restored.
35118 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35120 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35121 are re-adding the entry.
35122 * nscd/servicescache.c (cache_addserv): Likewise.
35124 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35126 * sysdeps/generic/dl-irel.h: fix protection against multiple
35128 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35130 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35133 * malloc/memusage.sh: Fix quoting in message.
35134 * debug/xtrace.sh: Likewise.
35136 * configure.in: Remove support for --experimental-malloc option, make
35138 * config.make.in: Likewise.
35139 * malloc/Makefile: Likewise.
35141 2011-06-27 Andreas Schwab <schwab@redhat.com>
35143 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35144 two-byte characters.
35146 2011-06-27 Roland McGrath <roland@hack.frob.com>
35148 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35149 AC_CACHE_CHECK invocation.
35150 * configure: Regenerated.
35152 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35154 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35157 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35158 bit from old_res_options.
35160 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35162 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35163 value type for setfct.
35165 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35167 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35168 __gettimeofday instead of gettimeofday.
35170 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35172 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35174 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35176 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35178 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35181 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35184 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35185 strcpy-sse2-unaligned strncpy-sse2-unaligned
35186 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35187 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35188 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35189 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35190 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35191 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35192 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35193 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35194 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35195 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35196 (STRCPY): Support SSE2 and SSSE3 versions.
35198 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35201 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35202 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35203 kernels which artificially limit size of requests.
35205 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35208 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35209 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35210 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35211 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35212 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35213 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35214 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35215 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35216 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35217 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35218 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35219 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35220 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35221 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35223 Enable unaligned load optimization for Intel Core i3, i5 and i7
35225 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35227 (index_Fast_Unaligned_Load): Define.
35228 (HAS_FAST_UNALIGNED_LOAD): Define.
35230 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35232 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35234 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35237 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35238 until it is clear that the information is realy needed.
35239 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35241 2011-06-22 Andreas Schwab <schwab@redhat.com>
35243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35245 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35247 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35248 /sys/devices/system/cpu/online if it is usable.
35250 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35251 reading the information from the /proc filesystem to once a second.
35253 2011-06-21 Andreas Jaeger <aj@suse.de>
35255 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35256 NULL after inclusion of kernel headers.
35258 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35260 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35261 calls to internal_setent.
35264 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35265 addresses using gethostbyname4_r ignore IPv4 addresses.
35267 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35268 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35270 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35272 2011-06-20 David S. Miller <davem@davemloft.net>
35274 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35276 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35278 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35279 (elf_irel): Use it.
35280 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35281 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35282 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35283 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35284 * sysdeps/x86_64/dl-irel.h: Likewise.
35286 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35287 * elf/dl-sym.c: Likewise.
35289 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35291 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35292 need to dereference resplen2.
35294 2011-06-14 Andreas Schwab <schwab@redhat.com>
35296 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35298 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35300 * Makeconfig: Define vardbdir and inst_vardbdir.
35301 * nss/Makefile: Add rules to install db-Makefile.
35303 * nss/nss_db/db-XXX.c: Cleanup.
35305 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35306 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35308 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35309 * nss/makedb.c: Implement -g option to specify that value strings
35310 are generated and should not be added to table iterated over for
35312 * nss/nss_db/db-initgroups.c: New file.
35314 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35317 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35318 (internal_getgrouplist): Adjust to name change.
35319 Update use_initgroups_entry if this is not the first call.
35320 * nss/databases.def: Add initgroups entry.
35322 * nss/makedb.c (compute_tables): Check result of multiple hash table
35323 sizes to minimize maximum chain length.
35325 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35327 * Versions.def: Add entry for libnss_db.
35328 * shlib-versions: Likewise.
35329 * nss/Makefile: Add rules to build libnss_db.
35330 * nss/Versions: Add libnss_db information. Organize libnss_files
35332 * nss/db-Makefile: Add gshadow support. Change rules for the new
35333 makedb progra. Some minor improvements to generate smaller files.
35334 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35336 * nss/makedb.c: ...here.
35337 Improve database format to be smaller and require less memory at
35339 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35341 * nss/nss_db/db-netgrp.c: Likewise.
35342 * nss/nss_db/db-open.c: Likewise.
35343 * nss/nss_files/flies-XXX.x: Adjust comments.
35344 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35345 * nss/nss_files/files-grp.c: Likewise.
35346 * nss/nss_files/files-hosts.c: Likewise.
35347 * nss/nss_files/files-network.c: Likewise.
35348 * nss/nss_files/files-proto.c: Likewise.
35349 * nss/nss_files/files-pwd.c: Likewise.
35350 * nss/nss_files/files-rpc.c: Likewise.
35351 * nss/nss_files/files-service.c: Likewise.
35352 * nss/nss_files/files-sgrp.c: Likewise.
35353 * nss/nss_files/files-spwd.c: Likewise.
35354 * nss/nss_db/db-alias.c: Removed.
35355 * nss/nss_db/dummy-db.h: Removed.
35357 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35359 * nss/makedb.c: Rewritten to not use database library.
35360 * nss/Makefile: Update to build new makedb program.
35362 2011-06-14 Andreas Jaeger <aj@suse.de>
35364 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35365 memset declaration.
35367 2011-06-10 Andreas Schwab <schwab@redhat.com>
35369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35372 2011-06-10 Roland McGrath <roland@hack.frob.com>
35374 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35375 * elf/Makefile ($(objpfx)ld.so): Likewise.
35377 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35378 Don't list ld.so twice in dependencies.
35380 * posix/bug-regex31.c: Include <stdlib.h>.
35382 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35384 * nis/nss_compat/compat-spwd.c
35385 (getspent_next_nss_netgr): Remove unused variable.
35386 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35388 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35389 nonmembers" output to use the right array.
35391 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35393 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35395 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35396 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35397 * catgets/gencat.c (read_input_file): Likewise.
35398 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35400 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35401 variable definition inside #if's controlling its use.
35403 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35405 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35407 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35409 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35412 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35414 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35415 * configure: Regenerated.
35417 * Makerules: Revert last change.
35418 * elf/Makefile: Likewise.
35420 2011-06-09 Roland McGrath <roland@hack.frob.com>
35422 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35423 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35424 (reloc-link): Likewise.
35426 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35428 * elf/Makefile: Add rules to build pldd.
35429 * elf/pldd.c: New file.
35430 * elf/pldd-xx.c: New file.
35432 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35434 * version.h: Update for 2.15 development version.
35436 2011-06-07 David S. Miller <davem@davemloft.net>
35438 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35440 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35441 elf_machine_lazy_rel): Likewise.
35442 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35443 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35444 elf_machine_lazy_rel): Likewise.
35445 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35446 dl_hwcap via passed in argument.
35447 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35450 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35452 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35454 2011-06-06 Roland McGrath <roland@hack.frob.com>
35457 * manual/fdl-1.1.texi: New file, verbatim from:
35458 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35459 * manual/lgpl-2.1.texi: New file, verbatim from:
35460 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35461 * manual/Makefile (licenses): New variable, list those new file names.
35463 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35465 * manual/fdl.texi: File removed.
35466 * manual/lesser.texi: File removed.
35467 * manual/libc.texinfo (Copying, Documentation License):
35468 Use new @include file names, put @appendix directive before @include.
35470 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35473 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35474 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35475 (mq_open): Add __NTH.
35477 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35480 Assume Intel Core i3/i5/i7 processor if AVX is available.
35482 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35487 2011-05-31 Andreas Schwab <schwab@redhat.com>
35489 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35490 memory. Use alloca_account. Fix memory leak when retrying.
35492 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35494 * version.h (RELEASE): Bump for 2.14 release.
35495 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35497 * config.make.in (RANLIB): Remove entry.
35499 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35501 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35502 (libc.pot): Work around missing support for .ksh extension in xgettext.
35505 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35506 if both request failed.
35507 (send_dg): In case of server errors clear resplen or *resplen2.
35510 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35511 when there are multiple maps.
35512 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35513 (_dl_fini): Remove test here.
35515 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35517 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35520 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35521 bit from old_res_options.
35522 (gaih_inet): Likewise.
35525 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35528 * resolv/res_init.c (res_setoptions): Make the code more compact.
35531 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35535 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35537 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35540 * malloc/malloc.h: Declare malloc hook variables as volatile.
35542 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35546 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35547 raise in the comment.
35548 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35549 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35550 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35552 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35555 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35556 grow the buffers more if it already has to be sufficient.
35557 (build_wcs_upper_buffer): Likewise.
35558 * posix/regexec.c (check_matching): Likewise.
35559 (clean_state_log_if_needed): Likewise.
35560 (extend_buffers): Don't enlarge buffers beyond size of the input
35562 Patches mostly by Emil Wojak <emil@wojak.eu>.
35563 * posix/bug-regex32.c: New file.
35564 * posix/Makefile (tests): Add bug-regex32.
35566 * locale/findlocale.c (_nl_find_locale): Return right away if
35567 _nl_explode_name failed.
35568 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35570 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35572 * debug/xtrace.sh: Unify messages.
35573 * malloc/memusage.sh: Likewise.
35576 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35577 time symbol from vDSO. Substitute with vsyscall if not available.
35578 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35581 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35582 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35583 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35584 Add sendmmsg and internal_sendmmsg.
35585 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35586 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35587 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35589 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35590 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35591 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35593 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35596 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35597 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35599 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35603 * iconvdata/Makefile (tests): Add bug-iconv9.
35604 * iconvdata/bug-iconv9.c: New file.
35606 2011-05-27 Andreas Schwab <schwab@redhat.com>
35609 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35611 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35613 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35614 (struct user_regs_struct): Change intcs field back to cs.
35616 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35618 * po/ja.po: Update from translation team.
35620 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35623 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35624 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35626 2011-05-20 Andreas Schwab <schwab@redhat.com>
35628 * stdlib/longlong.h: Update from GCC.
35630 2011-05-23 Andreas Schwab <schwab@redhat.com>
35632 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35634 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35635 Add parameter name.
35636 (__sysconf): Pass it down.
35638 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35641 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35643 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35644 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35645 add in in __libc_use_alloca calls. Adjust callers.
35646 (glob): Use malloc in some situations.
35648 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35649 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35652 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35654 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35655 and CLOCK_BOOTTIME_ALARM.
35658 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35661 * string/_strerror.c (__strerror_r): Print negative errors as signed
35665 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35666 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35667 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35669 * configure.in: Fix typo in redirection and correct removal of test
35670 files in two cases.
35673 * locale/setlocale.c (new_composite_name): Fix test to check for
35674 identical name of all categories.
35677 * libio/filedoalloc.c (local_isatty): New function.
35678 (_IO_file_doallocate): Use local_isatty.
35679 * stdio-common/perror.c (perror): In case a new stream is used
35680 forward the stream error.
35681 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35684 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35689 * include/alloca.h (extend_alloca_account): Define.
35692 * posix/regex.h: Fix comments with documentation of user-accessible
35693 fields after compilation and describe correct free'ing of pattern
35694 after re_compile_pattern.
35695 Patch by Reuben Thomas <rrt@sc3d.org>.
35697 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35699 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35700 and -mno-altivec to prevent the compiler from using Altivec and/or
35701 VSX instructions when the corresponding registers are not available.
35703 2011-05-19 Andreas Schwab <schwab@redhat.com>
35705 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35707 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35709 * libio/freopen.c (freopen): Use __dup2, not dup2.
35710 * libio/freopen64.c (freopen64): Likewise.
35712 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35715 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35716 * math/Makefile (tests): Add test-powl.
35717 (CFLAGS-test-powl.c): Define.
35718 * math/test-powl.c: New file.
35720 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35722 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35724 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35727 * iconvdata/gb18030.c: Update to GB18020-2005.
35729 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35731 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35732 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35733 Patch by Aharon Robbins <arnold@skeeve.com>.
35736 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35740 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35741 through underflows.
35744 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35745 point to strings before performing equality test for error_one_per_line
35749 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35752 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35753 (struct user_fpregs_struct): Avoid __uint*_t types.
35756 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35757 symbol info. Use it instead of calling _dl_addr locally.
35758 (lock_and_info): New function.
35759 (tr_freehook): Call lock_and_info and pass symbol info as additional
35760 parameter to tr_where.
35761 (tr_mallochook): Likewise.
35762 (tr_reallochook): Likewise.
35763 (tr_memalignhook): Likewise.
35765 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35766 used and couldn't be at all thread-safe.
35768 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35770 * libio/freopen.c (freopen): Don't close old file descriptor
35771 before the new one is opened. Instead dup the new file descriptor
35772 to the old one after the new stream is created.
35773 * libio/freopen64.c (freopen64): Likewise.
35774 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35775 * libio/fileops.c (_IO_new_file_close_it): Handle new
35776 _IO_FLAGS2_NOCLOSE flag.
35777 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35778 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35779 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35780 _IO_FLAGS2_NOCLOSE flag.
35781 * include/unistd.h: Add hidden_proto for dup3.
35782 Define __have_dup3.
35783 * io/dup3.c: Define hidden symbol.
35784 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35787 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35788 when an incomplete long option is used.
35789 * posix/tst-getopt_long1.c: New file.
35790 * posix/Makefile (tests): Add tst-getopt_long1.
35793 * scripts/config.guess: Update from autoconf-2.68.
35794 * scripts/config.sub: Likewise.
35797 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35799 (has_cpuclock): ...this. New function.
35800 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35801 macro here based on has_cpuclock code.
35804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35805 First byte (not low byte) is now always NUL.
35806 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35808 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35809 Use non-cancelable interfaces.
35812 * locale/iso-639.def: Add entry for Sorani.
35815 * include/stdlib.h: Move include protection to the right place.
35816 Define abort_msg_s. Declare __abort_msg with it.
35817 * stdlib/abort.c (__abort_msg): Adjust type.
35818 * assert/assert.c (__assert_fail_base): New function. Majority
35819 of code from __assert_fail. Allocate memory for __abort_msg with
35821 (__assert_fail): Now call __assert_fail_base.
35822 * assert/assert-perr.c: Remove bulk of implementation. Use
35823 __assert_fail_base.
35824 * include/assert.hL Declare __assert_fail_base.
35825 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35827 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35829 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35833 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35834 until all modules are registered in the DTV.
35835 * elf/Makefile: Add rules to build and run tst-tls19.
35836 * elf/tst-tls19.c: New file.
35837 * elf/tst-tls19mod1.c: New file.
35838 * elf/tst-tls19mod2.c: New file.
35839 * elf/tst-tls19mod3.c: New file.
35840 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35843 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35847 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35848 two-byte sequence errors.
35849 * iconvdata/Makefile (tests): Add bug-iconv8.
35850 * iconvdata/bug-iconv8.c: New file.
35853 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35856 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35859 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35860 (dummy_getcfa): New function.
35861 (init): Get _Unwind_GetCFA address, use dummy if not found.
35862 (backtrace_helper): In recursion check, also check whether CFA changes.
35863 (__backtrace): Completely initialize arg.
35865 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35866 storing incomplete byte sequence in state object. Avoid testing for
35867 guaranteed too small input if we know there is enough data available.
35869 2011-05-11 Andreas Schwab <schwab@redhat.com>
35871 * Makeconfig (+link-pie): Indent.
35872 * Rules (binaries-pie): Define if $(have-fpie) and
35874 (binaries-shared): Also filter out $(binaries-pie).
35875 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35876 * nscd/Makefile (others-pie): Add nscd.
35877 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35878 ($(objpfx)nscd): Remove command override.
35879 * login/Makefile (others-pie): Add pt_chown.
35880 ($(objpfx)pt_chown): Remove command override.
35881 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35882 remove command overrides.
35884 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35886 * libio/tst_putwc.c: Fix error messages.
35889 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35890 currently writing and seek to current position when not.
35891 * libio/Makefile (tests): Add bug-fclose1.
35892 * libio/bug-fclose1.c: New file.
35894 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35897 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35898 don't set DF_1_NODELETE here.
35899 (do_lookup_x): When entering new entry test for copy relocation
35900 and if necessary set DF_1_NODELETE flag.
35901 * elf/tst-unique4.cc: New file.
35902 * elf/tst-unique4.h: New file.
35903 * elf/tst-unique4lib.cc: New file.
35904 * elf/Makefile: Add rules to build and run tst-unique4.
35905 Patch by Piotr Bury <pbury@goahead.com>.
35907 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35910 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35913 * misc/mntent_r.c (addmntent): Flush the stream after the output
35916 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35917 (is_trusted_path_normalize): Skip initial colon. Append slash
35918 to empty buffer. Duplicate is_trusted_path code but allow
35919 constructed patch to be prefix.
35920 (is_dst): Allow $ORIGIN followed by /.
35921 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35922 Correct testing of result of is_trusted_path_normalize
35923 (decompose_rpath): Fix warning.
35925 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35928 * grp/initgroups.c (internal_getgrouplist): When we found the service
35929 list through the initgroups entry in nsswitch.conf do not always
35930 continue on a successful lookup. Don't always use the
35931 __nss_group_database value if it is set.
35932 * nss/nsswitch.conf (initgroups): Change action for successful db
35933 lookup to continue for compatibility.
35935 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35938 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35940 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35942 * iconvdata/tst-tables.sh: Likewise.
35943 * iconvdata/cp770.c: New file.
35944 * iconvdata/cp771.c: New file.
35945 * iconvdata/cp772.c: New file.
35946 * iconvdata/cp773.c: New file.
35947 * iconvdata/cp774.c: New file.
35948 * iconvdata/testdata/CP770: New file.
35949 * iconvdata/testdata/CP770..UTF8: New file.
35950 * iconvdata/testdata/CP771: New file.
35951 * iconvdata/testdata/CP771..UTF8: New file.
35952 * iconvdata/testdata/CP772: New file.
35953 * iconvdata/testdata/CP772..UTF8: New file.
35954 * iconvdata/testdata/CP773: New file.
35955 * iconvdata/testdata/CP773..UTF8: New file.
35956 * iconvdata/testdata/CP774: New file.
35957 * iconvdata/testdata/CP774..UTF8: New file.
35959 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35961 * iconvdata/gen-8bit-gap.sh: Likewise.
35962 * iconvdata/gen-8bit.sh: Likewise.
35964 * locale/iso-639.def: Add ary entry.
35967 * locale/C-translit.h.in: Add U20A1 transliteration.
35970 * locale/iso-639.def: Add wae entry.
35971 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35974 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35978 * locale/C-translit.h.in: Add entry for U20B9.
35979 Patch by pravin.d.s@gmail.com.
35981 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35984 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35985 ENAMETOOLONG use generic getcwd.
35986 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35987 in rtld. Use *stat64.
35988 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35989 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35990 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35991 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35992 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35993 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35994 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35995 __fstatat64 macros.
35996 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35997 * dirent/rewinddir.c: Add libc_hidden_def.
35998 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35999 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36001 * include/dirent.h (__alloc_dir): Add flags parameter.
36002 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36003 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36005 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36006 from fdopendir if O_CLOEXEC is already set.
36008 2011-03-15 Alan Modra <amodra@gmail.com>
36010 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36011 l_tls_firstbyte_offset non-zero. Save padding offset in
36012 l_tls_firstbyte_offset for later use.
36013 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36014 freeing static tls block.
36016 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36018 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36019 where #ifdef was intended. The intent is to prevent ARG_MAX from
36020 being defined by the kernel headers.
36022 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36025 * resolv/resolv.h: Define RES_NOTLDQUERY.
36026 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36027 no-tld-query and set RES_NOTLDQUERY.
36028 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36029 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36030 modern BIND to search name as TLD unless forbidden.
36032 2011-05-07 Petr Baudis <pasky@suse.cz>
36033 Ulrich Drepper <drepper@gmail.com>
36036 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36037 (is_trusted_path): ...to here.
36038 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36039 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36040 using is_trusted_path_normalize() in setuid scripts.
36042 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36044 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36045 __BEGIN/__END_DECLS.
36047 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36050 NSS_STATUS_NOTFOUND if no record was found.
36052 2011-05-05 Andreas Schwab <schwab@redhat.com>
36054 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36055 (headers-not-in-tirpc): Remove rpc/netdb.h
36056 * resolv/netdb.h: Revert last change.
36058 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36060 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36061 circular dependency between libgcc.a and libc.a.
36063 2011-05-05 Andreas Schwab <schwab@redhat.com>
36065 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36066 * nis/Makefile: Don't install rpcsvc/*.
36067 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36068 instead of <rpc/types.h>.
36069 (MAXHOSTNAMELEN): Define.
36071 2011-05-03 Andreas Schwab <schwab@redhat.com>
36073 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36075 2011-04-28 Maciej Babinski <mbabinski@google.com>
36078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36079 gethostbyname4_r when IPv6 results are possible.
36081 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36084 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36085 _PC_PIPE_BUF handling.
36087 2011-04-30 Bruno Haible <bruno@clisp.org>
36090 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36091 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36093 * inet/getnameinfo.c (getnameinfo): Likewise.
36095 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36097 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36098 to groups setting in database lookup.
36099 * nss/nsswitch.conf: Add initgroups entry.
36101 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36104 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36106 Patch by Eric Blake <eblake@redhat.com>.
36108 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36110 * sunrpc/Makefile (need-export-routines): Add svc_run.
36111 (routines): Remove svc_run.
36112 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36113 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36114 * sunrpc/svc_run.c (svc_run): Likewise.
36115 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36117 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36119 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36120 problem in reallocation in last patch.
36122 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36124 * sunrpc/Makefile: Move inclusion of Rules.
36126 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36128 * nss/nss_files/files-initgroups.c: New file.
36129 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36130 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36131 _nss_files_initgroups_dyn.
36133 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36135 * elf/elf.h (R_ARM_IRELATIVE): Define.
36137 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36139 * po/ru.po: Update from translation team.
36141 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36143 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36146 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36149 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36150 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36152 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36153 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36155 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36157 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36159 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36160 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36163 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36166 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36168 * stdlib/bug-getcontext.c: New file.
36169 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36171 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36173 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36174 instructions into .machine "z9-109".
36175 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36176 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36178 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36180 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36181 between environment variables and auxiliary vector.
36183 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36185 * Makefile: Add rules to build linkobj/libc.so.
36186 * include/libc-symbols.h: Define libc_hidden_nolink.
36187 * include/rpc/auth.h: Mark functions which are to be hidden.
36188 * include/rpc/auth_des.h: Likewise.
36189 * include/rpc/auth_unix.h: Likewise.
36190 * include/rpc/clnt.h: Likewise.
36191 * include/rpc/des_crypt.h: Likewise.
36192 * include/rpc/key_prot.h: Likewise.
36193 * include/rpc/pmap_clnt.h: Likewise.
36194 * include/rpc/pmap_prot.h: Likewise.
36195 * include/rpc/pmap_rmt.h: Likewise.
36196 * include/rpc/rpc_msg.h: Likewise.
36197 * include/rpc/svc.h: Likewise.
36198 * include/rpc/svc_auth.h: Likewise.
36199 * include/rpc/xdr.h: Likewise.
36200 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36201 * nss/Makefile: Likewise.
36202 * sunrpc/Makefile: Don't install headers. Build library with normal
36203 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36204 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36205 for the compat linking library. Remove use of INTDEF/INTUSE.
36206 * sunrpc/auth_none.c: Likewise.
36207 * sunrpc/auth_unix.c: Likewise.
36208 * sunrpc/authdes_prot.c: Likewise.
36209 * sunrpc/authuxprot.c: Likewise.
36210 * sunrpc/clnt_gen.c: Likewise.
36211 * sunrpc/clnt_perr.c: Likewise.
36212 * sunrpc/clnt_raw.c: Likewise.
36213 * sunrpc/clnt_simp.c: Likewise.
36214 * sunrpc/clnt_tcp.c: Likewise.
36215 * sunrpc/clnt_udp.c: Likewise.
36216 * sunrpc/clnt_unix.c: Likewise.
36217 * sunrpc/des_crypt.c: Likewise.
36218 * sunrpc/des_soft.c: Likewise.
36219 * sunrpc/get_myaddr.c: Likewise.
36220 * sunrpc/key_call.c: Likewise.
36221 * sunrpc/key_prot.c: Likewise.
36222 * sunrpc/netname.c: Likewise.
36223 * sunrpc/pm_getmaps.c: Likewise.
36224 * sunrpc/pm_getport.c: Likewise.
36225 * sunrpc/pmap_clnt.c: Likewise.
36226 * sunrpc/pmap_prot.c: Likewise.
36227 * sunrpc/pmap_prot2.c: Likewise.
36228 * sunrpc/pmap_rmt.c: Likewise.
36229 * sunrpc/publickey.c: Likewise.
36230 * sunrpc/rpc_cmsg.c: Likewise.
36231 * sunrpc/rpc_common.c: Likewise.
36232 * sunrpc/rpc_dtable.c: Likewise.
36233 * sunrpc/rpc_prot.c: Likewise.
36234 * sunrpc/rpc_thread.c: Likewise.
36235 * sunrpc/rtime.c: Likewise.
36236 * sunrpc/svc.c: Likewise.
36237 * sunrpc/svc_auth.c: Likewise.
36238 * sunrpc/svc_authux.c: Likewise.
36239 * sunrpc/svc_raw.c: Likewise.
36240 * sunrpc/svc_run.c: Likewise.
36241 * sunrpc/svc_simple.c: Likewise.
36242 * sunrpc/svc_tcp.c: Likewise.
36243 * sunrpc/svc_udp.c: Likewise.
36244 * sunrpc/svc_unix.c: Likewise.
36245 * sunrpc/svcauth_des.c: Likewise.
36246 * sunrpc/xcrypt.c: Likewise.
36247 * sunrpc/xdr.c: Likewise.
36248 * sunrpc/xdr_array.c: Likewise.
36249 * sunrpc/xdr_float.c: Likewise.
36250 * sunrpc/xdr_intXX_t.c: Likewise.
36251 * sunrpc/xdr_mem.c: Likewise.
36252 * sunrpc/xdr_rec.c: Likewise.
36253 * sunrpc/xdr_ref.c: Likewise.
36254 * sunrpc/xdr_sizeof.c: Likewise.
36255 * sunrpc/xdr_stdio.c: Likewise.
36257 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36260 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36261 * sysdeps/ia64/dl-tls.h: Likewise.
36262 * sysdeps/powerpc/dl-tls.h: Likewise.
36263 * sysdeps/s390/dl-tls.h: Likewise.
36264 * sysdeps/sh/dl-tls.h: Likewise.
36265 * sysdeps/sparc/dl-tls.h: Likewise.
36266 * sysdeps/x86_64/dl-tls.h: Likewise.
36267 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36269 2011-03-14 Andreas Schwab <schwab@redhat.com>
36271 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36272 rpath element also skip the following colon.
36273 (expand_dynamic_string_token): Add is_path parameter and pass
36274 down to DL_DST_REQUIRED and _dl_dst_substitute.
36275 (decompose_rpath): Call expand_dynamic_string_token with
36276 non-zero is_path. Ignore empty rpaths.
36277 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36280 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36285 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36288 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36289 Patch by Filipe David Manana <fdmanana@apache.org>.
36291 2011-04-07 Andreas Schwab <schwab@redhat.com>
36293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36294 Maintain aligned stack.
36295 (CHECK_RSP): Remove unused macro.
36297 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36299 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36300 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36302 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36304 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36306 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36308 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36311 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36312 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36313 * sysdeps/x86_64/memmove.c: New file.
36314 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36315 (memcpy): Renamed to ...
36316 (__new_memcpy): This.
36317 (memcpy): Provide GLIBC_2_14 memcpy.
36318 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36319 (memcpy): Provide GLIBC_2_2_5 memcpy.
36321 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36324 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36326 2011-03-30 Andreas Schwab <schwab@redhat.com>
36328 * misc/syncfs.c: New file.
36329 * misc/Makefile (routines): Add syncfs.
36330 * posix/unistd.h: Declare syncfs.
36331 * sysdeps/unix/syscalls.list: Add syncfs.
36333 2011-04-01 Andreas Schwab <schwab@redhat.com>
36335 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36337 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36338 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36339 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36340 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36342 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36343 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36345 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36349 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36350 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36351 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36353 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36355 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36356 sync_file_range.c with -fexceptions.
36357 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36358 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36359 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36360 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36361 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36362 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36363 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36364 sync_file_range as cancellation point
36365 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36366 now a wrapper around __call_sync_file_range with cancellation handling.
36367 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36368 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36369 function name to __call_sync_file_range.
36370 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36371 Add call_sync_file_range.
36373 2011-04-01 Andreas Schwab <schwab@redhat.com>
36375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36378 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36380 * iconv/iconv.h: Fix typo in comment.
36381 * io/fcntl.h: Likewise.
36382 * libio/stdio.h: Likewise.
36383 * posix/spawn.h: Likewise.
36384 * posix/unistd.h: Likewise.
36385 * stdlib/stdlib.h: Likewise.
36386 * time/time.h: Likewise.
36387 * wcsmbs/wchar.h: Likewise.
36389 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36390 open_by_handle): Add.
36391 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36392 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36393 Augment a few comments.
36394 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36395 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36396 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36399 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36402 * io/fcntl.h (AT_EMPTY_PATH): Define.
36404 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36406 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36407 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36408 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36410 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36411 * Versions.def: Add GLIBC_2.14.
36412 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36415 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36417 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36419 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36421 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36424 * string/test-strncmp.c (do_page_test): New function.
36425 (check2): Likewise.
36426 (test_main): Call check2.
36427 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36429 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36432 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36433 Handle cache information in CPU leaf 4.
36434 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36436 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36439 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36440 character representation.
36441 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36443 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36445 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36446 END(__isnan) to END(__isnanf) to match function entry point/label
36447 EALIGN(__isnanf,...).
36449 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36451 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36453 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36456 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36457 copy from the symbol referenced in the relocation to initialize the
36459 Patch by Piotr Bury <pbury@goahead.com>.
36460 * elf/Makefile: Add rules to build and tst-unique3.
36461 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36462 * elf/tst-unique3.cc: New file.
36463 * elf/tst-unique3.h: New file.
36464 * elf/tst-unique3lib.cc: New file.
36465 * elf/tst-unique3lib2.cc: New file.
36467 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36469 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36471 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36472 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36475 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36477 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36478 to-be-loaded object along a path to loader is ld.so.
36480 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36481 Ulrich Drepper <drepper@gmail.com>
36483 * sysdeps/x86_64/memset.S: After aligning destination, code
36484 branches to different locations depending on the value of
36485 misalignment, when multiarch is enabled. Fix this.
36487 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36489 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36490 Set _x86_64_preferred_memory_instruction for AMD processsors.
36491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36492 Set bit_Prefer_SSE_for_memop for AMD processors.
36494 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36496 * libio/fmemopen.c (fmemopen): Optimize a bit.
36498 2011-03-03 Andreas Schwab <schwab@redhat.com>
36500 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36502 2011-03-03 Roland McGrath <roland@redhat.com>
36504 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36506 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36508 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36509 __bzero_ultra1 instead of __memset_ultra1.
36511 2011-02-23 Andreas Schwab <schwab@redhat.com>
36512 Ulrich Drepper <drepper@gmail.com>
36515 * include/link.h (struct link_map): Add l_orig_initfini.
36516 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36517 returning unsuccessfully.
36518 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36519 close of a file loaded at startup, restore the original l_initfini
36521 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36522 list, store the pointer.
36523 * elf/Makefile ($(objpfx)noload-mem): New rule.
36524 (noload-ENV): Define.
36525 (tests): Add $(objpfx)noload-mem.
36526 * elf/noload.c: Include <memcheck.h>.
36527 (main): Call mtrace. Close all opened handles.
36529 2011-02-17 Andreas Schwab <schwab@redhat.com>
36532 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36533 dependencies are missing.
36535 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36537 Fix __if_freereq crash: Unlike the generic version which uses free,
36539 * sysdeps/mach/hurd/ifreq.h: New file.
36541 2011-01-27 Petr Baudis <pasky@suse.cz>
36542 Ulrich Drepper <drepper@gmail.com>
36545 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36546 to extend_alloca().
36547 * stdio-common/bug23.c: New file.
36548 * stdio-common/Makefile (tests): Add bug23.
36550 2010-09-28 Andreas Schwab <schwab@redhat.com>
36551 Ulrich Drepper <drepper@gmail.com>
36554 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36555 before performing relro protection. At old place add assertion
36556 to make sure nothing changed.
36558 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36559 Glauber de Oliveira Costa <glommer@gmail.com>
36561 * elf/elf.h: Add new ARM TLS relocs.
36563 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36566 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36568 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36570 * sysdeps/wordsize-64/tst-writev.c: New file.
36572 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36574 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36575 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36576 insns in _dl_start to prevent a TOC reference before relocs are
36579 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36582 * Makeconfig: Remove RANLIB definition.
36583 * Makerules: Don't use RANLIB.
36584 * aclocal.m4: Remove ranlib test.
36585 * configure.in: No need to check for ranlib.
36586 * elf/rtld-Rules: Don't use RANLIB.
36588 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36590 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36592 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36593 inclusion protection macro.
36595 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36596 SIGRTMIN and SIGRTMAX and print information in that case only when
36597 SIGRTMIN is defined.
36599 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36601 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36602 arginfo fn returning -1.
36604 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36605 and thousands string is zero terminated.
36607 2011-02-03 Andreas Schwab <schwab@redhat.com>
36609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36610 sysdeps/unix/sysv/linux/bits/socket.h.
36612 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36614 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36615 (__CPU_COUNT): Remove old macros.
36616 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36617 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36618 (__CPU_ALLOC, __CPU_FREE): Add macros.
36619 (__sched_cpualloc, __sched_cpufree): Add declarations.
36621 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36623 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36624 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36625 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36626 (readdhstai): Return value of addhstaiX call.
36627 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36628 (addgrbyX): Return value returned by cache_addgr.
36629 (readdgrbyname): Return value returned by addgrbyX.
36630 (readdgrbygid): Likewise.
36631 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36632 (addpwbyX): Return value returned by cache_addpw.
36633 (readdpwbyname): Return value returned by addhstbyX.
36634 (readdpwbyuid): Likewise.
36635 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36636 (addservbyX): Return value returned by cache_addserv.
36637 (readdservbyname): Return value returned by addservbyX:
36638 (readdservbyport): Likewise.
36639 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36640 (addhstbyX): Return value returned by cache_addhst.
36641 (readdhstbyname): Return value returned by addhstbyX.
36642 (readdhstbyaddr): Likewise.
36643 (readdhstbynamev6): Likewise.
36644 (readdhstbyaddrv6): Likewise.
36645 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36646 (readdinitgroups): Return value returned by addinitgroupsX.
36647 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36648 (prune_cache): Keep track of timeout value of re-added entries.
36649 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36650 * nscd/nscd.h: Adjust prototypes of readd* functions.
36652 2011-02-04 Roland McGrath <roland@redhat.com>
36654 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36655 (nis_stats): Likewise.
36656 * nis/nis_modify.c (nis_modify): Likewise.
36657 * nis/nis_remove.c (nis_remove): Likewise.
36658 * nis/nis_add.c (nis_add): Likewise.
36660 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36662 * posix/fnmatch_loop.c: Add some consts.
36664 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36666 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36669 * config.make.in (config-cflags-novzeroupper): Define.
36670 * configure.in: Substitute libc_cv_cc_novzeroupper.
36671 * elf/Makefile (AVX-CFLAGS): Define.
36672 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36673 (CFLAGS-tst-auditmod4a.c): Likewise.
36674 (CFLAGS-tst-auditmod4b.c): Likewise.
36675 (CFLAGS-tst-auditmod6b.c): Likewise.
36676 (CFLAGS-tst-auditmod6c.c): Likewise.
36677 (CFLAGS-tst-auditmod7b.c): Likewise.
36678 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36680 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36682 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36683 function to the callback.
36684 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36686 2011-02-02 Andreas Schwab <schwab@redhat.com>
36688 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36691 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36694 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36696 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36698 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36701 * elf/Makefile: Add rules to build and run new test.
36702 * elf/tst-initorder.c: New file.
36703 * elf/tst-initorder.exp: New file.
36704 * elf/tst-initordera1.c: New file.
36705 * elf/tst-initordera2.c: New file.
36706 * elf/tst-initordera3.c: New file.
36707 * elf/tst-initordera4.c: New file.
36708 * elf/tst-initorderb1.c: New file.
36709 * elf/tst-initorderb2.c: New file.
36710 * elf/tst-order-a1.c: New file.
36711 * elf/tst-order-a2.c: New file.
36712 * elf/tst-order-a3.c: New file.
36713 * elf/tst-order-a4.c: New file.
36714 * elf/tst-order-b1.c: New file.
36715 * elf/tst-order-b2.c: New file.
36716 * elf/tst-order-main.c: New file.
36717 New test case by George Gensure <werkt0@gmail.com>.
36719 2010-10-01 Andreas Schwab <schwab@redhat.com>
36721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36722 decoding ACE if AI_CANONIDN.
36724 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36726 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36728 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36730 * version.h (RELEASE): Bump for 2.13 release.
36731 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36733 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36735 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36737 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36738 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36739 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36740 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36741 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36742 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36744 * posix/getconf.c: Update copyright year.
36745 * catgets/gencat.c: Likewise.
36746 * csu/version.c: Likewise.
36747 * debug/catchsegv.sh: Likewise.
36748 * debug/xtrace.sh: Likewise.
36749 * elf/ldconfig.c: Likewise.
36750 * elf/ldd.bash.in: Likewise.
36751 * elf/sprof.c (print_version): Likewise.
36752 * iconv/iconv_prog.c: Likewise.
36753 * iconv/iconvconfig.c: Likewise.
36754 * locale/programs/locale.c: Likewise.
36755 * locale/programs/localedef.c: Likewise.
36756 * malloc/memusage.sh: Likewise.
36757 * malloc/mtrace.pl: Likewise.
36758 * nscd/nscd.c (print_version): Likewise.
36759 * nss/getent.c: Likewise.
36761 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36762 PF_CAIF, and PF_ALG.
36763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36765 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36767 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36768 (modules-names): Use them.
36769 (ifunc-test-modules, ifunc-pie-tests): Define.
36770 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36771 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36772 (test-extras): Likewise.
36773 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36774 $(compile-command.c).
36775 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36776 (all-built-dso): Define.
36777 (check-textrel.out, check-execstack.out): Depend on it.
36779 * configure.in: Don't override --enable-multi-arch.
36781 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36784 * nscd/hstcache.c (tryagain): Define.
36785 (cache_addhst): Return tryagain not notfound for temporary errors.
36786 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36789 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36792 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36793 to make the syscall.
36794 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36797 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36798 and fall back to matching as normal character if the string ends before
36799 the matching ']' is found. This is what POSIX requires.
36800 * posix/testfnm.c: Adjust test result.
36801 * posix/globtest.sh: Adjust test result. Add new test.
36802 * posix/tst-fnmatch.input: Likewise.
36803 * posix/tst-fnmatch2.c: Add new test.
36805 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36807 * elf/Makefile (check-execstack): Revert last change. Depend on
36809 (check-execstack.h): New target.
36810 (generated): Add check-execstack.h.
36811 * elf/check-execstack.c: Include "check-execstack.h".
36812 (main): Revert last change.
36813 (handle_file): Return zero if GNU_STACK is absent and
36814 DEFAULT_STACK_PERMS doesn't include PF_X.
36816 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36818 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36819 in child fails because the descriptor is already closed.
36820 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36821 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36822 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36825 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36829 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36830 temporary buffer used to handle multi lookups locally.
36831 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36833 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36835 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36838 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36840 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36841 alignment for SSE2.
36843 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36846 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36847 characters. When rounding increased number of integer digits recompute
36849 * stdio-common/tst-grouping.c: New file.
36850 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36852 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36854 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36855 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36857 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36859 * bits/select.h: Likewise.
36861 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36863 * po/ja.po: Update from translation team.
36865 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36868 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36869 implementation just like for lxstat, fxstatat, et al.
36871 2010-12-27 Jim Meyering <meyering@redhat.com>
36874 * posix/regexec.c (build_trtable): Return failure indication upon
36875 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36877 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36880 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36881 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36882 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36883 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36886 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36889 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36890 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36892 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36894 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36895 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36896 script has SORT_BY_INIT_PRIORITY.
36897 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36898 NO_CTORS_DTORS_SECTIONS is defined.
36899 * elf/soinit.c: Likewise.
36900 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36901 NO_CTORS_DTORS_SECTIONS is defined.
36902 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36903 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36904 * sysdeps/sh/init-first.c: Likewise.
36905 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36907 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36909 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36910 always use the slow path.
36912 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36914 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36915 similar rule which adds the sysdep directories to the header search in
36916 order to pick up the correct platform stackinfo.h.
36917 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36918 perform test if it is, otherwise return successfully without testing.
36919 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36920 DEFAULT_STACK_PERMS define in stackinfo.h.
36921 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36922 defined in stackinfo.h.
36923 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36924 DEFAULT_STACK_PERMS defined in stackinfo.h.
36925 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36926 * sysdeps/ia64/stackinfo.h: Likewise.
36927 * sysdeps/s390/stackinfo.h: Likewise.
36928 * sysdeps/sh/stackinfo.h: Likewise.
36929 * sysdeps/sparc/stackinfo.h: Likewise.
36930 * sysdeps/x86_64/stackinfo.h: Likewise.
36931 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36932 PF_X for powerpc64. Retain PF_X for powerpc32.
36934 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36936 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36938 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36939 GETDENTS_64BIT_ALIGNED.
36941 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36943 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36945 2010-12-10 Andreas Schwab <schwab@redhat.com>
36947 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36950 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36951 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36953 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36954 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36956 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36959 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36962 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36964 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36966 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36968 * po/it.po: Update from translation team.
36970 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36972 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36975 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36977 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36979 2010-11-24 Andreas Schwab <schwab@redhat.com>
36981 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36983 (gaih_getanswer_slice): Likewise.
36985 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36989 2010-05-31 Petr Baudis <pasky@suse.cz>
36992 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36993 silently even in the chroot mode.
36995 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36997 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36998 last patch a bit. Pretty printing
37000 2010-05-31 Petr Baudis <pasky@suse.cz>
37003 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37004 initialization of skip_initgroups_dyn.
37006 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37008 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37009 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37011 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37013 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37015 2010-11-11 Andreas Schwab <schwab@redhat.com>
37017 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37018 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37019 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37020 ($(objpfx)tst-fnmatch-mem): New rule.
37021 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37022 * posix/tst-fnmatch.c (main): Call mtrace.
37024 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37027 Support Intel processor model 6 and model 0x2c.
37029 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37031 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37034 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37037 * string/test-strncasecmp.c (check_result): New function.
37038 (do_one_test): Use it.
37039 (check1): New function.
37040 (test_main): Use it.
37041 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37042 Support strcasecmp and strncasecmp.
37044 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37047 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37048 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37050 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37052 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37056 * sysdeps/x86_64/multiarch/bzero.S: New file.
37057 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37058 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37059 * sysdeps/x86_64/multiarch/memset.S: New file.
37060 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37062 Set bit_Prefer_SSE_for_memop for Intel processors.
37063 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37065 (index_Prefer_SSE_for_memop): Define.
37066 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37068 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37070 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37071 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37073 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37076 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37077 (__x86_64_raw_data_cache_size_half): Likewise.
37078 (__x86_64_raw_shared_cache_size): Likewise.
37079 (__x86_64_raw_shared_cache_size_half): Likewise.
37081 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37082 (__x86_64_raw_data_cache_size_half): Likewise.
37083 (__x86_64_raw_shared_cache_size): Likewise.
37084 (__x86_64_raw_shared_cache_size_half): Likewise.
37085 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37086 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37087 and __x86_64_raw_shared_cache_size_half. Round
37088 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37089 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37090 to multiple of 256 bytes.
37092 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37095 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37096 of inacessible symlinks. Verify result of symlink before returning it.
37097 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37098 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37100 2010-10-28 Erich Ritz <erichritz@gmail.com>
37102 * math/math.h (isinf): Fix typo in comment.
37104 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37106 * po/da.po: Update from translation team.
37108 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37110 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37111 is added to the list.
37113 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37114 Ulrich Drepper <drepper@gmail.com>
37116 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37117 the global list here. Move code to...
37118 (_dl_add_to_namespace_list): ...here. New function.
37119 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37120 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37121 * elf/dl-load.c (lose): Don't remove the element from the list.
37122 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37123 (_dl_map_object): Likewise.
37125 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37128 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37129 into all bytes of SSE register.
37130 Patch by Richard Li <richardpku@gmail.com>.
37132 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37135 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37138 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37140 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37141 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37142 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37143 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37148 2010-10-22 Andreas Schwab <schwab@redhat.com>
37150 * include/dlfcn.h (__RTLD_SECURE): Define.
37151 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37152 mode & __RTLD_SECURE instead.
37153 (open_path): Rename preloaded parameter to secure.
37154 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37155 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37156 * elf/dl-deps.c (openaux): Likewise.
37157 * elf/rtld.c (struct map_args): Remove is_preloaded.
37158 (map_doit): Don't use it.
37159 (dl_main): Likewise.
37160 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37161 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37163 2010-09-09 Andreas Schwab <schwab@redhat.com>
37165 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37166 (sysd-rules-targets): Remove duplicates.
37167 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37168 rtld-%.$o dependency.
37170 2010-10-18 Andreas Schwab <schwab@redhat.com>
37172 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37173 _dl_map_object do it.
37175 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37177 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37178 fast fma builtins, define the macros in the C99 standard.
37179 (FP_FAST_FMAF): Likewise.
37180 (FP_FAST_FMAL): Likewise.
37181 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37183 * bits/mathdef.h: Update copyright year.
37184 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37186 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37188 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37189 builtins, define the macros in the C99 standard.
37190 (FP_FAST_FMAF): Likewise.
37191 (FP_FAST_FMAL): Likewise.
37192 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37194 (FP_FAST_FMAF): Likewise.
37196 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37199 * math/libm-test.inc (fma_test): Some new testcases.
37200 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37201 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37202 y and infinite z. Do multiplication by C already in long double.
37203 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37205 y and infinite z. Do bitwise or of inexact bit into u.d.
37206 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37207 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37208 * sysdeps/i386/fpu/s_fma.S: Removed.
37209 * sysdeps/i386/fpu/s_fmal.S: Removed.
37211 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37214 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37216 computation is not scheduled after fetestexcept. Fix value
37217 of minimum denormal long double.
37219 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37222 * math/libm-test.inc (fma_test): Add some more tests.
37223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37226 2010-10-15 Andreas Schwab <schwab@redhat.com>
37228 * scripts/data/localplt-s390-linux-gnu.data: New file.
37229 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37231 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37234 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37235 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37237 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37239 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37241 if one of x and y is very large and the other is subnormal.
37242 * sysdeps/s390/fpu/s_fmaf.c: New file.
37243 * sysdeps/s390/fpu/s_fma.c: New file.
37244 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37245 * sysdeps/powerpc/fpu/s_fma.S: New file.
37246 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37247 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37248 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37250 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37253 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37255 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37256 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37257 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37258 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37259 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37260 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37263 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37266 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37267 * posix/bug-regex31.input: Add test case.
37269 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37271 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37272 * posix/bug-regex31.input: New file.
37275 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37276 (parse_sub_exp): Fix last change, use postorder.
37278 * posix/bug-regex31.c: New file.
37279 * posix/Makefile: Add rules to build and run bug-regex31.
37281 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37284 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37287 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37288 to have entries in sys_siglist.
37291 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37294 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37297 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37298 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37299 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37300 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37301 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37302 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37303 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37304 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37305 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37306 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37307 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37308 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37309 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37310 * math/ftestexcept.c (fetestexcept): Likewise.
37311 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37312 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37313 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37314 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37315 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37316 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37317 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37319 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37322 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37325 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37327 * string/bug-strstr1.c: New file.
37328 * string/Makefile: Add rules to build and run bug-strstr1.
37330 2010-10-05 Eric Blake <eblake@redhat.com>
37333 * string/str-two-way.h (two_way_long_needle): Always clear memory
37334 when skipping input due to the shift table.
37336 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37339 * malloc/mcheck.c: Handle large requests.
37342 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37343 for strncmp and strncasecmp.
37344 * string/stratcliff.c: Add tests for strcmp and strncmp.
37345 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37347 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37349 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37352 2010-09-30 Andreas Jaeger <aj@suse.de>
37354 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37355 (CGROUP_SUPER_MAGIC): Define.
37356 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37357 Handle btrfs and cgroup file systems.
37358 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37361 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37363 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37364 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37366 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37369 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37370 trying to locate the ELF header.
37372 2010-09-27 Andreas Schwab <schwab@redhat.com>
37375 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37376 Mask out sign-bit copies when constructing f_fsid.
37378 2010-09-24 Petr Baudis <pasky@suse.cz>
37380 * debug/stack_chk_fail_local.c: Add missing licence exception.
37381 * debug/warning-nop.c: Likewise.
37383 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37385 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37386 implementing getdents64 using getdents syscall, set d_type if
37387 __ASSUME_GETDENTS32_D_TYPE.
37389 2010-09-16 Andreas Schwab <schwab@redhat.com>
37391 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37392 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37394 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37397 * posix/unistd.h: Undo change of feature selection for ftruncate from
37400 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37402 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37405 2010-09-20 Andreas Schwab <schwab@redhat.com>
37407 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37409 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37411 2010-09-14 Andreas Schwab <schwab@redhat.com>
37413 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37414 variables after CHECK_SP call.
37415 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37417 2010-09-13 Andreas Schwab <schwab@redhat.com>
37418 Ulrich Drepper <drepper@redhat.com>
37420 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37421 re-relocationg ld.so.
37422 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37423 _dl_init_paths call.
37424 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37427 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37429 * resolv/res_init.c (__res_vinit): Count the default server we added.
37431 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37432 Ulrich Drepper <drepper@redhat.com>
37435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37436 (____longjmp_chk): Use %ebx for saving value across system call.
37439 2010-09-06 Andreas Schwab <schwab@redhat.com>
37441 * manual/Makefile: Don't mix pattern rules with normal rules.
37443 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37445 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37447 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37448 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37449 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37450 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37451 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37454 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37457 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37458 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37460 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37462 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37463 * sysdeps/x86_64/addmul_1.S: Likewise.
37464 * sysdeps/x86_64/lshift.S: Likewise.
37465 * sysdeps/x86_64/mul_1.S: Likewise.
37466 * sysdeps/x86_64/rshift.S: Likewise.
37467 * sysdeps/x86_64/sub_n.S: Likewise.
37468 * sysdeps/x86_64/submul_1.S: Likewise.
37470 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37472 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37473 Define __sched_param instead of SCHED_* and sched_param when
37474 <bits/sched.h> is included with __need_schedparam defined.
37475 * bits/sched.h [__need_schedparam]
37476 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37477 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37478 (__defined_schedparam): Define to 1.
37479 (__sched_param): New structure, identical to sched_param.
37480 (__need_schedparam): Undefine.
37482 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37484 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37485 (epoll_create1): Declare.
37487 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37489 2010-08-31 Andreas Schwab <schwab@redhat.com>
37492 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37493 shifting retval into place.
37495 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37497 * nis/rpcsvc/nis.h: Update copyright notice.
37498 * nis/rpcsvc/nis.x: Likewise.
37499 * nis/rpcsvc/nis_callback.h: Likewise.
37500 * nis/rpcsvc/nis_callback.x: Likewise.
37501 * nis/rpcsvc/nis_object.x: Likewise.
37502 * nis/rpcsvc/nis_tags.h: Likewise.
37503 * nis/rpcsvc/yp.h: Likewise.
37504 * nis/rpcsvc/yp.x: Likewise.
37505 * nis/rpcsvc/ypupd.h: Likewise.
37506 * nis/yp_xdr.c: Likewise.
37507 * nis/ypupdate_xdr.c: Likewise.
37509 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37510 mainly the body of pmap_getport. Add parameters to specify timeouts.
37511 (pmap_getport): Use __libc_rpc_getport.
37512 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37513 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37514 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37516 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37521 2010-08-27 Roland McGrath <roland@redhat.com>
37523 * sysdeps/i386/i686/multiarch/Makefile
37524 (CFLAGS-varshift.c): New variable.
37526 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37528 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37529 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37531 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37533 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37535 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37537 * sysdeps/x86_64/strlen.S: Unroll the loop.
37538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37539 strlen-sse2 strlen-sse2-bsf.
37540 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37541 __strlen_no_bsf if bit_Slow_BSF is set.
37542 (__strlen_sse42): Removed.
37543 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37544 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37546 2010-08-25 Roland McGrath <roland@redhat.com>
37548 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37549 * sysdeps/x86_64/multiarch/varshift.c: New file.
37550 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37551 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37552 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37553 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37555 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37558 strlen-sse2 strlen-sse2-bsf.
37559 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37560 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37561 (__strlen_sse2): Removed.
37562 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37563 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37565 bit_Slow_BSF for Atom.
37566 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37567 (index_Slow_BSF): Define.
37568 (HAS_SLOW_BSF): Define.
37570 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37573 * resolv/res_init.c (__res_vinit): When no server address at all
37574 is given default to loopback.
37576 2010-08-24 Roland McGrath <roland@redhat.com>
37578 * configure.in: Remove config-name.h generation.
37579 * configure: Regenerated.
37580 * config-name.in: File removed.
37581 * scripts/config-uname.sh: New file.
37582 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37583 ($(objdir)config-name.h): New target.
37585 * sunrpc/rpc_parse.h: Avoid nested comment.
37587 2010-08-24 Richard Henderson <rth@redhat.com>
37588 Ulrich Drepper <drepper@redhat.com>
37589 H.J. Lu <hongjiu.lu@intel.com>
37591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37593 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37594 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37595 _mm_alignr_epi8 with _mm_loadu_si128.
37596 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37597 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37598 (__m128i_shift_right): Removed.
37599 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37600 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37601 * sysdeps/x86_64/multiarch/varshift.h: New file.
37602 * sysdeps/x86_64/multiarch/varshift.S: New file.
37604 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37606 * configure.in: Move assembler checks to before sysdep dir checking.
37608 2010-08-20 Petr Baudis <pasky@suse.cz>
37610 * LICENSES: Sync the sunrpc license.
37612 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37614 * sunrpc/auth_des.c: Update copyright notice once again.
37615 * sunrpc/auth_none.c: Likewise.
37616 * sunrpc/auth_unix.c: Likewise.
37617 * sunrpc/authdes_prot.c: Likewise.
37618 * sunrpc/authuxprot.c: Likewise.
37619 * sunrpc/bindrsvprt.c: Likewise.
37620 * sunrpc/clnt_gen.c: Likewise.
37621 * sunrpc/clnt_perr.c: Likewise.
37622 * sunrpc/clnt_raw.c: Likewise.
37623 * sunrpc/clnt_simp.c: Likewise.
37624 * sunrpc/clnt_tcp.c: Likewise.
37625 * sunrpc/clnt_udp.c: Likewise.
37626 * sunrpc/clnt_unix.c: Likewise.
37627 * sunrpc/des_crypt.c: Likewise.
37628 * sunrpc/des_soft.c: Likewise.
37629 * sunrpc/get_myaddr.c: Likewise.
37630 * sunrpc/getrpcport.c: Likewise.
37631 * sunrpc/key_call.c: Likewise.
37632 * sunrpc/key_prot.c: Likewise.
37633 * sunrpc/openchild.c: Likewise.
37634 * sunrpc/pm_getmaps.c: Likewise.
37635 * sunrpc/pm_getport.c: Likewise.
37636 * sunrpc/pmap_clnt.c: Likewise.
37637 * sunrpc/pmap_prot.c: Likewise.
37638 * sunrpc/pmap_prot2.c: Likewise.
37639 * sunrpc/pmap_rmt.c: Likewise.
37640 * sunrpc/rpc/auth.h: Likewise.
37641 * sunrpc/rpc/auth_unix.h: Likewise.
37642 * sunrpc/rpc/clnt.h: Likewise.
37643 * sunrpc/rpc/des_crypt.h: Likewise.
37644 * sunrpc/rpc/key_prot.h: Likewise.
37645 * sunrpc/rpc/netdb.h: Likewise.
37646 * sunrpc/rpc/pmap_clnt.h: Likewise.
37647 * sunrpc/rpc/pmap_prot.h: Likewise.
37648 * sunrpc/rpc/pmap_rmt.h: Likewise.
37649 * sunrpc/rpc/rpc.h: Likewise.
37650 * sunrpc/rpc/rpc_des.h: Likewise.
37651 * sunrpc/rpc/rpc_msg.h: Likewise.
37652 * sunrpc/rpc/svc.h: Likewise.
37653 * sunrpc/rpc/svc_auth.h: Likewise.
37654 * sunrpc/rpc/types.h: Likewise.
37655 * sunrpc/rpc/xdr.h: Likewise.
37656 * sunrpc/rpc_clntout.c: Likewise.
37657 * sunrpc/rpc_cmsg.c: Likewise.
37658 * sunrpc/rpc_common.c: Likewise.
37659 * sunrpc/rpc_cout.c: Likewise.
37660 * sunrpc/rpc_dtable.c: Likewise.
37661 * sunrpc/rpc_hout.c: Likewise.
37662 * sunrpc/rpc_main.c: Likewise.
37663 * sunrpc/rpc_parse.c: Likewise.
37664 * sunrpc/rpc_parse.h: Likewise.
37665 * sunrpc/rpc_prot.c: Likewise.
37666 * sunrpc/rpc_sample.c: Likewise.
37667 * sunrpc/rpc_scan.c: Likewise.
37668 * sunrpc/rpc_scan.h: Likewise.
37669 * sunrpc/rpc_svcout.c: Likewise.
37670 * sunrpc/rpc_tblout.c: Likewise.
37671 * sunrpc/rpc_util.c: Likewise.
37672 * sunrpc/rpc_util.h: Likewise.
37673 * sunrpc/rpcinfo.c: Likewise.
37674 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37675 * sunrpc/rpcsvc/key_prot.x: Likewise.
37676 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37677 * sunrpc/rpcsvc/mount.x: Likewise.
37678 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37679 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37680 * sunrpc/rpcsvc/rex.x: Likewise.
37681 * sunrpc/rpcsvc/rstat.x: Likewise.
37682 * sunrpc/rpcsvc/rusers.x: Likewise.
37683 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37684 * sunrpc/rpcsvc/spray.x: Likewise.
37685 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37686 * sunrpc/rtime.c: Likewise.
37687 * sunrpc/svc.c: Likewise.
37688 * sunrpc/svc_auth.c: Likewise.
37689 * sunrpc/svc_authux.c: Likewise.
37690 * sunrpc/svc_raw.c: Likewise.
37691 * sunrpc/svc_run.c: Likewise.
37692 * sunrpc/svc_simple.c: Likewise.
37693 * sunrpc/svc_tcp.c: Likewise.
37694 * sunrpc/svc_udp.c: Likewise.
37695 * sunrpc/svc_unix.c: Likewise.
37696 * sunrpc/svcauth_des.c: Likewise.
37697 * sunrpc/xcrypt.c: Likewise.
37698 * sunrpc/xdr.c: Likewise.
37699 * sunrpc/xdr_array.c: Likewise.
37700 * sunrpc/xdr_float.c: Likewise.
37701 * sunrpc/xdr_mem.c: Likewise.
37702 * sunrpc/xdr_rec.c: Likewise.
37703 * sunrpc/xdr_ref.c: Likewise.
37704 * sunrpc/xdr_sizeof.c: Likewise.
37705 * sunrpc/xdr_stdio.c: Likewise.
37707 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37710 2010-08-19 Andreas Schwab <schwab@redhat.com>
37712 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37714 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37716 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37717 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37718 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37719 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37720 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37721 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37722 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37723 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37724 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37725 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37726 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37727 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37728 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37729 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37731 2010-07-26 Anton Blanchard <anton@samba.org>
37733 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37734 * malloc/arena.c (heap_trim): Likewise.
37736 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37738 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37741 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37743 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37745 * sysdeps/i386/elf/Makefile: New file.
37747 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37749 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37750 from fanotify_init.
37751 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37754 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37756 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37758 * sysdeps/multiarch/strcmp.S: Likewise.
37760 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37762 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37763 strncase_l-nonascii.
37764 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37765 Add strncase_l-ssse3.
37766 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37767 * sysdeps/x86_64/strcmp.S: Likewise.
37768 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37769 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37770 * sysdeps/x86_64/strncase.S: New file.
37771 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37772 * sysdeps/x86_64/strncase_l.S: New file.
37773 * string/Makefile (strop-tests): Add strncasecmp.
37774 * string/test-strncasecmp.c: New file.
37776 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37779 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37780 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37782 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37784 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37786 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37788 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37789 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37790 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37792 2010-05-01 Alan Modra <amodra@gmail.com>
37794 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37795 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37796 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37797 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37798 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37799 tidying. Don't tail-call __sigjmp_save for static lib.
37800 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37802 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37803 (CALL_MCOUNT): Add eh info, and nop after bl.
37804 (TAIL_CALL_SYSCALL_ERROR): New macro.
37805 (PSEUDO_RET): Use it.
37806 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37807 Correct save location of integer regs and cr.
37808 (_dl_profile_resolve): Correct cr save location. Delete nops
37809 after bl when SHARED. Reduce cfi size a little by better
37810 placement of cfi directives.
37811 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37812 make a stack frame. Instead use parm save area as a temp.
37813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37814 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37816 Don't make a stack frame for parent, use parm save area.
37817 Increase child stack frame to 112 bytes. Don't save unused reg,
37818 and adjust reg usage. Set up cfi on error recovery and
37819 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37821 (__makecontext): Add dummy nop after jump to exit.
37822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37823 Use correct parm save area and cr save, reduce stack frame.
37824 Correct cfi for possible PSEUDO_RET frame setup.
37825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37826 Branch to local label emitted by PSEUDO_RET rather than
37829 2010-08-12 Andreas Schwab <schwab@redhat.com>
37832 * locale/programs/locale.c (print_assignment): New function.
37833 (show_locale_vars): Use it.
37835 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37837 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37839 (struct statfs64): Likewise.
37840 (_STATFS_F_FLAGS): Define.
37841 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37842 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37843 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37844 (ST_VALID): Define locally.
37845 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37846 __statvfs_getflags, use the provided value.
37847 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37848 __ASSUME_STATFS_F_FLAGS.
37850 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37852 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37853 Add sys/fanotify.h.
37854 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37855 fanotify_mask for GLIBC_2.13.
37856 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37857 fanotify_init and fanotify_mark.
37858 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37859 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37861 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37863 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37864 prlimit64 for GLIBC_2.13.
37865 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37867 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37870 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37871 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37872 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37875 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37878 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37879 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37881 * nss/Makefile: Add rules to build and run tst-nss-test1.
37882 * shlib-versions: Add entry for libnss_test1.
37883 * nss/nss_test1.c: New file.
37884 * nss/tst-nss-test1.c: New file.
37886 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37887 (__nss_configure_lookup): Set appropriate entry in
37888 __nss_configure_lookup to true.
37889 * nss/nsswitch.h: Define enum with indeces of databases in
37890 databases and __nss_database_custom arrays. Declare
37891 __nss_database_custom.
37892 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37893 to avoid using nscd when custom rules are installed.
37894 * nss/getXXbyYY_r.c: Likewise.
37895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37897 * nss/nss_files/files-parse.c: Whitespace fixes.
37899 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37902 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37903 * posix/fnmatch_loop.c: Likewise.
37905 2010-07-17 Andi Kleen <ak@linux.intel.com>
37907 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37908 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37909 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37910 * Versions.def [GLIBC_2.13]: Add.
37912 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37914 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37915 Also fail if tpwd after pwuid call is NULL.
37917 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37919 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37920 when converting to ms.
37922 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37924 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37925 EOPNOTSUPP errors with ENOTTY.
37926 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37927 EOPNOTSUPP errors with ENOTTY.
37929 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37931 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37932 Add strcasecmp_l-ssse3.
37933 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37935 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37936 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37937 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37939 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37941 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37943 * string/Makefile (strop-tests): Add strcasecmp.
37944 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37945 strcasecmp_l-nonascii.
37946 (gen-as-const-headers): Add locale-defines.sym.
37947 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37948 * sysdeps/x86_64/strcasecmp.S: New file.
37949 * sysdeps/x86_64/strcasecmp_l.S: New file.
37950 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37951 * sysdeps/x86_64/locale-defines.sym: New file.
37952 * string/test-strcasecmp.c: New file.
37954 * string/test-strcasestr.c: Test both ends of the range of characters.
37955 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37957 2010-07-29 Roland McGrath <roland@redhat.com>
37960 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37962 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37964 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37967 2010-07-27 Andreas Schwab <schwab@redhat.com>
37969 * manual/memory.texi (Malloc Tunable Parameters): Document
37972 2010-07-26 Roland McGrath <roland@redhat.com>
37975 * configure.in (-fgnu89-inline check): Set and substitute
37976 gnu89_inline, not libc_cv_gnu89_inline.
37977 * configure: Regenerated.
37978 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37980 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37982 * string/test-strnlen.c: New file.
37983 * string/Makefile (strop-tests): Add strnlen.
37984 * string/tester.c (test_strnlen): Add a few more test cases.
37985 * string/tst-strlen.c: Better error reporting.
37987 * sysdeps/x86_64/strnlen.S: New file.
37989 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37991 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37992 lower-latency instructions.
37994 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37996 * string/test-strcasestr.c: New file.
37997 * string/test-strstr.c: New file.
37998 * string/Makefile (strop-tests): Add strstr and strcasestr.
37999 * string/str-two-way.h: Don't undefine MAX.
38000 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38002 2010-07-21 Andreas Schwab <schwab@redhat.com>
38004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38005 strcasestr-nonascii.
38006 (CFLAGS-strcasestr-nonascii.c): Define.
38007 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38008 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38009 Remove unused attribute.
38011 2010-07-20 Roland McGrath <roland@redhat.com>
38013 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38014 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38015 ld.so.cache was broken. With it, there is no way to disable dsocaps
38016 like LD_HWCAP_MASK can disable hwcaps.
38018 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38020 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38022 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38024 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38025 call in strcasestr.
38026 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38027 __strcasestr_sse42_nonascii.
38028 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38029 strcasestr-nonascii.c.
38030 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38032 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38034 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38035 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38036 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38037 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38039 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38041 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38044 2010-07-06 Andreas Schwab <schwab@redhat.com>
38047 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38050 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38052 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38053 _PC_PIPE_BUF using F_GETPIPE_SZ.
38055 2010-07-05 Roland McGrath <roland@redhat.com>
38057 * manual/arith.texi (Rounding Functions): Fix rint description
38058 implicit in round description.
38060 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38062 * elf/Makefile: Fix linking for a few tests to make recent linker
38065 2010-06-30 Andreas Schwab <schwab@redhat.com>
38067 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38068 $(common-objpfx)libc_nonshared.a.
38070 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38072 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38073 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38074 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38075 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38076 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38077 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38078 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38079 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38094 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38095 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38096 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38097 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38098 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38099 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38100 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38101 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38102 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38103 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38104 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38105 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38121 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38123 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38124 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38125 * string/memmove.c (memmove): Renamed to ...
38126 (MEMMOVE): ...this. Default to memmove.
38127 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38128 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38131 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38132 mempcpy-ssse3-back memmove-ssse3-back.
38133 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38135 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38136 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38137 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38138 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38139 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38140 * sysdeps/x86_64/multiarch/memmove.c: New file.
38141 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38142 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38143 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38144 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38145 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38146 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38148 (index_Fast_Copy_Backward): Define.
38149 (HAS_ARCH_FEATURE): Define.
38150 (HAS_FAST_REP_STRING): Define.
38151 (HAS_FAST_COPY_BACKWARD): Define.
38153 2010-06-21 Andreas Schwab <schwab@redhat.com>
38155 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38156 Restore proper fallback handling.
38158 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38161 * posix/group_member.c (__group_member): Correct checking loop.
38163 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38164 OOM in getpwuid_r correctly. Return error number when the caller
38165 should return, otherwise -1.
38166 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38167 call returning > 0 value.
38168 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38170 2010-06-07 Andreas Schwab <schwab@redhat.com>
38172 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38173 libc_nonshared.a from targets in modules-names.
38175 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38177 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38180 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38182 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38183 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38185 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38187 2010-06-02 Andreas Schwab <schwab@redhat.com>
38189 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38191 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38193 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38195 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38196 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38199 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38200 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38202 2010-06-14 Roland McGrath <roland@redhat.com>
38204 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38206 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38208 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38209 __REDIRECT followed by __THROW.
38210 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38211 * posix/getopt.h (getopt): Likewise.
38213 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38215 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38216 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38217 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38219 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38220 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38222 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38224 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38226 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38230 Properly check family and model.
38232 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38234 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38236 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38238 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38240 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38242 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38245 2010-05-19 Andreas Schwab <schwab@redhat.com>
38247 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38250 2010-05-21 Andreas Schwab <schwab@redhat.com>
38252 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38253 and internal_recvmmsg.
38254 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38255 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38256 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38257 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38259 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38260 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38261 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38263 2010-05-20 Andreas Schwab <schwab@redhat.com>
38265 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38267 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38269 POWER7 optimizations.
38270 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38271 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38273 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38275 * version.h: Update for 2.13 development version.
38277 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38279 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38280 exceptions. Return 0.
38282 2010-05-07 Roland McGrath <roland@redhat.com>
38284 * elf/ldconfig.c (main): Add a const.
38286 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38288 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38289 (args_options): Add no-idn option.
38290 (ahosts_keys_int): Add idn_flags to ai_flags.
38291 (parse_option): Handle 'i' option to clear idn_flags.
38293 * malloc/malloc.c (_int_free): Possible race in the most recently
38294 added check. Only act on the data if no current modification
38297 See ChangeLog.17 for earlier changes.