1 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
3 * manual/llio.texi: Document MTASC-safety properties.
5 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
7 * manual/libdl.texi: New.
9 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11 * manual/lang.texi: Document MTASC-safety properties.
13 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15 * manual/job.texi: Document MTASC-safety properties.
17 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19 * manual/getopt.texi: Document MTASC-safety properties.
21 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23 * manual/ctype.texi: Document MTASC-safety properties.
25 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
28 * csu/libc-tls.c (static_map): Remove variable.
29 (__libc_setup_tls): Use main executable's link map for TLS data.
30 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
31 casing for LM_ID_BASE and GL(dl_nns).
32 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
34 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
36 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
43 * manual/debug.texi: Document MTASC-safety properties.
45 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
48 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
49 of __x86_64__ when disabling x87 inline functions.
51 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
53 * manual/charset.texi: Document MTASC-safety properties.
55 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
57 * manual/crypt.texi: Document MTASC-safety properties.
59 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
61 * manual/conf.texi: Document MTASC-safety properties.
63 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
65 * manual/arith.texi: Document MTASC-safety properties.
67 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
69 * manual/argp.texi: Document MTASC-safety properties.
71 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
73 * manual/macros.texi: Introduce macros to document multi
74 thread, asynchronous signal and asynchronous cancellation
76 * manual/intro.texi: Introduce the properties themselves.
78 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80 * sysdeps/sh/sh4/Makefile: New file.
82 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
84 * math/gen-libm-test.pl ($srcdir): New variable.
85 ($auto_input): Use it.
87 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
90 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
91 access beyond array bounds when parsing netgroups file.
93 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
94 the old buffer before realloc.
96 2014-01-27 Allan McRae <allan@archlinux.org>
98 * po/fr.po: Update French translation from translation project.
100 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
102 * sysdeps/sh/libm-test-ulps: Regenerate.
104 2014-01-24 David S. Miller <davem@davemloft.net>
106 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
108 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
110 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
111 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
113 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
116 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
117 string pointers after reallocation.
119 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
121 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
122 __SH4A__ instead of __SH_FPU_ANY__.
124 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
126 * sysdeps/sh/fpu_control.h: New file.
127 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
128 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
129 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
130 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
131 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
132 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
133 * sysdeps/sh/sys/ucontext.h: Remove.
134 * sysdeps/sh/sys: Remove directory.
136 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
138 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
140 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
141 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
143 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
146 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
148 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
151 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
152 Adjust the vDSO correctly for internal calls.
153 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
155 2014-01-20 Allan McRae <allan@archlinux.org>
157 * po/ca.po: Update Catalan translation from translation project.
159 2014-01-16 Mike Frysinger <vapier@gentoo.org>
161 * sysdeps/s390/sotruss-lib.c: New file.
163 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
166 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
167 (__GI___gettimeofday): Alias for a different internal symbol to avoid
168 local calls issues by not having a PLT stub required for IFUNC calls.
169 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
171 2014-01-16 Joseph Myers <joseph@codesourcery.com>
173 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
174 * math/test-fpucw-static.c: Likewise.
176 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
179 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
181 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
183 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
184 implementation for powerpc.
186 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
189 * sysdeps/posix/system.c (__libc_system): Do not enable
190 asynchronous cancellation.
192 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
195 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
196 handling only for numbers special also in the IEEE case.
198 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
200 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
202 2014-01-11 Allan McRae <allan@archlinux.org>
204 * po/bg.po: Update Bulgarian translation from translation project.
206 * po/de.po: Update German translation from translation project.
208 2014-01-10 Roland McGrath <roland@hack.frob.com>
210 * sysdeps/generic/gcc-compat.h: New file.
212 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
214 * benchtests/asin-inputs: Correct slow inputs.
215 * benchtests/acos-inputs: Likewise.
217 2014-01-10 Allan McRae <allan@archlinux.org>
219 * po:sv.po: Update Swedish translation from translation project.
221 * po/vi.po: Update Vietnamese translation from translation project.
223 * po/eo.po: Update Esperanto translation from translation project.
225 * po/cs.po: Update Czech translation from translation project.
227 * po/nl.po: Update Dutch translation from translation project.
229 * po/pl.po: Update Polish translation from translation project.
231 * po/ru.po: Update Russian translation from translation project.
233 * po/uk.po: Update Ukrainian translation from translation project.
235 2014-01-08 Brooks Moses <bmoses@google.com>
237 * elf/dl-load.c: Fix comment typo.
239 2014-01-08 Carlos O'Donell <carlos@redhat.com>
241 * po/header.pot: Rename to...
242 * po/pot.header: ... this.
243 * po/Makefile: Use pot.header.
245 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
246 Maxim Kuvyrkov <maxim@kugelworks.com>
249 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
250 SRC and DEST against LEN.
252 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
255 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
257 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
259 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
263 2014-01-08 Joseph Myers <joseph@codesourcery.com>
266 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
267 for large positive arguments.
269 2014-01-07 Joseph Myers <joseph@codesourcery.com>
271 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
273 * math/auto-libm-test-in: Mark various tests with
274 xfail-rounding:ldbl-128ibm.
275 * math/auto-libm-test-out: Regenerated.
278 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
279 Increase overflow threshold.
281 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
284 * stdio-common/vfprintf.c: Check for integer overflow.
286 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
288 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
289 the first argument and return value of __tls_get_addr_internal.
291 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
293 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
294 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
296 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
298 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
299 * sysdeps/s390/rtld-global-offsets.sym: New file.
300 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
302 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
303 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
304 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
306 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
307 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
313 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
314 halfs of GPRs for high_gprs contexts.
315 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
316 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
318 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
320 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
322 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
323 for high GPRs (uc_high_gprs) and for future extensions
325 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
326 for future extensions (__reserved).
327 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
329 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
330 SC_HIGHGPRS offset definition.
331 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
332 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
334 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
336 * Versions.def: Add GLIBC_2.19 for libpthread.
337 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
338 siglongjmp for libpthread with GLIBC_2.19 symver.
339 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
340 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
341 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
342 * sysdeps/s390/__longjmp.c: New file.
343 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
344 * sysdeps/s390/longjmp.c: New file.
345 * sysdeps/s390/setjmp.S: New file.
346 * sysdeps/s390/sigjmp.S: New file.
347 * sysdeps/s390/v1-longjmp.c: New file.
348 * sysdeps/s390/v1-setjmp.h: New file.
349 * sysdeps/s390/v1-sigjmp.c: New file.
350 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
351 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
353 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
354 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
355 versioned symbols for ____longjmp_chk.
356 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
366 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
367 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
368 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
369 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
370 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
371 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
372 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
373 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
374 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
375 * sysdeps/s390/rtld-__longjmp.c: New file.
376 * sysdeps/s390/rtld-setjmp.S: New file.
378 2014-01-06 Joseph Myers <joseph@codesourcery.com>
381 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
382 Return -__logl (x) for small positive arguments without evaluating
385 2014-01-06 Mike Frysinger <vapier@gentoo.org>
387 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
389 (__ptrace_peeksiginfo_args): ... this.
390 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
391 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
392 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
394 2014-01-06 Allan McRae <allan@archlinux.org>
396 * inet/netinet/in.h: Fix typo in comment.
398 2014-01-05 Andreas Jaeger <aj@suse.de>
400 * sysdeps/i386/fpu/libm-test-ulps: Update.
402 2014-01-05 Allan McRae <allan@archlinux.org>
404 * po/libc.pot: Regenerated.
406 * malloc/memusagestat.c: Fix gettext call formatting.
408 2014-01-04 Sami Kerola <kerolasa@iki.fi>
410 * nscd/nscd.c: Improve usage() output.
412 2014-01-04 Mike Frysinger <vapier@gentoo.org>
414 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
415 * sysdeps/unix/sysv/linux/configure: Regenerated.
416 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
417 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
419 2014-01-03 Joseph Myers <joseph@codesourcery.com>
422 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
423 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
425 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
427 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
428 extra tokens at end of #undef directive.
429 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
430 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
431 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
433 2014-01-03 Andrew Hunter <ahh@google.com>
435 * elf/dl-open.c (dl_open_worker): New comment.
436 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
437 atomic_compare_and_exchange_bool_acq
438 (_dl_allocate_static_tls): Block signals.
439 * elf/dl-tls.c (allocate_and_init): Return void.
440 (_dl_update_slotinfo): Block signals, use atomic update.
442 2014-01-03 Joseph Myers <joseph@codesourcery.com>
444 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
446 * math/auto-libm-test-in: Mark various tests with
447 xfail-rounding:ldbl-128ibm.
448 * math/auto-libm-test-out: Regenerated.
450 2014-01-02 Joseph Myers <joseph@codesourcery.com>
453 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
454 numbers with subnormal high part when calculating exponent.
457 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
461 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
463 (__ieee754_acoshl): Use __log1pl not __log1p.
465 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
467 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
468 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
469 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
470 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
471 Convert to GNU style.
472 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
473 mem2mem_check, mem2chunk_check, top_check, realloc_check,
474 memalign_check, __malloc_set_state): Likewise.
475 * malloc/mallocbug.c (main): Likewise.
476 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
477 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
478 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
479 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
480 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
481 * malloc/malloc.h: Likewise.
482 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
483 memalignhook, reallochook, mabort): Likewise.
484 * malloc/mcheck.h: Likewise.
485 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
486 mmap64, mremap, munmap, dest): Likewise.
487 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
488 * malloc/morecore.c (__default_morecore): Likewise.
489 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
490 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
491 _obstack_allocated_p, obstack_free, _obstack_memory_used,
492 print_and_abort): Likewise.
493 * malloc/obstack.h: Likewise.
494 * malloc/set-freeres.c (__libc_freeres): Likewise.
495 * malloc/tst-mallocstate.c (main): Likewise.
496 * malloc/tst-mtrace.c (main): Likewise.
497 * malloc/tst-realloc.c (do_test): Likewise.
499 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
502 * nscd/netgroupcache.c (do_notfound): New function.
503 (addgetnetgrentX): Use it.
506 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
509 2014-01-01 Joseph Myers <joseph@codesourcery.com>
511 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
514 2014-01-01 Allan McRae <allan@archlinux.org>
516 * scripts/update-copyrights: Update configure input file suffix.
518 * NEWS: Update copyright year.
519 * catgets/gencat.c: Likewise.
520 * csu/version.c: Likewise.
521 * debug/catchsegv.sh: Likewise.
522 * debug/pcprofiledump.c: Likewise.
523 * debug/xtrace.sh: Likewise.
524 * elf/ldconfig.c: Likewise.
525 * elf/ldd.bash.in: Likewise.
526 * elf/pldd.c: Likewise.
527 * elf/sotruss.ksh: Likewise.
528 * elf/sprof.c: Likewise.
529 * iconv/iconv_prog.c: Likewise.
530 * iconv/iconvconfig.c: Likewise.
531 * locale/programs/locale.c: Likewise.
532 * locale/programs/localedef.c: Likewise.
533 * login/programs/pt_chown.c: Likewise.
534 * malloc/memusage.sh: Likewise.
535 * malloc/memusagestat.c: Likewise.
536 * malloc/mtrace.pl: Likewise.
537 * manual/libc.texinfo: Likewise.
538 * nscd/nscd.c: Likewise.
539 * nss/getent.c: Likewise.
540 * nss/makedb.c: Likewise.
541 * posix/getconf.c: Likewise.
542 * scripts/test-installation.pl: Likewise.
544 * All files with FSF copyright notices: Update copyright dates
545 using scripts/update-copyrights.
546 * intl/plural.c: Regenerated.
547 * locale/programs/charmap-kw.h: Likewise.
548 * locale/programs/locfile-kw.h: Likewise.
550 2013-12-31 Mike Frysinger <vapier@gentoo.org>
552 * sysdeps/unix/sysv/linux/configure: Regenerated.
553 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
554 the linux/fanotify.h header.
555 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
556 HAVE_LINUX_FANOTIFY_H is defined.
558 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
560 * benchtests/cos-inputs: New inputs.
561 * benchtests/sin-inputs: Likewise.
563 * benchtests/atan-inputs: New inputs. Fix name of multiple
564 precision fallback inputs.
566 * benchtests/atanh-inputs: New inputs.
567 * benchtests/tanh-inputs: Likewise.
569 * benchtests/acosh-inputs: New inputs.
570 * benchtests/asinh-inputs: Likewise.
572 * benchtests/cosh-inputs: New inputs.
573 * benchtests/sinh-inputs: Likewise.
575 * benchtests/acos-inputs: Add more inputs.
576 * benchtests/asin-inputs: Likewise.
578 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
581 * manual/arith.texi: Fix spelling.
582 * manual/charset.texi: Likewise.
583 * manual/errno.texi: Likewise.
584 * manual/filesys.texi: Likewise.
585 * manual/lang.texi: Likewise.
586 * manual/llio.texi: Likewise.
587 * manual/locale.texi: Likewise.
588 * manual/message.texi: Likewise.
589 * manual/resource.texi: Likewise.
590 * manual/search.texi: Likewise.
591 * manual/setjmp.texi: Likewise.
592 * manual/stdio.texi: Likewise.
593 * manual/string.texi: Likewise.
594 * manual/sysinfo.texi: Likewise.
595 * manual/time.texi: Likewise.
597 2013-12-27 Carlos O'Donell <carlos@redhat.com>
599 * po/sl.po: New file.
601 2013-12-27 Mike Frysinger <vapier@gentoo.org>
603 * .gitignore: Add core/.gdbinit/.gdb_history.
605 2013-12-27 Allan McRae <allan@archlinux.org>
608 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
609 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
611 2013-12-24 Brooks Moses <bmoses@google.com>
613 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
614 all compilers that claim C++98 compliance, not just GCC.
615 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
618 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
620 * NEWS: Restore accidentally deleted bug-fix entries.
622 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
623 Ondřej Bílka <neleai@seznam.cz>
626 * malloc/malloc.c (_int_free): Perform sanity check only if we
629 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
632 * manual/stdio.texi (String Input Conversions): Clarify that character
633 classes are not supported.
635 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
639 2013-12-22 Joseph Myers <joseph@codesourcery.com>
642 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
643 Calculate results for small negative arguments directly rather
644 than using reflection formula with special underflow handling.
646 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
647 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
648 sysdeps/unix/bsd/bsd4.4/syscalls.list.
649 (fchflags): Likewise.
651 (setlogin): Likewise.
652 (sigaltstack): Likewise.
655 (sigsetmask): Likewise.
658 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
659 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
661 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
662 * sysdeps/unix/bsd/Makefile: ... here.
663 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
664 * sysdeps/unix/bsd/Versions: ... here.
665 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
666 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
667 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
668 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
669 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
670 * sysdeps/unix/bsd/sigblock.c: ... here.
671 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
672 * sysdeps/unix/bsd/sigsetmask.c: ... here.
673 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
674 * sysdeps/unix/bsd/sigvec.c: ... here.
675 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
676 * sysdeps/unix/bsd/tcdrain.c: ... here.
677 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
678 * sysdeps/unix/bsd/tcgetattr.c: ... here.
679 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
680 * sysdeps/unix/bsd/tcsetattr.c: ... here.
681 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
682 * sysdeps/unix/bsd/wait.c: ... here.
683 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
684 * sysdeps/unix/bsd/wait3.c: ... here.
685 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
686 * sysdeps/unix/bsd/waitpid.c: ... here.
688 2013-12-21 Joseph Myers <joseph@codesourcery.com>
691 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
692 round-to-nearest for [!USE_AS_EXPM1L].
693 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
694 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
695 more tests of exp and exp10. Expect some exp10 tests to miss
696 exceptions or fail in directed rounding modes.
697 * math/auto-libm-test-out: Regenerated.
698 * math/libm-test.inc (exp10_tonearest_test_data): New array.
699 (exp10_test_tonearest): New function.
700 (exp10_towardzero_test_data): New array.
701 (exp10_test_towardzero): New function.
702 (exp10_downward_test_data): New array.
703 (exp10_test_downward): New function.
704 (exp10_upward_test_data): New array.
705 (exp10_test_upward): New function.
706 (main): Call the new functions.
707 * sysdeps/i386/fpu/libm-test-ulps: Update.
708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
710 2013-12-20 Joseph Myers <joseph@codesourcery.com>
712 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
713 asinh, atan, atan2, atanh, cbrt, cos and cosh.
714 * math/auto-libm-test-out: Regenerated.
715 * math/libm-test.inc (acosh_test_data): Add more tests.
716 (atanh_test_data): Likewise.
717 (ceil_test_data): Likewise.
718 (copysign_test_data): Likewise.
719 * sysdeps/i386/fpu/libm-test-ulps: Update.
720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
722 * timezone/checktab.awk: Update from tzcode 2013i.
723 * timezone/private.h: Likewise.
724 * timezone/scheck.c: Likewise.
725 * timezone/tzfile.h: Likewise.
726 * timezone/tzselect.ksh: Likewise.
727 * timezone/zdump.c: Likewise.
728 * timezone/zic.c: Likewise.
730 * math/auto-libm-test-in: Add tests of cpow.
731 * math/auto-libm-test-out: Regenerated.
732 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
733 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
735 (func_calc_desc): Add mpc_cc_c union field.
736 (test_functions): Add cpow.
737 (special_fill_2pi): New function.
738 (special_real_inputs): Add 2pi.
739 (calc_generic_results): Handle mpc_cc_c.
740 * sysdeps/i386/fpu/libm-test-ulps: Update.
741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
743 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
744 csqrt, ctan and ctanh.
745 * math/auto-libm-test-out: Regenerated.
746 * math/libm-test.inc (TEST_COND_x86_64): New macro.
747 (TEST_COND_x86): Likewise.
748 (ccos_test_data): Use AUTO_TESTS_c_c.
749 (ccosh_test_data): Likewise.
750 (cexp_test_data): Likewise.
751 (clog_test_data): Likewise.
752 (csqrt_test_data): Likewise.
753 (ctan_test_data): Likewise.
754 (ctan_tonearest_test_data): Likewise.
755 (ctan_towardzero_test_data): Likewise.
756 (ctan_downward_test_data): Likewise.
757 (ctan_upward_test_data): Likewise.
758 (ctanh_test_data): Likewise.
759 (ctanh_tonearest_test_data): Likewise.
760 (ctanh_towardzero_test_data): Likewise.
761 (ctanh_downward_test_data): Likewise.
762 (ctanh_upward_test_data): Likewise.
763 * math/gen-auto-libm-tests.c (func_calc_method): Add value
765 (func_calc_desc): Add mpc_c_c union field.
766 (FUNC_mpc_c_c): New macro.
767 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
768 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
770 (special_fill_min_subnorm_p120): New function.
771 (special_real_inputs): Add min_subnorm_p120.
772 (calc_generic_results): Handle mpc_c_c.
773 * sysdeps/i386/fpu/libm-test-ulps: Update.
774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
776 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
778 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
779 do_sin_slow): New functions.
780 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
781 cslow2, csloww1, csloww2): Use the new functions.
783 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
784 Use M to change sign of result instead of X. Assume X is
790 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
797 (sloww1): Don't adjust sign of DX.
799 (sloww2): Use X directly and don't adjust sign of DX.
802 2013-12-19 Joseph Myers <joseph@codesourcery.com>
804 * math/auto-libm-test-in: Add tests of cabs and carg.
805 * math/auto-libm-test-out: Regenerated.
806 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
807 (carg_test_data): Likewise.
808 * math/gen-auto-libm-tests.c (func_calc_method): Add value
810 (func_calc_desc): Add mpc_c_f union field.
811 (test_functions): Add cabs and carg.
812 (calc_generic_results): Handle mpc_c_f.
814 * sysdeps/powerpc/powerpc32/libgcc-compat.S
815 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
816 as a macro and a compat symbol.
817 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
818 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
819 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
820 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
821 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
822 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
824 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
826 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
828 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
830 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
832 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
834 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
835 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
838 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
842 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
844 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
845 (__signal_safe_memalign, __signal_safe_free): Use it.
846 (__signal_safe_realloc): Likewise.
848 2013-12-19 Joseph Myers <joseph@codesourcery.com>
850 * manual/texinfo.tex: Update to version 2013-11-26.10 with
851 trailing whitespace removed.
852 * scripts/config.guess: Update to version 2013-11-29.
853 * scripts/config.sub: Update to version 2013-10-01.
855 * math/auto-libm-test-in: Add tests of sincos.
856 * math/auto-libm-test-out: Regenerated.
857 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
858 * math/gen-auto-libm-tests.c (func_calc_method): Add value
860 (func_calc_desc): Add mpfr_f_11 union field.
861 (test_functions): Add sincos.
862 (calc_generic_results): Handle mpfr_f_11.
863 * sysdeps/i386/fpu/libm-test-ulps: Update.
864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
866 2013-12-19 Andreas Schwab <schwab@suse.de>
868 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
870 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
871 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
872 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
874 2013-12-19 Joseph Myers <joseph@codesourcery.com>
876 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
877 * sysdeps/i386/fpu/libm-test-ulps: Update.
878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
881 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
882 round-to-nearest mode when using frndint.
883 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
884 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
885 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
887 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
889 * math/auto-libm-test-out: Regenerated.
890 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
891 (TEST_COND_x86): Likewise.
892 (expm1_tonearest_test_data): New array.
893 (expm1_test_tonearest): New function.
894 (expm1_towardzero_test_data): New array.
895 (expm1_test_towardzero): New function.
896 (expm1_downward_test_data): New array.
897 (expm1_test_downward): New function.
898 (expm1_upward_test_data): New array.
899 (expm1_test_upward): New function.
900 (main): Run the new test functions.
901 * sysdeps/i386/fpu/libm-test-ulps: Update.
902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
904 * include/features.h: Update comment documenting feature test
905 macros. Mention _DEFAULT_SOURCE in comment.
906 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
907 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
908 _BSD_SOURCE and _SVID_SOURCE.
909 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
910 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
911 !_SVID_SOURCE]: Likewise.
912 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
913 (__USE_POSIX_IMPLICITLY): Define.
914 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
915 (_POSIX_SOURCE): Undefine and redefine.
916 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
917 (_POSIX_C_SOURCE): Likewise.
918 * manual/creature.texi (_DEFAULT_SOURCE): Document.
919 (Feature Test Macros): Update documentation of default features.
921 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
923 * benchtests/Makefile: Add bench-strtok.
924 * benchtests/bench-strtok.c: New file: strtok benchtest.
926 2013-12-19 Allan McRae <allan@archlinux.org>
928 * manual/install.texi: Suppress menu for plain text output.
929 * INSTALL: Regenerated.
931 2013-12-18 Andrew Hunter <ahh@google.com>
933 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
934 (__signal_safe_malloc, __signal_safe_free): Likewise.
935 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
936 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
937 (__signal_safe_memalign, __signal_safe_malloc): New function.
938 (__signal_safe_free, __signal_safe_realloc): Likewise.
939 (__signal_safe_calloc): Likewise.
940 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
942 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
944 2013-12-18 Andrew Hunter <ahh@google.com>
946 * elf/Versions (ld): Add _dl_clear_dtv.
947 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
948 * elf/dl-tls.c (_dl_clear_dtv): New function.
949 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
951 2013-12-18 Andrew Hunter <ahh@google.com>
953 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
954 (_dl_unmask_signals): Likewise.
955 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
956 (_dl_unmask_all_signals): Likewise.
957 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
958 (_dl_unmask_all_signals): Likewise.
959 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
960 (_dl_unmask_signals): Likewise.
962 2013-12-18 Brooks Moses <bmoses@google.com>
965 * misc/getauxval.c: Include errno.h.
966 (__getauxval): Set errno to ENOENT if the requested type is not
968 * misc/sys/auxv.h (getauxval): Document that it may set errno;
969 don't declare with __attribute_const__.
970 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
971 * manual/startup.texi: Document that getauxval sets errno.
973 2013-12-18 Joseph Myers <joseph@codesourcery.com>
975 * math/auto-libm-test-in: Add tests of jn and yn.
976 * math/auto-libm-test-out: Regenerated.
977 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
978 (yn_test_data): Likewise.
979 * math/gen-auto-libm-tests.c (func_calc_method): Add value
981 (func_calc_desc): Add mpfr_if_f union field.
982 (FUNC_mpfr_if_f): New macro.
983 (test_functions): Add jn and yn.
984 (calc_generic_results): Assert type of second input for
985 mpfr_ff_f. Handle mpfr_if_f.
986 (output_for_one_input_case): Disable all checking for arguments
987 fitting floating-point types in case of an integer argument.
988 * sysdeps/i386/fpu/libm-test-ulps: Update.
989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
992 Don't expect fegetround reference in libm.so.
994 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
996 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
997 $(config-cflags-nofma).
999 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1001 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1002 * math/auto-libm-test-out: Regenerated.
1005 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1006 to determine exponent and adjust argument to have exponent of -1.
1007 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1009 * math/auto-libm-test-out: Regenerated.
1010 * sysdeps/i386/fpu/libm-test-ulps: Update.
1011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1013 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1015 * manual/probes.texi: Remove cases when per-thread arenas are
1018 2013-12-18 Andreas Schwab <schwab@suse.de>
1020 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1021 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1022 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1023 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1024 * sysdeps/i386/i686/multiarch/Makefile: Update.
1025 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1027 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1029 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1030 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1032 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1034 Support TZ transition times < 00:00:00.
1035 This is needed for version-3 tz-format files; it supports time
1036 stamps past 2037 for America/Godthab (the only entry in the tz
1037 database for which this change is relevant).
1038 * manual/time.texi (TZ Variable): Document transition times
1039 from -167:59:59 through -00:00:01.
1040 * time/tzset.c (tz_rule): Time of day is now signed.
1041 (__tzset_parse_tz): Parse negative time of day.
1043 Document TZ transition times >= 25:00:00.
1044 * manual/time.texi (TZ Variable): Document transition times from
1045 25:00:00 through 167:59:59. These are already supported, and this
1046 support will help with version-3 tz-format files.
1048 * manual/time.texi (TZ Variable): Modernize North America example
1049 to reflect current (i.e., 2007-and-later) daylight saving rules.
1051 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1053 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1055 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1056 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1057 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1059 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1060 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1061 * sysdeps/unix/bsd/clock.c: Likewise.
1062 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1063 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1064 * sysdeps/unix/bsd/init-posix.c: Likewise.
1065 * sysdeps/unix/bsd/poll.c: Likewise.
1066 * sysdeps/unix/bsd/ptsname.c: Likewise.
1067 * sysdeps/unix/bsd/seekdir.c: Likewise.
1068 * sysdeps/unix/bsd/setegid.c: Likewise.
1069 * sysdeps/unix/bsd/seteuid.c: Likewise.
1070 * sysdeps/unix/bsd/setgid.c: Likewise.
1071 * sysdeps/unix/bsd/setrgid.c: Likewise.
1072 * sysdeps/unix/bsd/setruid.c: Likewise.
1073 * sysdeps/unix/bsd/setsid.c: Likewise.
1074 * sysdeps/unix/bsd/setuid.c: Likewise.
1075 * sysdeps/unix/bsd/sigaction.c: Likewise.
1076 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1077 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1078 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1079 * sysdeps/unix/bsd/telldir.c: Likewise.
1080 * sysdeps/unix/bsd/times.c: Likewise.
1081 * sysdeps/unix/bsd/usleep.c: Likewise.
1083 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1084 ($(objpfx)libbsd-compat.a): Remove rule.
1086 * include/features.h (__FAVOR_BSD): Do not define.
1087 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1088 features conflicting with POSIX.
1089 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1090 (_BSD_SOURCE): Remove description of not being a subset of other
1091 feature test macros.
1092 * manual/job.texi (getpgrp): Do not document BSD version.
1093 (getpgid): Do not document by reference to BSD getpgrp.
1094 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1095 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1096 * signal/signal.h [__FAVOR_BSD]: Likewise.
1097 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1098 instead of making contents conditional on [__FAVOR_BSD].
1099 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1101 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1105 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1108 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1109 values below 2**-450, not 2**-500.
1110 * math/auto-libm-test-in: Don't allow spurious underflow from
1112 * math/auto-libm-test-out: Regenerated.
1116 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1117 values of ha and hb and sort them after adjusting subnormal
1119 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1121 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1122 values of ea and eb and sort them after adjusting subnormal
1124 * math/auto-libm-test-in: Do not expect some hypot tests of
1125 subnormals to fail. Add more hypot tests.
1126 * math/auto-libm-test-out: Regenerated.
1128 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1131 * sysdeps/sh/s_fma.c: New file.
1132 * sysdeps/sh/s_fmaf.c: New file.
1133 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1135 * sysdeps/sh/Implies: Add sh/soft-fp.
1137 2013-12-16 Roland McGrath <roland@hack.frob.com>
1139 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1140 level of indirection to members `objname', `errstring', `malloced'.
1141 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1142 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1143 it as the __longjmp argument (just pass 1 instead).
1144 (_dl_catch_error): Initialize C with argument pointers and address of
1145 volatile local ERRCODE rather than copying values out of C at return.
1147 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1149 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1150 * math/auto-libm-test-out: Regenerated.
1151 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1152 (hypot_test_data): Likewise.
1153 (pow_test_data): Likewise.
1154 (pow_tonearest_test_data): Likewise.
1155 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1157 (func_calc_desc): Add mpfr_ff_f union field.
1158 (FUNC_mpfr_ff_f): New macro.
1159 (test_functions): Add atan2, hypot and pow.
1160 (special_fill_min): New function.
1161 (special_fill_minus_min): Likewise.
1162 (special_fill_min_subnorm): Likewise.
1163 (special_fill_minus_min_subnorm): Likewise.
1164 (special_real_inputs): Add min, -min, min_subnorm and
1166 (calc_generic_results): Handle mpfr_ff_f.
1167 * sysdeps/i386/fpu/libm-test-ulps: Update.
1168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1170 2013-12-16 Will Newton <will.newton@linaro.org>
1172 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1173 (Aligned Memory Blocks): Add documentation for aligned_alloc
1174 and suggest it as an alternative to posix_memalign.
1175 (Hooks for Malloc): Document __memalign_hook is also called
1176 for aligned_alloc. (Summary of Malloc): Add summary for
1177 aligned alloc. Document __memalign_hook is also called
1180 2013-12-16 Will Newton <will.newton@linaro.org>
1182 * manual/memory.texi (Malloc Examples): Clarify default
1183 alignment documentation. Suggest posix_memalign rather
1184 than memalign or valloc.
1185 (Aligned Memory Blocks): Remove suggestion to use memalign
1186 or valloc. Remove obsolete comment about BSD.
1187 Document memalign errno values and mark the function obsolete.
1188 Document posix_memalign returned error codes. Mark valloc
1189 as obsolete. (Hooks for Malloc): __memalign_hook is also
1190 called for posix_memalign and valloc.
1191 (Summary of Malloc): Add posix_memalign to function summary.
1192 __memalign_hook is also called for posix_memalign and valloc.
1194 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1196 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1200 (sloww): Use mynumber union. Expand ternary operator into
1202 (cslow): use mynumber union.
1204 2013-12-16 Allan McRae <allan@archlinux.org>
1206 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1207 * configure: Regenerated.
1209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1212 * configure.ac: Added --enable-maintainer-mode. Check for
1213 autoconf when enabled.
1214 * configure: Regenerated.
1216 * nscd/nscd.service: New file.
1217 * nscd/nscd.tmpfiles: New file.
1219 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1222 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1223 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1224 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1225 (strstr): Add __strstr_sse2_unaligned ifunc.
1226 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1227 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1228 (strcasestr): Remove __strcasestr_sse42 ifunc.
1229 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1233 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1235 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1236 * sysdeps/sh/bits/fenv.h: ... here.
1237 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1239 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1241 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1243 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1246 hypotf multiarch implementations.
1247 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1250 multiarch hypot for PPC64.
1251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1252 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1254 multiarch hypotf for PPC64.
1256 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1259 modff multiarch implementations.
1260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1263 multiarch modf for PPC64.
1264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1267 multiarch modff for PPC64.
1269 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1272 and logl multiarch implementations.
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1276 multiarch logb for PPC64.
1277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1280 multiarch logb for PPC64.
1281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1284 multiarch logb for PPC64.
1286 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1289 isinff multiarch implementation.
1290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1294 multiarch isinf for PPC64.
1295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1298 multiarch isinff for PPC64.
1300 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1303 finitef multiarch implementation.
1304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1308 multiarch finite for PPC64.
1309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1312 multiarch finitef for PPC64.
1314 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1317 lrint multiarch implementation.
1318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1322 multiarch llrint for PPC64.
1323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1324 multiarch lrint for PPC64.
1326 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1329 copysignf multiarch implementation.
1330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1335 multiarch copysign for PPC64.
1336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1337 multiarch copysignf for PPC64.
1339 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1342 multiarch implementation.
1343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1351 multiarch llround for PPC64.
1352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1353 multiarch trunc for PPC64.
1354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1355 multiarch truncf for PPC64.
1357 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1360 multiarch implementation.
1361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1369 multiarch llround for PPC64.
1370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1371 multiarch round for PPC64.
1372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1373 multiarch roundf for PPC64.
1375 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1378 multiarch implementation.
1379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1387 multiarch llround for PPC64.
1388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1389 multiarch floor for PPC64.
1390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1391 multiarch floorf for PPC64.
1393 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1396 multiarch implementation.
1397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1405 multiarch llround for PPC64.
1406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1407 multiarch ceil for PPC64.
1408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1409 multiarch ceilf for PPC64.
1411 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1414 multiarch implementation.
1415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1422 multiarch llround for PPC64.
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1424 multiarch lround for PPC64.
1426 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1429 multiarch implementation.
1430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1437 multiarch isnan for PPC64.
1438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1439 multiarch isnanf for PPC64.
1441 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1444 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1445 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1446 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1447 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1450 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1452 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1453 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1457 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1460 multiarch implementations.
1461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1462 (__libc_ifunc_impl_list): Likewise.
1463 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1464 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1465 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1466 multiarch stpcpy for PPC64.
1468 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1471 multiarch implementations.
1472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1473 (__libc_ifunc_impl_list): Likewise.
1474 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1475 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1476 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1477 multiarch strcpy for PPC64.
1479 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1482 redefine function name.
1483 (_wordcopy_fwd_dest_aligned): Likewise.
1484 (_wordcopy_bwd_aligned): Likewise.
1485 (_wordcopy_bwd_dest_aligned): Likewise.
1486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1487 multiarch implementations.
1488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1489 (__libc_ifunc_impl_list): Likewise.
1490 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1491 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1492 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1494 multiarch wcscpy for PPC64.
1496 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1499 multiarch implementations.
1500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1501 (__libc_ifunc_impl_list): Likewise.
1502 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1505 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1506 multiarch wcscpy for PPC64.
1508 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1510 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1511 multiarch implementations.
1512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1513 (__libc_ifunc_impl_list): Likewise.
1514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1516 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1517 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1518 multiarch wcsrchr for PPC64.
1520 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1523 multiarch implementations.
1524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1525 (__libc_ifunc_impl_list): Likewise.
1526 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1527 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1528 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1529 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1530 multiarch wcschr for PPC64.
1532 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1535 multiarch implementations.
1536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1537 (__libc_ifunc_impl_list): Likewise.
1538 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1539 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1540 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1541 multiarch strchrnul for PPC64.
1543 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1548 (__libc_ifunc_impl_list): Likewise.
1549 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1550 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1551 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1552 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1555 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1560 (__libc_ifunc_impl_list): Likewise.
1561 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1562 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1563 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1564 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1567 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1570 multiarch implementations.
1571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1572 (__libc_ifunc_impl_list): Likewise.
1573 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1574 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1575 strncasecmp for PPC64.
1576 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1577 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1578 multiarch strncasecmp_l for PPC64.
1580 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1583 multiarch implementations.
1584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1585 (__libc_ifunc_impl_list): Likewise.
1586 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1588 multiarch strcasecmp for PPC64.
1589 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1591 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1592 multiarch strcasecmp_l for PPC64.
1594 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1599 (__libc_ifunc_impl_list): Likewise.
1600 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1601 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1602 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1605 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1610 (__libc_ifunc_impl_list): Likewise.
1611 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1612 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1613 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1616 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1621 (__libc_ifunc_impl_list): Likewise.
1622 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1623 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1624 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1625 rawmemrchr for PPC64.
1627 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1632 (__libc_ifunc_impl_list): Likewise.
1633 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1634 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1635 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1638 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1643 (__libc_ifunc_impl_list): Likewise.
1644 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1645 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1646 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1649 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1654 (__libc_ifunc_impl_list): Likewise.
1655 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1656 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1657 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1660 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1662 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1663 avoid cretion of __bzero symbol.
1664 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1666 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1668 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1671 multiarch implementations.
1672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1673 (__libc_ifunc_impl_list): Likewise.
1674 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1675 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1676 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1677 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1679 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1680 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1681 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1682 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1683 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1685 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1687 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1693 (__libc_ifunc_impl_list): Likewise.
1694 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1695 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1696 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1697 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1700 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1703 multiarch for POWER/PPC64.
1704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1705 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1706 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1708 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1709 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1710 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1711 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1712 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1715 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1717 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1718 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1719 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1720 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1721 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1722 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1723 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1724 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1725 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1726 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1727 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1728 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1729 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1730 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1731 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1740 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1742 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1744 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1746 * benchtests/Makefile (bench): Add exp2 and log2.
1747 (LDLIBS-bench-exp2): Add -lm.
1748 (LDLIBS-bench-log2): Likewise.
1749 * benchtests/exp2-inputs: New inputs file.
1750 * benchtests/log2-inputs: New inputs file.
1751 * benchtests/log-inputs: Add new inputs.
1752 * benchtests/tan-inputs: Likewise.
1754 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1756 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1758 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1759 csloww1, csloww2): ... from here.
1761 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1762 instead of structures.
1763 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1764 (POLYNOMIAL): Likewise.
1765 (TAYLOR_SLOW): Likewise.
1773 (bsloww1): Likewise.
1774 (bsloww2): Likewise.
1777 (csloww1): Likewise.
1778 (csloww2): Likewise.
1780 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1782 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1783 (__malloc_assert, __libc_realloc, __libc_calloc,
1784 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1786 * malloc/hooks.c (realloc_check): Likewise.
1788 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1790 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1791 * malloc/arena.c: Remove PER_THREAD conditional.
1792 [!PER_THREAD]: Remove code.
1793 (ptmalloc_unlock_all2): Likewise.
1794 (ptmalloc_init): Likewise.
1795 (_int_new_arena): Likewise.
1796 (arena_get2): Likewise.
1797 * malloc/hooks.c (__malloc_get_state): Likewise.
1798 (__malloc_set_state): Likewise.
1799 * malloc/malloc.c: Likewise.
1800 (struct malloc_state): Likewise.
1801 (struct malloc_par): Likewise.
1802 (__libc_realloc): Likewise.
1803 (__libc_mallopt): Likewise.
1805 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1807 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1809 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1811 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1812 macro to a function. Check for zero perturb_byte.
1813 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1815 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1817 * malloc/malloc.c: (force_reg): Remove.
1818 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1819 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1820 force_reg by atomic_forced_read.
1821 * malloc/arena.c (ptmalloc_init): Likewise.
1822 * malloc/hooks.c (top_check): Likewise.
1824 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1828 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1832 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1834 * math/auto-libm-test-in: Add tests of lgamma.
1835 * math/auto-libm-test-out: Regenerated.
1836 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1837 (M_LOG_2_SQRT_PIl): Likewise.
1838 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1839 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1841 (func_calc_desc): Add mpfr_f_f1 union field.
1850 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1851 (test_functions): Add lgamma.
1852 (calc_generic_results): Handle mpfr_f_f1.
1853 * sysdeps/i386/fpu/libm-test-ulps: Update.
1854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1856 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1858 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1859 __mpn_add_n for PowerPC64/POWER7.
1860 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1861 __mpn_sub_n for PowerPC64/POWER7.
1863 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1865 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1866 __mpn_addmul_1 for PowerPC64.
1867 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1868 __mpn_submul_1 for PowerPC64.
1869 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1871 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1874 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1877 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1879 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1881 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1883 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1885 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1886 add multiarch folders.
1887 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1888 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1889 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1890 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1891 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1892 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1893 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1894 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1895 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1896 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1897 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1905 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1908 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1914 multiarch __ieee754_hypot for PowerPC32.
1915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1920 multiarch __ieee754_hypotf for PowerPC32.
1922 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1924 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1925 long_double_symbol only if __logbl is defined.
1926 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1927 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1929 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1930 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1931 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1932 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1933 path for implementation.
1934 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1937 logb, and logbl multiarch implementations for PowerPC32.
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1943 multiarch logb for PowerPC32.
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1949 multiarch logbf for PowerPC32.
1950 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1954 multiarch logbl implementation for PowerPC32.
1956 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1959 and modff multiarch implementations.
1960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1965 multiarch modf for PowerPC32.
1966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1971 multiarch modff for PowerPC32.
1973 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1976 and lrintf multiarch implementations.
1977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1982 multiarch lrint for PowerPC32.
1983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1984 file: multiarch lrintf for PowerPC32.
1986 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1989 and lroundf multiarch implementations.
1990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1997 multiarch lround for PowerPC32.
1998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1999 file: multiarch lroundf for PowerPC32.
2001 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2004 copysign and copysignf multiarch implementations.
2005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2010 file: multiarch copysign for PowerPC32.
2011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2012 file: multiarch copysignf for PowerPC32.
2014 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2017 and truncf multiarch implementations.
2018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2023 multiarch trunc for PowerPC32.
2024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2029 multiarch truncf for PowerPC32.
2031 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2034 and roundf multiarch implementations.
2035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2040 multiarch round for PowerPC32.
2041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2046 multiarch roundf for PowerPC32.
2048 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2051 and floorf multiarch implementations.
2052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2057 multiarch floor for PowerPC32.
2058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2063 multiarch floorf for PowerPC32.
2065 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2068 and ceilf multiarch implementations.
2069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2074 multiarch ceil for PowerPC32.
2075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2080 multiarch ceilf for PowerPC32.
2082 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2084 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2086 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2089 and finitef multiarch implementations.
2090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2095 multiarch finite for PowerPC32.
2096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2099 file: multiarch finitef for PowerPC32.
2101 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2104 and isinff multiarch implementations.
2105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2110 multiarch isinf for PowerPC32.
2111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2114 multiarch isinff for PowerPC32.
2116 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2118 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2119 alias when __isnan is defined.
2120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2121 and isnanf multiarch implementations.
2122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2131 multiarch isnan for PowerPC32.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2137 multiarch isnanf for PowerPC32.
2139 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2142 and sqrtf multiarch implementations.
2143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2148 multiarch sqrt for PowerPC32.
2149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2154 multiarch sqrtf for PowerPC32.
2156 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2159 and llroundf multiarch implementations.
2160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2167 file: multiarch llround for PowerPC32.
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2169 file: multiarch llroundf for PowerPC32.
2171 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2174 multiarch PowerPC32 fpu implementations.
2175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2180 multiarch llrint for PowerPC32.
2181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2188 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2192 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2194 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2196 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2198 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2200 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2201 multiarch wordcopy for PPC32.
2202 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2204 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2205 (__libc_ifunc_impl_list): Likewise.
2206 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2207 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2208 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2209 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2210 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2211 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2213 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2215 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2222 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2223 multiarch wcscpy for PPC32.
2224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2227 (__libc_ifunc_impl_list): Likewise.
2228 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2229 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2230 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2231 sysdeps/powerpc/power6/wcscpy.c.
2233 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2235 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2243 multiarch wcsrchr for PPC32.
2244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2247 (__libc_ifunc_impl_list): Likewise.
2248 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2249 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2250 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2251 sysdeps/powerpc/power6/wcsrchr.c.
2253 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2261 multiarch wcschr for PPc32.
2262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2265 (__libc_ifunc_impl_list): Likewise.
2266 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2267 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2268 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2269 sysdeps/powerpc/power6/wcschr.c.
2271 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2273 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2274 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2276 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2277 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2278 file: multiarch strchr for PPC32.
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2282 (__libc_ifunc_impl_list): Likewise.
2284 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2286 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2288 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2290 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2292 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2293 multiarch strchrnul for PPC32.
2294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2297 (__libc_ifunc_impl_list): Likewise.
2299 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2304 multiarch strncasecmp for PPC32.
2305 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2308 multiarch strncasecmp_l for PPC32.
2309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2310 strncasecmp multiarch objects.
2311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2312 (__libc_ifunc_impl_list): Likewise.
2314 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2319 multiarch strncasecmp for PPC32.
2320 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2322 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2323 multiarch strcasecmp_l for PPC32.
2324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2327 (__libc_ifunc_impl_list): Likewise.
2329 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2335 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2336 multiarch strncmp for PPC32.
2337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2340 (__libc_ifunc_impl_list): Likewise.
2342 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2344 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2345 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2352 (__libc_ifunc_impl_list): Likewise.
2354 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2356 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2358 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2360 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2364 (__libc_ifunc_impl_list): Likewise.
2366 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2373 multiarch rawmemchr for PPC32.
2374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2377 (__libc_ifunc_impl_list): Likewise.
2379 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2381 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2383 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2385 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2386 file: memrchr multiarch for PPC32.
2387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2390 (__libc_ifunc_impl_list): Likewise.
2392 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2394 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2395 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2397 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2398 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2399 multiarch memchr for PPC32.
2400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2403 (__libc_ifunc_impl_list): Likewise.
2405 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2407 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2410 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2412 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2413 file: multiarch mempcpy for PPC32.
2414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2417 (__libc_ifunc_impl_list): Likewise.
2419 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2421 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2423 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2424 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2425 multiarch bzero for PPC32.
2426 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2428 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2430 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2431 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2432 file: multiarch memset for PPC32.
2433 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2435 memset multiarch objects.
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2437 (__libc_ifunc_impl_list): Likewise.
2439 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2444 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2446 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2450 (__libc_ifunc_impl_list): Likewise.
2452 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2455 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2463 multiarch memcpy for PPC32.
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2467 (__libc_ifunc_impl_list): Likewise.
2469 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2471 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2472 support multiarch for POWER/PPC32.
2473 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2475 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2477 Implies file to make multiarch folder appers before the fpu and
2478 default folder for power4 configuration.
2480 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2482 * scripts/bench.pl: Append volatile keyword to type.
2484 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2486 * sysdeps/sh/sotruss-lib.c: New file.
2487 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2489 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2493 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2496 * math/w_tgamma.c: Include <errno.h>.
2497 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2498 * math/w_tgammaf.c: Include <errno.h>.
2499 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2500 * math/w_tgammal.c: Include <errno.h>.
2501 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2502 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2503 underflow. Add more tgamma tests.
2504 * math/auto-libm-test-out: Regenerated.
2505 * sysdeps/i386/fpu/libm-test-ulps: Update.
2506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2508 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2509 sin, sinh, tan, tanh, tgamma, y0 and y1.
2510 * math/auto-libm-test-out: Regenerated.
2511 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2512 (TEST_COND_x86): Likewise.
2513 (M_E2l): Remove macro.
2515 (M_2_SQRT_PIl): Likewise.
2516 (M_SQRT_PIl): Likewise.
2517 (M_1_DIV_El): Likewise.
2518 (log_test_data): Use AUTO_TESTS_f_f.
2519 (log10_test_data): Likewise.
2520 (log1p_test_data): Likewise.
2521 (log2_test_data): Likewise.
2522 (sin_test_data): Likewise.
2523 (sin_tonearest_test_data): Likewise.
2524 (sin_towardzero_test_data): Likewise.
2525 (sin_downward_test_data): Likewise.
2526 (sin_upward_test_data): Likewise.
2527 (sinh_test_data): Likewise.
2528 (sinh_tonearest_test_data): Likewise.
2529 (sinh_towardzero_test_data): Likewise.
2530 (sinh_downward_test_data): Likewise.
2531 (sinh_upward_test_data): Likewise.
2532 (tan_test_data): Likewise.
2533 (tan_tonearest_test_data): Likewise.
2534 (tan_towardzero_test_data): Likewise.
2535 (tan_downward_test_data): Likewise.
2536 (tan_upward_test_data): Likewise.
2537 (tanh_test_data): Likewise.
2538 (tgamma_test_data): Likewise.
2539 (y0_test_data): Likewise.
2540 (y1_test_data): Likewise.
2541 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2542 (special_real_inputs): Add pi/4.
2543 * sysdeps/i386/fpu/libm-test-ulps: Update.
2544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2546 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2548 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2549 "longjmp_target" static probes.
2550 (__longjmp): Rename to __longjmp_symbol.
2551 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2552 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2553 on which longjmp to generate.
2554 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2555 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2557 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2558 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2559 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2560 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2561 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2562 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2564 __longjmp_symbol based on which __longjmp to generate.
2565 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2567 (setjmp): Rename to setjmp_symbol.
2568 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2569 (_setjmp): Rename to _setjmp_symbol.
2570 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2571 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2572 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2573 which setjmp to generate.
2574 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2575 "longjmp_target" static probes.
2577 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2579 * benchtests/README: Add note about output arguments.
2580 * benchtests/bench-sincos.c: Remove file.
2581 * benchtests/sincos-inputs: New file.
2582 * scripts/bench.pl: Identify output arguments and define
2583 static variables for them.
2585 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2588 * Makefile (INSTALL): Add install-plain.texi as the primary
2590 * manual/install-plain.texi: New file.
2591 * manual/install.texi: Include node directive only for
2592 non-plaintext output.
2594 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2596 * stdlib/longlong.h: Update from GCC.
2600 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2601 * math/w_j0f.c (y0f): Likewise.
2602 * math/w_j0l.c (__y0l): Likewise.
2603 * math/w_j1.c (y1): Likewise.
2604 * math/w_j1f.c (y1f): Likewise.
2605 * math/w_j1l.c (__y1l): Likewise
2606 * math/w_jn.c (yn): Likewise.
2607 * math/w_jnf.c (ynf): Likewise.
2608 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2609 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2610 value for Bessel function domain errors outside _SVID_ mode.
2611 Adjust sign of return value for yn (negative integer, 0).
2612 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2613 by zero in return for negative x and set sign appropriately for
2615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2616 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2617 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2618 expectations in error cases.
2619 (y1_test_data): Likewise.
2620 (yn_test_data): Likewise.
2621 * sysdeps/i386/fpu/libm-test-ulps: Update.
2622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2626 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2627 "64" to "64-v1". Add "64-v2".
2628 (abi-64-options): Rename to ...
2629 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2630 (abi-64-condition): Rename to ...
2631 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2632 (abi-64-ld-soname): Rename to ...
2633 (abi-64-v1-ld-soname): ... this.
2634 (abi-64-v2-options): Define.
2635 (abi-64-v2-condition): Likewise.
2636 (abi-64-v2-ld-soname): Likewise.
2637 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2638 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2643 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2644 Alan Modra <amodra@gmail.com>
2646 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2647 New versions for use with the ELFv2 ABI.
2648 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2649 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2651 (struct La_ppc64v2_retval): Likewise.
2652 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2653 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2654 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2655 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2656 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2657 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2658 Do not save or restore CR.
2659 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2660 (_dl_profile_resolve): Do no save or restore CR. Support extended
2661 return values for ELFv2 ABI. Fix location of FPR return registers.
2662 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2663 updated values for _CALL_ELF == 2.
2664 (La_regs, La_retval, int_retval): Likewise.
2666 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2668 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2669 (FRAME_MIN_SIZE_PARM): Likewise.
2670 (FRAME_BACKCHAIN): Likewise.
2671 (FRAME_CR_SAVE): Likewise.
2672 (FRAME_LR_SAVE): Likewise.
2673 (FRAME_TOC_SAVE): Likewise.
2674 (FRAME_PARM_SAVE): Likewise.
2675 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2676 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2677 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2678 (call_mcount_parm_offset): New macro.
2679 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2680 (PROF): Use symbolic stack frame offsets.
2681 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2683 Redefine in terms of FRAME_MIN_SIZE.
2684 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2685 (_dl_profile_resolve): Likewise. Update comment.
2686 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2687 symbols stack frame offsets.
2688 (__sigsetjmp): Likewise.
2689 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2690 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2691 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2692 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2695 (FRAME_BACKCHAIN): Remove.
2696 (FRAME_CR_SAVE): Likewise.
2697 (FRAME_LR_SAVE): Likewise.
2698 (FRAME_COMPILER_DW): Likewise.
2699 (FRAME_LINKER_DW): Likewise.
2700 (FRAME_TOC_SAVE): Likewise.
2701 (FRAME_PARM_SAVE): Likewise.
2702 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2703 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2704 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2706 (CHECK_SP): Use symbolic stack frame offsets.
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2708 zone" instead of caller's parameter save area for temp storage.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2710 Likewise. Also, use symbolic stack frame offsets.
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2712 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2713 our own stack frame instead of the caller's.
2714 (__socket): Use symbolic stack frame offsets.
2716 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2717 Alan Modra <amodra@gmail.com>
2719 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2721 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2722 PPC64_LOCAL_ENTRY_OFFSET): Define.
2723 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2725 (elf_machine_fixup_plt): Call it.
2726 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2728 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2730 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2731 r2 before calling target.
2733 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2734 Alan Modra <amodra@gmail.com>
2736 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2737 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2738 versions of macros to support ELFv2 ABI.
2739 (LOCALENTRY): New macro.
2740 (ENTRY, EALIGN): Use it.
2741 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2742 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2743 fall through into ENTRY entry point.
2744 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2745 Only define if _CALL_ELF != 2.
2747 (elf_machine_matches_host): Verify ABI version matches.
2748 (RTLD_START): Use LOCALENTRY.
2749 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2750 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2751 (PLT_ENTRY_WORDS): New macro.
2752 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2753 (elf_machine_runtime_setup): Support ELFv2 ABI.
2754 (elf_machine_fixup_plt): Likewise.
2755 (elf_machine_plt_conflict): Likewise.
2756 (resolve_ifunc): Likewise.
2757 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2758 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2761 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2763 (makecontext): Support ELFv2 ABI.
2764 * elf/elf.h (EF_PPC64_ABI): Define.
2766 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2768 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2769 New assembler macro.
2770 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2771 [ASSEMBLER] (ENTRY): ... but instead here ...
2772 [ASSEMBLER] (EALIGN): ... and here.
2773 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2774 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2775 [!ASSEMBLER] (ENTRY_2): Use it.
2776 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2777 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2778 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2779 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2780 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2782 Use PPC64_LOAD_FUNCPTR.
2784 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2786 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2788 2013-12-04 Alan Modra <amodra@gmail.com>
2790 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2791 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2792 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2793 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2796 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2797 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2798 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2799 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2800 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2802 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2805 (__makecontext): Fix incorrect CFI when backtracing out of
2806 context created via makecontext.
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2808 (__setcontext): Fix incorrect CFI during switch to new context.
2809 (__novec_setcontext): Likewise.
2811 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2814 * time/strptime_l.c (__strptime_internal): Allow modifiers
2816 * time/tst-strptime.c (day_tests): Add testcase.
2819 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2821 * scripts/bench.pl: Skip over blank lines.
2823 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2826 * manual/time.texi (Calendar Time): Clarify what timezone functions
2829 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2833 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2835 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2837 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2838 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2839 * debug/memset_chk.c (__memset_chk): Likewise.
2840 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2841 * debug/strncpy_chk.c: Likewise.
2843 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2847 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2848 (__ieee754_exp): For possibly underflowing results, check size of
2849 result and force underflow exception if required.
2850 * math/auto-libm-test-in: Add more tests of exp.
2851 * math/auto-libm-test-out: Regenerated.
2852 * sysdeps/i386/fpu/libm-test-ulps: Update.
2853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2856 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2857 * math/w_exp2f.c (__exp2f): Likewise.
2858 * math/w_exp2l.c (__exp2l): Likewise.
2859 * math/auto-libm-test-in: Do not allow missing errno on exp2
2861 * math/auto-libm-test-out: Regenerated.
2863 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2866 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2867 handle filename validation.
2868 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2871 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2874 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2875 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2876 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2878 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2879 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2880 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2882 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2883 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2884 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2885 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2886 Add more erfc tests.
2887 * math/auto-libm-test-out: Regenerated.
2888 * sysdeps/i386/fpu/libm-test-ulps: Update.
2889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2891 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2892 exp2, expm1, j0 and j1.
2893 * math/auto-libm-test-out: Regenerated.
2894 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2895 (erfc_test_data): Likewise.
2896 (exp_test_data): Likewise.
2897 (exp_tonearest_test_data): Likewise.
2898 (exp_towardzero_test_data): Likewise.
2899 (exp_downward_test_data): Likewise.
2900 (exp_upward_test_data): Likewise.
2901 (exp10_test_data): Likewise.
2902 (exp2_test_data): Likewise.
2903 (expm1_test_data): Likewise.
2904 (j0_test_data): Likewise.
2905 (j1_test_data): Likewise.
2906 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2907 (input_flag_type): Add flag_xfail_rounding.
2908 (input_flags): Add xfail-rounding.
2909 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2910 (output_for_one_input_case): Handle flag_xfail_rounding.
2911 * sysdeps/i386/fpu/libm-test-ulps: Update.
2912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2914 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2917 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2920 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2923 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2924 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2925 (STAP_PROBE0): New macro.
2926 (STAP_PROBE1): Likewise.
2927 (STAP_PROBE2): Likewise.
2928 (STAP_PROBE3): Likewise.
2929 (STAP_PROBE4): Likewise.
2931 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2933 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2935 2013-12-02 Steve Ellcey <sellcey@mips.com>
2937 * benchtests/Makefile (bench): Add sqrt.
2938 (LDLIBS-bench-sqrt): New.
2939 * benchtests/sqrt-input: New.
2941 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2943 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2944 (GAIH_EAI): Likewise.
2945 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2946 (gaih_inet): Likewise.
2947 (getaddrinfo): Don't use GAIH_EAI.
2949 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2950 (struct gaih): Remove definition.
2952 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2954 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2955 Use HERRNOP directly.
2957 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2961 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2963 * math/gen-auto-libm-tests.c (test_functions): Add more
2964 single-argument functions.
2965 (special_fill_pi_2): New function.
2966 (special_fill_minus_pi_2): Likewise.
2967 (special_fill_pi_6): Likewise.
2968 (special_fill_minus_pi_6): Likewise.
2969 (special_fill_pi_3): Likewise.
2970 (special_fill_2pi_3): Likewise.
2971 (special_fill_e): Likewise.
2972 (special_fill_1_e): Likewise.
2973 (special_fill_e_minus_1): Likewise.
2974 (special_real_inputs): Add more special inputs.
2975 (output_for_one_input_case): Do not require ERANGE on underflow to
2976 zero if round-to-nearest result does not underflow to zero, unless
2977 exact results required.
2978 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2979 atan, atanh, cbrt, cos and cosh.
2980 * math/auto-libm-test-out: Regenerated.
2981 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2982 (acos_tonearest_test_data): Likewise.
2983 (acos_towardzero_test_data): Likewise.
2984 (acos_downward_test_data): Likewise.
2985 (acos_upward_test_data): Likewise.
2986 (acosh_test_data): Likewise.
2987 (asin_test_data): Likewise.
2988 (asin_tonearest_test_data): Likewise.
2989 (asin_towardzero_test_data): Likewise.
2990 (asin_upward_test_data): Likewise.
2991 (asinh_test_data): Likewise.
2992 (atan_test_data): Likewise.
2993 (atanh_test_data): Likewise.
2994 (cbrt_test_data): Likewise.
2995 (cos_test_data): Likewise.
2996 (cos_tonearest_test_data): Likewise.
2997 (cos_towardzero_test_data): Likewise.
2998 (cos_downward_test_data): Likewise.
2999 (cos_upward_test_data): Likewise.
3000 (cosh_test_data): Likewise.
3001 (cosh_tonearest_test_data): Likewise.
3002 (cosh_towardzero_test_data): Likewise.
3003 (cosh_downward_test_data): Likewise.
3004 (cosh_upward_test_data): Likewise.
3005 * sysdeps/i386/fpu/libm-test-ulps: Update.
3006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3008 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3011 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3012 * math/w_exp10f.c (__exp10f): Likewise.
3013 * math/w_exp10l.c (__exp10l): Likewise.
3014 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3015 errno settings in existing tests.
3018 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3019 precision control set to double precision.
3020 * sysdeps/i386/fpu/w_sqrt.c: New file.
3021 * math/auto-libm-test-in: Add more tests.
3022 * math/auto-libm-test-out: Update.
3024 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3025 (sqrt_test_tonearest): New function.
3026 (sqrt_towardzero_test_data): New variable.
3027 (sqrt_test_towardzero): New function.
3028 (sqrt_downward_test_data): New variable.
3029 (sqrt_test_downward): New function.
3030 (sqrt_upward_test_data): New variable.
3031 (sqrt_test_upward): New function.
3032 (main): Call the new functions.
3034 * math/gen-auto-libm-tests.c: New file.
3035 * math/auto-libm-test-in: Likewise.
3036 * math/auto-libm-test-out: New generated file.
3037 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3039 (%beautify): Add generated representations of zero.
3040 (top level): Set $auto_input and call parse_auto_input.
3041 (beautify): Remove trailing "f" from hex float constants.
3042 (parse_args): Handle XFAIL_TEST.
3043 (convert_condition): New function.
3044 (or_value): Likewise.
3045 (or_cond_value): Likewise.
3046 (generate_testfile): Handle AUTO_TESTS_* lines.
3047 (parse_auto_input): New function.
3048 * math/libm-test.inc (XFAIL_TEST): New macro.
3049 (ERRNO_UNCHANGED): Update value.
3050 (ERRNO_EDOM): Likewise.
3051 (ERRNO_ERANGE): Likewise.
3052 (IGNORE_RESULT): Likewise.
3053 (TEST_COND_flt_32): New macro.
3054 (TEST_COND_dbl_64): Likewise.
3055 (TEST_COND_ldbl_96_intel): Likewise.
3056 (TEST_COND_ldbl_96_m68k): Likewise.
3057 (TEST_COND_ldbl_128): Likewise.
3058 (TEST_COND_ldbl_128ibm): Likewise.
3059 (TEST_COND_long32): Likewise.
3060 (TEST_COND_long64): Likewise.
3061 (TEST_COND_before_rounding): Likewise.
3062 (TEST_COND_after_rounding): Likewise.
3063 (enable_test): Handle XFAIL_TEST flag.
3064 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3065 with finite results.
3066 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3069 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3070 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3073 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3074 __tls_get_addr_internal instead of __tls_get_offset in order to
3075 avoid GOT pointer dependency. Make rtld export
3076 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3077 __tls_get_addr since we are a __tls_get_offset platform.
3078 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3079 GOT pointer being set up before.
3080 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3082 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3084 * manual/math.texi (Errors in Math Functions): Document accuracy
3088 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3089 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3090 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3091 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3092 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3093 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3094 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3095 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3096 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3097 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3098 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3099 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3100 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3101 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3103 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3105 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3106 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3107 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3108 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3109 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3111 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3113 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3115 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3116 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3117 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3118 atomic-feupdateenv and flt-rounds.
3119 * sysdeps/powerpc/nofpu/Versions (libc): Add
3120 __atomic_feholdexcept, __atomic_feclearexcept,
3121 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3122 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3123 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3124 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3125 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3130 * manual/arith.texi (FP Exceptions): Document that exceptions may
3131 not be raised when matherr is used.
3132 (Math Error Reporting): Document overflow in directed rounding
3133 modes. Document that errno may not be set when finite values are
3134 returned on overflow. Document intent to set errno on underflow
3135 only for underflow to zero.
3138 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3139 round-to-nearest then adjust result for other rounding modes.
3140 * include/fenv.h (fegetround): Use libm_hidden_proto.
3141 * math/fegetround.c (fegetround): Use libm_hidden_def.
3142 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3143 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3144 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3145 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3147 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3148 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3149 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3150 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3152 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3155 * nss/Versions (libnss_files): Add
3156 _nss_files_gethostbyname3_r.
3157 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3159 (HOST_DB_LOOKUP): Remove macro.
3160 (_nss_files_gethostbyname_r): Implement function without the
3161 HOST_DB_LOOKUP macro.
3162 (_nss_files_gethostbyname2_r): Likewise.
3164 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3166 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3168 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3170 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3171 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3174 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3176 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3177 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3178 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3179 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3180 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3181 __fe_nomask_env_priv and attribute_hidden.
3182 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3183 (libc_feupdateenv_test_ppc): Likewise.
3184 (libc_feresetround_ppc): Likewise.
3185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3186 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3187 compat_symbol macro.
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3189 (__fe_nomask_env): Likewise.
3190 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3192 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3194 * string/Makefile: Remove ifunc tests.
3195 * string/test-string.h: Define TEST_IFUNC.
3196 * string/test-bcopy-ifunc.c: Remove.
3197 * string/test-bzero-ifunc.c: Likewise.
3198 * string/test-memccpy-ifunc.c: Likewise.
3199 * string/test-memchr-ifunc.c: Likewise.
3200 * string/test-memcmp-ifunc.c: Likewise.
3201 * string/test-memcpy-ifunc.c: Likewise.
3202 * string/test-memmem-ifunc.c: Likewise.
3203 * string/test-memmove-ifunc.c: Likewise.
3204 * string/test-mempcpy-ifunc.c: Likewise.
3205 * string/test-memrchr-ifunc.c: Likewise.
3206 * string/test-memset-ifunc.c: Likewise.
3207 * string/test-rawmemchr-ifunc.c: Likewise.
3208 * string/test-stpcpy-ifunc.c: Likewise.
3209 * string/test-stpncpy-ifunc.c: Likewise.
3210 * string/test-strcasecmp-ifunc.c: Likewise.
3211 * string/test-strcasestr-ifunc.c: Likewise.
3212 * string/test-strcat-ifunc.c: Likewise.
3213 * string/test-strchr-ifunc.c: Likewise.
3214 * string/test-strchrnul-ifunc.c: Likewise.
3215 * string/test-strcmp-ifunc.c: Likewise.
3216 * string/test-strcpy-ifunc.c: Likewise.
3217 * string/test-strcspn-ifunc.c: Likewise.
3218 * string/test-strlen-ifunc.c: Likewise.
3219 * string/test-strncasecmp-ifunc.c: Likewise.
3220 * string/test-strncat-ifunc.c: Likewise.
3221 * string/test-strncmp-ifunc.c: Likewise.
3222 * string/test-strncpy-ifunc.c: Likewise.
3223 * string/test-strnlen-ifunc.c: Likewise.
3224 * string/test-strpbrk-ifunc.c: Likewise.
3225 * string/test-strrchr-ifunc.c: Likewise.
3226 * string/test-strspn-ifunc.c: Likewise.
3227 * string/test-strstr-ifunc.c: Likewise.
3229 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3231 * benchtests/Makefile: Remove ifunc tests.
3232 * benchtests/bench-string.h: Define TEST_IFUNC.
3233 * benchtests/bench-bcopy-ifunc.c: Remove.
3234 * benchtests/bench-bzero-ifunc.c: Likewise.
3235 * benchtests/bench-memccpy-ifunc.c: Likewise.
3236 * benchtests/bench-memchr-ifunc.c: Likewise.
3237 * benchtests/bench-memcmp-ifunc.c: Likewise.
3238 * benchtests/bench-memcpy-ifunc.c: Likewise.
3239 * benchtests/bench-memmem-ifunc.c: Likewise.
3240 * benchtests/bench-memmove-ifunc.c: Likewise.
3241 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3242 * benchtests/bench-memrchr-ifunc.c: Likewise.
3243 * benchtests/bench-memset-ifunc.c: Likewise.
3244 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3245 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3246 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3247 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3248 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3249 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3250 * benchtests/bench-strcat-ifunc.c: Likewise.
3251 * benchtests/bench-strchr-ifunc.c: Likewise.
3252 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3253 * benchtests/bench-strcmp-ifunc.c: Likewise.
3254 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3255 * benchtests/bench-strcpy-ifunc.c: Likewise.
3256 * benchtests/bench-strcspn-ifunc.c: Likewise.
3257 * benchtests/bench-strlen-ifunc.c: Likewise.
3258 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3259 * benchtests/bench-strncat-ifunc.c: Likewise.
3260 * benchtests/bench-strncmp-ifunc.c: Likewise.
3261 * benchtests/bench-strncpy-ifunc.c: Likewise.
3262 * benchtests/bench-strnlen-ifunc.c: Likewise.
3263 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3264 * benchtests/bench-strrchr-ifunc.c: Likewise.
3265 * benchtests/bench-strsep-ifunc.c: Likewise.
3266 * benchtests/bench-strspn-ifunc.c: Likewise.
3267 * benchtests/bench-strstr-ifunc.c: Likewise.
3269 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3271 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3273 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3275 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3276 * rt/aio.h: Likewise.
3277 * sysdeps/gnu/bits/utmp.h: Likewise.
3278 * sysdeps/gnu/bits/utmpx.h: Likewise.
3279 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3280 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3281 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3282 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3283 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3284 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3285 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3286 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3287 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3288 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3289 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3290 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3291 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3293 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3294 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3295 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3296 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3297 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3298 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3299 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3300 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3301 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3302 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3303 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3305 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3307 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3308 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3309 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3310 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3311 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3312 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3313 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3314 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3315 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3316 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3317 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3318 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3319 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3320 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3322 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3325 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3326 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3328 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3330 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3331 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3334 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3336 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3337 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3338 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3339 (__fesetround): Remove define.
3340 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3341 rounding and exceptions handling.
3342 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3343 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3344 (__fe_nomask_env): Likewise.
3345 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3346 __fegetround instead of fegetround.
3347 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3348 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3350 2013-11-21 Roland McGrath <roland@hack.frob.com>
3352 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3355 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3357 2013-11-21 Meador Inge <meadori@codesourcery.com>
3360 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3361 (encrypt_r): Likewise.
3362 * malloc/obstack.h (obstack_free): Likewise.
3363 * posix/unistd.h (encrypt): Likewise.
3365 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3367 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3368 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3369 DL_CALL_DT_FINI() that call the functions directly.
3370 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3371 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3372 * elf/dl-fini.c: Likewise.
3374 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3376 * malloc/hooks.c (memalign_check): Add alignment rounding.
3377 * malloc/malloc.c (_mid_memalign): New function.
3378 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3379 Implement by calling _mid_memalign.
3380 * manual/probes.texi (Memory Allocation Probes): Remove
3381 memory_valloc_retry and memory_pvalloc_retry.
3383 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3385 * locale/programs/locarchive.c (open_archive): Add const
3386 qualifier to ARCHIVEFNAME and copy default fname to
3390 * libio/tst-widetext.input: Rename Oriya to Odia.
3391 * locale/iso-639.def: Likewise.
3393 * manual/probes.texi (Mathematical Function Probes): Add
3394 documentation for sin, cos, asin and acos probes.
3395 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3396 (__sin32): Add slowasin probe.
3397 (__cos32): Add slowacos probe.
3398 (__mpsin): Add slowsin probe.
3399 (__mpcos): Add slowcos probe.
3401 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3404 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3405 thread-local __sim_exceptions_thread and global
3406 __sim_exceptions_global.
3407 (__sim_disabled_exceptions): Change to thread-local
3408 __sim_disabled_exceptions_thread and global
3409 __sim_disabled_exceptions_global.
3410 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3411 and global __sim_round_mode_global.
3412 (__simulate_exceptions): Use thread-local floating-point state and
3413 set global state from it as needed.
3414 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3415 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3416 __sim_round_mode_thread.
3417 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3418 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3419 and global __sim_exceptions_global.
3420 (__sim_disabled_exceptions): Change to thread-local
3421 __sim_disabled_exceptions_thread and global
3422 __sim_disabled_exceptions_global.
3423 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3424 and global __sim_round_mode_global.
3425 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3426 (SIM_SET_GLOBAL): Likewise.
3427 * sysdeps/powerpc/soft-fp/sfp-machine.h
3428 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3429 __sim_round_mode_thread.
3430 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3431 __sim_disabled_exceptions_thread.
3432 (__sim_exceptions): Change to __sim_exceptions_thread.
3433 (__sim_disabled_exceptions): Change to
3434 __sim_disabled_exceptions_thread.
3435 (__sim_round_mode): Change to __sim_round_mode_thread.
3436 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3437 thread-local floating-point state and set global state from it as
3439 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3440 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3441 (__sim_disabled_exceptions): Remove extern declaration.
3442 (feenableexcept): Use thread-local floating-point state and set
3443 global state from it as needed.
3444 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3446 (__sim_disabled_exceptions): Likewise.
3447 (__sim_round_mode): Likewise.
3448 (__fegetenv): Use thread-local floating-point state.
3449 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3450 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3451 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3452 floating-point state and set global state from it as needed.
3453 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3454 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3455 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3457 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3458 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3460 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3461 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3462 Use __sim_round_mode_thread.
3463 * math/test-fenv-tls.c: New file.
3464 * math/Makefile (tests): Add test-fenv-tls.
3465 ($(objpfx)test-fenv-tls): Depend on
3466 $(common-objpfx)nptl/libpthread.so.
3468 2013-11-19 Andreas Schwab <schwab@suse.de>
3470 * locale/programs/locale.c (show_info): Decode wordarray elements.
3471 * locale/categories.def (LC_MONETARY): Add element for
3472 _NL_MONETARY_CRNCYSTR.
3473 * locale/C-monetary.c (conversion_rate): New variable.
3474 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3477 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3479 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3480 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3482 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3484 * elf/Makefile (tst-auxv): New test.
3485 * elf/tst-auxv.c: New
3486 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3488 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3490 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3491 (hidden_proto): Caller changed.
3492 (hidden_tls_proto): New macro.
3493 (libc_hidden_tls_proto): Likewise.
3494 (rtld_hidden_tls_proto): Likewise.
3495 (libm_hidden_tls_proto): Likewise.
3496 (libresolv_hidden_tls_proto): Likewise.
3497 (librt_hidden_tls_proto): Likewise.
3498 (libdl_hidden_tls_proto): Likewise.
3499 (libnss_files_hidden_tls_proto): Likewise.
3500 (libnsl_hidden_tls_proto): Likewise.
3501 (libnss_nisplus_hidden_tls_proto): Likewise.
3502 (libutil_hidden_tls_proto): Likewise.
3504 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3507 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3508 (decompose_rpath): Defer expansion to fillin_rpath.
3509 (_dl_init_paths): Pass linkmap to fillin_rpath.
3511 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3513 * benchtests/Makefile: Add strsep.
3514 * benchtests/bench-strsep.c: New file: strsep benchtest.
3515 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3517 2013-11-18 Andreas Schwab <schwab@suse.de>
3519 * locale/programs/locale.c (show_info) [case byte]: Check for
3520 '\377' instead of '\177'.
3521 * locale/C-monetary.c (not_available): Always use "\377".
3522 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3523 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3524 detect unavailable sign_posn locale elements.
3525 * locale/localeconv.c (__localeconv): For grouping and
3526 mon_grouping handle "\177" and "\377" like no grouping.
3527 (INT_ELEM): New macro. Use it to set all numeric members.
3528 * locale/programs/ld-monetary.c (monetary_read)
3529 <tok_mon_grouping>: Normalize single -1 to the empty string.
3530 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3533 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3536 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3537 when we match (nil).
3538 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3540 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3542 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3543 (NO_TEST_INLINE): Update value.
3544 (ERRNO_UNCHANGED): Likewise.
3545 (ERRNO_EDOM): Likewise.
3546 (ERRNO_ERANGE): Likewise.
3547 (IGNORE_RESULT): Likewise.
3548 (check_float_internal): Check signs of NaN results if
3550 (check_complex): Pass TEST_NAN_SIGN flag through to second
3551 check_float_internal call.
3552 (copysign_test_data): Add tests with quiet NaNs as second
3553 argument. Use TEST_NAN_SIGN.
3554 (fabs_test_data): Add test of negative quiet NaN argument. Use
3556 (signbit_test_data): Add tests of quiet NaN argument.
3557 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3559 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3561 (parse_args): Handle function results specified as IGNORE.
3562 * math/libm-test.inc (IGNORE_RESULT): New macro.
3563 (check_float_internal): Do not check numerical result if flag
3565 (check_complex): Pass through IGNORE_RESULT to second
3566 check_float_internal call.
3567 (check_int): Do not check numerical result if flag IGNORE_RESULT
3569 (check_long): Likewise.
3570 (check_bool): Likewise.
3571 (check_longlong): Likewise.
3572 (lrint_test_data): Add tests of infinite and NaN arguments.
3573 (lrint_tonearest_test_data): Likewise.
3574 (lrint_towardzero_test_data): Likewise.
3575 (lrint_downward_test_data): Likewise.
3576 (lrint_upward_test_data): Likewise.
3577 (llrint_test_data): Likewise.
3578 (llrint_tonearest_test_data): Likewise.
3579 (llrint_towardzero_test_data): Likewise.
3580 (llrint_downward_test_data): Likewise.
3581 (llrint_upward_test_data): Likewise.
3582 (lround_test_data): Likewise.
3583 (llround_test_data): Likewise.
3585 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3586 (ERRNO_UNCHANGED): Update value.
3587 (ERRNO_EDOM): Likewise.
3588 (ERRNO_ERANGE): Likewise.
3589 (NO_TEST_INLINE_FLOAT): New macro.
3590 (NO_TEST_INLINE_DOUBLE): Likewise.
3591 (enable_test): New function.
3592 (RUN_TEST_f_f): Check enable_test before running test.
3593 (RUN_TEST_2_f): Likewise.
3594 (RUN_TEST_fff_f): Likewise.
3595 (RUN_TEST_c_f): Likewise.
3596 (RUN_TEST_f_f1): Likewise.
3597 (RUN_TEST_fF_f1): Likewise.
3598 (RUN_TEST_fI_f1): Likewise.
3599 (RUN_TEST_ffI_f1): Likewise.
3600 (RUN_TEST_c_c): Likewise.
3601 (RUN_TEST_cc_c): Likewise.
3602 (RUN_TEST_f_i): Likewise.
3603 (RUN_TEST_f_i_tg): Likewise.
3604 (RUN_TEST_ff_i_tg): Likewise.
3605 (RUN_TEST_f_b): Likewise.
3606 (RUN_TEST_f_b_tg): Likewise.
3607 (RUN_TEST_f_l): Likewise.
3608 (RUN_TEST_f_L): Likewise.
3609 (RUN_TEST_fFF_11): Likewise.
3610 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3612 (cosh_test_data): Likewise.
3613 (exp_test_data): Likewise.
3614 (expm1_test_data): Likewise.
3615 (hypot_test_data): Likewise.
3616 (pow_test_data): Likewise.
3617 (sinh_test_data): Likewise.
3618 (tanh_test_data): Likewise.
3619 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3622 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3623 tests with quiet NaN input and output.
3624 (acosh_test_data): Likewise.
3625 (asin_test_data): Likewise.
3626 (asinh_test_data): Likewise.
3627 (atan_test_data): Likewise.
3628 (atanh_test_data): Likewise.
3629 (atan2_test_data): Likewise.
3630 (cbrt_test_data): Likewise.
3631 (cos_test_data): Likewise.
3632 (cosh_test_data): Likewise.
3633 (erf_test_data): Likewise.
3634 (erfc_test_data): Likewise.
3635 (exp_test_data): Likewise.
3636 (exp10_test_data): Likewise.
3637 (exp2_test_data): Likewise.
3638 (expm1_test_data): Likewise.
3639 (hypot_test_data): Likewise.
3640 (j0_test_data): Likewise.
3641 (j1_test_data): Likewise.
3642 (jn_test_data): Likewise.
3643 (lgamma_test_data): Likewise.
3644 (log_test_data): Likewise.
3645 (log10_test_data): Likewise.
3646 (log1p_test_data): Likewise.
3647 (log2_test_data): Likewise.
3648 (pow_test_data): Likewise.
3649 (scalb_test_data): Likewise.
3650 (sin_test_data): Likewise.
3651 (sincos_test_data): Likewise.
3652 (sinh_test_data): Likewise.
3653 (tan_test_data): Likewise.
3654 (tanh_test_data): Likewise.
3655 (tgamma_test_data): Likewise.
3656 (y0_test_data): Likewise.
3657 (y1_test_data): Likewise.
3658 (yn_test_data): Likewise.
3661 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3662 argument being NaN and avoid computations with second argument in
3664 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3665 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3666 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3668 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3670 * locale/iso-639.def: Add Chitwani Tharu (the).
3672 2013-11-14 Andreas Schwab <schwab@suse.de>
3674 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3675 word instead of empty string.
3677 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3680 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3682 (__fe_nomask_env): Likewise.
3684 2013-11-13 Steve Ellcey <sellcey@mips.com>
3686 * benchtests/bench-timing.h: Include time.h.
3688 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3691 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3693 * sysdeps/unix/sysv/linux/configure: Regenerated.
3695 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3698 * stdlib/strtod_l.c (round_and_return): Do not consider
3699 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3700 exponent one less than half the least subnormal exponent.
3701 * stdlib/test-strtod-round-data: Add more tests.
3702 * stdlib/tst-strtod-round.c (tests): Regenerated.
3704 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3707 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3708 (__fe_mask_env): Likewise.
3709 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3710 libm_hidden_proto and add function prototype.
3711 (__fe_mask_env): Add function prototype.
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3713 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3715 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3717 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3719 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3721 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3722 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3724 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3726 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3727 of htab_find_slot().
3729 2013-11-11 David S. Miller <davem@davemloft.net>
3732 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3733 symbol in the non-vis3 case in static builds.
3734 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3735 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3736 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3737 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3739 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3742 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3745 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3747 * benchtests/Makefile: Add bench-strtod.
3748 * benchtests/bench-strtod.c: New file: strtod benchtest
3750 2013-11-11 Andreas Schwab <schwab@suse.de>
3753 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3754 terminating NUL in key length.
3756 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3758 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3759 Add artificial ODP entry for vDSO symbol for PPC64.
3760 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3761 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3763 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3766 * nss/getent.c (services_keys): Recognize services starting with digit.
3768 2013-11-06 David S. Miller <davem@davemloft.net>
3771 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3772 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3774 2013-11-06 Will Newton <will.newton@linaro.org>
3776 * manual/memory.texi (Malloc Examples): Remove register
3777 keyword from examples.
3779 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3781 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3783 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3785 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3786 depending on [__GCC_IEC_559 > 0].
3787 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3788 depending on [__GCC_IEC_559_COMPLEX > 0].
3790 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3792 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3795 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3797 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3799 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3802 * malloc/malloc (malloc_info): Do not handle first bin as
3805 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3807 * locale/iso-639.def: Add Central Nahuatl (nhn).
3809 2013-11-01 Bruno Haible <bruno@clisp.org>
3812 * manual/math.texi (BSD Random): Specify range upper bound as
3815 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3817 * locale/iso-639.def: Add Meadow Mari (mhr).
3819 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3821 [BZ #14752], [BZ #15763]
3822 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3824 * rt/tst_shm.c: Add test for escaping directory.
3826 2013-10-31 Andreas Schwab <schwab@suse.de>
3829 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3830 followed by 'x' as part of digit sequence.
3831 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3833 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3836 * configure.ac: allow GNU Make 4.0 and greater.
3837 * configure: Regenerated.
3839 2013-10-30 Will Newton <will.newton@linaro.org>
3842 * malloc/hooks.c (memalign_check): Limit alignment to the
3843 maximum representable power of two.
3844 * malloc/malloc.c (__libc_memalign): Likewise.
3845 * malloc/tst-memalign.c (do_test): Add test for very
3846 large alignment values.
3847 * malloc/tst-posix_memalign.c (do_test): Likewise.
3849 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3852 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3853 (munmap_chunk): Likewise.
3854 (mremap_chunk): Likewise.
3856 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3859 * stdlib/div.c (div): Remove obsolete code.
3860 * stdlib/ldiv.c (ldiv): Likewise.
3861 * stdlib/lldiv.c (lldiv): Likewise.
3863 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3866 * nss/nss_files/files-XXX.c (get_contents_ret): New
3868 (get_contents): New function.
3869 (internal_getent): Use it. Expand size of LINEBUFLEN.
3871 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3873 * configure.in: Moved to ...
3874 * configure.ac: ... here. Change reference to configure.in
3876 * sysdeps/arm/preconfigure.ac: ... here.
3877 configure.in to configure.ac.
3878 * sysdeps/gnu/configure.in: Moved to ...
3879 * sysdeps/gnu/configure.ac: ... here.
3880 * sysdeps/i386/configure.in: Moved to ...
3881 * sysdeps/i386/configure.ac: ... here.
3882 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3883 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3884 * sysdeps/mach/configure.in: Moved to ...
3885 * sysdeps/mach/configure.ac: ... here.
3886 * sysdeps/mach/hurd/configure.in: Moved to ...
3887 * sysdeps/mach/hurd/configure.ac: ... here.
3888 * sysdeps/powerpc/configure.in: Moved to ...
3889 * sysdeps/powerpc/configure.ac: ... here.
3890 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3891 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3892 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3893 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3894 * sysdeps/s390/s390-32/configure.in: Moved to ...
3895 * sysdeps/s390/s390-32/configure.ac: ... here.
3896 * sysdeps/s390/s390-64/configure.in: Moved to ...
3897 * sysdeps/s390/s390-64/configure.ac: ... here.
3898 * sysdeps/sh/configure.in: Moved to ...
3899 * sysdeps/sh/configure.ac: ... here.
3900 * sysdeps/sparc/configure.in: Moved to ...
3901 * sysdeps/sparc/configure.ac: ... here.
3902 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3903 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3904 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3905 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3906 * sysdeps/x86_64/configure.in: Moved to ...
3907 * sysdeps/x86_64/configure.ac: ... here.
3908 * sysdeps/x86_64/preconfigure.in: Moved to ...
3909 * sysdeps/x86_64/preconfigure.ac: ... here.
3910 * aclocal.m4: Change reference to configure.in to configure.ac.
3911 * config.h.in: Likewise.
3912 * manual/install.texi: Likewise.
3913 * manual/maint.texi: Likewise.
3914 * Makefile: Likewise.
3915 * malloc/Makefile: Likewise.
3916 * nscd/Makefile: Likewise.
3917 * Makeconfig: Change reference to configure.in and
3918 preconfigure.in to configure.ac and preconfigure.ac
3920 * INSTALL: Regenerated.
3921 * configure: Likewise.
3922 * sysdeps/gnu/configure: Likewise.
3923 * sysdeps/i386/configure: Likewise.
3924 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3925 * sysdeps/mach/configure: Likewise.
3926 * sysdeps/mach/hurd/configure: Likewise.
3927 * sysdeps/powerpc/configure: Likewise.
3928 * sysdeps/powerpc/powerpc32/configure: Likewise.
3929 * sysdeps/powerpc/powerpc64/configure: Likewise.
3930 * sysdeps/s390/s390-32/configure: Likewise.
3931 * sysdeps/s390/s390-64/configure: Likewise.
3932 * sysdeps/sh/configure: Likewise.
3933 * sysdeps/sparc/configure: Likewise.
3934 * sysdeps/unix/sysv/linux/configure: Likewise.
3935 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3936 * sysdeps/x86_64/configure: Likewise.
3937 * sysdeps/x86_64/preconfigure: Likewise.
3939 2013-10-29 Andreas Schwab <schwab@suse.de>
3941 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3943 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3945 * benchtests/pow-inputs: Add new inputs.
3947 * benchtests/exp-inputs: Add new inputs.
3949 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3950 conditional check for return value.
3951 (__cos32): Likewise.
3953 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3955 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3956 to provide a boost for large inputs with word alignment.
3957 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3958 implementation based on optimized PPC64 strcpy.
3959 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3960 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3961 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3962 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3964 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3967 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3969 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3972 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3973 * time/tst-strptime.c (day_tests): Add testcase.
3975 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3978 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3980 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3983 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3984 MAP_FAILED on error.
3986 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3989 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3990 heap for large requests.
3992 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3995 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3996 result if the result has no associated interface.
3997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3998 interface for all 127.X.Y.Z addresses.
4000 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4002 * locale/iso-639.def: Add Ligurian (lij)
4004 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4007 * sunrpc/rpc_main.c: Document rpcgen -5.
4009 2013-10-19 Michael Stahl <mstahl@redhat.com>
4011 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4013 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4016 * posix/glob.c: Match only directories when trailing slash is present.
4017 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4018 (main): Add testcase.
4020 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4023 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4025 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4027 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4028 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4029 AUTH_DES and cindex for FIPS 140-2.
4030 (DES Encryption): Add cindex FIPS 46-3.
4032 * locale/locarchive.h (struct locarhandle): Add fname.
4033 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4034 if an optional argument was specified to --list-archive,
4036 * locale/programs/locarchive.c (show_archive_content): Take new
4037 argument fname and pass it via ah.fname to open_archive.
4038 * locale/programs/localedef.h: Update decl.
4039 (open_archive): If AH->fname is non-null, open that file
4040 rather than the default file name, and don't ignore ENOENT.
4041 (create_archive): Set AH.fname to NULL.
4042 (delete_locales_from_archive): Likewise.
4043 (add_locales_to_archive): Likewise.
4044 * locale/programs/locfile.c (write_all_categories): Likewise.
4046 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4047 Aldy Hernandez <aldyh@redhat.com>
4049 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4050 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4051 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4052 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4053 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4054 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4055 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4056 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4057 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4058 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4059 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4060 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4061 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4062 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4063 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4065 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4067 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4069 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4071 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4072 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4074 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4075 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4076 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4077 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4079 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4080 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4081 * sysdeps/powerpc/preconfigure: Likewise.
4082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4084 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4085 Replace contents of file by #include of <fenv_libc.h>.
4086 * sysdeps/powerpc/soft-fp/sfp-machine.h
4087 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4089 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4102 Allow copysignl PLT reference to be missing.
4104 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4105 Joseph Myers <joseph@codesourcery.com
4108 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4110 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4112 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4114 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4115 * elf/tst-tls1.c: Likewise.
4116 * elf/tst-tls10.h: Likewise.
4117 * elf/tst-tls14.c: Likewise.
4118 * elf/tst-tls2.c: Likewise.
4119 * elf/tst-tls3.c: Likewise.
4120 * elf/tst-tls4.c: Likewise.
4121 * elf/tst-tls5.c: Likewise.
4122 * elf/tst-tls6.c: Likewise.
4123 * elf/tst-tls7.c: Likewise.
4124 * elf/tst-tls8.c: Likewise.
4125 * elf/tst-tls9.c: Likewise.
4126 * elf/tst-tlsmod1.c: Likewise.
4127 * elf/tst-tlsmod13.c: Likewise.
4128 * elf/tst-tlsmod13a.c: Likewise.
4129 * elf/tst-tlsmod14a.c: Likewise.
4130 * elf/tst-tlsmod16a.c: Likewise.
4131 * elf/tst-tlsmod16b.c: Likewise.
4132 * elf/tst-tlsmod2.c: Likewise.
4133 * elf/tst-tlsmod3.c: Likewise.
4134 * elf/tst-tlsmod4.c: Likewise.
4135 * elf/tst-tlsmod5.c: Likewise.
4136 * elf/tst-tlsmod6.c: Likewise.
4138 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4141 * malloc/malloc.c: remove checks for statistics.
4143 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4146 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4147 * inet/tst-network.c: Add testcase.
4149 2013-10-17 Andreas Schwab <schwab@suse.de>
4152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4153 to determine canonical name.
4155 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4157 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4158 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4181 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4182 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4216 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4219 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4220 make result into a quiet NaN.
4222 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4224 * soft-fp/adddf3.c: Fix horizontal whitespace.
4225 * soft-fp/addsf3.c: Likewise.
4226 * soft-fp/addtf3.c: Likewise.
4227 * soft-fp/divdf3.c: Likewise.
4228 * soft-fp/divsf3.c: Likewise.
4229 * soft-fp/divtf3.c: Likewise.
4230 * soft-fp/double.h: Likewise.
4231 * soft-fp/eqdf2.c: Likewise.
4232 * soft-fp/eqsf2.c: Likewise.
4233 * soft-fp/eqtf2.c: Likewise.
4234 * soft-fp/extenddftf2.c: Likewise.
4235 * soft-fp/extended.h: Likewise.
4236 * soft-fp/extendsfdf2.c: Likewise.
4237 * soft-fp/extendsftf2.c: Likewise.
4238 * soft-fp/extendxftf2.c: Likewise.
4239 * soft-fp/fixdfdi.c: Likewise.
4240 * soft-fp/fixdfsi.c: Likewise.
4241 * soft-fp/fixdfti.c: Likewise.
4242 * soft-fp/fixsfdi.c: Likewise.
4243 * soft-fp/fixsfsi.c: Likewise.
4244 * soft-fp/fixsfti.c: Likewise.
4245 * soft-fp/fixtfdi.c: Likewise.
4246 * soft-fp/fixtfsi.c: Likewise.
4247 * soft-fp/fixtfti.c: Likewise.
4248 * soft-fp/fixunsdfdi.c: Likewise.
4249 * soft-fp/fixunsdfsi.c: Likewise.
4250 * soft-fp/fixunsdfti.c: Likewise.
4251 * soft-fp/fixunssfdi.c: Likewise.
4252 * soft-fp/fixunssfsi.c: Likewise.
4253 * soft-fp/fixunssfti.c: Likewise.
4254 * soft-fp/fixunstfdi.c: Likewise.
4255 * soft-fp/fixunstfsi.c: Likewise.
4256 * soft-fp/fixunstfti.c: Likewise.
4257 * soft-fp/floatdidf.c: Likewise.
4258 * soft-fp/floatdisf.c: Likewise.
4259 * soft-fp/floatditf.c: Likewise.
4260 * soft-fp/floatsidf.c: Likewise.
4261 * soft-fp/floatsisf.c: Likewise.
4262 * soft-fp/floatsitf.c: Likewise.
4263 * soft-fp/floattidf.c: Likewise.
4264 * soft-fp/floattisf.c: Likewise.
4265 * soft-fp/floattitf.c: Likewise.
4266 * soft-fp/floatundidf.c: Likewise.
4267 * soft-fp/floatundisf.c: Likewise.
4268 * soft-fp/floatunditf.c: Likewise.
4269 * soft-fp/floatunsidf.c: Likewise.
4270 * soft-fp/floatunsisf.c: Likewise.
4271 * soft-fp/floatunsitf.c: Likewise.
4272 * soft-fp/floatuntidf.c: Likewise.
4273 * soft-fp/floatuntisf.c: Likewise.
4274 * soft-fp/floatuntitf.c: Likewise.
4275 * soft-fp/fmadf4.c: Likewise.
4276 * soft-fp/fmasf4.c: Likewise.
4277 * soft-fp/fmatf4.c: Likewise.
4278 * soft-fp/gedf2.c: Likewise.
4279 * soft-fp/gesf2.c: Likewise.
4280 * soft-fp/getf2.c: Likewise.
4281 * soft-fp/ledf2.c: Likewise.
4282 * soft-fp/lesf2.c: Likewise.
4283 * soft-fp/letf2.c: Likewise.
4284 * soft-fp/muldf3.c: Likewise.
4285 * soft-fp/mulsf3.c: Likewise.
4286 * soft-fp/multf3.c: Likewise.
4287 * soft-fp/negdf2.c: Likewise.
4288 * soft-fp/negsf2.c: Likewise.
4289 * soft-fp/negtf2.c: Likewise.
4290 * soft-fp/op-1.h: Likewise.
4291 * soft-fp/op-2.h: Likewise.
4292 * soft-fp/op-4.h: Likewise.
4293 * soft-fp/op-8.h: Likewise.
4294 * soft-fp/op-common.h: Likewise.
4295 * soft-fp/quad.h: Likewise.
4296 * soft-fp/single.h: Likewise.
4297 * soft-fp/soft-fp.h: Likewise.
4298 * soft-fp/sqrtdf2.c: Likewise.
4299 * soft-fp/sqrtsf2.c: Likewise.
4300 * soft-fp/sqrttf2.c: Likewise.
4301 * soft-fp/subdf3.c: Likewise.
4302 * soft-fp/subsf3.c: Likewise.
4303 * soft-fp/subtf3.c: Likewise.
4304 * soft-fp/truncdfsf2.c: Likewise.
4305 * soft-fp/trunctfdf2.c: Likewise.
4306 * soft-fp/trunctfsf2.c: Likewise.
4307 * soft-fp/trunctfxf2.c: Likewise.
4308 * soft-fp/unorddf2.c: Likewise.
4309 * soft-fp/unordsf2.c: Likewise.
4310 * soft-fp/unordtf2.c: Likewise.
4312 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4314 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4315 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4317 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4319 * elf/dl-libc.c: Clear initfini list after freeing.
4321 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4323 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4324 * soft-fp/addsf3.c: Likewise.
4325 * soft-fp/addtf3.c: Likewise.
4326 * soft-fp/divdf3.c: Likewise.
4327 * soft-fp/divsf3.c: Likewise.
4328 * soft-fp/divtf3.c: Likewise.
4329 * soft-fp/double.h: Likewise.
4330 * soft-fp/eqdf2.c: Likewise.
4331 * soft-fp/eqsf2.c: Likewise.
4332 * soft-fp/eqtf2.c: Likewise.
4333 * soft-fp/extenddftf2.c: Likewise.
4334 * soft-fp/extended.h: Likewise.
4335 * soft-fp/extendsfdf2.c: Likewise.
4336 * soft-fp/extendsftf2.c: Likewise.
4337 * soft-fp/extendxftf2.c: Likewise.
4338 * soft-fp/fixdfdi.c: Likewise.
4339 * soft-fp/fixdfsi.c: Likewise.
4340 * soft-fp/fixdfti.c: Likewise.
4341 * soft-fp/fixsfdi.c: Likewise.
4342 * soft-fp/fixsfsi.c: Likewise.
4343 * soft-fp/fixsfti.c: Likewise.
4344 * soft-fp/fixtfdi.c: Likewise.
4345 * soft-fp/fixtfsi.c: Likewise.
4346 * soft-fp/fixtfti.c: Likewise.
4347 * soft-fp/fixunsdfdi.c: Likewise.
4348 * soft-fp/fixunsdfsi.c: Likewise.
4349 * soft-fp/fixunsdfti.c: Likewise.
4350 * soft-fp/fixunssfdi.c: Likewise.
4351 * soft-fp/fixunssfsi.c: Likewise.
4352 * soft-fp/fixunssfti.c: Likewise.
4353 * soft-fp/fixunstfdi.c: Likewise.
4354 * soft-fp/fixunstfsi.c: Likewise.
4355 * soft-fp/fixunstfti.c: Likewise.
4356 * soft-fp/floatdidf.c: Likewise.
4357 * soft-fp/floatdisf.c: Likewise.
4358 * soft-fp/floatditf.c: Likewise.
4359 * soft-fp/floatsidf.c: Likewise.
4360 * soft-fp/floatsisf.c: Likewise.
4361 * soft-fp/floatsitf.c: Likewise.
4362 * soft-fp/floattidf.c: Likewise.
4363 * soft-fp/floattisf.c: Likewise.
4364 * soft-fp/floattitf.c: Likewise.
4365 * soft-fp/floatundidf.c: Likewise.
4366 * soft-fp/floatundisf.c: Likewise.
4367 * soft-fp/floatunsidf.c: Likewise.
4368 * soft-fp/floatunsisf.c: Likewise.
4369 * soft-fp/floatuntidf.c: Likewise.
4370 * soft-fp/floatuntisf.c: Likewise.
4371 * soft-fp/floatuntitf.c: Likewise.
4372 * soft-fp/fmadf4.c: Likewise.
4373 * soft-fp/fmasf4.c: Likewise.
4374 * soft-fp/fmatf4.c: Likewise.
4375 * soft-fp/gedf2.c: Likewise.
4376 * soft-fp/gesf2.c: Likewise.
4377 * soft-fp/getf2.c: Likewise.
4378 * soft-fp/ledf2.c: Likewise.
4379 * soft-fp/lesf2.c: Likewise.
4380 * soft-fp/letf2.c: Likewise.
4381 * soft-fp/muldf3.c: Likewise.
4382 * soft-fp/mulsf3.c: Likewise.
4383 * soft-fp/multf3.c: Likewise.
4384 * soft-fp/negdf2.c: Likewise.
4385 * soft-fp/negsf2.c: Likewise.
4386 * soft-fp/negtf2.c: Likewise.
4387 * soft-fp/op-1.h: Likewise.
4388 * soft-fp/op-2.h: Likewise.
4389 * soft-fp/op-4.h: Likewise.
4390 * soft-fp/op-8.h: Likewise.
4391 * soft-fp/op-common.h: Likewise.
4392 * soft-fp/quad.h: Likewise.
4393 * soft-fp/single.h: Likewise.
4394 * soft-fp/soft-fp.h: Likewise.
4395 * soft-fp/sqrtdf2.c: Likewise.
4396 * soft-fp/sqrtsf2.c: Likewise.
4397 * soft-fp/sqrttf2.c: Likewise.
4398 * soft-fp/subdf3.c: Likewise.
4399 * soft-fp/subsf3.c: Likewise.
4400 * soft-fp/subtf3.c: Likewise.
4401 * soft-fp/truncdfsf2.c: Likewise.
4402 * soft-fp/trunctfdf2.c: Likewise.
4403 * soft-fp/trunctfsf2.c: Likewise.
4404 * soft-fp/trunctfxf2.c: Likewise.
4405 * soft-fp/unorddf2.c: Likewise.
4406 * soft-fp/unordsf2.c: Likewise.
4407 * soft-fp/unordtf2.c: Likewise.
4409 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4412 * misc/error.c (error_tail): Fix possible buffer overflow.
4414 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4417 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4420 2013-10-14 P. J. McDermott <pj@pehjota.net>
4423 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4424 testing pipefail option.
4426 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4428 * soft-fp/double.h: Indent preprocessor directives inside #if.
4429 * soft-fp/extended.h: Likewise.
4430 * soft-fp/op-2.h: Likewise.
4431 * soft-fp/op-4.h: Likewise.
4432 * soft-fp/op-common.h: Likewise.
4433 * soft-fp/quad.h: Likewise.
4434 * soft-fp/single.h: Likewise.
4435 * soft-fp/soft-fp.h: Likewise.
4437 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4439 * iconv/iconv_prog.c: Fix typos.
4440 * stdio-common/psiginfo-data.h: Likewise.
4442 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4445 * locale/setlocale.c: Fix typo.
4447 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4450 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4451 signaling NaN arguments.
4452 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4453 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4456 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4458 * soft-fp/gesf2.c (__gesf2): Likewise.
4459 * soft-fp/getf2.c (__getf2): Likewise.
4460 * soft-fp/ledf2.c (__ledf2): Likewise.
4461 * soft-fp/lesf2.c (__lesf2): Likewise.
4462 * soft-fp/letf2.c (__letf2): Likewise.
4464 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4465 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4466 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4467 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4468 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4469 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4470 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4471 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4472 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4473 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4474 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4475 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4476 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4477 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4478 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4479 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4480 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4481 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4482 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4483 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4484 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4485 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4486 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4487 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4488 * soft-fp/floattidf.c (__floattidf): Likewise.
4489 * soft-fp/floattisf.c (__floattisf): Likewise.
4490 * soft-fp/floattitf.c (__floattitf): Likewise.
4491 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4492 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4493 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4494 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4495 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4496 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4497 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4498 * soft-fp/gesf2.c (__gesf2): Likewise.
4499 * soft-fp/getf2.c (__getf2): Likewise.
4500 * soft-fp/ledf2.c (__ledf2): Likewise.
4501 * soft-fp/lesf2.c (__lesf2): Likewise.
4502 * soft-fp/letf2.c (__letf2): Likewise.
4504 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4505 Undefine and redefine.
4506 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4507 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4508 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4509 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4510 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4511 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4512 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4513 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4514 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4515 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4516 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4517 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4518 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4519 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4520 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4523 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4524 without decrementing exponent if mantissa >= that for the
4526 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4527 denominator, not >. Decrement exponent in < case instead of
4528 incrementing in >= case.
4529 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4530 without decrementing exponent if mantissa >= that for the
4533 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4534 computing saturated result for unsigned overflow.
4536 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4537 Jeff Law <law@redhat.com>
4539 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4540 (atan2Mp): Add systemtap probe marker.
4541 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4542 (__ieee754_log): Add systemtap probe marker.
4543 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4544 (atanMp): Add systemtap probe marker.
4545 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4546 (tanMp): Add systemtap probe marker.
4547 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4548 (__slowexp): Add systemtap probe marker.
4549 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4550 (__slowpow): Add systemtap probe marker.
4551 * manual/probes.texi: Document probes.
4553 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4556 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4558 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4560 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4561 written to buffer but not flushed.
4562 * libio/iofwrite_u.c: Likewise.
4563 * libio/iopadn.c: Return bytes returned even if EOF was
4565 * libio/iowpadn.c: Likewise.
4566 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4567 if _IO_padn does not write the whole buffer.
4568 [!COMPILE_WPRINTF] (PAD): Likewise.
4570 2013-10-10 David S. Miller <davem@davemloft.net>
4572 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4575 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4577 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4578 instead of FSF address.
4579 * soft-fp/fixdfti.c: Likewise.
4580 * soft-fp/fixsfti.c: Likewise.
4581 * soft-fp/fixtfti.c: Likewise.
4582 * soft-fp/fixunsdfti.c: Likewise.
4583 * soft-fp/fixunssfti.c: Likewise.
4584 * soft-fp/fixunstfti.c: Likewise.
4585 * soft-fp/floattidf.c: Likewise.
4586 * soft-fp/floattisf.c: Likewise.
4587 * soft-fp/floattitf.c: Likewise.
4588 * soft-fp/floatuntidf.c: Likewise.
4589 * soft-fp/floatuntisf.c: Likewise.
4590 * soft-fp/floatuntitf.c: Likewise.
4591 * soft-fp/trunctfxf2.c: Likewise.
4593 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4594 * soft-fp/fixdfti.c: Likewise.
4595 * soft-fp/fixsfti.c: Likewise.
4596 * soft-fp/fixtfti.c: Likewise.
4597 * soft-fp/fixunsdfti.c: Likewise.
4598 * soft-fp/fixunssfti.c: Likewise.
4599 * soft-fp/fixunstfti.c: Likewise.
4600 * soft-fp/floattidf.c: Likewise.
4601 * soft-fp/floattisf.c: Likewise.
4602 * soft-fp/floattitf.c: Likewise.
4603 * soft-fp/floatuntidf.c: Likewise.
4604 * soft-fp/floatuntisf.c: Likewise.
4605 * soft-fp/floatuntitf.c: Likewise.
4606 * soft-fp/trunctfxf2.c: Likewise.
4608 2013-10-10 David S. Miller <davem@davemloft.net>
4610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4612 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4614 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4615 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4616 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4623 for NaNs before doing comparisons on argument.
4624 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4627 2013-10-10 Will Newton <will.newton@linaro.org>
4629 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4630 passed to _int_memalign does not overflow.
4632 2013-10-10 Torvald Riegel <triegel@redhat.com>
4634 * scripts/bench.pl: Add include-sources directive.
4635 * benchtests/README: Update documentation.
4637 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4639 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4640 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4641 instead of FP_INIT_ROUNDMODE.
4642 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4643 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4646 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4647 copy class of input value.
4648 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4649 not handle exceptions.
4650 * soft-fp/negsf2.c (__negsf2): Likewise.
4651 * soft-fp/negtf2.c (__negtf2): Likewise.
4652 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4654 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4656 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4657 semicolon. From Linux kernel.
4659 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4661 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4663 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4666 * manual/socket.texi: Added statement about buffer
4667 for gethostbyname2_r.
4669 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4671 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4672 Use .p2align directive instead, throughout.
4673 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4674 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4675 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4678 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4679 * sysdeps/x86_64/strchr.S: Likewise.
4680 * sysdeps/x86_64/strrchr.S: Likewise.
4682 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4684 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4686 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4688 * sysdeps/generic/math_private.h (__mpsin1): Remove
4690 (__mpcos1): Likewise.
4691 (__mpsin): New argument __range_reduce.
4692 (__mpcos): Likewise.
4693 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4694 (slow): Use __mpsin and __mpcos.
4701 (bsloww1): Likewise.
4702 (bsloww2): Likewise.
4705 (csloww1): Likewise.
4706 (csloww2): Likewise.
4707 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4708 range_reduce. Merge in __mpsin1.
4709 (__mpcos): Likewise.
4711 (__mpcos1): Likewise.
4713 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4715 * locale/loadlocale.c (_nl_intern_locale_data): Use
4717 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4718 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4719 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4720 obstack data is appropriately aligned.
4721 (obstack_int32_grow_fast): Likewise.
4722 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4723 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4724 (add_locale_uint32_array): Likewise.
4726 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4728 * benchtests/Makefile: Remove ARGLIST and RET variables.
4729 ($(objpfx)bench-%.c): Pass only function name to the script.
4730 * benchtests/README: Update documentation.
4731 * benchtests/acos-inputs: Add new directives.
4732 * benchtests/acosh-inputs: Likewise.
4733 * benchtests/asin-inputs: Likewise.
4734 * benchtests/asinh-inputs: Likewise.
4735 * benchtests/atan-inputs: Likewise.
4736 * benchtests/atanh-inputs: Likewise.
4737 * benchtests/cos-inputs: Likewise.
4738 * benchtests/cosh-inputs: Likewise.
4739 * benchtests/exp-inputs: Likewise.
4740 * benchtests/log-inputs: Likewise.
4741 * benchtests/pow-inputs: Likewise.
4742 * benchtests/rint-inputs: Likewise.
4743 * benchtests/sin-inputs: Likewise.
4744 * benchtests/sinh-inputs: Likewise.
4745 * benchtests/tan-inputs: Likewise.
4746 * benchtests/tanh-inputs: Likewise.
4747 * scripts/bench.pl: Add support for new directives.
4749 2013-10-07 Alan Modra <amodra@gmail.com>
4751 * README: Fix careless merge.
4753 2013-10-05 Alan Modra <amodra@gmail.com>
4755 * NEWS: Mention powerpc64le support and bugs fixed.
4756 * README: Both big-endian and little-endian powerpc64 supported.
4758 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4760 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4761 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4762 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4763 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4765 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4767 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4770 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4772 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4773 Move -mhard-float appending from
4774 ports/sysdeps/powerpc/powerpc32/Makefile.
4775 [$(with-fp) = yes] (ASFLAGS): Likewise.
4776 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4777 * sysdeps/powerpc/nofpu: Move directory from
4778 ports/sysdeps/powerpc/nofpu.
4779 * sysdeps/powerpc/soft-fp: Move directory from
4780 ports/sysdeps/powerpc/soft-fp.
4781 * sysdeps/powerpc/powerpc32/405: Move directory from
4782 ports/sysdeps/powerpc/powerpc32/405.
4783 * sysdeps/powerpc/powerpc32/440: Move directory from
4784 ports/sysdeps/powerpc/powerpc32/440.
4785 * sysdeps/powerpc/powerpc32/464: Move directory from
4786 ports/sysdeps/powerpc/powerpc32/464.
4787 * sysdeps/powerpc/powerpc32/476: Move directory from
4788 ports/sysdeps/powerpc/powerpc32/476.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4794 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4796 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4798 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4799 * README: Update for powerpc-*-linux-gnu software floating point
4802 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4803 case to powerpc/powerpc32*.
4804 * sysdeps/unix/sysv/linux/configure: Regenerated.
4806 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4807 (_FPU_MASK_OM): Define as 0x04.
4808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4816 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4819 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4822 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4823 and setcontext_e500.
4825 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4827 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4829 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4831 * manual/threads.texi (Default Thread Attributes): Fix typo.
4833 2013-10-04 Will Newton <will.newton@linaro.org>
4835 * malloc/Makefile: Add tst-memalign.
4836 * malloc/tst-memalign.c: New file.
4838 * malloc/tst-posix_memalign.c: Add comments.
4839 (do_test): Add comments and call free on all potentially
4840 allocated pointers. Add space after cast.
4842 * malloc/tst-pvalloc.c: Add comments.
4843 (do_test): Add comments and call free on all potentially
4844 allocated pointers. Remove duplicate check for NULL pointer.
4845 Add space after cast.
4847 * malloc/tst-valloc.c: Add comments.
4848 (do_test): Add comments and call free on all potentially
4849 allocated pointers. Remove duplicate check for NULL pointer.
4850 Add space after cast.
4852 2013-10-04 Alan Modra <amodra@gmail.com>
4854 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4855 Use stdint types in rather than __attribute__((mode())).
4856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4858 2013-10-04 Alan Modra <amodra@gmail.com>
4860 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4861 Correct handling of unaligned relocs for little-endian.
4862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4864 2013-10-04 Alan Modra <amodra@gmail.com>
4866 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4867 * configure: Regenerate.
4868 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4869 * shlib-versions: Likewise.
4871 2013-10-04 Alan Modra <amodra@gmail.com>
4873 * string/tester.c (test_memrchr): Increment reported test cycle.
4875 2013-10-04 Alan Modra <amodra@gmail.com>
4877 * string/test-memcpy.c (do_one_test): When reporting errors, print
4878 string address and don't overrun end of string.
4880 2013-10-04 Alan Modra <amodra@gmail.com>
4882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4883 insrdi. Make better use of reg selection to speed exit slightly.
4884 Schedule entry path a little better. Remove useless "are we done"
4885 checks on entry to main loop. Handle wrapping around zero address.
4886 Correct main loop count. Handle single left-over word from main
4887 loop inline rather than by using loop_small. Remove extra word
4888 case in loop_small caused by wrong loop count. Add little-endian
4890 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4891 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4893 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4895 support. Avoid rlwimi.
4896 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4898 2013-10-04 Alan Modra <amodra@gmail.com>
4900 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4902 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4903 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4904 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4905 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4906 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4907 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4909 2013-10-04 Alan Modra <amodra@gmail.com>
4911 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4914 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4915 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4916 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4917 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4918 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4920 use of regs. Use power7 mtocrf. Tidy function tails.
4922 2013-10-04 Alan Modra <amodra@gmail.com>
4924 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4925 Formatting. Consistently use rXXX register defines or rN defines.
4926 Use early exit labels that avoid restoring unused non-volatile regs.
4927 Make cr field use more consistent with rWORDn compares. Rename
4928 regs used as shift registers for unaligned loop, using rN defines
4929 for short lifetime/multiple use regs.
4930 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4931 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4932 addi 1,1,64 to pop stack frame. Simplify return value code.
4933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4935 2013-10-04 Alan Modra <amodra@gmail.com>
4937 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4938 support. Correct typos, formatting. Optimize tail. Use insrdi
4940 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4941 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4942 little-endian support. Correct typos.
4943 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4945 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4946 in loop and entry code to keep "and." results.
4947 (strchr): Add little-endian support. Comment. Move cntlzd
4949 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4951 2013-10-04 Alan Modra <amodra@gmail.com>
4953 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4954 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4955 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4956 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4958 2013-10-04 Alan Modra <amodra@gmail.com>
4960 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4961 (rTMP): Define as r11.
4962 (strcmp): Add little-endian support. Optimise tail.
4963 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4964 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4965 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4966 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4967 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4971 2013-10-04 Alan Modra <amodra@gmail.com>
4973 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4974 little-endian support. Remove unnecessary "are we done" tests.
4975 Handle "s" wrapping around zero and extremely large "size".
4976 Correct main loop count. Handle single left-over word from main
4977 loop inline rather than by using small_loop. Correct comments.
4978 Delete "zero" tail, use "end_max" instead.
4979 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4981 2013-10-04 Alan Modra <amodra@gmail.com>
4983 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4984 support. Don't branch over align.
4985 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4986 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4987 support. Rearrange tmp reg use to suit. Comment.
4988 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4990 2013-10-04 Alan Modra <amodra@gmail.com>
4992 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4994 2013-10-04 Alan Modra <amodra@gmail.com>
4996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4997 conditional form of branch and link when obtaining pc.
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5000 2013-10-04 Alan Modra <amodra@gmail.com>
5002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5007 2013-10-04 Alan Modra <amodra@gmail.com>
5009 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5010 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5011 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5012 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5013 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5014 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5015 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5016 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5017 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5018 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5020 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5021 Alistair Popple <alistair@ozlabs.au.ibm.com>
5022 Alan Modra <amodra@gmail.com>
5025 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5026 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5027 _dl_hwcap access for little-endian.
5028 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5029 destroy vmx regs when saving unaligned.
5030 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5031 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5032 destroy vmx regs when saving unaligned.
5034 2013-10-04 Alan Modra <amodra@gmail.com>
5036 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5037 Don't use a union to pack hi/low value.
5039 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5041 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5043 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5045 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5046 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5047 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5049 2013-10-04 Alan Modra <amodra@gmail.com>
5051 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5052 constants to usual value for .cst8 section, and remove redundant
5054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5055 constant for 0x1p52. Load little-endian words of double from
5056 correct stack offsets.
5058 2013-10-04 Alan Modra <amodra@gmail.com>
5060 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5061 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5062 words of double from correct stack offsets.
5063 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5064 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5065 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5066 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5067 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5068 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5070 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5071 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5072 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5075 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5076 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5077 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5078 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5079 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5081 2013-10-04 Alan Modra <amodra@gmail.com>
5083 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5084 64-bit int/double union.
5085 (_FPU_SETCW): Likewise.
5086 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5087 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5089 2013-10-04 Alan Modra <amodra@gmail.com>
5091 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5092 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5094 2013-10-04 Alan Modra <amodra@gmail.com>
5096 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5097 use vector int constants.
5098 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5100 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5102 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5103 array with long long.
5104 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5105 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5106 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5107 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5108 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5109 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5110 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5111 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5112 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5113 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5114 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5115 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5116 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5118 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5120 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5121 (__signbit): Likewise. Correct for little-endian.
5122 (__signbitl): Call __signbit.
5123 (lrint): Correct for little-endian.
5124 (lrintf): Call lrint.
5126 2013-10-04 Alan Modra <amodra@gmail.com>
5128 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5129 union 32-bit int array member with 64-bit int array.
5130 (t515, tm256): Double rather than long double.
5131 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5133 2013-10-04 Alan Modra <amodra@gmail.com>
5135 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5137 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5138 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5139 version of math_ldbl.h.
5141 2013-10-04 Alan Modra <amodra@gmail.com>
5143 [BZ #15734], [BZ #15735]
5144 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5145 all uses of ieee875 long double macros and unions. Simplify test
5146 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5147 ldbl_extract_mantissa value for ix,iy exponents. Properly
5148 normalize after ldbl_extract_mantissa, and don't add hidden bit
5149 already handled. Don't treat low word of ieee854 mantissa like
5150 low word of IBM long double and mask off bit when testing for
5152 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5153 all uses of ieee875 long double macros and unions. Simplify tests
5154 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5155 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5156 two1022, instead use their values. Recognise that tests for large
5157 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5158 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5159 Rewrite all uses of ieee875 long double macros and unions. Simplify
5160 test for 0.0L and nan. Correct negation.
5161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5162 ieee875 long double macros and unions. Correct output for large
5163 magnitude x. Correct absolute value calculation.
5164 (__erfcl): Likewise.
5165 * math/libm-test.inc: Add tests for errors discovered in IBM long
5166 double versions of fmodl, remainderl, erfl and erfcl.
5168 2013-10-04 Alan Modra <amodra@gmail.com>
5170 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5171 all uses of ieee854 long double macros and unions. Simplify tests
5172 for long doubles that are fully specified by the high double.
5173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5175 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5176 Remove dead code too.
5177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5178 (__ieee754_ynl): Likewise.
5179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5182 Remove dead code too.
5183 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5185 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5190 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5192 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5193 Comment on variable precision.
5194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5197 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5203 2013-10-04 Alan Modra <amodra@gmail.com>
5205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5206 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5207 all uses of ieee854 long double macros and unions.
5208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5210 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5211 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5221 Simplify sign and nan test too.
5222 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5227 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5231 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5234 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5237 2013-10-04 Alan Modra <amodra@gmail.com>
5239 * stdio-common/printf_size.c (__printf_size): Don't use
5240 union ieee854_long_double in fpnum union.
5241 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5242 signbit macro to retrieve sign from long double.
5243 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5244 retrieve sign from long double.
5245 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5246 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5247 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5248 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5249 * math/test-misc.c (main): Don't use union ieee854_long_double.
5251 2013-10-04 Alan Modra <amodra@gmail.com>
5254 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5255 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5256 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5257 calculation. Remove unnecessary test for denormal exponent.
5258 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5259 Correct handling of denormals. Avoid undefined shift behaviour.
5260 Correct normalisation of low mantissa when low double is denormal.
5261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5262 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5263 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5264 Correct normalisation of low mantissa. Test for overflow of high
5265 mantissa and normalise.
5266 (ldbl_nearbyint): Use more readable constant for two52.
5267 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5268 (__mpn_construct_long_double): Fix test for overflow of high
5269 mantissa and correct normalisation. Avoid undefined shift.
5271 2013-10-04 Alan Modra <amodra@gmail.com>
5273 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5274 (union ibm_extended_long_double): Define as an array of ieee754_double.
5275 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5276 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5277 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5278 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5287 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5289 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5290 page size instead of calling getpagesize.
5292 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5293 (LOCFILE_ALIGN_MASK): Likewise.
5294 (LOCFILE_ALIGN_UP): Likewise.
5295 (LOCFILE_ALIGNED_P): Likewise.
5296 * locale/programs/ld-collate.c (collate_output): Use the new
5297 macros instead of __alignof__ (int32_t).
5298 * locale/weight.h (findidx): Likewise.
5300 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5303 * manual/string.texi: Fix strncat and wcsncat.
5305 2013-10-03 Brooks Moses <bmoses@google.com>
5308 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5309 * Makerules: ...here, and adjust associated comments.
5311 2013-10-02 Will Newton <will.newton@linaro.org>
5313 * malloc/Makefile: Add tst-pvalloc.
5314 * malloc/tst-pvalloc.c: New file.
5316 2013-10-02 Will Newton <will.newton@linaro.org>
5318 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5319 improve test coverage.
5321 2013-10-02 Will Newton <will.newton@linaro.org>
5323 * malloc/Makefile: Add tst-posix_memalign.
5324 * malloc/tst-posix_memalign.c: New file.
5326 2013-10-01 Eric Blake <eblake@redhat.com>
5328 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5329 Use __THROWNL rather than __THROW on static functions.
5331 2013-09-30 Petr Machata <pmachata@redhat.com>
5333 * elf/elf.h (R_AARCH64_ABS16): New macro.
5334 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5335 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5336 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5337 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5338 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5339 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5340 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5341 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5342 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5343 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5344 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5345 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5346 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5347 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5348 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5349 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5350 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5351 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5352 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5353 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5354 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5355 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5356 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5357 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5358 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5359 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5360 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5361 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5362 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5363 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5364 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5365 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5366 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5367 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5368 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5369 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5370 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5371 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5372 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5373 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5374 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5375 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5376 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5377 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5378 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5379 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5380 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5381 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5382 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5383 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5384 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5385 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5386 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5387 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5388 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5389 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5390 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5391 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5392 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5393 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5394 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5395 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5396 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5397 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5398 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5399 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5400 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5401 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5402 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5403 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5404 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5405 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5406 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5407 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5408 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5409 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5410 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5411 (R_AARCH64_TLSDESC_LDR): Likewise.
5412 (R_AARCH64_TLSDESC_ADD): Likewise.
5413 (R_AARCH64_TLSDESC_CALL): Likewise.
5415 2013-09-30 Andreas Schwab <schwab@suse.de>
5418 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5419 the nss database lookup.
5420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5423 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5425 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5427 2013-09-28 P. J. McDermott <pj@pehjota.net>
5429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5430 ${Bash-specific parameter/pattern/string} parameter expansion.
5431 * sysdeps/unix/make-syscalls.sh: Likewise.
5433 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5435 * sysdeps/sh/stackguard-macros.h: New file.
5437 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5441 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5443 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5444 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5446 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5448 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5449 Fix thread ID register.
5451 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5453 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5454 [POSIX || UNIX98]: Require rather than permitting all symbols from
5456 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5457 element of struct sched_param.
5458 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5459 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5460 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5461 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5464 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5466 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5467 argument calculation.
5469 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5471 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5473 [POSIX] (pthread_attr_t): Do not require type.
5474 [POSIX] (pthread_cond_t): Likewise.
5475 [POSIX] (pthread_condattr_t): Likewise.
5476 [POSIX] (pthread_key_t): Likewise.
5477 [POSIX] (pthread_mutex_t): Likewise.
5478 [POSIX] (pthread_mutexattr_t): Likewise.
5479 [POSIX] (pthread_once_t): Likewise.
5480 [POSIX] (pthread_t): Likewise.
5481 [POSIX-based standards] (pthread_atfork): Expect function.
5483 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5484 Richard Sandiford <richard@codesourcery.com>
5486 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5487 (swap_endianness_p): New extern variable.
5488 (set_big_endian): New inline function.
5489 (maybe_swap_uint32): Likewise.
5490 (maybe_swap_uint32_array): Likewise.
5491 (maybe_swap_uint32_obstack): Likewise.
5492 * locale/programs/locfile.c: Include <stdbool.h>.
5493 (swap_endianness_p): New variable.
5494 (add_locale_uint32): Call maybe_swap_uint32.
5495 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5496 (write_locale_data): Call maybe_swap_uint32_array.
5497 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5499 (obstack_int32_grow_fast): Likewise.
5500 (output_weightwc): Call maybe_swap_uint32_obstack.
5501 (collate_output): Likewise.
5502 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5503 (OPT_LITTLE_ENDIAN): Likewise.
5504 (options): Add --little-endian and --big-endian options.
5505 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5506 * locale/programs/locarchive.c: Include "locfile.h".
5510 (create_archive): Use the new macros to access fields of
5511 structures directly mapped from or written to locale archives.
5512 (oldlocrecentcmp): Likewise.
5513 (enlarge_archive): Likewise.
5514 (insert_name): Likewise.
5515 (add_alias): Likewise.
5516 (add_locale): Likewise.
5517 (delete_locales_from_archive): Likewise.
5518 (show_archive_content): Likewise.
5519 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5522 2013-09-24 Roland McGrath <roland@hack.frob.com>
5524 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5525 http://www.gnu.org/doc/freemanuals.texi.
5526 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5528 2013-09-24 Will Newton <will.newton@linaro.org>
5530 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5533 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5535 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5538 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5540 * manual/threads.texi (POSIX Threads): Fix a typo.
5542 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5545 * string/tst-strcoll-overflow.c: New test case.
5546 * string/Makefile (xtests): Add tst-strcoll-overflow.
5547 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5548 cache if string sizes may cause integer overflow.
5551 * string/strcoll_l.c (coll_seq): New members rule, idx,
5552 save_idx and back_us.
5553 (get_next_seq_nocache): New function.
5554 (do_compare_nocache): New function.
5555 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5558 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5561 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5562 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5563 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5566 * elf/Makefile (tests): Add tst-ptrguard1.
5567 (tests-static): Add tst-ptrguard1-static.
5568 (tst-ptrguard1-ARGS): Define.
5569 (tst-ptrguard1-static-ARGS): Define.
5570 * elf/tst-ptrguard1.c: New file.
5571 * elf/tst-ptrguard1-static.c: New file.
5572 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5573 * sysdeps/i386/stackguard-macros.h: Likewise.
5574 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5575 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5576 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5577 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5578 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5579 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5581 2013-09-23 Hector Marco <hecmargi@upv.es>
5582 Ismael Ripoll <iripoll@disca.upv.es>
5583 Carlos O'Donell <carlos@redhat.com>
5586 * sysdeps/generic/stackguard-macros.h: Define
5587 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5588 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5589 Define __pointer_chk_guard_local.
5590 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5591 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5593 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5596 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5598 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5600 * include/string.h (__ffs): Declare as hidden.
5601 * string/ffs.c (__ffs): Define as hidden.
5602 * sysdeps/i386/ffs.c (__ffs): Likewise.
5603 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5604 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5605 * sysdeps/s390/ffs.c (__ffs): Likewise.
5606 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5608 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5610 * NEWS: Mention malloc probes.
5612 * malloc/arena.c (new_heap): New memory_heap_new probe.
5613 (grow_heap): New memory_heap_more probe.
5614 (shrink_heap): New memory_heap_less probe.
5615 (heap_trim): New memory_heap_free probe.
5616 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5617 (systrim): New memory_sbrk_less probe.
5618 * manual/probes.texi: Document them.
5620 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5621 * manual/probes.texi: Document it.
5623 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5624 (__libc_realloc): Add memory_realloc_retry probe.
5625 (__libc_memalign): Add memory_memalign_retry probe.
5626 (__libc_valloc): Add memory_valloc_retry probe.
5627 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5628 (__libc_calloc): Add memory_calloc_retry probe.
5629 * manual/probes.texi: Document them.
5631 * malloc/arena.c (get_free_list): Add probe
5632 memory_arena_reuse_free_list.
5633 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5634 and memory_arena_reuse.
5635 (arena_get2) [!PER_THREAD]: Likewise.
5636 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5637 memory_arena_reuse_realloc.
5638 * manual/probes.texi: Document them.
5640 * malloc/malloc.c (__libc_free): Add
5641 memory_mallopt_free_dyn_thresholds probe.
5642 (__libc_mallopt): Add multiple memory_mallopt probes.
5643 * manual/probes.texi: Document them.
5645 * malloc/malloc.c: Include stap-probe.h.
5646 (__libc_mallopt): Add memory_mallopt probe.
5647 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5648 * manual/probes.texi: New.
5649 * manual/Makefile (chapters): Add probes.
5650 * manual/threads.texi: Set next node.
5652 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5655 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5656 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5657 Add `Chinese' to `nan' entry name.
5659 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5661 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5662 (POLYNOMIAL): Likewise.
5663 (TAYLOR_SINCOS): Likewise.
5664 (TAYLOR_SLOW): Likewise.
5665 (__sin): Use TAYLOR_SINCOS.
5667 (slow): Use TAYLOR_SLOW.
5672 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5674 * stdlib/strtod_l.c: Fix buffer overrun.
5676 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5678 * benchtests/Makefile (bench): Add sincos.
5679 * benchtests/bench-sincos.c: New file.
5681 * math/libm-test.inc (cos_test_data): New test inputs.
5682 (sin_test_data): Likewise.
5684 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5692 (bsloww1): Likewise.
5693 (bsloww2): Likewise.
5695 (csloww1): Likewise.
5696 (csloww2): Likewise.
5698 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5703 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5707 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5709 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5710 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5711 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5712 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5713 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5714 * elf/cache.c (print_entry): Handle the new cache flags.
5716 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5717 Aldy Hernandez <aldyh@redhat.com>
5719 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5720 Change condition to [_SOFT_FLOAT].
5721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5733 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5736 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5739 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5741 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5742 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5743 (__longjmp): Use LOAD_GP to load saved GPRs.
5744 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5745 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5746 (__sigsetjmp): Use SAVE_GP to save GPRs.
5748 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5749 Do not append -msoft-float.
5750 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5752 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5754 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5756 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5759 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5760 (_FPU_GETCW): Use initial "__" on variable and field names but not
5761 on macro parameter name.
5762 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5763 parentheses around reference to macro parameter.
5765 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5767 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5769 (ctype_startup): Use uint32_t in cast and sizeof for
5772 2013-09-11 Jia Liu <proljc@gmail.com>
5774 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5776 [__FreeBSD__]: Likewise.
5778 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5781 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5782 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5783 (strchr): Remove __strchr_sse42 ifunc selection.
5784 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5785 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5787 2013-09-11 Will Newton <will.newton@linaro.org>
5789 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5790 parameter to RES. Remove hardcoded 1000 value.
5791 * benchtests/bench-skeleton.c (main): Pass RES parameter
5792 to TIMING_INIT and multiply result by 1000.
5794 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5798 2013-09-11 Andreas Schwab <schwab@suse.de>
5800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5802 (O_TMPFILE) [__USE_GNU]: Define.
5803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5806 2013-09-11 Will Newton <will.newton@linaro.org>
5809 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5812 2013-09-11 Will Newton <will.newton@linaro.org>
5815 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5818 2013-09-11 Will Newton <will.newton@linaro.org>
5821 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5824 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5826 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5827 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5828 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5830 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5832 2013-09-10 Allan McRae <allan@archlinux.org>
5835 * manual/arith.texi (Parsing of Floats): Clarify
5839 * manual/install.texi (Running make install): Mention
5841 * INSTALL: Regenerated.
5843 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5845 * csu/init-first.c (_init): Remove the !SHARED condition around
5846 FPU control word initialization.
5847 * elf/dl-support.c (_dl_fpu_control): New variable.
5848 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5849 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5850 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5851 * math/test-fpucw-static.c: New file.
5852 * math/test-fpucw-ieee.c: New file.
5853 * math/test-fpucw-ieee-static.c: New file.
5854 * math/Makefile (tests): Add `test-fpucw-ieee' and
5856 (tests-static): New variable.
5857 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5859 [($(build-shared),yes)]
5860 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5862 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5865 2013-09-09 Allan McRae <allan@archlinux.org>
5868 * manual/string.texi (Collation Functions): Fix typo in
5870 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5873 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5876 * libio/memstream.c (open_memstream): Fix memory leak.
5877 * libio/wmemstream.c (open_wmemstream): Likewise.
5880 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5882 2013-09-09 Will Newton <will.newton@linaro.org>
5884 * malloc/Makefile: Add tst-realloc to tests.
5885 * malloc/tst-realloc.c: New file.
5887 2013-09-09 Allan McRae <allan@archlinux.org>
5890 * COPYING: Update from GNU website to fix FSF address.
5891 * COPYING.LIB: Likewise.
5893 2013-09-06 David S. Miller <davem@davemloft.net>
5895 * po/zh_TW.po: Update Chinese (traditional) translation from
5896 translation project.
5898 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5899 Joseph Myers <joseph@codesourcery.com>
5901 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5903 (obstack_chunk_alloc): New macro.
5904 (obstack_chunk_free): Likewise.
5905 (record_offset): New function.
5906 (init_locale_data): Likewise.
5907 (align_locale_data): Likewise.
5908 (add_locale_empty): Likewise.
5909 (add_locale_raw_data): Likewise.
5910 (add_locale_raw_obstack): Likewise.
5911 (add_locale_string): Likewise.
5912 (add_locale_wstring): Likewise.
5913 (add_locale_uint32): Likewise.
5914 (add_locale_uint32_array): Likewise.
5915 (add_locale_char): Likewise.
5916 (start_locale_structure): Likewise.
5917 (end_locale_structure): Likewise.
5918 (start_locale_prelude): Likewise.
5919 (end_locale_prelude): Likewise.
5920 (write_locale_data): Take locale_file structure rather than an
5922 * locale/programs/locfile.h: Include "obstack.h".
5923 (struct locale_file): Change to store locale file contents instead
5925 (init_locale_data): New prototype.
5926 (align_locale_data): Likewise.
5927 (add_locale_empty): Likewise.
5928 (add_locale_raw_data): Likewise.
5929 (add_locale_raw_obstack): Likewise.
5930 (add_locale_string): Likewise.
5931 (add_locale_wstring): Likewise.
5932 (add_locale_uint32): Likewise.
5933 (add_locale_uint32_array): Likewise.
5934 (add_locale_char): Likewise.
5935 (start_locale_structure): Likewise.
5936 (end_locale_structure): Likewise.
5937 (start_locale_prelude): Likewise.
5938 (end_locale_prelude): Likewise.
5939 (write_locale_data): Update prototype.
5940 * locale/programs/3level.h (struct TABLE): Remove result field.
5941 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5942 Use new locale_file interface.
5943 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5944 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5945 * locale/programs/ld-address.c (address_output): Use new
5946 locale_file interface.
5947 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5949 (collate_finish): Don't call collseq_table_finalize.
5950 (collate_output): Use new locale_file interface.
5951 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5953 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5954 (TABLE): Move defines earlier in file.
5955 (ELEMENT): Likewise.
5956 (DEFAULT): Likewise.
5957 (wctrans_table_add): Move macro and inline function earlier in
5959 (struct wctype_table): Move type earlier in file.
5960 (add_locale_wctype_table): New static prototype.
5961 (struct locale_ctype_t): Use logical types instead of struct iovec
5962 pointers for members.
5963 (ctype_output): Use new locale_file interface.
5964 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5965 new locale_file interface.
5966 (allocate_arrays): Update for use of new locale_file interface.
5967 * locale/programs/ld-identification.c (identification_output): Use
5968 new locale_file interface.
5969 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5970 * locale/programs/ld-messages.c (messages_output): Likewise.
5971 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5972 * locale/programs/ld-name.c (name_output): Likewise.
5973 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5974 * locale/programs/ld-paper.c (paper_output): Likewise.
5975 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5976 * locale/programs/ld-time.c (time_output): Likewise.
5978 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5980 * benchtests/Makefile: Add memrchr benchmark.
5981 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5982 benchmark as memrchr.
5983 * benchtests/bench-memrchr-ifunc.c: New file.
5984 * benchtests/bench-memrchr.c: New file.
5986 2013-09-06 Will Newton <will.newton@linaro.org>
5988 * benchtests/Makefile (string-bench): Add memcpy.
5990 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5991 Cong Wang <amwang@redhat.com>
5994 * sysdeps/unix/sysv/linux/bits/in.h
5995 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5996 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5997 before __USE_KERNEL_IPV6_DEFS uses.
5998 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6000 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6001 sockaddr_in6, or ipv6_mreq.
6003 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6005 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6006 memory access for final bytes in some large inputs.
6007 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6009 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011 * string/test-memrchr.c: New file.
6012 * string/test-memrchr-ifunc.c: New file.
6013 * string/Makefile: Add new memrchr testcase.
6015 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6017 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6018 fanotify_init returns EPERM.
6020 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6022 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6024 (top level): Treat second token from macro or constant entries for
6025 allowed headers as allowed.
6026 * include/complex.h: Condition internal declarations on
6028 * include/fenv.h: Condition include of <stdbool.h> and internal
6029 declarations on [!_ISOMAC].
6031 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6034 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6036 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6038 * configure.in (--enable-versioning): Remove configure option.
6039 (libc_cv_asm_symver_directive): Remove configure test.
6040 (libc_cv_ld_version_script_option): Likewise.
6041 (VERSIONING): Remove variable and AC_SUBST.
6042 (DO_VERSIONING): Remove AC_DEFINE.
6043 * configure: Regenerated.
6044 * config.h.in (DO_VERSIONING): Remove macro.
6045 * Makerules [$(versioning) = yes]: Change conditionals to
6046 [$(build-shared) = yes].
6047 * config.make.in (versioning): Remove variable.
6048 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6049 [$(build-shared) = yes].
6050 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6051 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6052 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6053 [$(build-shared) = yes].
6054 * extra-lib.mk [$(versioning) = yes]: Likewise.
6055 * hurd/Makefile [$(versioning) = yes]: Likewise.
6056 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6058 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6060 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6061 [SHARED && !NO_HIDDEN].
6062 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6064 [SHARED && DO_VERSIONING]: Likewise..
6065 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6066 [$(build-shared) = yes].
6067 * manual/install.texi (--disable-versioning): Remove
6069 * INSTALL: Regenerated.
6070 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6072 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6073 [$(build-shared) = yes].
6074 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6075 * sysdeps/i386/i686/multiarch/strstr-c.c
6076 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6077 [SHARED && !NO_HIDDEN].
6078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6079 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6080 * sysdeps/powerpc/powerpc32/dl-machine.c
6081 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6082 * sysdeps/powerpc/powerpc32/sysdep.h
6083 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6084 to [SHARED && PIC && !NO_HIDDEN].
6085 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6086 conditional to [SHARED].
6088 2013-09-04 Will Newton <will.newton@linaro.org>
6090 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6091 * benchtests/bench-string.h: Include bench-timing.h instead
6092 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6093 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6094 call to HP_TIMING_DIFF_INIT.
6095 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6096 instead of hp-timing.h macros.
6097 * benchtests/bench-memchr.c: Likewise.
6098 * benchtests/bench-memcmp.c: Likewise.
6099 * benchtests/bench-memcpy.c: Likewise.
6100 * benchtests/bench-memmem.c: Likewise.
6101 * benchtests/bench-memmove.c: Likewise.
6102 * benchtests/bench-memset.c: Likewise.
6103 * benchtests/bench-rawmemchr.c: Likewise.
6104 * benchtests/bench-strcasecmp.c: Likewise.
6105 * benchtests/bench-strcasestr.c: Likewise.
6106 * benchtests/bench-strcat.c: Likewise.
6107 * benchtests/bench-strchr.c: Likewise.
6108 * benchtests/bench-strcmp.c: Likewise.
6109 * benchtests/bench-strcpy.c: Likewise.
6110 * benchtests/bench-strcpy_chk.c: Likewise.
6111 * benchtests/bench-strlen.c: Likewise.
6112 * benchtests/bench-strncasecmp.c: Likewise.
6113 * benchtests/bench-strncat.c: Likewise.
6114 * benchtests/bench-strncmp.c: Likewise.
6115 * benchtests/bench-strncpy.c: Likewise.
6116 * benchtests/bench-strnlen.c: Likewise.
6117 * benchtests/bench-strpbrk.c: Likewise.
6118 * benchtests/bench-strrchr.c: Likewise.
6119 * benchtests/bench-strspn.c: Likewise.
6120 * benchtests/bench-strstr.c: Likewise.
6122 2013-09-04 Will Newton <will.newton@linaro.org>
6124 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6126 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6130 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6131 * math/libm-test.inc (lgamma_test_data): Add more tests.
6132 * sysdeps/i386/fpu/libm-test-ulps: Update.
6133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6135 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6137 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6141 Add strcmp-sse2-unaligned
6142 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6144 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6146 * Versions.def (libc): Add GLIBC_2.19.
6148 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6150 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6151 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6153 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6156 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6157 intermediate calculations in recurrence.
6158 (__ieee754_ynf): Likewise.
6159 * math/libm-test.inc (jn_test_data): Do not allow spurious
6160 underflow exception. Add more tests.
6161 (yn_test_data): Add more tests.
6162 * sysdeps/i386/fpu/libm-test-ulps: Update.
6163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6165 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6169 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6171 * csu/init-first.c: Fix then/than typos.
6172 * locale/programs/ld-collate.c: Likewise.
6173 * locale/programs/linereader.h: Likewise.
6174 * manual/charset.texi: Likewise.
6175 * manual/filesys.texi: Likewise.
6176 * manual/stdio.texi: Likewise.
6177 * manual/string.texi: Likewise.
6178 * stdlib/fmtmsg.c: Likewise.
6179 * sysdeps/i386/stpncpy.S: Likewise.
6180 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6181 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6182 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6183 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6185 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6187 * elf/dl-open.c: Fix typos.
6188 * iconvdata/gbbig5.c: Likewise.
6189 * iconvdata/iso-2022-jp.c: Likewise.
6190 * iconv/gconv_int.h: Likewise.
6191 * iconv/loop.c: Likewise.
6192 * nis/rpcsvc/nis.h: Likewise.
6193 * resolv/ns_name.c: Likewise.
6194 * stdio-common/vfscanf.c: Likewise.
6195 * streams/stropts.h: Likewise.
6196 * sunrpc/rpc_thread.c: Likewise.
6197 * sysdeps/i386/strpbrk.S: Likewise.
6198 * sysdeps/ieee754/k_standard.c: Likewise.
6199 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6200 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6201 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6202 * sysdeps/mach/hurd/profil.c: Likewise.
6203 * sysdeps/s390/dl-procinfo.h: Likewise.
6204 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6205 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6206 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6207 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6208 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6210 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6212 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6215 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6217 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6219 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6220 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6221 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6222 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6223 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6224 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6225 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6226 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6228 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6229 Roland McGrath <roland@hack.frob.com>
6231 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6232 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6234 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6236 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6237 __executable_start symbol instead of _start.
6239 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6241 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6242 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6244 * sysdeps/gnu/ldsodefs.h: ... this new file.
6246 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6247 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6248 instead of ELFOSABI_LINUX.
6250 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6251 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6252 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6253 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6255 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6256 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6257 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6259 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6260 (ibm_extended_long_double): Add ieee_nan member.
6261 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6262 (do_test): New function.
6264 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6266 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6267 functions, renamed from truncdfsf_test, trunctfsf_test,
6269 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6271 (do_test): Run all these.
6273 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6275 * argp/argp-help.c: Fix typos.
6276 * argp/argp-parse.c: Likewise.
6277 * debug/backtracesyms.c: Likewise.
6278 * elf/elf.h: Likewise.
6279 * malloc/malloc.c: Likewise.
6280 * nis/nis_print.c: Likewise.
6281 * resolv/res_comp.c: Likewise.
6282 * stdlib/stdlib.h: Likewise.
6283 * sunrpc/clnt_tcp.c: Likewise.
6284 * sunrpc/clnt_udp.c: Likewise.
6285 * sunrpc/clnt_unix.c: Likewise.
6286 * sysdeps/unix/bsd/ptsname.c: Likewise.
6287 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6288 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6295 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6297 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6299 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6302 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6305 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6306 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6307 ($(objpfx)bug-dl-leaf): New rule.
6308 ($(objpfx)bug-dl-leaf.so): Likewise.
6309 ($(objpfx)bug-dl-leaf.out): Likewise.
6310 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6311 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6312 * dlfcn/bug-dl-leaf.c: New test.
6313 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6314 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6315 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6316 (dlclose): Likewise.
6317 (dlmopen): Likewise.
6319 2013-08-27 Roland McGrath <roland@hack.frob.com>
6321 * include/netdb.h [!_ISOMAC]:
6322 Don't include <tls.h>.
6323 (h_errno, __libc_h_errno): Move declaration and macros out of
6326 * include/resolv.h [_RESOLV_H_]:
6327 Don't include <tls.h>.
6328 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6329 * resolv/res_libc.c: Don't include <tls.h>.
6330 (_res): Use __attribute__ ((nocommon)) in place of
6331 __attribute__ ((section (".bss"))).
6333 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6334 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6336 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6338 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6339 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6341 * resolv/res_mkquery.c: Include <sys/time.h>.
6343 * inet/ifreq.c: Moved to ...
6344 * sysdeps/unix/ifreq.c: ... here.
6345 * inet/ifreq.c: New file, true stub version.
6347 * socket/sa_len.c: New file.
6348 * socket/Makefile (aux): Add it.
6349 * sysdeps/unix/sysv/linux/Makefile
6350 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6351 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6352 and #include <socket/sa_len.c>.
6353 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6354 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6356 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6357 * bits/socket.h: ... here.
6359 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6360 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6361 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6363 2013-08-27 Andreas Schwab <schwab@suse.de>
6366 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6367 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6368 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6369 * string/test-strcasecmp.c (test_main): Run tests in several
6371 * string/test-strncasecmp.c (test_main): Likewise.
6373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6374 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6375 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6377 (__strncasecmp_ssse3) [PIC]: Likewise.
6379 2013-08-26 Roland McGrath <roland@hack.frob.com>
6381 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6383 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6384 instead of explicitly declaring xdecrypt.
6385 * nis/nss_nis/nis-publickey.c: Likewise.
6387 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6390 * nscd/aicache.c: Include res_hconf.h.
6391 (addhstaiX): Initialize res_hconf.
6393 2013-08-26 Andreas Schwab <schwab@suse.de>
6395 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6396 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6398 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6400 * nscd/aicache.c (addhstaiX): Fix indentation.
6402 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6404 * configure.ac: Quote $build_pt_chown test.
6405 * configure: Regenerated.
6407 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6410 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6411 * math/s_cexpf.c (__cexpf): Likewise.
6412 * math/s_cexpl.c (__cexpl): Likewise.
6413 * math/libm-test.inc (cexp_test_data): Correct expected return
6414 value for NaN + i0. Add another test.
6416 2013-08-22 David S. Miller <davem@davemloft.net>
6418 * po/ca.po: Update Catalan translation from translation project.
6419 * po/uk.po: Add Ukrainian translations from translation project.
6421 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6424 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6425 is infinite, not alongside NaN test.
6426 * math/s_fdimf.c (__fdimf): Likewise.
6427 * math/s_fdiml.c (__fdiml): Likewise.
6428 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6431 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6433 * argp/argp-help.c: Fix typos.
6434 * crypt/speeds.c: Likewise.
6435 * csu/check_fds.c: Likewise.
6436 * elf/dl-load.c: Likewise.
6437 * elf/dl-open.c: Likewise.
6438 * elf/reldep3.c: Likewise.
6439 * elf/reldep.c: Likewise.
6440 * elf/sprof.c: Likewise.
6441 * iconv/iconv_charmap.c: Likewise.
6442 * iconv/skeleton.c: Likewise.
6443 * iconv/strtab.c: Likewise.
6444 * io/lockf64.c: Likewise.
6445 * libio/libioP.h: Likewise.
6446 * resolv/gai_notify.c: Likewise.
6447 * resolv/ns_name.c: Likewise.
6448 * resolv/ns_samedomain.c: Likewise.
6449 * resolv/res_send.c: Likewise.
6450 * stdlib/random.c: Likewise.
6451 * sunrpc/rpc/xdr.h: Likewise.
6452 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6453 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6454 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6455 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6457 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6460 * sysdeps/mach/hurd/check_fds.c: Likewise.
6461 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6462 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6463 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6464 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6465 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6466 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6467 * sysdeps/pthread/aio_notify.c: Likewise.
6468 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6469 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6470 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6471 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6472 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6474 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6476 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6477 version if bit_Slow_SSE4_2 is set.
6478 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6481 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6484 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6485 trampoline stack frame information.
6486 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6488 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6489 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6490 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6491 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6492 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6493 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6495 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6496 interrupting a syscall and set with option SA_SIGINFO.
6498 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6501 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6502 argument is infinite.
6503 * math/s_cprojf.c (__cprojf): Likewise.
6504 * math/s_cprojl.c (__cprojl): Likewise.
6505 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6506 * math/libm-test.inc (cproj_test_data): Add more tests.
6508 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6510 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6511 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6512 size. Use __ffs to determine corresponding shift.
6514 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6515 Roland McGrath <roland@hack.frob.com>
6517 * Makefile (INSTALL): Remove trailing blank lines from output of
6520 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6522 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6523 Align 32 bit compat elf_greg to 8 bytes.
6525 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6527 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6529 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6531 * string/strcoll_l.c (coll_seq): New structure.
6532 (get_next_seq_cached): New function.
6533 (get_next_seq): New function.
6534 (do_compare): New function.
6535 (STRCOLL): Use GNU style definition. Simplify implementation
6536 by using get_next_seq, get_next_seq_cached and do_compare.
6538 2013-08-16 Florian Weimer <fweimer@redhat.com>
6542 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6544 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6546 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6547 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6548 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6550 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6551 GETDENTS_64BIT_ALIGNED.
6552 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6553 * manual/filesys.texi (Reading/Closing Directory): Document
6554 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6556 * manual/conf.texi (Limits for Files): Add portability note to
6558 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6560 2013-08-13 Andreas Schwab <schwab@suse.de>
6563 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6565 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6566 LDBL_MAX_EXP >= 16384]: Add tests for it.
6568 2013-08-12 David S. Miller <davem@davemloft.net>
6570 * version.h (RELEASE): Set to "development".
6571 (VERSION): Set to "2.18.90".
6572 * NEWS: Add 2.19 section.
6574 2013-08-03 David S. Miller <davem@davemloft.net>
6576 * po/ko.po: Update Korean translation from translation project.
6578 2013-08-01 David S. Miller <davem@davemloft.net>
6580 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6581 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6584 2013-07-30 David S. Miller <davem@davemloft.net>
6586 * po/fr.po: Update French translation from translation project.
6588 2013-07-28 David S. Miller <davem@davemloft.net>
6590 * po/cs.po: Update Czech translation from translation project.
6592 * po/sv.po: Update Swedish translation from translation project.
6594 2013-07-27 David S. Miller <davem@davemloft.net>
6596 * po/eo.po: Update Esperanto translation from translation project.
6598 * po/vi.po: Update Vietnamese translation from translation project.
6600 * po/de.po: Update German translation from translation project.
6602 2013-07-26 David S. Miller <davem@davemloft.net>
6604 * po/bg.po: Update Bulgarian translation from translation project.
6606 * po/nl.po: Update Dutch translation from translation project.
6607 * po/pl.po: Update Polish translation from translation project.
6608 * po/ru.po: Update Russian translation from translation project.
6610 2013-07-24 David S. Miller <davem@davemloft.net>
6612 * po/libc.pot: Update.
6614 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6616 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6618 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6619 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6620 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6622 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6624 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6626 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6627 Andreas Schwab <schwab@suse.de>
6628 Roland McGrath <roland@hack.frob.com>
6629 Joseph Myers <joseph@codesourcery.com>
6630 Carlos O'Donell <carlos@redhat.com>
6633 * config.h.in: Define HAVE_PT_CHOWN.
6634 * config.make.in (build-pt-chown): New variable.
6635 * configure.in (--enable-pt_chown): New configure option.
6636 * configure: Regenerate.
6637 * login/Makefile: Include Makeconfig. Build pt_chown only if
6638 build-pt-chown is enabled.
6639 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6640 pt_chown to fix pty ownership.
6641 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6643 * manual/install.texi (Configuring and compiling): Mention
6644 --enable-pt_chown. Add @findex for grantpt.
6645 * INSTALL: Regenerate.
6647 2013-07-20 David S. Miller <davem@davemloft.net>
6649 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6650 difference between 32-bit and 64-bit.
6652 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6655 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6656 Avoid system header dependency with -ffreestanding.
6657 ($(objpfx)bits/syscall%d): Likewise.
6659 2013-07-13 David S. Miller <davem@davemloft.net>
6661 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6662 underflows from atanl/atan2l due to bug 15319.
6663 (casinh_test_data): Likewise.
6665 2013-07-07 David S. Miller <davem@davemloft.net>
6667 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6669 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6671 * sysdeps/i386/fpu/libm-test-ulps: Update.
6672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6674 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6676 * configure.in (--enable-lock-elision): Fix message text.
6677 * INSTALL: Regenerate.
6678 * configure: Regenerate.
6680 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6684 2013-07-03 Andreas Jaeger <aj@suse.de>
6686 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6688 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6689 (ptrace_peeksiginfo_args): Add.
6690 (__ptrace_peeksiginfo_flags): Add.
6691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6693 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6695 2013-07-03 Allan McRae <allan@archlinux.org>
6697 * sysdeps/i386/fpu/libm-test-ulps: Update.
6699 2013-07-02 David S. Miller <davem@davemloft.net>
6701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6703 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6707 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6709 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6712 2013-07-02 Andi Kleen <ak@linux.intel.com>
6714 * config.h.in (ENABLE_LOCK_ELISION): Add.
6715 * configure.in (--enable-lock-elision): Add option.
6716 * manual/install.texi: Document --enable lock elision.
6717 * configure: Regenerate
6718 * INSTALL: Regenerate.
6720 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6722 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6723 SSE4.2 strcasecmp for libc.a.
6724 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6726 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6729 * soft-fp/op-common.h (_FP_FMA): New macro.
6730 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6731 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6732 (_FP_MUL_MEAT_1_imm): ... here.
6733 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6734 (_FP_MUL_MEAT_1_wide): ... here.
6735 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6736 (_FP_MUL_MEAT_1_hard): ... here.
6737 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6738 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6739 (_FP_MUL_MEAT_2_wide): ... here.
6740 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6741 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6742 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6743 (_FP_MUL_MEAT_2_gmp): ... here.
6744 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6745 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6746 (_FP_MUL_MEAT_4_wide): ... here.
6747 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6748 (_FP_MUL_MEAT_4_gmp): ... here.
6749 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6750 (_FP_WFRACBITS_DW_S): Likewise.
6751 (_FP_WFRACXBITS_DW_S): Likewise.
6752 (_FP_HIGHBIT_DW_S): Likewise.
6753 (FP_FMA_S): Likewise.
6754 (_FP_FRAC_HIGH_DW_S): Likewise.
6755 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6756 (_FP_WFRACBITS_DW_D): Likewise.
6757 (_FP_WFRACXBITS_DW_D): Likewise.
6758 (_FP_HIGHBIT_DW_D): Likewise.
6759 (FP_FMA_D): Likewise.
6760 (_FP_FRAC_HIGH_DW_D): Likewise.
6761 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6762 (_FP_WFRACBITS_DW_E): Likewise.
6763 (_FP_WFRACXBITS_DW_E): Likewise.
6764 (_FP_HIGHBIT_DW_E): Likewise.
6765 (FP_FMA_E): Likewise.
6766 (_FP_FRAC_HIGH_DW_E): Likewise.
6767 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6768 (_FP_WFRACBITS_DW_Q): Likewise.
6769 (_FP_WFRACXBITS_DW_Q): Likewise.
6770 (_FP_HIGHBIT_DW_Q): Likewise.
6771 (FP_FMA_Q): Likewise.
6772 (_FP_FRAC_HIGH_DW_Q): Likewise.
6773 * soft-fp/fmasf4.c: New file.
6774 * soft-fp/fmadf4.c: Likewise.
6775 * soft-fp/fmatf4.c: Likewise.
6777 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6780 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6782 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6784 (index_Slow_SSE4_2): Likewise.
6785 (index_Prefer_PMINUB_for_stringop): Likewise.
6786 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6787 bit_Slow_SSE4_2 is set.
6788 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6789 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6791 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6793 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6794 rtld_global._dl_hwcap2.
6795 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6798 POWER8 feature descriptions defined in _dl_hwcap2.
6799 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6800 string handling for POWER8 feature bits.
6801 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6802 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6803 _dl_powerpc_cap_flags.
6804 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6805 * sysdeps/powerpc/rtld-global-offsets.sym
6806 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6807 _dl_hwcap2 in the rtld_global_ro structure.
6809 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6811 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6812 hardware capabilities in support of AT_HWCAP2.
6813 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6814 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6816 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6817 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6818 explicitly the unknown a_type display mechanism is used.
6819 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6820 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6822 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6823 to macro prototype for AT_HWCAP2 support.
6824 * sysdeps/i386/dl-procinfo.h: Likewise.
6825 * sysdeps/s390/dl-procinfo.h: Likewise.
6826 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6827 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6828 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6829 return -1 for unknown a_type display fallback.
6830 * sysdeps/sparc/dl-procinfo.h: Likewise.
6831 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6832 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6834 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6836 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6837 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6839 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6842 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6843 mprotect making __stack_prot writable.
6845 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6846 Joseph Myers <joseph@codesourcery.com>
6848 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6849 as being properly aligned.
6851 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6853 * dlfcn/modstatic5.c: New file.
6854 * dlfcn/tststatic5.c: New file.
6855 * dlfcn/Makefile (tests): Add tststatic5.
6856 (tests-static): Likewise.
6857 (modules-names): Add modstatic5.
6858 (tststatic5-ENV): New variable.
6859 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6862 * elf/dl-support.c (_dl_main_map): New variable.
6863 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6864 (_dl_nns, _dl_load_adds): Set to 1.
6865 (_dl_initial_searchlist): Refer to _dl_main_map.
6866 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6867 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6868 call to _dl_get_origin.
6869 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6871 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6872 * dlfcn/modstatic3.c: New file.
6873 * dlfcn/tststatic3.c: New file.
6874 * dlfcn/tststatic4.c: New file.
6875 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6876 (tests-static): Likewise.
6877 (modules-names): Add modstatic3.
6878 (tststatic3-ENV, tststatic4-ENV): New variables.
6879 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6880 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6882 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6884 * configure.in (CC): Require GCC version 4.4 or later.
6885 * configure: Regenerated.
6886 * manual/install.texi (Tools for Compilation): Update GCC version
6888 * INSTALL: Regenerated.
6890 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6893 * string/test-memcmp.c (check2): New.
6894 (main): Call check2.
6896 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6898 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6901 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6903 (dl_open_worker) [!SHARED]: ... here.
6905 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6907 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6909 2013-06-25 Richard Henderson <rth@redhat.com>
6911 * locale/programs/locarchive.c: Include <libc-internal.h>
6913 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6915 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6916 trailing whitespace removed.
6918 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6921 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6922 * locale/programs/locarchive.c: Include libc-mmap.h.
6923 (prepare_address_space): Take two new outputs (the mmap base and len).
6924 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6926 (create_archive): Declare new mmap base and len values for
6927 prepare_address_space, and store the result in ah.
6928 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6929 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6930 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6931 Declare new mmap base and len values for
6932 prepare_address_space, and store the result in new_ah.
6933 (open_archive): Declare new mmap base and len values for
6934 prepare_address_space, and store the result in ah.
6935 (close_archive): If ah->mmap_base is not NULL, use that and
6936 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6937 * sysdeps/generic/libc-mmap.h: New file.
6939 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6941 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6942 (ALIGN_UP): Likewise.
6943 (PTR_ALIGN_DOWN): Likewise.
6944 (PTR_ALIGN_UP): Likewise.
6946 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6948 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6949 entry mapped to PPC_PLATFORM_POWER8.
6950 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6952 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6953 (_dl_string_platform): Add case for exporting platform position for
6955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6956 search path to sysdeps/powerpc/powerpc32/power8 directory.
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6958 search path to sysdeps/powerpc/powerpc64/power8 directory.
6959 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6961 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6964 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6966 * INSTALL: Regenerate.
6968 * nscd/connections.c (nscd_init): Fix comment.
6970 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6972 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6975 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6976 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6978 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6980 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6982 (DL_DST_REQ_STATIC): Remove macro.
6984 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6987 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6988 with a shift of 0 bits.
6990 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6992 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6995 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6998 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7000 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7002 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7003 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7004 accepts -fno-tree-loop-distribute-patterns.
7005 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7006 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7008 * string/memset.c (memset): Likewise.
7009 * string/test-memmove.c (simple_memmove): Disable loop transformation
7011 * string/test-memset.c (simple_memset): Likewise.
7012 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7013 * benchtests/bench-memset.c (simple_memset): Likewise.
7014 * configure: Regenerated.
7016 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7018 * math/test-misc.c (main): Ignore fesetround failure when failures
7019 of subsequent rounding tests would be ignored.
7022 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7023 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7024 * math/fegetenv.c (__fegetenv): Return 0.
7025 * math/fegetexcept.c (fegetexcept): Return 0.
7026 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7028 * math/feholdexcpt.c (feholdexcept): Return 0.
7029 * math/fesetenv.c (__fesetenv): Return 0.
7030 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7031 argument FE_TONEAREST.
7032 * math/feupdateenv.c (__feupdateenv): Return 0.
7033 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7035 2013-06-18 Roland McGrath <roland@hack.frob.com>
7037 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7038 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7039 ($(objpfx)rtld-%.os rules): Use them.
7041 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7043 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7046 2013-06-17 Roland McGrath <roland@hack.frob.com>
7048 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7049 length of target pattern, then descending length of dependency pattern.
7050 * configure.in (AWK): Require gawk 3.1.2 or newer.
7051 * manual/install.texi (Tools for Compilation): Say that we do.
7052 * configure: Regenerated.
7054 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7055 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7056 * scripts/sysd-rules.awk: ... this new script.
7057 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7058 than a glob-style pattern.
7060 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7062 * math/test-misc.c (main): Do not treat incorrectly rounded
7063 conversions as failure unless ROUNDING_TESTS passes.
7065 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7068 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7069 restore exception state around main square root computation, then
7070 check for inexactness explicitly.
7072 * math/libm-test.inc (fma_test_data): Add another test.
7074 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7076 * manual/threads.texi (Non-POSIX Extensions): New document
7077 node. Document pthread_getattr_default_np and
7078 pthread_setattr_default_np.
7080 * Versions.def (libpthread): Add GLIBC_2.18.
7081 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7090 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7101 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7104 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7106 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7107 H.J. Lu <hjl.tools@gmail.com>
7110 * sysdeps/x86_64/rtld-memset.c: Remove file.
7111 * sysdeps/x86_64/rtld-memset.S: New file.
7113 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7115 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7116 (test_in_one_mode): Take arguments for whether the rounding mode
7117 is supported for each floating-point type.
7118 (do_test): Pass new arguments to test_in_one_mode using
7121 2013-06-13 Roland McGrath <roland@hack.frob.com>
7123 * posix/tst-waitid.c (do_test): Distinguish different instances of
7124 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7125 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7126 before entering the kernel for waitpid.
7128 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7130 * NEWS: Fix note on clock function precision. Text by Roland
7133 2013-06-13 Roland McGrath <roland@hack.frob.com>
7135 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7136 it into place only when and if the sanity check passes.
7138 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7140 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7141 output for whether conversion result is exact. Take argument
7142 indicating whether type is IBM long double.
7143 (round_for_all): Change need_exact field to ibm_ld.
7144 * stdlib/tst-strtod-round.c (struct exactness): New type.
7145 (struct test): Change bool ld_ok field to struct exactness exact.
7146 (TEST): Update all definitions for change to field.
7147 (tests): Regenerate array contents.
7148 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7149 field value. Check for IBM long double here.
7150 (do_test): Update calls to test_in_one_mode.
7152 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7155 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7156 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7158 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7161 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7162 generated by the compiler on loop optimizations.
7163 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7164 general definitions.
7166 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7168 * math/bug-nextafter.c: Include <math-tests.h>.
7169 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7171 * math/bug-nexttoward.c: Include <math-tests.h>.
7172 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7174 * math/test-misc.c: Include <math-tests.h>.
7175 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7178 2013-06-12 Andreas Jaeger <aj@suse.de>
7180 * po/ia.po: Update Interlingua translation from translation
7183 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7185 * include/fenv.h: Include stdbool.h.
7186 (struct rm_ctx): New structure.
7187 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7189 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7190 (SET_RESTORE_ROUNDF): Likewise.
7191 (SET_RESTORE_ROUNDL): Likewise.
7192 (SET_RESTORE_ROUND_NOEX): Likewise.
7193 (SET_RESTORE_ROUND_NOEXF): Likewise.
7194 (SET_RESTORE_ROUND_NOEXL): Likewise.
7195 (SET_RESTORE_ROUND_53BIT): Likewise.
7196 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7197 (libc_feresetround_noexf_ctx): Likewise.
7198 (libc_feresetround_noexl_ctx): Likewise.
7199 (libc_feholdsetround_53bit_ctx): Likewise.
7200 (libc_feresetround_53bit_ctx): Likewise.
7201 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7202 (libc_feholdexcept_setround_sse_ctx): New function.
7203 (libc_fesetenv_sse_ctx): Likewise.
7204 (libc_feupdateenv_sse_ctx): Likewise.
7205 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7206 (libc_feholdexcept_setround_387_ctx): Likewise.
7207 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7208 (libc_feholdsetround_387_prec_ctx): Likewise.
7209 (libc_feholdsetround_387_ctx): Likewise.
7210 (libc_feholdsetround_387_53bit_ctx): Likewise.
7211 (libc_feholdsetround_sse_ctx): Likewise.
7212 (libc_feresetround_sse_ctx): Likewise.
7213 (libc_feresetround_387_ctx): Likewise.
7214 (libc_feupdateenv_387_ctx): Likewise.
7215 (libc_feholdexcept_setroundf_ctx): Define macro.
7216 (libc_fesetenvf_ctx): Likewise.
7217 (libc_feupdateenvf_ctx): Likewise.
7218 (libc_feholdsetroundf_ctx): Likewise.
7219 (libc_feresetroundf_ctx): Likewise.
7220 (libc_feholdexcept_setround_ctx): Likewise.
7221 (libc_fesetenv_ctx): Likewise.
7222 (libc_feupdateenv_ctx): Likewise.
7223 (libc_feholdsetround_ctx): Likewise.
7224 (libc_feresetround_ctx): Likewise.
7225 (libc_feholdexcept_setroundl_ctx): Likewise.
7226 (libc_feupdateenvl_ctx): Likewise.
7227 (libc_feholdsetroundl_ctx): Likewise.
7228 (libc_feresetroundl_ctx): Likewise.
7229 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7230 (libc_feresetround_53bit_ctx): Likewise.
7232 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7234 * locale/iso-639.def: Convert to UTF-8.
7236 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7238 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7239 (EXCEPTION_TESTS_double): Likewise.
7240 (EXCEPTION_TESTS_long_double): Likewise.
7241 (EXCEPTION_TESTS): Likewise.
7242 * math/libm-test.inc (test_exceptions): Only test exceptions if
7243 EXCEPTION_TESTS (FLOAT).
7245 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7247 * benchtests/Makefile (string-bench): Add strcpy_chk and
7249 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7250 * benchtests/bench-stpcpy_chk.c: New file.
7251 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7252 * benchtests/bench-strcpy_chk.c: New file.
7253 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7255 (do_test): Likewise.
7257 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7259 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7260 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7261 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7262 with tabs where appropriate.
7263 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7265 [PPC_PLATFORM_PPC440]: Likewise.
7266 [PPC_PLATFORM_PPC464]: Likewise.
7267 [PPC_PLATFORM_PPC476]: Likewise.
7268 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7269 ppc464, and ppc476 platform strings merging from ports/
7272 2013-06-11 Andreas Schwab <schwab@suse.de>
7275 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7276 (from_ucs4_idx): Regenerate.
7277 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7278 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7279 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7280 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7281 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7282 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7283 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7284 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7285 from FROM_LOOP and TO_LOOP specific macros.
7286 (BODY): Handle combining characters.
7287 * iconvdata/BIG5HKSCS.irreversible: Update.
7288 * iconvdata/BIG5HKSCS.precomposed: New file.
7289 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7291 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7293 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7295 * include/sys/time.h: Fix indentation and add copyright header.
7297 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7298 (do_test): Likewise.
7299 * string/test-memchr.c (do_one_test): Likewise.
7300 (do_test): Likewise.
7301 * string/test-memcmp.c (do_one_test): Likewise.
7302 (do_test): Likewise.
7303 * string/test-memcpy.c (do_one_test): Likewise.
7304 (do_test): Likewise.
7305 * string/test-memmem.c (do_one_test): Likewise.
7306 (do_test): Likewise.
7307 (do_random_tests): Likewise.
7308 * string/test-memmove.c (do_one_test): Likewise.
7309 (do_test): Likewise.
7310 * string/test-memset.c (do_one_test): Likewise.
7311 (do_test): Likewise.
7312 * string/test-rawmemchr.c (do_one_test): Likewise.
7313 (do_test): Likewise.
7314 * string/test-strcasecmp.c (do_one_test): Likewise.
7315 (do_test): Likewise.
7316 * string/test-strcasestr.c (do_one_test): Likewise.
7317 (do_test): Likewise.
7318 * string/test-strcat.c (do_one_test): Likewise.
7319 (do_test): Likewise.
7320 * string/test-strchr.c (do_one_test): Likewise.
7321 (do_test): Likewise.
7322 * string/test-strcmp.c (do_one_test): Likewise.
7323 (do_test): Likewise.
7324 * string/test-strcpy.c (do_one_test): Likewise.
7325 (do_test): Likewise.
7326 * string/test-string.h: Likewise.
7327 (test_init): Likewise.
7328 * string/test-strlen.c (do_one_test): Likewise.
7329 (do_test): Likewise.
7330 * string/test-strncasecmp.c (do_one_test): Likewise.
7331 (do_test): Likewise.
7332 * string/test-strncat.c (do_one_test): Likewise.
7333 (do_test): Likewise.
7334 * string/test-strncmp.c (do_one_test): Likewise.
7335 (do_test_limit): Likewise.
7336 (do_test): Likewise.
7337 * string/test-strncpy.c (do_one_test): Likewise.
7338 (do_test): Likewise.
7339 * string/test-strnlen.c (do_one_test): Likewise.
7340 (do_test): Likewise.
7341 * string/test-strpbrk.c (do_one_test): Likewise.
7342 (do_test): Likewise.
7343 * string/test-strrchr.c (do_one_test): Likewise.
7344 (do_test): Likewise.
7345 * string/test-strspn.c (do_one_test): Likewise.
7346 (do_test): Likewise.
7347 * string/test-strstr.c (do_one_test): Likewise.
7348 (do_test): Likewise.
7350 * benchtests/Makefile (string-bench): Add string benchmarks.
7351 * benchtests/bench-bcopy-ifunc.c: New file.
7352 * benchtests/bench-bcopy.c: New file.
7353 * benchtests/bench-bzero-ifunc.c: New file.
7354 * benchtests/bench-bzero.c: New file.
7355 * benchtests/bench-memccpy-ifunc.c: New file.
7356 * benchtests/bench-memccpy.c: New file.
7357 * benchtests/bench-memchr-ifunc.c: New file.
7358 * benchtests/bench-memchr.c: New file.
7359 * benchtests/bench-memcmp-ifunc.c: New file.
7360 * benchtests/bench-memcmp.c: New file.
7361 * benchtests/bench-memmem-ifunc.c: New file.
7362 * benchtests/bench-memmem.c: New file.
7363 * benchtests/bench-memmove-ifunc.c: New file.
7364 * benchtests/bench-memmove.c: New file.
7365 * benchtests/bench-mempcpy-ifunc.c: New file.
7366 * benchtests/bench-mempcpy.c: New file.
7367 * benchtests/bench-memset-ifunc.c: New file.
7368 * benchtests/bench-memset.c: New file.
7369 * benchtests/bench-rawmemchr-ifunc.c: New file.
7370 * benchtests/bench-rawmemchr.c: New file.
7371 * benchtests/bench-stpcpy-ifunc.c: New file.
7372 * benchtests/bench-stpcpy.c: New file.
7373 * benchtests/bench-stpncpy-ifunc.c: New file.
7374 * benchtests/bench-stpncpy.c: New file.
7375 * benchtests/bench-strcasecmp-ifunc.c: New file.
7376 * benchtests/bench-strcasecmp.c: New file.
7377 * benchtests/bench-strcasestr-ifunc.c: New file.
7378 * benchtests/bench-strcasestr.c: New file.
7379 * benchtests/bench-strcat-ifunc.c: New file.
7380 * benchtests/bench-strcat.c: New file.
7381 * benchtests/bench-strchr-ifunc.c: New file.
7382 * benchtests/bench-strchr.c: New file.
7383 * benchtests/bench-strchrnul-ifunc.c: New file.
7384 * benchtests/bench-strchrnul.c: New file.
7385 * benchtests/bench-strcmp-ifunc.c: New file.
7386 * benchtests/bench-strcmp.c: New file.
7387 * benchtests/bench-strcpy-ifunc.c: New file.
7388 * benchtests/bench-strcpy.c: New file.
7389 * benchtests/bench-strcspn-ifunc.c: New file.
7390 * benchtests/bench-strcspn.c: New file.
7391 * benchtests/bench-strlen-ifunc.c: New file.
7392 * benchtests/bench-strlen.c: New file.
7393 * benchtests/bench-strncasecmp-ifunc.c: New file.
7394 * benchtests/bench-strncasecmp.c: New file.
7395 * benchtests/bench-strncat-ifunc.c: New file.
7396 * benchtests/bench-strncat.c: New file.
7397 * benchtests/bench-strncmp-ifunc.c: New file.
7398 * benchtests/bench-strncmp.c: New file.
7399 * benchtests/bench-strncpy-ifunc.c: New file.
7400 * benchtests/bench-strncpy.c: New file.
7401 * benchtests/bench-strnlen-ifunc.c: New file.
7402 * benchtests/bench-strnlen.c: New file.
7403 * benchtests/bench-strpbrk-ifunc.c: New file.
7404 * benchtests/bench-strpbrk.c: New file.
7405 * benchtests/bench-strrchr-ifunc.c: New file.
7406 * benchtests/bench-strrchr.c: New file.
7407 * benchtests/bench-strspn-ifunc.c: New file.
7408 * benchtests/bench-strspn.c: New file.
7409 * benchtests/bench-strstr-ifunc.c: New file.
7410 * benchtests/bench-strstr.c: New file.
7412 * benchtests/Makefile: Disable parallel execution of targets.
7413 (string-bench): Add memcpy.
7414 (benchset): New variable to store a list of benchmark sets.
7415 (bench-func): Renamed from bench.
7416 (bench-set): New target.
7417 (bench): Depend on bench-func and bench-set.
7418 * benchtests/README: Add section on benchmark sets.
7419 * benchtests/bench-memcpy-ifunc.c: New file.
7420 * benchtests/bench-memcpy.c: New file.
7421 * benchtests/bench-string.h: New file.
7423 2013-06-11 Andreas Schwab <schwab@suse.de>
7426 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7427 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7428 values in the triple.
7429 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7430 terminator in the group key.
7432 2013-06-11 Andreas Jaeger <aj@suse.de>
7434 * po/zh_TW.po: Update Chinese (traditional) translation from
7435 translation project.
7437 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7439 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7440 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7441 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7442 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7443 (clock_getcpuclockid): Likewise.
7444 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7445 Add weak_alias and libc_hidden_def.
7446 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7447 * rt/clock_gettime.c (clock_gettime): Rename to
7448 __clock_gettime. Add weak_alias and libc_hidden_def.
7449 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7450 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7451 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7452 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7453 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7455 * rt/clock_settime.c (clock_settime): Rename to
7456 __clock_settime. Add weak_alias and libc_hidden_def.
7457 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7459 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7461 * mach/err_boot.sub: Remove trailing whitespace.
7462 * mach/err_ipc.sub: Likewise.
7463 * mach/err_mach.sub: Likewise.
7465 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7466 (ROUNDING_TESTS_double): Likewise.
7467 (ROUNDING_TESTS_long_double): Likewise.
7468 (ROUNDING_TESTS): Likewise.
7469 * math/libm-test.inc: Include <math-tests.h>.
7470 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7471 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7472 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7473 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7475 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7477 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7480 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7482 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7483 otherwise empty TRANS lines.
7484 * sysdeps/gnu/errlist.c: Regenerated.
7486 * catgets/gencat.c (error_print): Use (void) in function
7488 * crypt/crypt_util.c (__init_des): Likewise.
7489 * crypt/speeds.c (Stop): Likewise.
7491 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7492 * inet/ruserpass.c (token): Likewise.
7493 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7494 * intl/localealias.c (extend_alias_table): Likewise.
7495 * intl/plural-exp.c (init_germanic_plural): Likewise.
7496 * libio/fcloseall.c (__fcloseall): Likewise.
7497 * libio/genops.c (_IO_flush_all): Likewise.
7498 (_IO_flush_all_linebuffered): Likewise.
7499 (_IO_cleanup): Likewise.
7500 (_IO_iter_begin): Likewise.
7501 (_IO_iter_end): Likewise.
7502 (_IO_list_lock): Likewise.
7503 (_IO_list_unlock): Likewise.
7504 (_IO_list_resetlock): Likewise.
7505 * libio/getchar.c (getchar): Likewise.
7506 * libio/getchar_u.c (getchar_unlocked): Likewise.
7507 * libio/getwchar.c (getwchar): Likewise.
7508 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7509 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7510 * login/getpt.c (__getpt): Likewise.
7511 * login/tst-utmp.c (main): Likewise.
7512 * malloc/hooks.c (__malloc_check_init): Likewise.
7513 * malloc/malloc.c (__malloc_stats): Likewise.
7514 * malloc/mtrace.c (tr_break): Likewise.
7516 (muntrace): Likewise.
7517 * misc/fstab.c (endfsent): Likewise.
7518 * misc/getclktck.c (__getclktck): Likewise.
7519 * misc/getdtsz.c (__getdtablesize): Likewise.
7520 * misc/gethostid.c (gethostid): Likewise.
7521 * misc/getpagesize.c (__getpagesize): Likewise.
7522 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7523 (__get_nprocs): Likewise.
7524 (__get_phys_pages): Likewise.
7525 (__get_avphys_pages): Likewise.
7526 * misc/getttyent.c (getttyent): Likewise.
7527 (setttyent): Likewise.
7528 (endttyent): Likewise.
7529 * misc/getusershell.c (getusershell): Likewise.
7530 (endusershell): Likewise.
7531 (setusershell): Likewise.
7532 (initshells): Likewise.
7533 * misc/hsearch.c (__hdestroy): Likewise.
7534 * misc/sync.c (sync): Likewise.
7535 * misc/syslog.c (closelog_internal): Likewise.
7536 (closelog): Likewise.
7537 * misc/ttyslot.c (ttyslot): Likewise.
7538 * misc/vhangup.c (vhangup): Likewise.
7539 * posix/fork.c (__fork): Likewise.
7540 * posix/getegid.c (__getegid): Likewise.
7541 * posix/geteuid.c (__geteuid): Likewise.
7542 * posix/getgid.c (__getgid): Likewise.
7543 * posix/getpid.c (__getpid): Likewise.
7544 * posix/getppid.c (__getppid): Likewise.
7545 * posix/getuid.c (__getuid): Likewise.
7546 * posix/pause.c (pause): Likewise.
7547 * posix/setpgrp.c (setpgrp): Likewise.
7548 * posix/setsid.c (__setsid): Likewise.
7549 * posix/test-vfork.c (noop): Likewise.
7550 * resolv/gethnamaddr.c (_endhtent): Likewise.
7551 (_gethtent): Likewise.
7552 (ht_endhostent): Likewise.
7553 (gethostent): Likewise.
7554 (dns_service): Likewise.
7555 * stdlib/drand48.c (drand48): Likewise.
7556 * stdlib/lrand48.c (lrand48): Likewise.
7557 * stdlib/mrand48.c (mrand48): Likewise.
7558 * stdlib/rand.c (rand): Likewise.
7559 * stdlib/random.c (__random): Likewise.
7560 * stdlib/setenv.c (clearenv): Likewise.
7561 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7562 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7563 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7564 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7565 (__get_nprocs): Likewise.
7566 (__get_phys_pages): Likewise.
7567 (__get_avphys_pages): Likewise.
7568 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7569 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7570 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7571 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7572 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7573 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7574 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7575 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7576 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7577 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7578 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7579 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7580 * sysdeps/posix/clock.c (clock): Likewise.
7581 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7582 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7583 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7584 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7585 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7587 (__get_nprocs_conf): Likewise.
7588 (__get_phys_pages): Likewise.
7589 (__get_avphys_pages): Likewise.
7590 * time/clock.c (clock): Likewise.
7591 * time/tzset.c (__tzname_max): Likewise.
7593 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7595 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7596 (__bswap_32): Do not use "register".
7597 * crypt/crypt.c (_ufc_doit_r): Likewise.
7598 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7599 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7600 * gmon/gmon.c (__monstartup): Likewise.
7601 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7602 * hurd/hurdmalloc.c (more_memory): Likewise.
7605 (realloc): Likewise.
7606 (malloc_fork_prepare): Likewise.
7607 (malloc_fork_parent): Likewise.
7608 (malloc_fork_child): Likewise.
7609 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7610 (_svcauth_des): Likewise.
7611 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7612 * inet/inet_net.c (inet_network): Likewise.
7613 * inet/inet_netof.c (inet_netof): Likewise.
7614 * inet/rcmd.c (__validuser2_sa): Likewise.
7615 * io/fts.c (fts_open): Likewise.
7616 (fts_load): Likewise.
7617 (fts_close): Likewise.
7618 (fts_read): Likewise.
7619 (fts_children): Likewise.
7620 (fts_build): Likewise.
7621 (fts_stat): Likewise.
7622 (fts_sort): Likewise.
7623 (fts_alloc): Likewise.
7624 (fts_lfree): Likewise.
7625 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7626 (_IO_file_xsgetn): Likewise.
7627 (_IO_file_xsgetn_mmap): Likewise.
7628 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7629 (_IO_cookie_write): Likewise.
7630 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7631 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7632 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7633 * malloc/obstack.c (_obstack_begin): Likewise.
7634 (_obstack_begin_1): Likewise.
7635 (_obstack_newchunk): Likewise.
7636 (_obstack_allocated_p): Likewise.
7637 (obstack_free): Likewise.
7638 (_obstack_memory_used): Likewise.
7639 * misc/getttyent.c (getttynam): Likewise.
7640 (getttyent): Likewise.
7643 * misc/getusershell.c (initshells): Likewise.
7644 * misc/syslog.c (__vsyslog_chk): Likewise.
7645 * misc/ttyslot.c (ttyslot): Likewise.
7646 * nis/nis_hash.c (__nis_hash): Likewise.
7647 * posix/fnmatch_loop.c (FCT): Likewise.
7648 * posix/getconf.c (print_all): Likewise.
7650 * posix/getopt.c (exchange): Likewise.
7651 * posix/glob.c (globfree): Likewise.
7652 (prefix_array): Likewise.
7653 (__glob_pattern_type): Likewise.
7654 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7655 (NS_GET32): Likewise.
7656 (NS_PUT16): Likewise.
7657 (NS_PUT32): Likewise.
7658 * resolv/gethnamaddr.c (getanswer): Likewise.
7659 (gethostbyname2): Likewise.
7660 (gethostbyaddr): Likewise.
7661 (_gethtent): Likewise.
7662 (_gethtbyname2): Likewise.
7663 (_gethtbyaddr): Likewise.
7664 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7665 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7666 * resolv/res_init.c (__res_vinit): Likewise.
7667 (net_mask): Likewise.
7668 * resolv/res_mkquery.c (outchar): Likewise.
7670 * stdio-common/printf_fp.c (outchar): Likewise.
7672 * stdio-common/printf_fphex.c (outchar): Likewise.
7674 * stdio-common/printf_size.c (outchar): Likewise.
7676 * stdio-common/test_rdwr.c (main): Likewise.
7677 * stdio-common/tfformat.c (matches): Likewise.
7678 * stdio-common/vfprintf.c (outchar): Likewise.
7679 (printf_unknown): Likewise.
7680 (buffered_vfprintf): Likewise.
7681 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7682 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7683 (ReadFile): Likewise.
7684 * stdlib/qsort.c (SWAP): Likewise.
7685 (_quicksort): Likewise.
7686 * stdlib/setenv.c (__add_to_environ): Likewise.
7687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7688 * stdlib/strtol_l.c (__strtol_l): Likewise.
7689 * stdlib/tst-strtod.c (main): Likewise.
7690 * stdlib/tst-strtol.c (main): Likewise.
7691 * stdlib/tst-strtoll.c (main): Likewise.
7692 * string/bits/string2.h (__strcmp_cc): Likewise.
7693 (__strcmp_cg): Likewise.
7694 (__strcspn_c1): Likewise.
7695 (__strcspn_c2): Likewise.
7696 (__strcspn_c3): Likewise.
7697 (__strspn_c1): Likewise.
7698 (__strspn_c2): Likewise.
7699 (__strspn_c3): Likewise.
7700 (__strsep_1c): Likewise.
7701 (__strsep_2c): Likewise.
7702 (__strsep_3c): Likewise.
7703 * string/memccpy.c (__memccpy): Likewise.
7704 * string/stpcpy.c (__stpcpy): Likewise.
7705 * string/strcmp.c (strcmp): Likewise.
7706 * string/strrchr.c (strrchr): Likewise.
7707 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7709 * sysdeps/mach/hurd/getcwd.c
7710 (_hurd_canonicalize_directory_name_internal): Likewise.
7711 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7712 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7713 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7714 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7715 Likewise, in both definitions.
7716 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7718 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7719 64] (__bswap_64): Likewise.
7720 * time/test_time.c (main): Likewise.
7721 * time/tzfile.c (__tzfile_read): Likewise.
7722 (__tzfile_compute): Likewise.
7723 * time/tzset.c (__tzset_parse_tz): Likewise.
7724 (tzset_internal): Likewise.
7725 (compute_change): Likewise.
7726 * wcsmbs/wcscat.c (__wcscat): Likewise.
7727 * wcsmbs/wcschr.c (wcschr): Likewise.
7728 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7729 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7730 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7731 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7732 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7733 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7734 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7735 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7736 * wcsmbs/wmemset.c (wmemset): Likewise.
7738 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7740 * scripts/config.guess: Update to version 2013-05-16.
7741 * scripts/config.sub: Update to version 2013-04-24.
7742 * scripts/install-sh: Update to version 2011-11-20.07.
7743 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7744 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7746 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7748 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7749 * elf/sln.c: Likewise.
7750 * hurd/hurd/ioctl.h: Likewise.
7751 * hurd/hurdmalloc.c: Likewise.
7752 * hurd/xattr.c: Likewise.
7753 * include/shlib-compat.h: Likewise.
7754 * inet/ruserpass.c: Likewise.
7755 * libio/iofgets_u.c: Likewise.
7756 * libio/iofgetws_u.c: Likewise.
7757 * locale/programs/ld-identification.c: Likewise.
7758 * locale/programs/ld-time.c: Likewise.
7759 * mach/msg-destroy.c: Likewise.
7760 * nss/nss_files/files-netgrp.c: Likewise.
7761 * resolv/res_data.c: Likewise.
7762 * soft-fp/op-1.h: Likewise.
7763 * soft-fp/op-2.h: Likewise.
7764 * soft-fp/op-4.h: Likewise.
7765 * soft-fp/op-common.h: Likewise.
7766 * stdio-common/printf_fphex.c: Likewise.
7767 * stdlib/strtod_l.c: Likewise.
7768 * sunrpc/rpc/clnt.h: Likewise.
7769 * sysdeps/generic/framestate.c: Likewise.
7770 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7771 * sysdeps/i386/bsd-setjmp.S: Likewise.
7772 * sysdeps/i386/__longjmp.S: Likewise.
7773 * sysdeps/i386/setjmp.S: Likewise.
7774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7775 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7790 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7792 * sysdeps/ieee754/support.c: Likewise.
7793 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7794 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7795 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7796 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7797 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7798 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7799 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7800 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7801 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7802 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7803 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7804 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7805 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7806 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7807 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7808 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7809 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7812 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7814 * posix/transbug.c: Remove executable mode.
7816 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7818 * crypt/speeds.c: Remove trailing whitespace.
7819 * dlfcn/default.c: Likewise.
7820 * elf/ifuncdep2.c: Likewise.
7821 * elf/ifuncmain1.c: Likewise.
7822 * elf/ifuncmain1vis.c: Likewise.
7823 * elf/testobj.h: Likewise.
7824 * elf/tst-stackguard1.c: Likewise.
7825 * gmon/sys/gmon.h: Likewise.
7826 * hurd/hurdmsg.c: Likewise.
7827 * hurd/new-fd.c: Likewise.
7828 * hurd/ports-get.c: Likewise.
7829 * iconvdata/ibm1008_420.c: Likewise.
7830 * inet/tst-getni1.c: Likewise.
7831 * inet/tst-getni2.c: Likewise.
7832 * libio/ioungetc.c: Likewise.
7833 * libio/wfiledoalloc.c: Likewise.
7834 * manual/libm-err-tab.pl: Likewise.
7835 * math/w_dremf.c: Likewise.
7836 * misc/ftruncate.c: Likewise.
7837 * posix/bug-glob2.c: Likewise.
7838 * posix/tst-pcre.c: Likewise.
7839 * posix/wait4.c: Likewise.
7840 * resolv/README: Likewise.
7841 * resolv/res_debug.h: Likewise.
7842 * resolv/tst-inet_ntop.c: Likewise.
7843 * setjmp/bug269-setjmp.c: Likewise.
7844 * soft-fp/extended.h: Likewise.
7845 * soft-fp/op-1.h: Likewise.
7846 * soft-fp/op-2.h: Likewise.
7847 * soft-fp/op-4.h: Likewise.
7848 * soft-fp/op-8.h: Likewise.
7849 * soft-fp/testit.c: Likewise.
7850 * stdio-common/bug16.c: Likewise.
7851 * stdlib/random.c: Likewise.
7852 * sunrpc/rpcsvc/rquota.x: Likewise.
7853 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7854 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7855 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7856 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7857 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7858 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7859 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7860 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7862 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7863 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7882 * sysdeps/ieee754/s_lib_version.c: Likewise.
7883 * sysdeps/mach/hurd/check_fds.c: Likewise.
7884 * sysdeps/mach/hurd/getsockname.c: Likewise.
7885 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7886 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7887 * sysdeps/powerpc/bits/link.h: Likewise.
7888 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7889 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7890 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7891 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7892 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7893 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7894 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7895 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7896 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7897 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7898 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7899 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7900 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7901 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7902 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7903 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7904 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7907 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7908 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7909 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7911 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7912 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7913 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7915 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7920 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7922 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7923 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7924 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7925 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7926 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7927 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7928 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7929 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7930 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7931 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7932 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7933 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7934 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7935 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7936 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7937 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7940 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7941 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7943 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7944 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7946 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7947 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7949 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7950 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7951 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7952 * sysdeps/powerpc/sysdep.h: Likewise.
7953 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7954 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7955 * sysdeps/sh/dl-trampoline.S: Likewise.
7956 * sysdeps/sh/memset.S: Likewise.
7957 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7958 * sysdeps/sh/strlen.S: Likewise.
7959 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7960 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7961 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7962 * sysdeps/sparc/sparc32/rem.S: Likewise.
7963 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7964 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7965 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7966 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7967 * sysdeps/sparc/sparc32/urem.S: Likewise.
7968 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7969 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7970 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7971 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7972 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7973 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7974 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7975 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7976 * sysdeps/unix/bsd/times.c: Likewise.
7977 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7978 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7982 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7983 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7984 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7985 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7986 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7987 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7988 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7989 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7990 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7991 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7992 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7993 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7994 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7995 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7996 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7997 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7998 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7999 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8000 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8001 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8002 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8003 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8005 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8006 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8007 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8008 * sysdeps/x86_64/strcspn.S: Likewise.
8010 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8012 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8013 generated file. Regenerate properly from gen-translit.pl.
8014 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8015 locale/C-translit.h.
8017 2013-06-05 Andreas Schwab <schwab@suse.de>
8020 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8021 week as 6 instead of -1.
8022 * time/tst-strptime.c (day_tests): Add test case.
8024 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8026 * sysdeps/generic/math_private.h
8027 (libc_feholdexcept_setround_53bit): Replace with
8028 libc_feholdsetround_53bit.
8029 (libc_feupdateenv_53bit): Replace with
8030 libc_feresetround_53bit.
8031 (SET_RESTORE_ROUND_53BIT): Adjust.
8033 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8035 * string/test-strchrnul.c: Add copyright header.
8037 * posix/tst-getaddrinfo4.c: Increase test timeout.
8039 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8042 * math/libm-test.inc (MAX_EXP): Remove
8044 (ulp): Use MIN_EXP - MANT_DIG.
8045 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8047 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8049 * po/be.po: Revert last change.
8050 * po/zh_CN.po: Likewise.
8051 * po/header.pot: Likewise.
8053 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8055 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8056 link-libc-deps to empty as target-specific variable.
8057 * Makerules (link-libc-args): New variable.
8058 (libc-for-link): Likewise.
8059 (link-libc-deps): Likewise.
8060 (lib%.so): Depend on $(link-libc-deps). Link with
8062 (build-module): Link with $(link-libc-args).
8063 (build-module-asneeded): Likewise.
8064 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8066 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8067 target-specific variable.
8068 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8069 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8070 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8072 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8074 ($(objpfx)libpcprofile.so): Likewise.
8075 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8077 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8078 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8079 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8081 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8082 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8083 * login/Makefile ($(objpfx)libutil.so): Likewise.
8084 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8085 * math/Makefile ($(objpfx)libm.so): Likewise.
8086 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8087 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8088 variable instead of depending directly on libc.
8089 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8090 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8092 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8094 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8095 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8096 ($(objpfx)libanl.so): Likewise.
8097 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8099 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8101 * sysdeps/i386/fpu/Makefile: Remove file.
8102 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8103 ($(objpfx)libm.so): Remove dependency on ld.so.
8105 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8108 * nis/yp_xdr.c (XDRMAXNAME): Define.
8109 (XDRMAXRECORD): Define.
8110 (xdr_domainname): Use XDRMAXNAME.
8111 (xdr_mapname): Likewise.
8112 (xdr_peername): Likewise.
8113 (xdr_keydat): Use XDRMAXRECORD.
8114 (xdr_valdat): Likewise.
8116 2013-05-30 Jeff Law <law@redhat.com>
8119 * manual/errno.texi (ESTALE): Update to account for more than
8120 just NFS file systems.
8121 * sysdeps/gnu/errlist.c: Regenerated.
8123 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8126 * elf/Makefile (tests): Add tst-null-argv.
8127 (modules-names): Add tst-null-argv-lib.
8128 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8129 (tst-null-argv-ENV): Set environment for tst-null-argv.
8130 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8131 (RTLD_PROGNAME): New macro.
8132 * elf/tst-null-argv.c: New test case.
8133 * elf/tst-null-argv-lib.c: Library for test case.
8134 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8135 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8136 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8137 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8138 * elf/dl-init.c (call_init): Likewise.
8139 (_dl_init): Likewise.
8140 * elf/dl-load.c (print_search_path): Likewise.
8141 (_dl_map_object): Likewise.
8142 * elf/dl-lookup.c (do_lookup_x): Likewise.
8143 (add_dependency): Likewise.
8144 (_dl_lookup_symbol_x): Likewise.
8145 (_dl_debug_bindings): Likewise.
8146 * elf/dl-open.c (_dl_show_scope): Likewise.
8147 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8148 * elf/dl-version.c (match_symbol): Likewise.
8149 (_dl_check_map_versions): Likewise.
8150 * elf/rtld.c (dl_main): Likewise.
8151 (print_unresolved): Use RTLD_PROGNAME.
8152 (print_missing_version): Likewise.
8153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8154 (elf_machine_rela): Likewise.
8155 * sysdeps/powerpc/powerpc32/dl-machine.c
8156 (__process_machine_rela): Likewise.
8157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8159 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8161 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8170 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8172 * po/be.po: Add descriptive title.
8173 * po/zh_CN.po: Likewise.
8174 * po/header.pot: Likewise.
8176 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8178 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8180 (enlarge_archive): Likewise.
8182 2013-05-28 Ben North <ben@redfrontdoor.org>
8184 * manual/arith.texi (frexp): It is the magnitude of the return
8185 value which lies in [0.5, 1), not the return value itself.
8187 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8191 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8193 * stdio-common/bug26.c (main): Correct fscanf template.
8195 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8196 declare _dl_skip_args.
8198 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8201 * manual/platform.texi: Add missing @end deftypefun.
8203 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8206 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8207 bit of mantissa of 2^16382.
8208 * math/libm-test.inc (hypot_test_data): Add more tests.
8210 * math/libm-test.inc: Add drem and pow10 to list of tested
8212 (pow10_test): New function.
8213 (drem_test): Likewise.
8214 (drem_test_tonearest): Likewise.
8215 (drem_test_towardzero): Likewise.
8216 (drem_test_downward): Likewise.
8217 (drem_test_upward): Likewise.
8218 (main): Call the new functions.
8220 * math/libm-test.inc (finite_test_data): Remove.
8221 (finite_test): Run tests from isfinite_test_data.
8222 (gamma_test_data): Remove.
8223 (gamma_test): Run tests from lgamma_test_data.
8224 * sysdeps/i386/fpu/libm-test-ulps: Update.
8225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8227 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8229 * manual/platform.texi: Add PowerPC PPR function set documentation.
8230 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8233 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8235 * math/libm-test.inc (MAX_EXP): Define.
8237 (ulp): New function.
8238 (check_float_internal): Use ULPDIFF.
8239 (cpow_test): Disable failing test.
8240 (check_ulp): Test ulp() implemetnation.
8241 (main): Call check_ulp before starting tests.
8243 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8245 * math/gen-libm-test.pl (generate_testfile): Do not handle
8246 START_DATA and END_DATA.
8247 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8249 (acos_tonearest_test_data): Likewise.
8250 (acos_towardzero_test_data): Likewise.
8251 (acos_downward_test_data): Likewise.
8252 (acos_upward_test_data): Likewise.
8253 (acosh_test_data): Likewise.
8254 (asin_test_data): Likewise.
8255 (asin_tonearest_test_data): Likewise.
8256 (asin_towardzero_test_data): Likewise.
8257 (asin_downward_test_data): Likewise.
8258 (asin_upward_test_data): Likewise.
8259 (asinh_test_data): Likewise.
8260 (atan_test_data): Likewise.
8261 (atanh_test_data): Likewise.
8262 (atan2_test_data): Likewise.
8263 (cabs_test_data): Likewise.
8264 (cacos_test_data): Likewise.
8265 (cacosh_test_data): Likewise.
8266 (carg_test_data): Likewise.
8267 (casin_test_data): Likewise.
8268 (casinh_test_data): Likewise.
8269 (catan_test_data): Likewise.
8270 (catanh_test_data): Likewise.
8271 (cbrt_test_data): Likewise.
8272 (ccos_test_data): Likewise.
8273 (ccosh_test_data): Likewise.
8274 (ceil_test_data): Likewise.
8275 (cexp_test_data): Likewise.
8276 (cimag_test_data): Likewise.
8277 (clog_test_data): Likewise.
8278 (clog10_test_data): Likewise.
8279 (conj_test_data): Likewise.
8280 (copysign_test_data): Likewise.
8281 (cos_test_data): Likewise.
8282 (cos_tonearest_test_data): Likewise.
8283 (cos_towardzero_test_data): Likewise.
8284 (cos_downward_test_data): Likewise.
8285 (cos_upward_test_data): Likewise.
8286 (cosh_test_data): Likewise.
8287 (cosh_tonearest_test_data): Likewise.
8288 (cosh_towardzero_test_data): Likewise.
8289 (cosh_downward_test_data): Likewise.
8290 (cosh_upward_test_data): Likewise.
8291 (cpow_test_data): Likewise.
8292 (cproj_test_data): Likewise.
8293 (creal_test_data): Likewise.
8294 (csin_test_data): Likewise.
8295 (csinh_test_data): Likewise.
8296 (csqrt_test_data): Likewise.
8297 (ctan_test_data): Likewise.
8298 (ctan_tonearest_test_data): Likewise.
8299 (ctan_towardzero_test_data): Likewise.
8300 (ctan_downward_test_data): Likewise.
8301 (ctan_upward_test_data): Likewise.
8302 (ctanh_test_data): Likewise.
8303 (ctanh_tonearest_test_data): Likewise.
8304 (ctanh_towardzero_test_data): Likewise.
8305 (ctanh_downward_test_data): Likewise.
8306 (ctanh_upward_test_data): Likewise.
8307 (erf_test_data): Likewise.
8308 (erfc_test_data): Likewise.
8309 (exp_test_data): Likewise.
8310 (exp_tonearest_test_data): Likewise.
8311 (exp_towardzero_test_data): Likewise.
8312 (exp_downward_test_data): Likewise.
8313 (exp_upward_test_data): Likewise.
8314 (exp10_test_data): Likewise.
8315 (exp2_test_data): Likewise.
8316 (expm1_test_data): Likewise.
8317 (fabs_test_data): Likewise.
8318 (fdim_test_data): Likewise.
8319 (finite_test_data): Likewise.
8320 (floor_test_data): Likewise.
8321 (fma_test_data): Likewise.
8322 (fma_towardzero_test_data): Likewise.
8323 (fma_downward_test_data): Likewise.
8324 (fma_upward_test_data): Likewise.
8325 (fmax_test_data): Likewise.
8326 (fmin_test_data): Likewise.
8327 (fmod_test_data): Likewise.
8328 (fpclassify_test_data): Likewise.
8329 (frexp_test_data): Likewise.
8330 (gamma_test_data): Likewise.
8331 (hypot_test_data): Likewise.
8332 (ilogb_test_data): Likewise.
8333 (isfinite_test_data): Likewise.
8334 (isgreater_test_data): Likewise.
8335 (isgreaterequal_test_data): Likewise.
8336 (isinf_test_data): Likewise.
8337 (isless_test_data): Likewise.
8338 (islessequal_test_data): Likewise.
8339 (islessgreater_test_data): Likewise.
8340 (isnan_test_data): Likewise.
8341 (isnormal_test_data): Likewise.
8342 (issignaling_test_data): Likewise.
8343 (isunordered_test_data): Likewise.
8344 (j0_test_data): Likewise.
8345 (j1_test_data): Likewise.
8346 (jn_test_data): Likewise.
8347 (ldexp_test_data): Likewise.
8348 (lgamma_test_data): Likewise.
8349 (lrint_test_data): Likewise.
8350 (lrint_tonearest_test_data): Likewise.
8351 (lrint_towardzero_test_data): Likewise.
8352 (lrint_downward_test_data): Likewise.
8353 (lrint_upward_test_data): Likewise.
8354 (llrint_test_data): Likewise.
8355 (llrint_tonearest_test_data): Likewise.
8356 (llrint_towardzero_test_data): Likewise.
8357 (llrint_downward_test_data): Likewise.
8358 (llrint_upward_test_data): Likewise.
8359 (log_test_data): Likewise.
8360 (log10_test_data): Likewise.
8361 (log1p_test_data): Likewise.
8362 (log2_test_data): Likewise.
8363 (logb_test_data): Likewise.
8364 (logb_downward_test_data): Likewise.
8365 (lround_test_data): Likewise.
8366 (llround_test_data): Likewise.
8367 (modf_test_data): Likewise.
8368 (nearbyint_test_data): Likewise.
8369 (nextafter_test_data): Likewise.
8370 (nexttoward_test_data): Likewise.
8371 (pow_test_data): Likewise.
8372 (pow_tonearest_test_data): Likewise.
8373 (pow_towardzero_test_data): Likewise.
8374 (pow_downward_test_data): Likewise.
8375 (pow_upward_test_data): Likewise.
8376 (remainder_test_data): Likewise.
8377 (remainder_tonearest_test_data): Likewise.
8378 (remainder_towardzero_test_data): Likewise.
8379 (remainder_downward_test_data): Likewise.
8380 (remainder_upward_test_data): Likewise.
8381 (remquo_test_data): Likewise.
8382 (rint_test_data): Likewise.
8383 (rint_tonearest_test_data): Likewise.
8384 (rint_towardzero_test_data): Likewise.
8385 (rint_downward_test_data): Likewise.
8386 (rint_upward_test_data): Likewise.
8387 (round_test_data): Likewise.
8388 (scalb_test_data): Likewise.
8389 (scalbn_test_data): Likewise.
8390 (scalbln_test_data): Likewise.
8391 (signbit_test_data): Likewise.
8392 (sin_test_data): Likewise.
8393 (sin_tonearest_test_data): Likewise.
8394 (sin_towardzero_test_data): Likewise.
8395 (sin_downward_test_data): Likewise.
8396 (sin_upward_test_data): Likewise.
8397 (sincos_test_data): Likewise.
8398 (sinh_test_data): Likewise.
8399 (sinh_tonearest_test_data): Likewise.
8400 (sinh_towardzero_test_data): Likewise.
8401 (sinh_downward_test_data): Likewise.
8402 (sinh_upward_test_data): Likewise.
8403 (sqrt_test_data): Likewise.
8404 (tan_test_data): Likewise.
8405 (tan_tonearest_test_data): Likewise.
8406 (tan_towardzero_test_data): Likewise.
8407 (tan_downward_test_data): Likewise.
8408 (tan_upward_test_data): Likewise.
8409 (tanh_test_data): Likewise.
8410 (tgamma_test_data): Likewise.
8411 (trunc_test_data): Likewise.
8412 (y0_test_data): Likewise.
8413 (y1_test_data): Likewise.
8414 (yn_test_data): Likewise.
8415 (significand_test_data): Likewise.
8417 * math/gen-libm-test.pl (@functions): Remove variable.
8418 (generate_testfile): Don't handle START and END lines.
8419 * math/libm-test.inc (START): New macro.
8421 (END_COMPLEX): Likewise.
8422 (acos_test): Use END macro without arguments.
8423 (acos_test_tonearest): Likewise.
8424 (acos_test_towardzero): Likewise.
8425 (acos_test_downward): Likewise.
8426 (acos_test_upward): Likewise.
8427 (acosh_test): Likewise.
8428 (asin_test): Likewise.
8429 (asin_test_tonearest): Likewise.
8430 (asin_test_towardzero): Likewise.
8431 (asin_test_downward): Likewise.
8432 (asin_test_upward): Likewise.
8433 (asinh_test): Likewise.
8434 (atan_test): Likewise.
8435 (atanh_test): Likewise.
8436 (atan2_test): Likewise.
8437 (cabs_test): Likewise.
8438 (cacos_test): Use END_COMPLEX macro without arguments.
8439 (cacosh_test): Likewise.
8440 (carg_test): Use END macro without arguments.
8441 (casin_test): Use END_COMPLEX macro without arguments.
8442 (casinh_test): Likewise.
8443 (catan_test): Likewise.
8444 (catanh_test): Likewise.
8445 (cbrt_test): Use END macro without arguments.
8446 (ccos_test): Use END_COMPLEX macro without arguments.
8447 (ccosh_test): Likewise.
8448 (ceil_test): Use END macro without arguments.
8449 (cexp_test): Use END_COMPLEX macro without arguments.
8450 (cimag_test): Use END macro without arguments.
8451 (clog_test): Use END_COMPLEX macro without arguments.
8452 (clog10_test): Likewise.
8453 (conj_test): Likewise.
8454 (copysign_test): Use END macro without arguments.
8455 (cos_test): Likewise.
8456 (cos_test_tonearest): Likewise.
8457 (cos_test_towardzero): Likewise.
8458 (cos_test_downward): Likewise.
8459 (cos_test_upward): Likewise.
8460 (cosh_test): Likewise.
8461 (cosh_test_tonearest): Likewise.
8462 (cosh_test_towardzero): Likewise.
8463 (cosh_test_downward): Likewise.
8464 (cosh_test_upward): Likewise.
8465 (cpow_test): Use END_COMPLEX macro without arguments.
8466 (cproj_test): Likewise.
8467 (creal_test): Use END macro without arguments.
8468 (csin_test): Use END_COMPLEX macro without arguments.
8469 (csinh_test): Likewise.
8470 (csqrt_test): Likewise.
8471 (ctan_test): Likewise.
8472 (ctan_test_tonearest): Likewise.
8473 (ctan_test_towardzero): Likewise.
8474 (ctan_test_downward): Likewise.
8475 (ctan_test_upward): Likewise.
8476 (ctanh_test): Likewise.
8477 (ctanh_test_tonearest): Likewise.
8478 (ctanh_test_towardzero): Likewise.
8479 (ctanh_test_downward): Likewise.
8480 (ctanh_test_upward): Likewise.
8481 (erf_test): Use END macro without arguments.
8482 (erfc_test): Likewise.
8483 (exp_test): Likewise.
8484 (exp_test_tonearest): Likewise.
8485 (exp_test_towardzero): Likewise.
8486 (exp_test_downward): Likewise.
8487 (exp_test_upward): Likewise.
8488 (exp10_test): Likewise.
8489 (exp2_test): Likewise.
8490 (expm1_test): Likewise.
8491 (fabs_test): Likewise.
8492 (fdim_test): Likewise.
8493 (finite_test): Likewise.
8494 (floor_test): Likewise.
8495 (fma_test): Likewise.
8496 (fma_test_towardzero): Likewise.
8497 (fma_test_downward): Likewise.
8498 (fma_test_upward): Likewise.
8499 (fmax_test): Likewise.
8500 (fmin_test): Likewise.
8501 (fmod_test): Likewise.
8502 (fpclassify_test): Likewise.
8503 (frexp_test): Likewise.
8504 (gamma_test): Likewise.
8505 (hypot_test): Likewise.
8506 (ilogb_test): Likewise.
8507 (isfinite_test): Likewise.
8508 (isgreater_test): Likewise.
8509 (isgreaterequal_test): Likewise.
8510 (isinf_test): Likewise.
8511 (isless_test): Likewise.
8512 (islessequal_test): Likewise.
8513 (islessgreater_test): Likewise.
8514 (isnan_test): Likewise.
8515 (isnormal_test): Likewise.
8516 (issignaling_test): Likewise.
8517 (isunordered_test): Likewise.
8518 (j0_test): Likewise.
8519 (j1_test): Likewise.
8520 (jn_test): Likewise.
8521 (ldexp_test): Likewise.
8522 (lgamma_test): Likewise.
8523 (lrint_test): Likewise.
8524 (lrint_test_tonearest): Likewise.
8525 (lrint_test_towardzero): Likewise.
8526 (lrint_test_downward): Likewise.
8527 (lrint_test_upward): Likewise.
8528 (llrint_test): Likewise.
8529 (llrint_test_tonearest): Likewise.
8530 (llrint_test_towardzero): Likewise.
8531 (llrint_test_downward): Likewise.
8532 (llrint_test_upward): Likewise.
8533 (log_test): Likewise.
8534 (log10_test): Likewise.
8535 (log1p_test): Likewise.
8536 (log2_test): Likewise.
8537 (logb_test): Likewise.
8538 (logb_test_downward): Likewise.
8539 (lround_test): Likewise.
8540 (llround_test): Likewise.
8541 (modf_test): Likewise.
8542 (nearbyint_test): Likewise.
8543 (nextafter_test): Likewise.
8544 (nexttoward_test): Likewise.
8545 (pow_test): Likewise.
8546 (pow_test_tonearest): Likewise.
8547 (pow_test_towardzero): Likewise.
8548 (pow_test_downward): Likewise.
8549 (pow_test_upward): Likewise.
8550 (remainder_test): Likewise.
8551 (remainder_test_tonearest): Likewise.
8552 (remainder_test_towardzero): Likewise.
8553 (remainder_test_downward): Likewise.
8554 (remainder_test_upward): Likewise.
8555 (remquo_test): Likewise.
8556 (rint_test): Likewise.
8557 (rint_test_tonearest): Likewise.
8558 (rint_test_towardzero): Likewise.
8559 (rint_test_downward): Likewise.
8560 (rint_test_upward): Likewise.
8561 (round_test): Likewise.
8562 (scalb_test): Likewise.
8563 (scalbn_test): Likewise.
8564 (scalbln_test): Likewise.
8565 (signbit_test): Likewise.
8566 (sin_test): Likewise.
8567 (sin_test_tonearest): Likewise.
8568 (sin_test_towardzero): Likewise.
8569 (sin_test_downward): Likewise.
8570 (sin_test_upward): Likewise.
8571 (sincos_test): Likewise.
8572 (sinh_test): Likewise.
8573 (sinh_test_tonearest): Likewise.
8574 (sinh_test_towardzero): Likewise.
8575 (sinh_test_downward): Likewise.
8576 (sinh_test_upward): Likewise.
8577 (sqrt_test): Likewise.
8578 (tan_test): Likewise.
8579 (tan_test_tonearest): Likewise.
8580 (tan_test_towardzero): Likewise.
8581 (tan_test_downward): Likewise.
8582 (tan_test_upward): Likewise.
8583 (tanh_test): Likewise.
8584 (tgamma_test): Likewise.
8585 (trunc_test): Likewise.
8586 (y0_test): Likewise.
8587 (y1_test): Likewise.
8588 (yn_test): Likewise.
8589 (significand_test): Likewise.
8591 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8594 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8596 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8599 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8600 __ppc_mdoio and __ppc_mdoom.
8601 * manual/platform.texi: Document new functions __ppc_yield,
8602 __ppc_mdoio and __ppc_mdoom.
8604 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8606 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8607 (main): Mention "tls" pseudo-hwcap is legacy.
8608 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8610 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8612 * math/gen-libm-test.pl (parse_args): Output only string of
8613 arguments as text for test name, not full call or descriptions of
8614 tests for extra outputs.
8615 (generate_testfile): Do not pass function name to parse_args.
8616 Generate this_func variable from START.
8617 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8619 (struct test_ff_f_data): Likewise.
8620 (test_ff_f_data_nexttoward): Likewise.
8621 (struct test_fi_f_data): Likewise.
8622 (struct test_fl_f_data): Likewise.
8623 (struct test_if_f_data): Likewise.
8624 (struct test_fff_f_data): Likewise.
8625 (struct test_c_f_data): Likewise.
8626 (struct test_f_f1_data): Likewise. Remove field extra_name.
8627 (struct test_fF_f1_data): Likewise.
8628 (struct test_ffI_f1_data): Likewise.
8629 (struct test_c_c_data): Rename test_name field to arg_str.
8630 (struct test_cc_c_data): Likewise.
8631 (struct test_f_i_data): Likewise.
8632 (struct test_ff_i_data): Likewise.
8633 (struct test_f_l_data): Likewise.
8634 (struct test_f_L_data): Likewise.
8635 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8637 (COMMON_TEST_SETUP): New macro.
8638 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8639 (COMMON_TEST_CLEANUP): Likewise.
8640 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8641 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8643 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8644 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8646 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8647 (RUN_TEST_fff_f): Take argument string. Call new setup and
8649 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8650 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8652 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8653 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8655 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8656 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8658 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8659 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8661 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8662 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8664 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8665 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8667 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8668 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8670 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8671 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8673 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8674 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8676 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8677 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8679 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8680 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8682 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8683 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8685 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8686 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8688 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8689 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8691 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8692 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8694 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8696 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8698 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8699 to _sifields.sigfault.
8700 (si_addr_lsb): Define new macro.
8701 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8702 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8703 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8705 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8708 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8710 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8712 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8715 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8717 * math/gen-libm-test.pl (parse_args): Do not include expected
8718 result in test name.
8719 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8721 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8722 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8723 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8726 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8728 * benchtests/Makefile: Sort function entries.
8730 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8731 tanh, asinh, acosh, atanh.
8732 * benchtests/acos-inputs: New file.
8733 * benchtests/acosh-inputs: New file.
8734 * benchtests/asin-inputs: New file.
8735 * benchtests/asinh-inputs: New file.
8736 * benchtests/atanh-inputs: New file.
8737 * benchtests/cosh-inputs: New file.
8738 * benchtests/log-inputs: New file.
8739 * benchtests/sinh-inputs: New file.
8740 * benchtests/tanh-inputs: New file.
8742 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8745 * posix/tst-getaddrinfo4.c: New test.
8746 * posix/Makefile (tests): Add it.
8748 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8751 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8752 when no services were used.
8753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8754 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8756 2013-05-21 Andreas Schwab <schwab@suse.de>
8759 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8760 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8762 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8763 redundant variable declarations and reallocation of buffer when
8764 parsing as IPv6 address. Always set NSS status when called from
8765 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8766 buffer too small. Correct computation of needed size.
8767 * nss/Makefile (tests): Add test-digits-dots.
8768 * nss/test-digits-dots.c: New test.
8770 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8772 * benchtests/Makefile: Remove instructions for adding
8774 * benchtests/README: New file to explain how to execute and
8775 enhance the benchmark tests.
8777 2013-05-21 Andreas Schwab <schwab@suse.de>
8780 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8781 * setjmp/tst-sigsetjmp.c: New test.
8783 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8785 * sysdeps/x86_64/memset.S (memset): New implementation.
8786 (__bzero): Likewise.
8787 (__memset_tail): New function.
8789 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8791 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8792 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8793 __memcpy_sse2_unaligned ifunc selection.
8794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8795 Add memcpy-sse2-unaligned.S.
8796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8797 Add: __memcpy_sse2_unaligned.
8799 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8802 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8803 math_force_eval before restoring floating-point envrionment.
8804 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8805 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8807 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8809 (__nearbyintl): Use math_force_eval before restoring
8810 floating-point environment.
8811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8813 * math/gen-libm-test.pl (special_functions): Remove.
8814 (parse_args): Don't handle TEST_extra. Handle functions with no
8816 * math/libm-test.inc (struct test_sincos_data): Replace with
8817 struct test_fFF_11_data.
8818 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8819 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8820 (sincos_test_data): Change element type to struct
8821 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8822 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8823 RUN_TEST_LOOP_sincos.
8824 * math/README.libm-test: Don't mention special handling of
8825 individual functions.
8826 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8827 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8828 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8829 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8830 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8833 * math/gen-libm-test.pl (get_variable): Remove function.
8834 (parse_args): Don't show pointer parameters to call in test
8835 names. Use "extra output N" in test names for extra outputs
8836 rather than naming variables.
8838 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8841 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8842 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8843 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8845 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8847 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8850 * math/gen-libm-test.pl (@tests): Remove variable.
8852 (new_test): Remove function.
8853 (show_exceptions): New function.
8854 (special_functions): Use show_exceptions instead of new_test.
8855 (parse_args): Likewise.
8856 (generate_testfile): Pass only function name in generated call to
8857 print_max_error or print_complex_max_error.
8858 (get_ulps): Do not handle complex tests specially.
8859 (output_test): Rename to ...
8860 (get_all_ulps_for_test): ... this. Return a string rather than
8861 printing to a file. Require ulps to be present.
8862 (output_ulps): Generate arrays rather than #defines.
8863 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8864 (struct ulp_data): New type.
8865 (BUILD_COMPLEX_ULP): Remove macro.
8866 (compare_ulp_data): New function.
8867 (find_ulps): Likewise.
8868 (find_test_ulps): Likewise.
8869 (find_function_ulps): Likewise.
8870 (find_complex_function_ulps): Likewise.
8871 (print_max_error): Determine allowed ulps using
8873 (print_complex_max_error): Determine allowed ulps using
8874 find_complex_function_ulps.
8875 (check_float_internal): Determine max ulps using find_test_ulps.
8876 (check_float): Do not take max_ulp parameter. Update call to
8877 check_float_internal.
8878 (check_complex): Likewise.
8879 (check_int): Do not take max_ulp parameter.
8880 (check_long): Likewise.
8881 (check_bool): Likewise.
8882 (check_longlong): Likewise.
8883 (struct test_f_f_data): Remove max_ulp field.
8884 (struct test_ff_f_data): Likewise.
8885 (struct test_ff_f_data_nexttoward): Likewise.
8886 (struct test_fi_f_data): Likewise.
8887 (struct test_fl_f_data): Likewise.
8888 (struct test_if_f_data): Likewise.
8889 (struct test_fff_f_data): Likewise.
8890 (struct test_c_f_data): Likewise.
8891 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8892 (struct test_fF_f1_data): Likewise.
8893 (struct test_ffI_f1_data): Likewise.
8894 (struct test_c_c_data): Remove max_ulp field.
8895 (struct test_cc_c_data): Likewise.
8896 (struct test_f_i_data): Likewise.
8897 (struct test_ff_i_data): Likewise.
8898 (struct test_f_l_data): Likewise.
8899 (struct test_f_L_data): Likewise.
8900 (struct test_sincos_data): Likewise.
8901 (RUN_TEST_f_f): Do not handle ulps.
8902 (RUN_TEST_LOOP_f_f): Likewise.
8903 (RUN_TEST_2_f): Likewise.
8904 (RUN_TEST_LOOP_2_f): Likewise.
8905 (RUN_TEST_fff_f): Likewise.
8906 (RUN_TEST_LOOP_fff_f): Likewise.
8907 (RUN_TEST_c_f): Likewise.
8908 (RUN_TEST_LOOP_c_f): Likewise.
8909 (RUN_TEST_f_f1): Likewise.
8910 (RUN_TEST_LOOP_f_f1): Likewise.
8911 (RUN_TEST_fF_f1): Likewise.
8912 (RUN_TEST_LOOP_fF_f1): Likewise.
8913 (RUN_TEST_fI_f1): Likewise.
8914 (RUN_TEST_LOOP_fI_f1): Likewise.
8915 (RUN_TEST_ffI_f1): Likewise.
8916 (RUN_TEST_LOOP_ffI_f1): Likewise.
8917 (RUN_TEST_c_c): Likewise.
8918 (RUN_TEST_LOOP_c_c): Likewise.
8919 (RUN_TEST_cc_c): Likewise.
8920 (RUN_TEST_LOOP_cc_c): Likewise.
8921 (RUN_TEST_f_i): Likewise.
8922 (RUN_TEST_LOOP_f_i): Likewise.
8923 (RUN_TEST_f_i_tg): Likewise.
8924 (RUN_TEST_LOOP_f_i_tg): Likewise.
8925 (RUN_TEST_ff_i_tg): Likewise.
8926 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8927 (RUN_TEST_f_b): Likewise.
8928 (RUN_TEST_LOOP_f_b): Likewise.
8929 (RUN_TEST_f_b_tg): Likewise.
8930 (RUN_TEST_LOOP_f_b_tg): Likewise.
8931 (RUN_TEST_f_l): Likewise.
8932 (RUN_TEST_LOOP_f_l): Likewise.
8933 (RUN_TEST_f_L): Likewise.
8934 (RUN_TEST_LOOP_f_L): Likewise.
8935 (RUN_TEST_sincos): Likewise.
8936 (RUN_TEST_LOOP_sincos): Likewise.
8938 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8942 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8943 main case of finite arguments, set rounding mode to FE_TONEAREST
8944 and discard exceptions.
8945 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8947 (remainder_tonearest_test_data): New variable.
8948 (remainder_test_tonearest): New function.
8949 (remainder_towardzero_test_data): New variable.
8950 (remainder_test_towardzero): New function.
8951 (remainder_downward_test_data): New variable.
8952 (remainder_test_downward): New function.
8953 (remainder_upward_test_data): New variable.
8954 (remainder_test_upward): New function.
8955 (main): Call the new test functions.
8957 * math/libm-test.inc (struct test_f_f1_data): Remove field
8959 (struct test_fF_f1_data): Likewise.
8960 (struct test_ffI_f1_data): Likewise.
8961 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8962 based on value of EXTRA_EXPECTED.
8963 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8964 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8965 EXTRA_VAR based on value of EXTRA_EXPECTED.
8966 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8967 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8968 EXTRA_VAR based on value of EXTRA_EXPECTED.
8969 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8970 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8971 EXTRA_VAR based on value of EXTRA_EXPECTED.
8972 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8973 * math/gen-libm-test.pl (parse_args): Don't output initializers
8974 for extra output values.
8976 * math/libm-test.inc (check_int): Expect result to be exactly
8977 equal to expected value and do not handle ulps.
8978 (check_long): Likewise.
8979 (check_longlong): Likewise.
8981 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8983 (cimag_test_data): Likewise.
8984 (conj_test_data): Likewise.
8985 (copysign_test_data): Likewise.
8986 (cproj_test_data): Likewise.
8987 (creal_test_data): Likewise.
8988 (fabs_test_data): Likewise.
8989 (fdim_test_data): Likewise.
8990 (finite_test_data): Likewise.
8991 (floor_test_data): Likewise.
8992 (fmax_test_data): Likewise.
8993 (fmin_test_data): Likewise.
8994 (fmod_test_data): Likewise.
8995 (fpclassify_test_data): Likewise.
8996 (frexp_test_data): Likewise.
8997 (ilogb_test_data): Likewise.
8998 (isfinite_test_data): Likewise.
8999 (isgreater_test_data): Likewise.
9000 (isgreaterequal_test_data): Likewise.
9001 (isinf_test_data): Likewise.
9002 (isless_test_data): Likewise.
9003 (islessequal_test_data): Likewise.
9004 (islessgreater_test_data): Likewise.
9005 (isnan_test_data): Likewise.
9006 (isnormal_test_data): Likewise.
9007 (issignaling_test_data): Likewise.
9008 (isunordered_test_data): Likewise.
9009 (ldexp_test_data): Likewise.
9010 (lrint_test_data): Likewise.
9011 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9012 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9013 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9014 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9015 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9016 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9018 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9019 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9020 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9021 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9023 (lrint_downward_test_data): Test for "inexact" exceptions.
9024 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9025 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9026 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9028 (lrint_upward_test_data): Test for "inexact" exceptions.
9029 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9031 (llrint_test_data): Test for "inexact" exceptions.
9032 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9033 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9034 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9035 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9036 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9037 (llrint_downward_test_data): Test for "inexact" exceptions.
9038 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9039 (llrint_upward_test_data): Test for "inexact" exceptions.
9040 (logb_test_data): Likewise.
9041 (logb_downward_test_data): Likewise.
9042 (nextafter_test_data): Likewise.
9043 (nexttoward_test_data): Likewise.
9044 (remainder_test_data): Likewise.
9045 (remquo_test_data): Likewise.
9046 (scalbn_test_data): Likewise.
9047 (scalbln_test_data): Likewise.
9048 (signbit_test_data): Likewise.
9049 (sqrt_test_data): Likewise.
9050 (significand_test_data): Likewise.
9052 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9055 * benchtests/bench-modf.c (struct args): Mark arg0 as
9057 * scripts/bench.pl: Mark members of struct args as volatile.
9059 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9062 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9063 negative infinity on POWER6 or lower.
9064 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9066 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9069 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9070 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9071 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9072 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9073 (_FP_SETQNAN): New macro.
9074 (_FP_SETQNAN_SEMIRAW): Likewise.
9075 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9076 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9077 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9078 (FP_EXTEND): Use _FP_FRAC_SNANP.
9079 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9080 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9082 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9084 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9087 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9089 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9090 with DIVIDE_BY_ZERO_EXCEPTION.
9091 (gamma_test_data): Likewise.
9092 (lgamma_test_data): Likewise.
9093 (log_test_data): Likewise.
9094 (log10_test_data): Likewise.
9095 (log2_test_data): Likewise.
9096 (tgamma_test_data): Likewise.
9098 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9099 (acos_test_tonearest): Likewise.
9100 (acos_test_towardzero): Likewise.
9101 (acos_test_downward): Likewise.
9102 (acos_test_upward): Likewise.
9103 (acosh_test): Likewise.
9104 (asin_test): Likewise.
9105 (asin_test_tonearest): Likewise.
9106 (asin_test_towardzero): Likewise.
9107 (asin_test_downward): Likewise.
9108 (asin_test_upward): Likewise.
9109 (asinh_test): Likewise.
9110 (atan_test): Likewise.
9111 (atanh_test): Likewise.
9112 (atan2_test): Likewise.
9113 (cabs_test): Likewise.
9114 (cacos_test): Likewise.
9115 (cacosh_test): Likewise.
9116 (casin_test): Likewise.
9117 (casinh_test): Likewise.
9118 (catan_test): Likewise.
9119 (catanh_test): Likewise.
9120 (cbrt_test): Likewise.
9121 (ccos_test): Likewise.
9122 (ccosh_test): Likewise.
9123 (cexp_test): Likewise.
9124 (clog_test): Likewise.
9125 (clog10_test): Likewise.
9126 (cos_test): Likewise.
9127 (cos_test_tonearest): Likewise.
9128 (cos_test_towardzero): Likewise.
9129 (cos_test_downward): Likewise.
9130 (cos_test_upward): Likewise.
9131 (cosh_test): Likewise.
9132 (cosh_test_tonearest): Likewise.
9133 (cosh_test_towardzero): Likewise.
9134 (cosh_test_downward): Likewise.
9135 (cosh_test_upward): Likewise.
9136 (cpow_test): Likewise.
9137 (csin_test): Likewise.
9138 (csinh_test): Likewise.
9139 (csqrt_test): Likewise.
9140 (ctan_test): Likewise.
9141 (ctan_test_tonearest): Likewise.
9142 (ctan_test_towardzero): Likewise.
9143 (ctan_test_downward): Likewise.
9144 (ctan_test_upward): Likewise.
9145 (ctanh_test): Likewise.
9146 (ctanh_test_tonearest): Likewise.
9147 (ctanh_test_towardzero): Likewise.
9148 (ctanh_test_downward): Likewise.
9149 (ctanh_test_upward): Likewise.
9150 (erf_test): Likewise.
9151 (erfc_test): Likewise.
9152 (exp_test): Likewise.
9153 (exp_test_tonearest): Likewise.
9154 (exp_test_towardzero): Likewise.
9155 (exp_test_downward): Likewise.
9156 (exp_test_upward): Likewise.
9157 (exp10_test): Likewise.
9158 (exp2_test): Likewise.
9159 (expm1_test): Likewise.
9160 (fmod_test): Likewise.
9161 (gamma_test): Likewise.
9162 (hypot_test): Likewise.
9163 (j0_test): Likewise.
9164 (j1_test): Likewise.
9165 (jn_test): Likewise.
9166 (lgamma_test): Likewise.
9167 (log_test): Likewise.
9168 (log10_test): Likewise.
9169 (log1p_test): Likewise.
9170 (log2_test): Likewise.
9171 (logb_test_downward): Likewise.
9172 (pow_test): Likewise.
9173 (pow_test_tonearest): Likewise.
9174 (pow_test_towardzero): Likewise.
9175 (pow_test_downward): Likewise.
9176 (pow_test_upward): Likewise.
9177 (remainder_test): Likewise.
9178 (remquo_test): Likewise.
9179 (sin_test): Likewise.
9180 (sin_test_tonearest): Likewise.
9181 (sin_test_towardzero): Likewise.
9182 (sin_test_downward): Likewise.
9183 (sin_test_upward): Likewise.
9184 (sincos_test): Likewise.
9185 (sinh_test): Likewise.
9186 (sinh_test_tonearest): Likewise.
9187 (sinh_test_towardzero): Likewise.
9188 (sinh_test_downward): Likewise.
9189 (sinh_test_upward): Likewise.
9190 (sqrt_test): Likewise.
9191 (tan_test): Likewise.
9192 (tan_test_tonearest): Likewise.
9193 (tan_test_towardzero): Likewise.
9194 (tan_test_downward): Likewise.
9195 (tan_test_upward): Likewise.
9196 (tanh_test): Likewise.
9197 (tgamma_test): Likewise.
9198 (y0_test): Likewise.
9199 (y1_test): Likewise.
9200 (yn_test): Likewise.
9202 * math/gen-libm-test.pl (adjust_arg): Remove function.
9203 (special_function): Remove argument $in_func. Only handle
9204 generating output for tables of tests, not inside functions.
9205 (parse_args): Likewise.
9206 (generate_testfile): Remove variable $in_func. Update call to
9208 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9209 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9210 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9211 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9212 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9213 (MAX_VALUE_INIT): Rename macro to max_value.
9214 (MIN_VALUE_INIT): Rename macro to min_value.
9215 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9216 (plus_zero): Remove variable.
9217 (minus_zero): Likewise.
9218 (plus_infty): Likewise.
9219 (minus_infty): Likewise.
9220 (qnan_value): Likewise.
9221 (max_value): Likewise.
9222 (min_value): Likewise.
9223 (min_subnorm_value): Likewise.
9225 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9227 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9228 uint64_t or uint32_t usage.
9229 * crypt/sha256-block.c: Likewise.
9230 * crypt/sha256-crypt.c: Likewise.
9231 * crypt/sha256.c: Likewise.
9232 * crypt/sha512-block.c: Likewise.
9233 * crypt/sha512-crypt.c: Likewise.
9234 * crypt/sha512.c: Likewise.
9235 * debug/backtrace-tst.c: Likewise.
9236 * debug/pcprofiledump.c: Likewise.
9237 * elf/cache.c: Likewise.
9238 * elf/dl-cache.c: Likewise.
9239 * elf/dl-misc.c: Likewise.
9240 * elf/dl-profile.c: Likewise.
9241 * elf/dl-support.c: Likewise.
9242 * elf/ldconfig.c: Likewise.
9243 * elf/sprof.c: Likewise.
9244 * iconv/dummy-repertoire.c: Likewise.
9245 * iconv/iconv_charmap.c: Likewise.
9246 * iconv/skeleton.c: Likewise.
9247 * iconvdata/8bit-generic.c: Likewise.
9248 * iconvdata/cp737.h: Likewise.
9249 * iconvdata/cp775.h: Likewise.
9250 * iconvdata/ibm1008.h: Likewise.
9251 * iconvdata/ibm1025.h: Likewise.
9252 * iconvdata/ibm1046.h: Likewise.
9253 * iconvdata/ibm1097.h: Likewise.
9254 * iconvdata/ibm1112.h: Likewise.
9255 * iconvdata/ibm1122.h: Likewise.
9256 * iconvdata/ibm1123.h: Likewise.
9257 * iconvdata/ibm1124.h: Likewise.
9258 * iconvdata/ibm1129.h: Likewise.
9259 * iconvdata/ibm1130.h: Likewise.
9260 * iconvdata/ibm1132.h: Likewise.
9261 * iconvdata/ibm1133.h: Likewise.
9262 * iconvdata/ibm1137.h: Likewise.
9263 * iconvdata/ibm1140.h: Likewise.
9264 * iconvdata/ibm1141.h: Likewise.
9265 * iconvdata/ibm1142.h: Likewise.
9266 * iconvdata/ibm1143.h: Likewise.
9267 * iconvdata/ibm1144.h: Likewise.
9268 * iconvdata/ibm1145.h: Likewise.
9269 * iconvdata/ibm1146.h: Likewise.
9270 * iconvdata/ibm1147.h: Likewise.
9271 * iconvdata/ibm1148.h: Likewise.
9272 * iconvdata/ibm1149.h: Likewise.
9273 * iconvdata/ibm1153.h: Likewise.
9274 * iconvdata/ibm1154.h: Likewise.
9275 * iconvdata/ibm1155.h: Likewise.
9276 * iconvdata/ibm1156.h: Likewise.
9277 * iconvdata/ibm1157.h: Likewise.
9278 * iconvdata/ibm1158.h: Likewise.
9279 * iconvdata/ibm1160.h: Likewise.
9280 * iconvdata/ibm1161.h: Likewise.
9281 * iconvdata/ibm1162.h: Likewise.
9282 * iconvdata/ibm1163.h: Likewise.
9283 * iconvdata/ibm1164.h: Likewise.
9284 * iconvdata/ibm1166.h: Likewise.
9285 * iconvdata/ibm1167.h: Likewise.
9286 * iconvdata/ibm12712.h: Likewise.
9287 * iconvdata/ibm1390.h: Likewise.
9288 * iconvdata/ibm1399.h: Likewise.
9289 * iconvdata/ibm16804.h: Likewise.
9290 * iconvdata/ibm4517.h: Likewise.
9291 * iconvdata/ibm4899.h: Likewise.
9292 * iconvdata/ibm4909.h: Likewise.
9293 * iconvdata/ibm4971.h: Likewise.
9294 * iconvdata/ibm5347.h: Likewise.
9295 * iconvdata/ibm803.h: Likewise.
9296 * iconvdata/ibm856.h: Likewise.
9297 * iconvdata/ibm901.h: Likewise.
9298 * iconvdata/ibm902.h: Likewise.
9299 * iconvdata/ibm9030.h: Likewise.
9300 * iconvdata/ibm9066.h: Likewise.
9301 * iconvdata/ibm921.h: Likewise.
9302 * iconvdata/ibm922.h: Likewise.
9303 * iconvdata/ibm9448.h: Likewise.
9304 * iconvdata/isiri-3342.h: Likewise.
9305 * iconvdata/jis0201.h: Likewise.
9306 * include/link.h: Likewise.
9307 * include/netdb.h: Likewise.
9308 * inet/check_native.c: Likewise.
9309 * inet/check_pf.c: Likewise.
9310 * inet/getipv4sourcefilter.c: Likewise.
9311 * inet/getnameinfo.c: Likewise.
9312 * inet/getsourcefilter.c: Likewise.
9313 * inet/htonl.c: Likewise.
9314 * inet/setipv4sourcefilter.c: Likewise.
9315 * inet/setsourcefilter.c: Likewise.
9316 * inet/test-inet6_opt.c: Likewise.
9317 * inet/tst-network.c: Likewise.
9318 * locale/C-collate.c: Likewise.
9319 * locale/C-ctype.c: Likewise.
9320 * locale/C-time.c: Likewise.
9321 * locale/C-translit.h: Likewise.
9322 * locale/loadarchive.c: Likewise.
9323 * locale/programs/3level.h: Likewise.
9324 * locale/programs/charmap.c: Likewise.
9325 * locale/programs/charmap.h: Likewise.
9326 * locale/programs/ld-address.c: Likewise.
9327 * locale/programs/ld-collate.c: Likewise.
9328 * locale/programs/ld-ctype.c: Likewise.
9329 * locale/programs/ld-identification.c: Likewise.
9330 * locale/programs/ld-measurement.c: Likewise.
9331 * locale/programs/ld-messages.c: Likewise.
9332 * locale/programs/ld-monetary.c: Likewise.
9333 * locale/programs/ld-name.c: Likewise.
9334 * locale/programs/ld-numeric.c: Likewise.
9335 * locale/programs/ld-paper.c: Likewise.
9336 * locale/programs/ld-telephone.c: Likewise.
9337 * locale/programs/ld-time.c: Likewise.
9338 * locale/programs/linereader.c: Likewise.
9339 * locale/programs/locale.c: Likewise.
9340 * locale/programs/locarchive.c: Likewise.
9341 * locale/programs/locfile.h: Likewise.
9342 * locale/programs/repertoire.c: Likewise.
9343 * locale/programs/simple-hash.c: Likewise.
9344 * locale/programs/simple-hash.h: Likewise.
9345 * malloc/memusage.c: Likewise.
9346 * malloc/memusagestat.c: Likewise.
9347 * nis/nis_defaults.c: Likewise.
9348 * nis/nis_hash.c: Likewise.
9349 * nis/nis_print.c: Likewise.
9350 * nis/nis_xdr.c: Likewise.
9351 * nscd/connections.c: Likewise.
9352 * nscd/hstcache.c: Likewise.
9353 * nscd/nscd_gethst_r.c: Likewise.
9354 * nscd/nscd_getserv_r.c: Likewise.
9355 * nscd/nscd_helper.c: Likewise.
9356 * nscd/servicescache.c: Likewise.
9357 * nss/makedb.c: Likewise.
9358 * nss/nss_db/db-XXX.c: Likewise.
9359 * nss/nss_db/db-initgroups.c: Likewise.
9360 * nss/nss_db/db-netgrp.c: Likewise.
9361 * nss/nss_files/files-network.c: Likewise.
9362 * nss/nss_files/files-parse.c: Likewise.
9363 * posix/bug-regex5.c: Likewise.
9364 * posix/fnmatch_loop.c: Likewise.
9365 * posix/regcomp.c: Likewise.
9366 * posix/regexec.c: Likewise.
9367 * posix/tst-rfc3484-2.c: Likewise.
9368 * posix/tst-rfc3484-3.c: Likewise.
9369 * posix/tst-rfc3484.c: Likewise.
9370 * resolv/nss_dns/dns-canon.c: Likewise.
9371 * resolv/nss_dns/dns-network.c: Likewise.
9372 * resolv/res_init.c: Likewise.
9373 * resolv/res_mkquery.c: Likewise.
9374 * resolv/tst-aton.c: Likewise.
9375 * stdlib/cxa_atexit.c: Likewise.
9376 * stdlib/cxa_finalize.c: Likewise.
9377 * stdlib/gen-fpioconst.c: Likewise.
9378 * stdlib/strtol_l.c: Likewise.
9379 * string/tst-endian.c: Likewise.
9380 * sunrpc/auth_des.c: Likewise.
9381 * sunrpc/clnt_udp.c: Likewise.
9382 * sunrpc/rtime.c: Likewise.
9383 * sunrpc/svcauth_des.c: Likewise.
9384 * sunrpc/xdr.c: Likewise.
9385 * sunrpc/xdr_intXX_t.c: Likewise.
9386 * sunrpc/xdr_rec.c: Likewise.
9387 * sysdeps/generic/ldconfig.h: Likewise.
9388 * sysdeps/generic/ldsodefs.h: Likewise.
9389 * sysdeps/generic/memusage.h: Likewise.
9390 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9400 * sysdeps/posix/getaddrinfo.c: Likewise.
9401 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9402 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9403 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9404 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9405 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9406 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9407 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9408 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9409 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9410 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9411 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9412 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9413 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9414 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9415 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9416 * sysdeps/x86_64/dl-tls.h: Likewise.
9417 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9418 * time/alt_digit.c: Likewise.
9419 * time/era.c: Likewise.
9420 * wcsmbs/tst-c16c32-1.c: Likewise.
9422 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9424 * math/libm-test.inc (struct test_sincos_data): New type.
9425 (RUN_TEST_LOOP_sincos): New macro.
9426 (sincos_test_data): New variable.
9427 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9429 2013-05-16 Richard Henderson <rth@redhat.com>
9431 * math/atest-exp2.c (LIMB64): New macro.
9432 (CONSTSZ): New macro.
9433 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9435 (print_mpn_fp): ... to function scope.
9436 (read_mpn_hex): Remove.
9438 (exp2_mpn): Use mp_log2.
9439 (main): Use mp_exp1.
9441 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9443 * math/libm-test.inc: Remove comment about not testing "inexact"
9445 (INEXACT_EXCEPTION): New macro.
9446 (NO_INEXACT_EXCEPTION): Likewise.
9447 (INVALID_EXCEPTION_OK): Update value.
9448 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9449 (OVERFLOW_EXCEPTION_OK): Likewise.
9450 (UNDERFLOW_EXCEPTION_OK): Likewise.
9451 (IGNORE_ZERO_INF_SIGN): Likewise.
9452 (ERRNO_UNCHANGED): Likewise.
9453 (ERRNO_EDOM): Likewise.
9454 (ERRNO_ERANGE): Likewise.
9455 (test_exceptions): Handle testing "inexact" exceptions.
9456 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9457 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9458 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9459 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9461 (rint_towardzero_test_data): Likewise.
9462 (rint_downward_test_data): Likewise.
9463 (rint_upward_test_data): Likewise.
9465 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9466 with OVERFLOW_EXCEPTION.
9467 (exp10_test_data): Likewise.
9468 (exp2_test_data): Likewise.
9469 (expm1_test_data): Likewise.
9470 (lgamma_test_data): Likewise.
9471 (pow_test_data): Likewise.
9472 (tgamma_test_data): Likewise.
9473 (yn_test_data): Remove duplicate test of overflow.
9475 * math/libm-test.inc (struct test_cc_c_data): New type.
9476 (RUN_TEST_LOOP_cc_c): New macro.
9477 (cpow_test_data): New variable.
9478 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9480 * math/libm-test.inc (struct test_f_L_data): New type.
9481 (RUN_TEST_LOOP_f_L): New macro.
9482 (llrint_test_data): New variable.
9483 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9484 (llrint_tonearest_test_data): New variable.
9485 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9486 (llrint_towardzero_test_data): New variable.
9487 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9488 (llrint_downward_test_data): New variable.
9489 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9490 (llrint_upward_test_data): New variable.
9491 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9492 (llround_test_data): New variable.
9493 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9495 2013-05-13 Peter Collingbourne <pcc@google.com>
9497 * math/atest-exp2.c (get_log2): Remove const attribute.
9499 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9501 * math/libm-test.inc (struct test_f_l_data): New type.
9502 (RUN_TEST_LOOP_f_l): New macro.
9503 (lrint_test_data): New variable.
9504 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9505 (lrint_tonearest_test_data): New variable.
9506 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9507 (lrint_towardzero_test_data): New variable.
9508 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9509 (lrint_downward_test_data): New variable.
9510 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9511 (lrint_upward_test_data): New variable.
9512 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9513 (lround_test_data): New variable.
9514 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9516 2013-05-15 Peter Collingbourne <pcc@google.com>
9518 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9519 (EXTRACT_WORDS64) Use where appropriate.
9520 (INSERT_WORDS64) Likewise.
9522 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9523 constraints with x constraints.
9524 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9526 * malloc/obstack.c (_obstack_compat): Add initializer.
9528 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9531 si_trapno and add si_addr_lsb to _sifields.sigfault.
9532 (si_trapno): Remove macro.
9533 (si_addr_lsb): Define new macro.
9534 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9536 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9538 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9539 instead of TEST_f_l.
9540 (llrint_test_tonearest): Likewise.
9541 (llrint_test_towardzero): Likewise.
9542 (llrint_test_downward): Likewise.
9543 (llrint_test_upward): Likewise.
9544 (llround_test): Likewise.
9546 * math/libm-test.inc (struct test_f_i_data): Add comment.
9547 (RUN_TEST_LOOP_f_b): New macro.
9548 (RUN_TEST_LOOP_f_b_tg): Likewise.
9549 (finite_test_data): New variable.
9550 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9551 (isfinite_test_data): New variable.
9552 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9553 (isinf_test_data): New variable.
9554 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9555 (isnan_test_data): New variable.
9556 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9557 (isnormal_test_data): New variable.
9558 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9559 (issignaling_test_data): New variable.
9560 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9561 (signbit_test_data): New variable.
9562 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9564 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9565 with INVALID_EXCEPTION.
9566 (acosh_test_data): Likewise.
9567 (asin_test_data): Likewise.
9568 (atanh_test_data): Likewise.
9569 (fmod_test_data): Likewise.
9570 (log_test_data): Likewise.
9571 (log10_test_data): Likewise.
9572 (log2_test_data): Likewise.
9573 (pow_test_data): Likewise.
9574 (sqrt_test_data): Likewise.
9575 (y0_test_data): Likewise.
9576 (y1_test_data): Likewise.
9577 (yn_test_data): Likewise.
9579 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9582 * math/libm-test.inc (struct test_ff_i_data): New type.
9583 (RUN_TEST_LOOP_ff_i_tg): New macro.
9584 (isgreater_test_data): New variable.
9585 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9586 (isgreaterequal_test_data): New variable.
9587 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9588 (isless_test_data): New variable.
9589 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9590 (islessequal_test_data): New variable.
9591 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9592 (islessgreater_test_data): New variable.
9593 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9594 (isunordered_test_data): New variable.
9595 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9597 2013-05-14 David S. Miller <davem@davemloft.net>
9599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9601 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9603 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9605 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9607 (struct test_f_i_data): Change type of max_ulp to int.
9609 * math/libm-test.inc (test_ffI_f1_data): New type.
9610 (RUN_TEST_LOOP_ffI_f1): New macro.
9611 (remquo_test_data): New variable.
9612 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9614 * setjmp/tst-setjmp-fp.c: New file.
9615 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9616 (link-libm): New variable.
9617 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9619 * math/libm-test.inc (struct test_f_i_data): New type.
9620 (RUN_TEST_LOOP_f_i): New macro.
9621 (RUN_TEST_LOOP_f_i_tg): Likewise.
9622 (fpclassify_test_data): New variable.
9623 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9624 (ilogb_test_data): New variable.
9625 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9627 * math/libm-test.inc (scalbln_test): Correct function name in END
9630 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9631 (RUN_TEST_LOOP_fI_f1): New macro.
9632 (frexp_test_data): New variable.
9633 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9635 * math/libm-test.inc (struct test_fF_f1_data): New type.
9636 (RUN_TEST_LOOP_fF_f1): New macro.
9637 (modf_test_data): New variable.
9638 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9640 * math/libm-test.inc (struct test_f_f1_data): New type.
9641 (RUN_TEST_LOOP_f_f1): New macro.
9642 (gamma_test_data): New variable.
9643 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9644 (lgamma_test_data): New variable.
9645 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9647 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9649 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9650 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9651 (main): Comment "tls" pseudo-hwcap.
9653 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9655 * math/libm-test.inc (struct test_fl_f_data): New type.
9656 (RUN_TEST_LOOP_fl_f): New variable.
9657 (scalbln_test_data): New variable.
9658 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9660 * math/libm-test.inc (struct test_fi_f_data): New type.
9661 (RUN_TEST_LOOP_fi_f): New macro.
9662 (ldexp_test_data): New variable.
9663 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9664 (scalbn_test_data): New variable.
9665 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9667 * math/libm-test.inc (struct test_c_f_data): New type.
9668 (RUN_TEST_LOOP_c_f): New macro.
9669 (cabs_test_data): New variable.
9670 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9671 (carg_test_data): New variable.
9672 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9673 (cimag_test_data): New variable.
9674 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9675 (creal_test_data): New variable.
9676 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9678 * math/libm-test.inc (struct test_if_f_data): New type.
9679 (RUN_TEST_LOOP_if_f): New macro.
9680 (jn_test_data): New variable.
9681 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9682 (yn_test_data): New variable.
9683 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9685 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9687 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9689 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9690 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9692 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9694 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9695 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9696 (bench-deps): Add bench-timing.h.
9697 * benchtests-bench-skeleton.c: Include bench-timing.h.
9698 (main): Use TIMING_* macros instead of clock_gettime.
9699 * benchtests/bench-timing.h: New file.
9702 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9703 Renamed from _LIB_VERSION.
9704 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9706 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9708 * math/libm-test.inc (struct test_fff_f_data): New type.
9709 (RUN_TEST_LOOP_fff_f): New macro.
9710 (fma_test_data): New variable.
9711 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9712 (fma_towardzero_test_data): New variable.
9713 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9714 (fma_downward_test_data): New variable.
9715 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9716 (fma_upward_test_data): New variable.
9717 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9719 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9720 (struct test_c_c_data): New type.
9721 (RUN_TEST_LOOP_c_c): New macro.
9722 (cacos_test_data): New variable.
9723 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9724 (cacosh_test_data): New variable.
9725 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9726 (casin_test_data): New variable.
9727 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9728 (casinh_test_data): New variable.
9729 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9730 (catan_test_data): New variable.
9731 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9732 (catanh_test_data): New variable.
9733 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9734 (ccos_test_data): New variable.
9735 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9736 (ccosh_test_data): New variable.
9737 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9738 (cexp_test_data): New variable.
9739 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9740 (clog_test_data): New variable.
9741 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9742 (clog10_test_data): New variable.
9743 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9744 (conj_test_data): New variable.
9745 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9746 (cproj_test_data): New variable.
9747 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9748 (csin_test_data): New variable.
9749 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9750 (csinh_test_data): New variable.
9751 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9752 (csqrt_test_data): New variable.
9753 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9754 (ctan_test_data): New variable.
9755 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9756 (ctan_tonearest_test_data): New variable.
9757 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9758 (ctan_towardzero_test_data): New variable.
9759 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9760 (ctan_downward_test_data): New variable.
9761 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9762 (ctan_upward_test_data): New variable.
9763 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9764 (ctanh_test_data): New variable.
9765 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9766 (ctanh_tonearest_test_data): New variable.
9767 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9768 (ctanh_towardzero_test_data): New variable.
9769 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9770 (ctanh_downward_test_data): New variable.
9771 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9772 (ctanh_upward_test_data): New variable.
9773 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9774 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9777 * math/libm-test.inc (struct test_ff_f_data): New type.
9778 (struct test_ff_f_data_nexttoward): Likewise.
9779 (RUN_TEST_LOOP_2_f): New macro.
9780 (RUN_TEST_LOOP_ff_f): Likewise.
9781 (atan2_test_data): New variable.
9782 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9783 (copysign_test_data): New variable.
9784 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9785 (fdim_test_data): New variable.
9786 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9787 (fmax_test_data): New variable.
9788 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9789 (fmin_test_data): New variable.
9790 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9791 (fmod_test_data): New variable.
9792 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9793 (hypot_test_data): New variable.
9794 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9795 (nextafter_test_data): New variable.
9796 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9797 (nexttoward_test_data): New variable.
9798 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9799 (pow_test_data): New variable.
9800 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9801 (pow_tonearest_test_data): New variable.
9802 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9803 (pow_towardzero_test_data): New variable.
9804 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9805 (pow_downward_test_data): New variable.
9806 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9807 (pow_upward_test_data): New variable.
9808 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9809 (remainder_test_data): New variable.
9810 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9811 (scalb_test_data): New variable.
9812 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9813 * sysdeps/i386/fpu/libm-test-ulps: Update.
9815 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9817 * math/libm-test.inc (fma_test): Use max_value instead of local
9819 (nextafter_test): Likewise.
9821 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9822 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9823 (acos_downward_test_data): New variable.
9824 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9825 (acos_upward_test_data): New variable.
9826 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9827 (acosh_test_data): New variable.
9828 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9829 (asin_test_data): New variable.
9830 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9831 (asin_tonearest_test_data): New variable.
9832 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9833 (asin_towardzero_test_data): New variable.
9834 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9835 (asin_downward_test_data): New variable.
9836 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9837 (asin_upward_test_data): New variable.
9838 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9839 (asinh_test_data): New variable.
9840 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9841 (atan_test_data): New variable.
9842 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9843 (atanh_test_data): New variable.
9844 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9845 (cbrt_test_data): New variable.
9846 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9847 (ceil_test_data): New variable.
9848 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9849 (cos_test_data): New variable.
9850 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9851 (cos_tonearest_test_data): New variable.
9852 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9853 (cos_towardzero_test_data): New variable.
9854 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9855 (cos_downward_test_data): New variable.
9856 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9857 (cos_upward_test_data): New variable.
9858 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9859 (cosh_test_data): New variable.
9860 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9861 (cosh_tonearest_test_data): New variable.
9862 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9863 (cosh_towardzero_test_data): New variable.
9864 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9865 (cosh_downward_test_data): New variable.
9866 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9867 (cosh_upward_test_data): New variable.
9868 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9869 (erf_test_data): New variable.
9870 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9871 (erfc_test_data): New variable.
9872 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9873 (exp_test_data): New variable.
9874 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9875 (exp_tonearest_test_data): New variable.
9876 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9877 (exp_towardzero_test_data): New variable.
9878 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9879 (exp_downward_test_data): New variable.
9880 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9881 (exp_upward_test_data): New variable.
9882 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9883 (exp10_test_data): New variable.
9884 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9885 (exp2_test_data): New variable.
9886 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9887 (expm1_test_data): New variable.
9888 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9889 (fabs_test_data): New variable.
9890 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9891 (floor_test_data): New variable.
9892 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9893 (j0_test_data): New variable.
9894 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9895 (j1_test_data): New variable.
9896 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9897 (log_test_data): New variable.
9898 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9899 (log10_test_data): New variable.
9900 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9901 (log1p_test_data): New variable.
9902 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9903 (log2_test_data): New variable.
9904 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9905 (logb_test_data): New variable.
9906 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9907 (logb_downward_test_data): New variable.
9908 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9909 (nearbyint_test_data): New variable.
9910 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9911 (rint_test_data): New variable.
9912 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9913 (rint_tonearest_test_data): New variable.
9914 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9915 (rint_towardzero_test_data): New variable.
9916 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9917 (rint_downward_test_data): New variable.
9918 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9919 (rint_upward_test_data): New variable.
9920 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9921 (round_test_data): New variable.
9922 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9923 (sin_test_data): New variable.
9924 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9925 (sin_tonearest_test_data): New variable.
9926 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9927 (sin_towardzero_test_data): New variable.
9928 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9929 (sin_downward_test_data): New variable.
9930 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9931 (sin_upward_test_data): New variable.
9932 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9933 (sinh_test_data): New variable.
9934 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9935 (sinh_tonearest_test_data): New variable.
9936 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9937 (sinh_towardzero_test_data): New variable.
9938 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9939 (sinh_downward_test_data): New variable.
9940 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9941 (sinh_upward_test_data): New variable.
9942 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9943 (sqrt_test_data): New variable.
9944 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9945 (tan_test_data): New variable.
9946 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9947 (tan_tonearest_test_data): New variable.
9948 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9949 (tan_towardzero_test_data): New variable.
9950 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9951 (tan_downward_test_data): New variable.
9952 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9953 (tan_upward_test_data): New variable.
9954 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9955 (tanh_test_data): New variable.
9956 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9957 (tgamma_test_data): New variable.
9958 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9959 (trunc_test_data): New variable.
9960 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9961 (y0_test_data): New variable.
9962 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9963 (y1_test_data): New variable.
9964 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9965 (significand_test_data): New variable.
9966 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9968 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9971 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9973 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9975 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9977 2013-05-10 Andreas Jaeger <aj@suse.de>
9980 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9981 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9983 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9985 * math/gen-libm-test.pl (adjust_arg): New function.
9986 (special_functions): Handle generating output in both functions
9988 (parse_args): Likewise.
9989 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9990 $in_func argument to parse_args.
9991 * math/libm-test.inc (struct test_f_f_data): New type.
9992 (IF_ROUND_INIT_): New macro.
9993 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9994 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9995 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9996 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9997 (ROUND_RESTORE_): Likewise.
9998 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9999 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10000 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10001 (ROUND_RESTORE_FE_UPWARD): Likewise.
10002 (RUN_TEST_LOOP_f_f): New macro.
10003 (acos_test_data): New variable.
10004 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10005 (acos_tonearest_test_data): New variable.
10006 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10008 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10010 * benchtests/bench-skeleton.c (startup): Fix coding style.
10012 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10015 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10016 negative infinity argument.
10017 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10018 negative infinity argument.
10019 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10020 negative infinity argument.
10021 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10024 2013-05-10 Florian Weimer <fweimer@redhat.com>
10026 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10027 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10028 * iconv/iconv_prog.c (main): Likewise.
10029 * locale/programs/charmap-dir.c (charmap_readdir)
10030 (fopen_uncompressed): Likewise.
10031 * locale/programs/locfile.c (siblings_uncached)
10032 (write_locale_data): Use lstat64 instead of lstat.
10033 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10036 2013-05-10 Andreas Jaeger <aj@suse.de>
10039 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10041 Include <locale.h>.
10043 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10045 * elf/dl-close.c (_dl_close_worker): Add comments.
10047 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10052 (__ieee754_rem_pio2l): Update comments.
10055 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10057 (__ieee754_rem_pio2l): Update comments.
10059 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10060 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10062 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10065 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10066 (M_PI_34_LOG10El): Likewise.
10067 (M_PI2_LOG10El): Likewise.
10068 (M_PI4_LOG10El): Likewise.
10069 (M_PI_LOG10El): Likewise.
10071 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10075 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10077 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10078 (MINUS_ZERO_INIT): Likewise.
10079 (PLUS_INFTY_INIT): Likewise.
10080 (MINUS_INFTY_INIT): Likewise.
10081 (QNAN_VALUE_INIT): Likewise.
10082 (MAX_VALUE_INIT): Likewise.
10083 (MIN_VALUE_INIT): Likewise.
10084 (MIN_SUBNORM_VALUE_INIT): Likewise.
10085 (plus_zero): Initialize with PLUS_ZERO_INIT.
10086 (minus_zero): Initialize with MINUS_ZERO_INIT.
10087 (plus_infty): Initialize with PLUS_INFTY_INIT.
10088 (minus_infty): Initialize with MINUS_INFTY_INIT.
10089 (qnan_value): Initialize with QNAN_VALUE_INIT.
10090 (max_value): Initialize with MAX_VALUE_INIT.
10091 (min_value): Initialize with MIN_VALUE_INIT.
10092 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10094 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10095 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10096 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10097 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10099 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10100 (RUN_TEST_2_f): Likewise.
10101 (RUN_TEST_ff_f): Likewise.
10102 (RUN_TEST_fi_f): Likewise.
10103 (RUN_TEST_fl_f): Likewise.
10104 (RUN_TEST_fff_f): Likewise.
10105 (RUN_TEST_c_f): Likewise.
10106 (RUN_TEST_f_f1): Likewise.
10107 (RUN_TEST_fF_f1): Likewise.
10108 (RUN_TEST_fI_f1): Likewise.
10109 (RUN_TEST_ffI_f1): Likewise.
10110 (RUN_TEST_c_c): Likewise.
10111 (RUN_TEST_cc_c): Likewise.
10112 (RUN_TEST_f_i): Likewise.
10113 (RUN_TEST_f_i_tg): Likewise.
10114 (RUN_TEST_ff_i_tg): Likewise.
10115 (RUN_TEST_f_b): Likewise.
10116 (RUN_TEST_f_b_tg): Likewise.
10117 (RUN_TEST_f_l): Likewise.
10118 (RUN_TEST_f_L): Likewise.
10119 (RUN_TEST_sincos): Likewise.
10120 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10121 whether to show exceptions. Do not include ");\n" in return
10123 (special_functions): Output call to RUN_TEST_sincos instead of
10124 check_float calls. Update calls to new_test.
10125 (parse_args): Output call to single RUN_TEST_* macro instead of
10126 check_* calls and other assignments. Update calls to new_test.
10132 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10133 input to result for tgamma overflow.
10134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10135 (gamma_coeff): New variable.
10136 (NCOEFF): New macro.
10137 (gamma_positive): New function.
10138 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10139 underflow here. Use gamma_positive instead of exp (lgamma) for
10141 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10142 (gamma_coeff): New variable.
10143 (NCOEFF): New macro.
10144 (gammaf_positive): New function.
10145 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10146 underflow here. Use gamma_positive instead of exp (lgamma) for
10148 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10149 (gamma_coeff): New variable.
10150 (NCOEFF): New macro.
10151 (gammal_positive): New function.
10152 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10153 underflow here. Use gamma_positive instead of exp (lgamma) for
10155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10156 (gamma_coeff): New variable.
10157 (NCOEFF): New macro.
10158 (gammal_positive): New function.
10159 (__ieee754_gammal_r): Handle positive infinity, overflow and
10160 underflow here. Handle NaN the same as positive infinity. Remove
10161 check x < 0xffffffff for negative integers. Use gamma_positive
10162 instead of exp (lgamma) for other arguments.
10163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10164 (gamma_coeff): New variable.
10165 (NCOEFF): New macro.
10166 (gammal_positive): New function.
10167 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10168 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10169 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10171 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10172 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10173 * sysdeps/generic/math_private.h (__gamma_productf): New
10175 (__gamma_product): Likewise.
10176 (__gamma_productl): Likewise.
10177 * math/Makefile (libm-calls): Add gamma_product.
10178 * math/libm-test.inc (tgamma_test): Add more tests.
10179 * sysdeps/i386/fpu/libm-test-ulps: Update.
10180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10182 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10184 * benchtests/bench-skeleton.c (main): Preheat CPU.
10186 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10188 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10190 2013-05-07 Roland McGrath <roland@hack.frob.com>
10192 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10193 and _dl_skip_args_internal.
10195 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10197 * manual/message.texi (Message Translation): Talk about users.
10198 Message to key mapping impacts design.
10200 2013-05-06 Roland McGrath <roland@hack.frob.com>
10202 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10204 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10206 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10207 * sysdeps/wordsize-64/glob64.c: ... here.
10209 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10210 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10213 * debug/getlogin_r_chk.c: Moved to ...
10214 * login/getlogin_r_chk.c: ... here.
10215 * debug/Makefile (routines): Move getlogin_r_chk to ...
10216 * login/Makefile (routines): ... here.
10217 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10218 * login/Versions (libc: GLIBC_2.4): ... here.
10220 * io/poll.c (__poll): Renamed from poll.
10221 Add libc_hidden_def.
10222 (poll): Define as weak alias.
10224 * debug/ptsname_r_chk.c: Moved to ...
10225 * login/ptsname_r_chk.c: ... here.
10226 * debug/Makefile (routines): Move ptsname_r_chk to ...
10227 * login/Makefile (routines): ... here.
10228 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10229 * login/Versions (libc: GLIBC_2.4): ... here.
10231 * posix/getlogin.c: Moved to ...
10232 * login/getlogin.c: ... here.
10233 * posix/getlogin_r.c: Moved to ...
10234 * login/getlogin_r.c: ... here.
10235 * posix/getlogin_r.c: Moved to ...
10236 * login/getlogin_r.c: ... here.
10237 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10238 * login/Makefile (routines): ... here.
10239 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10240 * login/Versions (libc: GLIBC_2.0): ... here.
10242 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10243 (setrlimit): Define as weak alias.
10245 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10246 Call __ names for open, ftruncate, and close.
10247 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10248 (truncate): Define as weak alias.
10250 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10252 * math/gen-libm-test.pl (parse_args): Initialize x before each
10253 test of frexp, modf and remquo.
10255 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10256 test signgam value.
10258 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10262 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10266 2013-05-06 Roland McGrath <roland@hack.frob.com>
10268 * elf/dl-writev.h: New file.
10269 * elf/dl-misc.c: Include it.
10270 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10271 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10273 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10275 * math/libm-test.inc (noXFails): Remove variable.
10276 (noXPasses): Likewise.
10277 (BUILD_COMPLEX_INT): Remove macro.
10278 (print_screen): Remove xfail argument.
10279 (print_screen_max_error): Likewise.
10280 (update_stats): Likewise.
10281 (print_max_error): Likewise. Update calls to other affected
10283 (print_complex_max_error): Likewise.
10284 (test_single_exception): Update calls to print_screen.
10285 (test_single_errno): Likewise.
10286 (check_float_internal): Remove xfail argument. Update calls to
10287 other affected functions.
10288 (check_float): Likewise.
10289 (check_complex): Likewise.
10290 (check_int): Likewise.
10291 (check_long): Likewise.
10292 (check_bool): Likewise.
10293 (check_longlong): Likewise.
10294 (main): Don't print noXFails and noXPasses.
10295 * math/gen-libm-test.pl (top level): Don't mention expected
10296 failure handling in comment.
10297 (new_test): Don't handle expected failures.
10298 (parse_args): Don't mention expected failure handling in comment.
10299 (generate_testfile): Don't handle expected failures.
10300 (parse_ulps): Likewise.
10301 (print_ulps_file): Likewise.
10302 (get_failure): Remove function.
10303 (output_test): Don't handle expected failures.
10304 * make/README.libm-test: Don't mention expected failure handling.
10306 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10307 (minus_zero): Likewise.
10308 (plus_infty): Likewise.
10309 (minus_infty): Likewise.
10310 (qnan_value): Likewise.
10311 (max_value): Likewise.
10312 (min_value): Likewise.
10313 (min_subnorm_value): Likewise.
10314 (initialize): Do not initialize those variables dynamically.
10316 2013-05-03 Roland McGrath <roland@hack.frob.com>
10318 * io/open.c (__open_2): Moved to ...
10319 * io/open_2.c: ... this new file.
10320 * io/open64.c (__open64_2): Moved to ...
10321 * io/open64_2.c: ... this new file.
10322 * io/openat.c (__openat_2): Moved to ...
10323 * io/openat_2.c: ... this new file.
10324 * io/openat64.c (__openat64_2): Moved to ...
10325 * io/openat64_2.c: ... this new file.
10326 * io/Makefile (routines): Add them.
10327 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10328 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10329 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10330 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10331 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10332 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10333 (__openat64): Add hidden_ver.
10334 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10335 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10337 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10338 Separately conditionalize setting of GLRO(dl_sysinfo) so
10339 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10340 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10342 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10344 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10347 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10348 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10349 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10350 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10351 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10353 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10355 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10356 test signgam value.
10358 * math/libm-test.inc (hypot_test): Do not use
10359 IGNORE_ZERO_INF_SIGN.
10361 2013-05-03 Andreas Jaeger <aj@suse.de>
10363 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10365 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10366 (PF_MAX): Adjust for VSOCK change.
10368 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10372 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10375 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10376 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10377 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10379 2013-05-02 David S. Miller <davem@davemloft.net>
10381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10383 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10385 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10387 2013-05-01 Roland McGrath <roland@hack.frob.com>
10389 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10391 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10394 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10395 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10396 Use __attribute__ ((__gnu_inline__)).
10397 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10398 Don't use __attribute__ ((__gnu_inline__)).
10400 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10403 * math/s_catan.c (__catan): Handle small real or imaginary part of
10404 input specially to avoid spurious underflow.
10405 * math/s_catanf.c (__catanf): Likewise.
10406 * math/s_catanh.c (__catanh): Likewise.
10407 * math/s_catanhf.c (__catanhf): Likewise.
10408 * math/s_catanhl.c (__catanhl): Likewise.
10409 * math/s_catanl.c (__catanl): Likewise.
10410 * math/libm-test.inc (catan_test): Add more tests.
10411 (catanh_test): Likewise.
10412 * sysdeps/i386/fpu/libm-test-ulps: Update.
10413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10415 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10419 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10422 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10423 accurately for denominator in atan2.
10424 * math/s_catanf.c (__catanf): Likewise.
10425 * math/s_catanh.c (__catanh): Likewise.
10426 * math/s_catanhf.c (__catanhf): Likewise.
10427 * math/s_catanhl.c (__catanhl): Likewise.
10428 * math/s_catanl.c (__catanl): Likewise.
10429 * math/libm-test.inc (catan_test): Add more tests.
10430 (catanh_test): Likewise.
10431 * sysdeps/i386/fpu/libm-test-ulps: Update.
10432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10434 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10436 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10438 * benchtests/Makefile (bench): Remove slow benchmarks.
10439 * benchtests/atan-inputs: Add slow benchmark inputs.
10440 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10441 (BENCH_FUNC): Accept variant offset.
10443 * benchtests/bench-skeleton.c (main): Run benchmark for each
10445 * benchtests/cos-inputs: Add slow benchmark inputs.
10446 * benchtests/exp-inputs: Likewise.
10447 * benchtests/pow-inputs: Likewise.
10448 * benchtests/sin-inputs: Likewise.
10449 * benchtests/slowatan-inputs: Remove.
10450 * benchtests/slowatan.c: Remove.
10451 * benchtests/slowcos-inputs: Remove.
10452 * benchtests/slowcos.c: Remove.
10453 * benchtests/slowexp-inputs: Remove.
10454 * benchtests/slowexp.c: Remove.
10455 * benchtests/slowpow-inputs: Remove.
10456 * benchtests/slowpow.c: Remove.
10457 * benchtests/slowsin-inputs: Remove.
10458 * benchtests/slowsin.c: Remove.
10459 * benchtests/slowtan-inputs: Remove.
10460 * benchtests/slowtan.c: Remove.
10461 * benchtests/tan-inputs: Add slow benchmark inputs.
10462 * scripts/bench.pl: Parse comments and directives.
10464 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10466 ($(objpfx)bench-%.c): Remove *-ITER.
10467 * benchtests/bench-modf.c: Remove definition of ITER.
10468 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10469 (main): Loop for DURATION seconds instead of fixed number of
10471 * scripts/bench.pl: Don't expect iterations in parameters.
10473 2013-04-29 Roland McGrath <roland@hack.frob.com>
10475 * io/fchdir.c (__fchdir): Renamed from fchdir.
10476 (fchdir): Define as weak alias.
10478 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10480 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10481 (ERRNO_EDOM): Likewise.
10482 (ERRNO_ERANGE): Likewise.
10483 (noErrnoTests): New variable.
10484 (init_max_error): Set errno to 0.
10485 (test_single_errno): New function.
10486 (test_errno): Likewise.
10487 (check_float_internal): Call test_errno. Set errno to 0.
10488 (check_complex): Refer to errno tests in comment.
10489 (check_int): Call test_errno. Set errno to 0.
10490 (check_long): Likewise.
10491 (check_bool): Likewise.
10492 (check_longlong): Likewise.
10493 (cos_test): Use ERRNO_* flags for errno tests instead of
10495 (expm1_test): Likewise.
10496 (fmod_test): Likewise.
10497 (ilogb_test): Likewise.
10498 (lgamma_test): Likewise.
10499 (pow_test): Likewise.
10500 (remainder_test): Likewise.
10501 (sin_test): Likewise.
10502 (tan_test): Likewise.
10503 (yn_test): Likewise.
10504 (initialize): Set errno to 0.
10505 (main): Print number of errno tests.
10506 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10508 2013-04-29 Andreas Jaeger <aj@suse.de>
10511 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10515 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10516 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10520 * stdlib/random.c (__initstate): Return NULL if
10524 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10525 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10528 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10532 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10534 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10535 of individual tests.
10536 (casin_test): Likewise.
10537 (casinh_test): Likewise.
10539 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10542 * math/s_catan.c (__catan): Handle arguments with large real or
10543 imaginary part separately without squaring.
10544 * math/s_catanf.c (__catanf): Likewise.
10545 * math/s_catanh.c (__catanh): Likewise.
10546 * math/s_catanhf.c (__catanhf): Likewise.
10547 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10549 (__catanhl): Handle arguments with large real or imaginary part
10550 separately without squaring.
10551 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10553 (__catanl): Handle arguments with large real or imaginary part
10554 separately without squaring.
10555 * math/libm-test.inc (catan_test): Add more tests.
10556 (catanh_test): Likewise.
10557 * sysdeps/i386/fpu/libm-test-ulps: Update.
10558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10560 2013-04-27 Andreas Jaeger <aj@suse.de>
10563 * stdlib/stdlib.h: Update guards for qecvt.
10564 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10567 2013-04-27 Allan McRae <allan@archlinux.org>
10569 * sysdeps/i386/fpu/libm-test-ulps: Update.
10571 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10574 * math/s_catan.c: Include <float.h>.
10575 (__catan): Ensure underflow exception occurs for underflowed
10577 * math/s_catanf.c: Include <float.h>.
10578 (__catanf): Ensure underflow exception occurs for underflowed
10580 * math/s_catanh.c: Include <float.h>.
10581 (__catanh): Ensure underflow exception occurs for underflowed
10583 * math/s_catanhf.c: Include <float.h>.
10584 (__catanhf): Ensure underflow exception occurs for underflowed
10586 * math/s_catanhl.c: Include <float.h>.
10587 (__catanhl): Ensure underflow exception occurs for underflowed
10589 * math/s_catanl.c: Include <float.h>.
10590 (__catanl): Ensure underflow exception occurs for underflowed
10592 * math/libm-test.inc (catan_test): Add more tests.
10593 (catanh_test): Likewise.
10596 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10597 underflowed result.
10598 * math/s_ccoshf.c (__ccoshf): Likewise.
10599 * math/s_ccoshl.c (__ccoshl): Likewise.
10600 * math/s_csin.c (__csin): Likewise.
10601 * math/s_csinf.c (__csinf): Likewise.
10602 * math/s_csinh.c (__csinh): Likewise.
10603 * math/s_csinhf.c (__csinhf): Likewise.
10604 * math/s_csinhl.c (__csinhl): Likewise.
10605 * math/s_csinl.c (__csinl): Likewise.
10606 * math/libm-test.inc (ccos_test): Add more tests.
10607 (ccosh_test): Likewise.
10608 (csin_test): Likewise.
10609 (csinh_test): Likewise.
10611 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10613 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10614 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10615 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10616 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10617 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10618 powerpc/power5+/fpu folders.
10619 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10622 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10626 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10628 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10629 additions to variable.
10630 [$(config-machine) = x86_64] (modules-names): Likewise.
10631 ($(objpfx)tst-audit3): Remove dependency.
10632 ($(objpfx)tst-audit3.out): Likewise.
10633 ($(objpfx)tst-audit4): Likewise.
10634 ($(objpfx)tst-audit4.out): Likewise.
10635 ($(objpfx)tst-audit5): Likewise.
10636 ($(objpfx)tst-audit5.out): Likewise.
10637 ($(objpfx)tst-audit6): Likewise.
10638 ($(objpfx)tst-audit6.out): Likewise.
10639 ($(objpfx)tst-audit7): Likewise.
10640 ($(objpfx)tst-audit7.out): Likewise.
10641 (tst-audit3-ENV): Remove variable.
10642 (tst-audit4-ENV): Likewise.
10643 (tst-audit5-ENV): Likewise.
10644 (tst-audit6-ENV): Likewise.
10645 (tst-audit7-ENV): Likewise.
10646 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10647 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10648 addition to variable.
10649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10652 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10653 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10654 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10655 tst-audit3, tst-audit4 and tst-audit5.
10656 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10657 tst-audit6 and tst-audit7.
10658 [$(subdir) = elf] (modules-names): Add audit modules for those
10660 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10661 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10662 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10663 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10664 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10665 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10666 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10667 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10668 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10669 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10670 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10671 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10672 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10673 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10674 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10675 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10677 [$(subdir) = elf && $(config-cflags-avx) = yes]
10678 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10679 [$(subdir) = elf && $(config-cflags-avx) = yes]
10680 (CFLAGS-tst-auditmod4a.c): Likewise.
10681 [$(subdir) = elf && $(config-cflags-avx) = yes]
10682 (CFLAGS-tst-auditmod4b.c): Likewise.
10683 [$(subdir) = elf && $(config-cflags-avx) = yes]
10684 (CFLAGS-tst-auditmod6b.c): Likewise.
10685 [$(subdir) = elf && $(config-cflags-avx) = yes]
10686 (CFLAGS-tst-auditmod6c.c): Likewise.
10687 [$(subdir) = elf && $(config-cflags-avx) = yes]
10688 (CFLAGS-tst-auditmod7b.c): Likewise.
10689 * elf/tst-audit3.c: Move to ...
10690 * sysdeps/x86_64/tst-audit3.c: ... here.
10691 * elf/tst-audit4.c: Move to ...
10692 * sysdeps/x86_64/tst-audit4.c: ... here.
10693 * elf/tst-audit5.c: Move to ...
10694 * sysdeps/x86_64/tst-audit5.c: ... here.
10695 * elf/tst-audit6.c: Move to ...
10696 * sysdeps/x86_64/tst-audit6.c: ... here.
10697 * elf/tst-audit7.c: Move to ...
10698 * sysdeps/x86_64/tst-audit7.c: ... here.
10699 * elf/tst-auditmod3a.c: Move to ...
10700 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10701 * elf/tst-auditmod3b.c: Move to ...
10702 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10703 * elf/tst-auditmod4a.c: Move to ...
10704 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10705 * elf/tst-auditmod4b.c: Move to ...
10706 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10707 * elf/tst-auditmod5a.c: Move to ...
10708 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10709 * elf/tst-auditmod5b.c: Move to ...
10710 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10711 * elf/tst-auditmod6a.c: Move to ...
10712 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10713 * elf/tst-auditmod6b.c: Move to ...
10714 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10715 * elf/tst-auditmod6c.c: Move to ...
10716 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10717 * elf/tst-auditmod7a.c: Move to ...
10718 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10719 * elf/tst-auditmod7b.c: Move to ...
10720 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10722 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10725 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10726 define unconditionally.
10727 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10728 define unconditionally.
10729 (INT8_C, INT16_C, etc.): Likewise.
10731 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10733 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10734 __ehdr_start with hidden visibility.
10736 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10738 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10740 * math/libm-test.inc (cos_test): Use accurate hex constants.
10741 (sincost_test): Likewise.
10743 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10745 * math/libm-test.inc (catan_test): Add more tests.
10746 (catanh_test): Likewise.
10748 * math/s_catanf.c (__catanf): Use suffixed floating-point
10750 * math/s_catanhf.c (__catanhf): Likewise.
10751 * math/s_catanhl.c (__catanhl): Likewise.
10752 * math/s_catanl.c (__catanl): Likewise.
10755 * math/s_catan.c (__catan): Calculate imaginary part of result
10756 with log1p not log unless computing log of number close to 0.
10757 * math/s_catanf.c (__catanf): Likewise.
10758 * math/s_catanl.c (__catanl): Likewise.
10759 * math/s_catanh.c (__catanh): Calculate real part of result with
10760 log1p not log unless computing log of number close to 0.
10761 * math/s_catanhf.c (__catanhf): Likewise.
10762 * math/s_catanhl.c (__catanhl): Likewise.
10763 * math/libm-test.inc (catan_test): Add more tests.
10764 (catanh_test): Likewise.
10765 * sysdeps/i386/fpu/libm-test-ulps: Update.
10766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10768 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10770 * benchtests/Makefile: Mention files in which fast and slow
10771 paths of math functions are implemented.
10773 2013-04-23 Roland McGrath <roland@hack.frob.com>
10775 * sysdeps/posix/timespec_get.c: New file.
10777 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10779 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10781 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10783 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10784 powerpc/power5/fpu folders.
10785 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10786 * benchtests/Makefile: Add modf testcase.
10787 * benchtests/bench-modf.c: New file: Benchmark test for mo
10789 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10792 * time/Makefile (tests): Add tst-strptime-whitespace.
10793 * time/strptime_l.c (get_number): Use ISSPACE.
10794 (__strptime_internal): Likewise.
10795 * time/tst-strptime-whitespace.c: New test case.
10797 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10799 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10801 (_nss_files_init): Set it here.
10803 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10805 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10806 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10809 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10811 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10813 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10818 2013-04-21 David S. Miller <davem@davemloft.net>
10820 * po/ru.po: Update Russion translation from translation project.
10822 2013-04-17 Adam Conrad <adconrad@0c3.net>
10824 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10827 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10829 * configure.in: Remove i386 configure warning. Remove i386 case.
10830 * configure: Regenerate.
10831 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10832 Add example to error message.
10833 * sysdeps/i386/configure: Regenerate.
10835 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10837 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10839 * benchtests/cos-inputs: New file.
10840 * benchtests/slowcos-inputs: New file.
10841 * benchtests/slowcos.c: New file.
10842 * benchtests/slowtan-inputs: New file.
10843 * benchtests/slowtan.c: New file.
10844 * benchtests/tan-inputs: New file.
10846 2013-04-16 Roland McGrath <roland@hack.frob.com>
10848 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10851 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10853 * benchtests/Makefile: Include cppflags-iterator.mk to add
10854 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10856 * Makefile.in (bench-clean): New target.
10857 * benchtests/Makefile (bench-clean): Likewise.
10859 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10861 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10863 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10865 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10867 2013-04-15 Andreas Schwab <schwab@suse.de>
10869 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10871 * nscd/pwdcache.c (cache_addpw): Likewise.
10872 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10875 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10877 * benchtests/Makefile (bench): Write all output to
10878 bench-out.tmp together.
10880 2013-04-15 Andreas Schwab <schwab@suse.de>
10882 * nscd/nscd.c (main): Don't fork again after closing files.
10884 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10886 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10888 * benchtests/Rules (bench-deps): Collect dependencies into a
10889 single variable. Add Makefile to dependencies.
10890 ($(objpfx)bench-%.c): Depend on bench-deps.
10892 2013-04-12 Roland McGrath <roland@hack.frob.com>
10893 Xavier Roche <roche+kml2@exalead.com>
10896 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10897 just that it's a file descriptor.
10898 * manual/llio.texi (Synchronizing AIO Operations): Update description
10899 for EBADF error from aio_fsync.
10901 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10903 * Rules (bench): Move target definition...
10904 * benchtests/Makefile: ... here.
10906 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10908 * math/libm-test.inc (cos_test): Fix PI/2 test.
10909 (sincos_test): Likewise.
10910 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10911 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10913 2013-04-11 Andreas Schwab <schwab@suse.de>
10916 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10917 accept exponent character only when digits were seen.
10918 * stdio-common/Makefile (tests): Add bug26.
10919 * stdio-common/bug26.c: New file.
10922 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10925 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10927 * Makeconfig (rtld-prefix): Define built linker prefix.
10928 * Rules (run-bench): Use it.
10929 * math/Makefile (run-regen-ulps): Likewise.
10931 * Rules (bench): Remove eval.
10933 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10934 Roland McGrath <roland@hack.frob.com>
10935 Ondrej Bilka <neleai@seznam.cz>
10938 * time/getdate.c: Include ctype.h and alloca.h.
10939 (__getdate_r): Trim leading and trailing spaces of input.
10940 * time/tst-getdate.c (tests): Add tests with leading and
10943 2013-04-08 Roland McGrath <roland@hack.frob.com>
10946 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10947 when computing value.
10949 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10951 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10952 Use testrun.sh to run libm tests.
10955 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10957 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10960 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10962 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10964 * Makefile.in (regen-ulps): New target.
10965 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10966 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10967 [ifneq (no,$(PERL)] (regen-ulps): New target.
10968 [ifeq (no,$(PERL)] (regen-ulps): New target.
10969 * math/libm-test.inc (ulps_file_name): Define.
10970 (output_dir): New variable.
10971 (options): Add "output-dir" option.
10972 (parse_opt): Handle 'o' case.
10973 (main): If output_dir is non-NULL use it as a prefix
10975 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10977 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10979 [BZ #10060, #10062]
10980 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10981 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10982 fail configure if __sync_val_compare_and_swap is not inlined.
10983 * sysdeps/i386/configure: Regenerate.
10984 * configure.in: Build for i686 when configured for i386.
10985 * configure: Regenerate.
10986 * README: Remove i386 reference.
10988 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10990 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10991 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10993 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10995 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10996 (lmsnanval): New variables.
10997 (F): Add conversion tests.
10998 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10999 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11001 * stdio-common/tstdiomisc.c (F): Properly collect individual
11004 [BZ #14686, #15336]
11005 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11006 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11007 Instead, use input NaN values or generate a qNaN by arithmetic
11008 operation. Also fix bugs to comply with the standard.
11009 * math/libm-test.inc (remainder_test): Add more tests.
11011 [BZ #15335, #15342]
11012 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11014 input NaN values or generate a qNaN by arithmetic operation.
11016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11019 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11022 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11025 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11026 underflowed result.
11027 * math/s_cexpf.c (__cexpf): Likewise.
11028 * math/s_cexpl.c (__cexpl): Likewise.
11029 * math/libm-test.inc (cexp_test): Add more tests.
11031 2013-04-03 Andreas Schwab <schwab@suse.de>
11034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11035 order arrays from heap if bigger than alloca cutoff.
11037 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11039 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11040 (SNAN_TESTS_double): Refer to GCC PR56831.
11041 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11044 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11046 * Rules (bench): Move bench.out after the run is complete.
11048 * Rules (bench): Echo currently running benchmark.
11050 * benchtests/Makefile (bench): Add atan and slowatan.
11051 * benchtests/atan-inputs: New file.
11052 * benchtests/slowatan-inputs: New file.
11053 * benchtests/slowatan.c: New file.
11055 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11060 * sysdeps/unix/sysv/linux/kernel-features.h
11061 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11062 __ASSUME_XFS_RESTRICTED_CHOWN.
11063 * sysdeps/unix/sysv/linux/pathconf.c
11064 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11065 Save and restore errno.
11067 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11070 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11071 arguments using __kernel_casinh.
11072 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11073 arguments using __kernel_casinhf.
11074 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11075 arguments using __kernel_casinhl.
11076 * math/libm-test.inc (cacosh_test): Add more tests.
11077 * sysdeps/i386/fpu/libm-test-ulps: Update.
11078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11080 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11082 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11085 * bench/Makefile (bench): Add sin and slowsin.
11086 * benchtests/sin-inputs: New file.
11087 * benchtests/slowsin-inputs: New file.
11088 * benchtests/slowsin.c: New file.
11090 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11091 (bench): Add slowexp and slowpow.
11092 (exp-ITER): Increase iterations.
11093 (pow-ITER): Likewise.
11094 * benchtests/exp-inputs: Change input.
11095 * benchtests/pow-inputs: Likewise.
11096 * benchtests/slowexp-inputs: New file.
11097 * benchtests/slowexp.c: New file.
11098 * benchtests/slowpow-inputs: New file.
11099 * benchtests/slowpow.c: New file.
11101 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11103 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11105 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11106 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11107 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11108 * benchtests/Makefile: Add rint benchtest.
11109 * benchtests/rint-inputs: Input for rint benchtest.
11111 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11113 * Versions.def (libm): Add GLIBC_2.18.
11114 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11115 hidden libm prototypes.
11116 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11117 * math/Makefile (libm-calls): Add s_issignaling.
11118 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11119 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11120 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11122 * math/math.h [__USE_GNU] (issignaling): New macro.
11123 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11124 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11126 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11129 * manual/arith.texi (issignaling): New section.
11130 * manual/libm-err-tab.pl (@all_functions): Update comment.
11131 * math/gen-libm-test.pl (parse_args): Apply special handling for
11133 * math/libm-test.inc (print_float, issignaling_test): New
11135 (check_float_internal): Add issignaling checks.
11136 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11137 default definition.
11138 * sysdeps/powerpc/math-tests.h: New file.
11139 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11141 * math/test-snan.c (TEST_FUNC): Likewise.
11143 2013-03-30 David S. Miller <davem@davemloft.net>
11145 * po/de.po: Update from translation team.
11147 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11150 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11151 imaginary part less than 1.0 and real part less than 0.5
11153 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11154 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11155 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11156 (cacos_test): Add more tests.
11157 (casin_test): Likewise.
11158 (casinh_test): Likewise.
11159 * sysdeps/i386/fpu/libm-test-ulps: Update.
11160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11162 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11164 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11165 ONE with its value.
11167 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11168 (__pow_mp): Replace ONE and MONE with their values.
11169 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11171 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11172 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11173 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11174 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11176 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11178 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11179 (__pow_mp): Replace ZERO and MZERO with their values.
11180 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11182 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11184 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11185 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11188 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11190 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11192 2013-03-28 Roland McGrath <roland@hack.frob.com>
11194 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11195 Declare with __attribute__ ((weak)).
11196 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11197 Call __call_tls_dtors only if it's not NULL.
11199 2013-03-28 Roland McGrath <roland@hack.frob.com>
11201 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11202 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11203 magic __ehdr_start linker symbol if it's defined.
11204 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11205 them up here if it was already done.
11207 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11208 (_dl_aux_init): Use const in cast when setting it.
11209 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11210 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11211 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11213 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11215 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11216 * csu/libc-tls.c: Nor here.
11217 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11219 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11220 (__libc_message): Never call vsyslog.
11222 2013-03-28 Alan Modra <amodra@gmail.com>
11224 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11226 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11229 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11236 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11239 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11240 Don't add gid passed as argument.
11242 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11244 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11247 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11248 imaginary part between 1.0 and 1.5 and real part less than 0.5
11250 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11251 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11252 * math/libm-test.inc (cacos_test): Add more tests.
11253 (casin_test): Likewise.
11254 (casinh_test): Likewise.
11255 * sysdeps/i386/fpu/libm-test-ulps: Update.
11256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11258 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11260 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11263 (denorm): Likewise.
11264 (__dbl_mp): Likewise.
11265 (add_magnitudes): Likewise.
11266 (sub_magnitudes): Likewise.
11274 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11276 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11277 (__dubcos): Likewise.
11278 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11279 (__ieee754_acos): Likewise.
11280 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11281 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11282 (__exp1): Likewise.
11283 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11286 (my_log2): Likewise.
11287 (checkint): Likewise.
11288 * sysdeps/ieee754/dbl-64/e_remainder.c
11289 (__ieee754_remainder): Likewise.
11290 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11292 (bsloww): Likewise.
11293 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11295 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11297 MANTISSA_STORE_T to store computations on mantissa. Use
11298 macros for rounding and division.
11299 (denorm): Likewise.
11300 (__dbl_mp): Likewise.
11301 (add_magnitudes): Likewise.
11302 (sub_magnitudes): Likewise.
11305 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11306 powers of two in terms of TWOPOW macro.
11307 (mp_no): Make type of mantissa as MANTISSA_T.
11308 [!RADIXI]: Define RADIXI.
11309 [!TWO52]: Define TWO52.
11310 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11312 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11314 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11315 llroundl symbol when building for PPC32.
11317 2013-03-24 Mark H Weaver <mhw@netris.org>
11319 * manual/arith.texi (Normalization Functions): Fix prototypes for
11320 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11322 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11326 high value to check if expl overflow.
11327 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11328 to check for underflow and overflow.
11329 * math/libm-test.inc: Add exp test.
11331 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11334 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11337 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11339 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11342 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11344 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11345 wrap blocks consisting of several statements.
11347 * sysdeps/generic/math-tests.h: New file.
11348 * sysdeps/i386/fpu/math-tests.h: Likewise.
11349 * math/test-snan.c: Include it.
11350 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11352 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11355 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11356 (__ieee754_j0l): Do not improve calculations using cos of twice
11357 input for inputs above LDBL_MAX / 2.0L.
11358 (__ieee754_y0l): Likewise.
11359 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11360 (__ieee754_j1l): Do not improve calculations using cos of twice
11361 input for inputs above LDBL_MAX / 2.0L.
11362 (__ieee754_y1l): Likewise.
11363 * math/libm-test.inc (j0_test): Add another test.
11364 (j1_test): Likewise.
11365 (y0_test): Likewise.
11366 (y1_test): Likewise.
11367 * sysdeps/i386/fpu/libm-test-ulps: Update.
11369 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11371 * Rules ($(objpfx)bench-%.c): Include code from a C source
11374 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11377 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11378 imaginary part 1.0 and real part less than 0.5 specially.
11379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11381 * math/libm-test.inc (cacos_test): Add more tests.
11382 (casin_test): Likewise.
11383 (casinh_test): Likewise.
11384 * sysdeps/i386/fpu/libm-test-ulps: Update.
11385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11387 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11390 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11392 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11394 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11395 * config.make.in (config-cflags-sse4): Remove variable.
11396 (config-cflags-avx): Likewise.
11397 (config-cflags-sse2avx): Likewise.
11398 (config-cflags-novzeroupper): Likewise.
11399 (config-asflags-i686): Likewise.
11400 (have-mfma4): Likewise.
11401 (have-as-vis3): Likewise.
11403 * configure.in (MIG): Do not AC_SUBST.
11404 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11405 (libc_cv_cc_sse4): Do not AC_SUBST.
11406 (libc_cv_cc_avx): Likewise.
11407 (libc_cv_cc_sse2avx): Likewise.
11408 (libc_cv_cc_novzeroupper): Likewise.
11409 (libc_cv_cc_fma4): Likewise.
11410 (libc_cv_as_i686): Likewise.
11411 (libc_cv_sparc_as_vis3): Likewise.
11412 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11414 (config-asflags-i686): Likewise.
11415 (config-cflags-avx): Likewise.
11416 (config-cflags-sse2avx): Likewise.
11417 (have-mfma4): Likewise.
11418 (config-cflags-novzeroupper): Likewise.
11419 * sysdeps/mach/configure.in (MIG): Likewise.
11420 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11421 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11423 (config-cflags-avx): Likewise.
11424 (config-cflags-sse2avx): Likewise.
11425 (have-mfma4): Likewise.
11426 (config-cflags-novzeroupper): Likewise.
11427 * configure: Regenerated.
11428 * sysdeps/i386/configure: Likewise.
11429 * sysdeps/mach/configure: Likewise.
11430 * sysdeps/sparc/configure: Likewise.
11431 * sysdeps/x86_64/configure: Likewise.
11433 2013-03-20 Roland McGrath <roland@hack.frob.com>
11436 * locale/programs/localedef.c (options): Put N_ translation marker
11437 on argument names, not just descriptions.
11439 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11441 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11443 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11446 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11448 2013-03-19 Roland McGrath <roland@hack.frob.com>
11450 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11451 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11452 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11453 [!BEFORE_ABORT] (before_abort): New function.
11454 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11455 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11456 (writev_for_fatal): New function.
11457 (WRITEV_FOR_FATAL): New macro; call that.
11458 (backtrace_and_maps): New function.
11459 (BEFORE_ABORT): New macro; call that.
11460 (struct str_list): Type removed.
11461 (__libc_message, __libc_fatal): Functions removed.
11462 Include <sysdeps/posix/libc_fatal.c> instead.
11464 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11466 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11468 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11471 2013-03-19 Andreas Schwab <schwab@suse.de>
11473 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11474 * sysdeps/gnu/configure: Regenerate.
11476 * configure.in: Substitute libc_cv_rtlddir.
11477 * configure: Regenerate.
11478 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11479 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11480 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11481 * elf/Makefile (install-others, CFLAGS-interp.c)
11482 (ldso_install, common-ldd-rewrite): Likewise.
11483 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11484 $(inst_slibdir)/$(rtld-installed-name).
11485 * scripts/rellns-sh: Add -p option.
11486 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11489 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11491 * manual/nptl.texi: Renamed to ...
11492 * manual/threads.texi: ... this.
11493 * manual/Makefile (chapters): Update.
11495 2013-03-18 Roland McGrath <roland@hack.frob.com>
11498 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11499 on argument names, not just descriptions.
11500 * malloc/memusagestat.c (options): Likewise.
11501 * nss/getent.c (options): Likewise.
11503 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11506 * iconv/iconv_prog.c (options): Put N_ translation marker
11507 on argument names, not just descriptions.
11508 * iconv/iconvconfig.c (options): Likewise.
11510 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11512 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11513 implementation which is faster on all x86_64 architectures.
11514 Tested on AMD, Intel Nehalem, SNB, IVB.
11515 * sysdeps/x86_64/strnlen.S: Likewise.
11517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11518 Remove all multiarch strlen and strnlen versions.
11519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11520 Remove strlen and strnlen related parts.
11522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11523 Inline strlen part.
11524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11526 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11528 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11529 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11530 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11531 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11533 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11535 * manual/memory.texi (Malloc Tunable Parameters):
11536 Sort parameters alphabetically. Add comments for missing entries.
11538 2013-03-17 David S. Miller <davem@davemloft.net>
11540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11542 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11545 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11546 for arguments at most half maximum finite value.
11547 * math/libm-test.inc (j0_test): Add more tests.
11548 (j1_test): Likewise.
11549 (y0_test): Likewise.
11550 (y1_test): Likewise.
11551 * sysdeps/i386/fpu/libm-test-ulps: Update.
11552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11555 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11556 1 / x and functions P and Q for arguments above 0x1p256L.
11557 (__ieee754_y0l): Likewise.
11558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11559 (__ieee754_y1l): Likewise.
11560 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11561 (j1_test): Likewise.
11562 (y0_test): Likewise.
11563 (y1_test): Likewise.
11565 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11567 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11570 2013-03-15 Roland McGrath <roland@hack.frob.com>
11572 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11573 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11574 zero since it's initialized to EXEC_PAGESIZE.
11576 * sysdeps/unix/sysv/linux/ldsodefs.h
11577 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11578 * sysdeps/generic/ldsodefs.h: ... here.
11580 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11582 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11584 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11586 * math/test-snan.c: Renamed from
11587 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11588 * math/Makefile (tests): Add test-snan.
11589 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11592 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11593 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11595 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11596 __builtin_nan family of functions.
11597 * math/libm-test.inc (initialize): Initialize qnan_value with
11598 __builtin_nan family of functions.
11599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11601 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11603 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11604 storage class. Initialize qNaN_var and sNaN_var with
11605 __builtin_nan and __builtin_nans families of functions,
11608 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11609 (sqrt_test): Remove duplicate test with qNaN input.
11610 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11611 (round_test, signbit_test, significand_test): Note missing +/-Inf
11612 as well as qNaN tests.
11614 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11615 qNaN_var. Fix a few strings, too.
11616 * math/libm-test.inc (nan_value): Rename to qnan_value.
11617 * math/gen-libm-test.pl (%beautify): Adjust to that.
11618 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11619 * math/test-misc.c (main): Likewise.
11620 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11621 to __qnan_bytes, and __qnan_union, respectively.
11622 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11624 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11625 and lqnanval, respectively.
11626 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11627 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11629 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11631 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11632 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11635 * math/test-misc.c (main): Fix copy'n'pastos.
11636 * misc/tst-efgcvt.c (special): Likewise.
11638 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11639 Remove declarations.
11641 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11643 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11644 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11645 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11646 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11648 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11650 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11651 macro to return vdso values correctly in IFUNC implementations.
11652 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11653 Optimization by using IFUNC.
11655 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11656 Richard Henderson <rth@redhat.com>
11657 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11659 * Makefile.in (bench): New target.
11660 * NEWS: Mention the benchmark framework.
11661 * Rules (bench): Likewise.
11662 (binaries-bench): Generate binaries for functions to
11664 * benchtests/Makefile: New makefile for benchmark tests.
11665 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11667 * benchtests/exp-inputs: New input file for EXP function.
11668 * benchtests/pow-inputs: New input file for POW function.
11669 * scripts/bench.pl: New script to generate source files for
11670 benchmark programs.
11672 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11674 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11676 computations on mantissa. Use macros for rounding and
11678 (denorm): Likewise.
11679 (__dbl_mp): Likewise.
11680 (add_magnitudes): Likewise.
11681 (sub_magnitudes): Likewise.
11684 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11685 powers of two in terms of TWOPOW macro.
11686 (mp_no): Make type of mantissa as MANTISSA_T.
11687 [!RADIXI]: Define RADIXI.
11688 [!TWO52]: Define TWO52.
11689 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11691 * manual/nptl.texi (cindex): Modify threads to pthreads.
11693 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11695 * sysdeps/x86_64/preconfigure: Regenerated.
11697 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11700 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11702 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11703 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11705 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11706 * math/libm-test.inc (j0_test): Do not allow one spurious
11707 underflow exception.
11708 (y1_test): Likewise.
11710 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11712 * manual/Makefile (chapters): Add nptl.
11713 * manual/debug.texi (Debugging Support): Add link to Threads
11715 * manual/nptl.texi: New file.
11717 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11719 2013-03-14 Petr Baudis <pasky@ucw.cz>
11721 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11722 for non-NULL pointer before the memory validity test. Pointed
11723 out by Holger Brunck <holger.brunck@keymile.com>.
11725 2013-03-13 Andreas Schwab <schwab@suse.de>
11727 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11730 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11732 * timezone/zic.c: Update from tzcode 2013b.
11734 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11736 * manual/install.texi (Configuring and compiling):
11737 Mention i686 and i586.
11738 * INSTALL: Regenerate.
11740 2013-03-12 Roland McGrath <roland@hack.frob.com>
11742 * sysdeps/init_array/elf-init.c: New file.
11744 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11745 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11747 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11748 __gmon_start__ as global, but as static with a .preinit_array pointer.
11749 * sysdeps/init_array/gmon-start.c: New file. Use that.
11750 * sysdeps/init_array/crti.S: New file, empty except for comments.
11751 * sysdeps/init_array/crtn.S: Likewise.
11753 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11755 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11758 Remove Prefer_SSE_for_memop.
11759 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11760 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11761 HAS_PREFER_SSE_FOR_MEMOP.
11762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11765 Remove bzero, memset ifunc support.
11766 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11767 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11768 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11769 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11771 2013-03-11 Andreas Schwab <schwab@suse.de>
11774 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11777 (GLIBC_2.16): Remove pthread_atfork.
11779 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11781 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11782 (ptestcases.h): Likewise.
11784 2013-03-08 Roland McGrath <roland@hack.frob.com>
11786 * Makeconfig ($(common-objpfx)config.status): Depend on
11787 sysdeps/*/preconfigure{,.in} too.
11789 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11791 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11792 (__free_hook): Use void * instead of __malloc_ptr_t.
11793 (__malloc_hook): Likewise.
11794 (__realloc_hook): Likewise.
11795 (__memalign_hook): Likewise.
11796 (__after_morecore_hook): Likewise.
11797 * malloc/arena.c (save_malloc_hook): Likewise.
11798 (save_free_hook): Likewise.
11799 * malloc/hooks.c (malloc_hook_ini): Likewise.
11800 (realloc_hook_ini): Likewise.
11801 (memalign_hook_ini): Likewise.
11802 * malloc/malloc.c (malloc_hook_ini): Likewise.
11803 (realloc_hook_ini): Likewise.
11804 (memalign_hook_ini): Likewise.
11805 (__free_hook): Likewise.
11806 (__malloc_hook): Likewise.
11807 (__realloc_hook): Likewise.
11808 (__memalign_hook): Likewise.
11809 (__libc_malloc): Likewise.
11810 (__libc_free): Likewise.
11811 (__libc_realloc): Likewise.
11812 (__libc_memalign): Likewise.
11813 (__libc_valloc): Likewise.
11814 (__libc_pvalloc): Likewise.
11815 (__libc_calloc): Likewise.
11816 (__posix_memalign): Likewise.
11817 * malloc/morecore.c (__sbrk): Likewise.
11818 (__default_morecore): Likewise.
11820 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11822 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11823 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11824 __malloc_ptrdiff_t.
11826 * malloc/malloc.h (__malloc_size_t): Remove macro.
11827 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11829 (old_memalign_hook): Likewise.
11830 (old_realloc_hook): Likewise.
11831 (struct hdr): Likewise.
11833 (mallochook): Likewise.
11834 (memalignhook): Likewise.
11835 (reallochook): Likewise.
11836 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11837 (tr_old_realloc_hook): Likewise.
11838 (tr_old_memalign_hook): Likewise.
11839 (tr_mallochook): Likewise.
11840 (tr_reallochook): Likewise.
11841 (tr_memalignhook): Likewise.
11843 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11846 default_ldbl_pack and using as default implementation.
11847 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11849 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11850 redundant definition.
11851 (ldbl_insert_mantissa): Likewise.
11852 (ldbl_canonicalize): Likewise.
11853 (ldbl_nearbyint): Likewise.
11854 (ldbl_pack): Rename to ldbl_pack_ppc.
11855 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11856 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11857 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11859 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11862 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11863 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11864 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11866 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11867 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11868 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11870 2013-03-07 Andreas Jaeger <aj@suse.de>
11872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11875 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11877 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11878 Include mpa.h and declare __MPEXP.
11879 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11880 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11881 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11883 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11884 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11885 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11887 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11888 (__slowpow): Use long double EXPL and LOGL functions to
11890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11891 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11892 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11894 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11895 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11898 intermediate variable to calculate exponent.
11900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11904 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11905 [!NO__SQR]: Define __sqr.
11906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11907 and NO__SQR. Remove all code except __mul and __sqr. Include
11908 sysdeps/ieee754/dbl-64/mpa.c.
11909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11912 * posix/Makefile (tests): Add tst-pathconf.
11913 * posix/tst-pathconf.c: New test case.
11914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11916 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11918 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11920 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11922 2013-03-06 Andreas Jaeger <aj@suse.de>
11924 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11925 definition via __MAP_ANONYMOUS.
11927 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11928 it's not part of Linux headers.
11930 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11931 (MAP_HUGE_MASK): Define.
11933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11935 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11938 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11939 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11941 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11944 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11946 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11947 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11948 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11949 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11950 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11951 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11953 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11957 Handle f2fs and efivarfs.
11959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11962 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11963 (EFIVARFS_MAGIC): Add.
11964 (F2FS_LINK_MAX): Add.
11966 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11968 * stdio-common/vfprintf.c: Replace __builtin_expect with
11971 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11974 * sysdeps/generic/bp-sym.h: Remove file.
11975 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11976 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11977 <bp-sym.h> and <bp-asm.h>.
11978 (__longjmp): Don't use BP_SYM.
11979 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11981 (memcpy): Don't use BP_SYM.
11982 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11983 <bp-sym.h> and <bp-asm.h>.
11984 (memcpy): Don't use BP_SYM.
11985 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11987 (memcpy): Don't use BP_SYM.
11988 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11990 (memset): Don't use BP_SYM.
11991 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11992 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11993 (__bzero): Don't use BP_SYM.
11994 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11995 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11996 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11997 <bp-sym.h> and <bp-asm.h>.
11998 (memcmp): Don't use BP_SYM. Remove comment about bounded
12000 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12001 <bp-sym.h> and <bp-asm.h>.
12002 (memcpy): Don't use BP_SYM.
12003 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12004 <bp-sym.h> and <bp-asm.h>.
12005 (memset): Don't use BP_SYM.
12006 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12007 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12008 (__bzero): Don't use BP_SYM.
12009 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12010 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12011 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12012 <bp-sym.h> and <bp-asm.h>.
12013 (strncmp): Don't use BP_SYM. Remove comment about bounded
12015 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12016 <bp-sym.h> and <bp-asm.h>.
12017 (memcpy): Don't use BP_SYM.
12018 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12019 <bp-sym.h> and <bp-asm.h>.
12020 (memset): Don't use BP_SYM.
12021 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12022 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12023 (__bzero): Don't use BP_SYM.
12024 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12025 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12027 <bp-sym.h> and <bp-asm.h>.
12028 (__memchr): Don't use BP_SYM.
12029 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12030 <bp-sym.h> and <bp-asm.h>.
12031 (memcmp): Don't use BP_SYM. Remove comment about bounded
12033 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12034 <bp-sym.h> and <bp-asm.h>.
12035 (memcpy): Don't use BP_SYM.
12036 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12037 <bp-sym.h> and <bp-asm.h>.
12038 (__mempcpy): Don't use BP_SYM.
12039 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12040 <bp-sym.h> and <bp-asm.h>.
12041 (__memrchr): Don't use BP_SYM.
12042 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12043 <bp-sym.h> and <bp-asm.h>.
12044 (memset): Don't use BP_SYM.
12045 (__bzero): Likewise.
12046 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12047 <bp-sym.h> and <bp-asm.h>.
12048 (__rawmemchr): Don't use BP_SYM.
12049 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12050 <bp-sym.h> and <bp-asm.h>.
12051 (__STRCMP): Don't use BP_SYM.
12052 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12053 <bp-sym.h> and <bp-asm.h>.
12054 (strchr): Don't use BP_SYM.
12055 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12056 <bp-sym.h> and <bp-asm.h>.
12057 (__strchrnul): Don't use BP_SYM.
12058 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12059 <bp-sym.h> and <bp-asm.h>.
12060 (strlen): Don't use BP_SYM.
12061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12062 <bp-sym.h> and <bp-asm.h>.
12063 (strncmp): Don't use BP_SYM. Remove comment about bounded
12065 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12066 <bp-sym.h> and <bp-asm.h>.
12067 (__strnlen): Don't use BP_SYM.
12068 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12069 <bp-sym.h> and <bp-asm.h>.
12070 (__GI__setjmp): Don't use BP_SYM.
12071 (_setjmp): Likewise.
12072 (__sigsetjmp): Likewise.
12073 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12074 (L(start_addresses)): Don't use BP_SYM.
12075 (_start): Likewise.
12076 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12078 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12079 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12080 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12081 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12082 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12084 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12085 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12086 about bounded pointers.
12087 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12088 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12089 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12091 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12092 about bounded pointers. Remove GKM FIXME comments.
12093 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12094 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12096 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12097 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12098 Remove GKM FIXME comments.
12099 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12100 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12101 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12103 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12104 about bounded pointers. Remove GKM FIXME comment.
12105 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12107 (strncmp): Don't use BP_SYM. Remove comment about bounded
12109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12110 <bp-sym.h> and <bp-asm.h>.
12111 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12113 <bp-sym.h> and <bp-asm.h>.
12114 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12117 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12119 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12122 2013-03-05 David S. Miller <davem@davemloft.net>
12124 * po/es.po: Update from translation team.
12126 2013-03-05 Andreas Jaeger <aj@suse.de>
12128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12129 <bits/mman-linux.h>.
12130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12133 <bits/mman-linux.h> to end of file.
12134 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12136 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12137 <bits/mman-linux.h> to end of file.
12138 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12141 <bits/mman-linux.h> to end of file.
12143 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12144 (MCL_CURRENT, MCL_FUTURE): Define here.
12146 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12151 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12153 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12155 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12156 fourth parameter needed for rt_sigprocmask syscall.
12157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12158 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12159 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12160 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12161 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12162 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12164 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12167 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12168 comment about bounded pointers.
12169 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12170 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12172 2013-03-04 Andreas Jaeger <aj@suse.de>
12174 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12175 common definitions.
12177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12178 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12184 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12188 __ieee754_sqrl instead of __sqrl.
12190 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12192 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12193 * sysdeps/powerpc/fpu_control.h: ... here.
12194 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12195 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12196 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12197 * sysdeps/powerpc/bits/mathinline.h: ... here.
12199 2013-03-01 Roland McGrath <roland@hack.frob.com>
12201 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12202 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12203 to just [NEED_DL_SYSINFO_DSO].
12204 * elf/dl-support.c: Likewise.
12205 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12206 * elf/rtld.c (dl_main): Likewise.
12207 * elf/setup-vdso.h (setup_vdso): Likewise.
12208 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12209 * sysdeps/unix/sysv/linux/dl-sysdep.c
12210 (_dl_discover_osversion): Likewise.
12212 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12214 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12215 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12217 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12219 * NEWS: Mention libm performance improvements and non-x86 PI
12222 * csu/libc-start.c (__pthread_initialize_minimal): Change
12223 function arguments.
12224 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12226 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12229 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12230 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12231 <bp-sym.h> and <bp-asm.h>.
12232 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12235 (memcpy): Don't use BP_SYM.
12236 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12238 (__mpn_add_n): Don't use BP_SYM.
12239 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12240 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12242 (__mpn_addmul_1): Don't use BP_SYM.
12243 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12244 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12246 (_setjmp): Don't use BP_SYM.
12247 (__novmx_setjmp): Likewise.
12248 (__GI__setjmp): Likewise.
12249 (__vmx_setjmp): Likewise.
12250 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12252 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12253 (__bzero): Don't use BP_SYM.
12254 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12255 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12256 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12257 <bp-sym.h> and <bp-asm.h>.
12258 (memcpy): Don't use BP_SYM.
12259 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12260 <bp-sym.h> and <bp-asm.h>.
12261 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12262 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12263 <bp-sym.h> and <bp-asm.h>.
12264 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12265 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12267 (__mpn_lshift): Don't use BP_SYM.
12268 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12269 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12271 (memset): Don't use BP_SYM.
12272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12274 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12276 (__mpn_mul_1): Don't use BP_SYM.
12277 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12279 <bp-sym.h> and <bp-asm.h>.
12280 (memcmp): Don't use BP_SYM.
12281 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12282 <bp-sym.h> and <bp-asm.h>.
12283 (memcpy): Don't use BP_SYM.
12284 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12285 <bp-sym.h> and <bp-asm.h>.
12286 (memset): Don't use BP_SYM.
12287 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12288 <bp-sym.h> and <bp-asm.h>.
12289 (strncmp): Don't use BP_SYM.
12290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12291 <bp-sym.h> and <bp-asm.h>.
12292 (memcpy): Don't use BP_SYM.
12293 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12294 <bp-sym.h> and <bp-asm.h>.
12295 (memset): Don't use BP_SYM.
12296 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12297 <bp-sym.h> and <bp-asm.h>.
12298 (__memchr): Don't use BP_SYM.
12299 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12300 <bp-sym.h> and <bp-asm.h>.
12301 (memcmp): Don't use BP_SYM.
12302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12303 <bp-sym.h> and <bp-asm.h>.
12304 (memcpy): Don't use BP_SYM.
12305 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12306 <bp-sym.h> and <bp-asm.h>.
12307 (__mempcpy): Don't use BP_SYM.
12308 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12309 <bp-sym.h> and <bp-asm.h>.
12310 (__memrchr): Don't use BP_SYM.
12311 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12312 <bp-sym.h> and <bp-asm.h>.
12313 (memset): Don't use BP_SYM.
12314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12315 <bp-sym.h> and <bp-asm.h>.
12316 (__rawmemchr): Don't use BP_SYM.
12317 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12318 <bp-sym.h> and <bp-asm.h>.
12319 (__STRCMP): Don't use BP_SYM.
12320 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12321 <bp-sym.h> and <bp-asm.h>.
12322 (strchr): Don't use BP_SYM.
12323 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12324 <bp-sym.h> and <bp-asm.h>.
12325 (__strchrnul): Don't use BP_SYM.
12326 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12327 <bp-sym.h> and <bp-asm.h>.
12328 (strlen): Don't use BP_SYM.
12329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12330 <bp-sym.h> and <bp-asm.h>.
12331 (strncmp): Don't use BP_SYM.
12332 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12333 <bp-sym.h> and <bp-asm.h>.
12334 (__strnlen): Don't use BP_SYM.
12335 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12337 (__mpn_rshift): Don't use BP_SYM.
12338 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12339 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12340 <bp-sym.h> and <bp-asm.h>.
12341 (__sigsetjmp): Don't use BP_SYM.
12342 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12343 (L(start_addresses)): Don't use BP_SYM.
12344 (_start): Likewise.
12345 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12347 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12348 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12349 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12350 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12352 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12353 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12354 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12355 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12357 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12359 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12360 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12362 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12364 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12365 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12366 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12368 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12370 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12372 (strncmp): Don't use BP_SYM,
12373 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12375 (__mpn_sub_n): Don't use BP_SYM.
12376 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12377 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12379 (__mpn_submul_1): Don't use BP_SYM.
12380 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12382 <bp-sym.h> and <bp-asm.h>.
12383 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12385 <bp-sym.h> and <bp-asm.h>.
12386 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12389 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12392 Use ZK to minimize writes to Z.
12393 (sub_magnitudes): Simplify code a bit.
12394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12395 Use ZK to minimize writes to Z.
12396 (sub_magnitudes): Simplify code a bit.
12398 2013-02-27 Roland McGrath <roland@hack.frob.com>
12400 * csu/gmon-start.c: Add special exception to license text.
12402 2013-02-27 Richard Henderson <rth@redhat.com>
12404 * scripts/config.guess: Update from config.git.
12405 * scripts/config.sub: Likewise.
12407 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12409 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12411 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12413 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12415 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12417 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12419 2013-02-26 Roland McGrath <roland@hack.frob.com>
12421 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12422 [$(build-shared = yes].
12424 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12426 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12427 (__mul): Reduce iterations for calculating mantissa.
12429 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12431 (__mpranred): Likewise.
12434 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12435 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12437 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12439 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12440 Define __attribute__.
12442 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12444 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12446 * posix/regex_internal.h (__attribute): Remove.
12447 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12448 (re_string_context_at): Likewise.
12449 (bitset_not): Use __attribute__ and mark function as possibly
12451 (bitset_merge): Likewise.
12452 (bitset_mask): Likewise.
12453 (re_string_char_size_at): Likewise.
12454 (re_string_wchar_at): Likewise.
12455 (re_string_elem_size_at): Likewise.
12457 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12459 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12463 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12467 (denorm): Likewise.
12468 (__dbl_mp): Likewise.
12469 (add_magnitudes): Likewise.
12470 (sub_magnitudes): Likewise.
12474 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12477 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12480 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12484 up changes with default code.
12485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12488 2013-02-24 Allan McRae <allan@archlinux.org>
12490 * manual/socket.texi (The Internet Namespace): Order menu items
12491 to match that in the file.
12493 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12494 node listing of the info page menu.
12496 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12499 * sysdeps/i386/bp-asm.h: Remove file.
12500 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12501 (PARMS): Do not use macros from bp-asm.h.
12505 (__mpn_add_n): Do not use BP_SYM
12506 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12508 (PARMS): Do not use macros from bp-asm.h.
12511 (__mpn_addmul_1): Do not use BP_SYM
12512 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12514 (PARMS): Do not use macros from bp-asm.h.
12515 (SIGMSK): Likewise.
12516 (_setjmp): Likewise. Do not use BP_SYM.
12517 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12519 (PARMS): Do not use macros from bp-asm.h.
12520 (SIGMSK): Likewise.
12521 (setjmp): Likewise. Do not use BP_SYM.
12522 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12524 (PARMS): Do not use macros from bp-asm.h.
12525 (__frexp): Do not use BP_SYM.
12527 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12529 (PARMS): Do not use macros from bp-asm.h.
12530 (__frexpf): Do not use BP_SYM.
12531 (frexpf): Likewise.
12532 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12534 (PARMS): Do not use macros from bp-asm.h.
12535 (__frexpl): Do not use BP_SYM.
12536 (frexpl): Likewise.
12537 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12539 (PARMS): Do not use macros from bp-asm.h.
12540 (__remquo): Do not use BP_SYM.
12541 (remquo): Likewise.
12542 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12544 (PARMS): Do not use macros from bp-asm.h.
12545 (__remquof): Do not use BP_SYM.
12546 (remquof): Likewise.
12547 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12549 (PARMS): Do not use macros from bp-asm.h.
12550 (__remquol): Do not use BP_SYM.
12551 (remquol): Likewise.
12552 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12554 (PARMS): Do not use macros from bp-asm.h.
12557 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12558 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12560 (PARMS): Do not use macros from bp-asm.h.
12561 (strlen): Do not use BP_SYM.
12562 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12564 (PARMS): Do not use macros from bp-asm.h.
12568 (__mpn_add_n): Do not use BP_SYM.
12569 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12571 (PARMS): Do not use macros from bp-asm.h.
12574 (__mpn_addmul_1): Do not use BP_SYM.
12575 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12578 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12580 (PARMS): Do not use macros from bp-asm.h.
12583 (__mpn_lshift): Do not use BP_SYM.
12584 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12586 (PARMS): Do not use macros from bp-asm.h.
12590 (memcpy): Likewise. Do not use BP_SYM.
12591 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12592 libc_hidden_def and weak_alias.
12593 (mempcpy): Do not use BP_SYM in weak_alias.
12594 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12596 (PARMS): Do not use macros from bp-asm.h.
12599 [!BZERO_P] (CHR): Likewise.
12600 (memset): Likewise. Do not use BP_SYM.
12601 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12603 (PARMS): Do not use macros from bp-asm.h.
12606 (__mpn_mul_1): Do not use BP_SYM.
12607 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12609 (PARMS): Do not use macros from bp-asm.h.
12612 (__mpn_rshift): Do not use BP_SYM.
12613 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12615 (PARMS): Do not use macros from bp-asm.h.
12618 (strchr): Likewise. Do not use BP_SYM.
12619 (index): Do not use BP_SYM in weak_alias.
12620 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12622 (PARMS): Do not use macros from bp-asm.h.
12625 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12626 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12628 (PARMS): Do not use macros from bp-asm.h.
12629 (strlen): Do not use BP_SYM.
12630 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12632 (PARMS): Do not use macros from bp-asm.h.
12636 (__mpn_sub_n): Do not use BP_SYM.
12637 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12639 (PARMS): Do not use macros from bp-asm.h.
12642 (__mpn_submul_1): Do not use BP_SYM.
12643 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12645 (PARMS): Do not use macros from bp-asm.h.
12649 (__mpn_add_n): Do not use BP_SYM.
12650 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12653 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12655 (PARMS): Do not use macros from bp-asm.h.
12658 (memcmp): Do not use BP_SYM.
12659 (bcmp): Do not use BP_SYM in weak_alias.
12660 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12662 (PARMS): Do not use macros from bp-asm.h.
12666 (memcpy): Likewise. Do not use BP_SYM.
12667 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12669 (PARMS): Do not use macros from bp-asm.h.
12673 (memmove): Likewise. Do not use BP_SYM.
12674 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12676 (PARMS): Do not use macros from bp-asm.h.
12680 (__mempcpy): Likewise. Do not use BP_SYM.
12681 (mempcpy): Do not use BP_SYM in weak_alias.
12682 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12684 (PARMS): Do not use macros from bp-asm.h.
12687 [!BZERO_P] (CHR): Likewise.
12688 (memset): Likewise. Do not use BP_SYM.
12689 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12691 (PARMS): Do not use macros from bp-asm.h.
12693 (strcmp): Do not use BP_SYM.
12694 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12696 (PARMS): Do not use macros from bp-asm.h.
12699 [USE_AS_STRTOK_R] (SAVE): Likewise.
12700 (FUNCTION): Likewise. Do not use BP_SYM.
12701 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12703 (strtok_r): Likewise.
12704 (__GI___strtok_r): Likewise.
12705 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12706 (PARMS): Do not use macros from bp-asm.h.
12709 (__mpn_lshift): Do not use BP_SYM.
12710 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12711 (PARMS): Do not use macros from bp-asm.h.
12714 (__memchr): Do not use BP_SYM.
12715 (memchr): Do not use BP_SYM in weak_alias.
12716 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12717 (PARMS): Do not use macros from bp-asm.h.
12720 (memcmp): Do not use BP_SYM.
12721 (bcmp): Do not use BP_SYM in weak_alias.
12722 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12723 (PARMS): Do not use macros from bp-asm.h.
12726 (__mpn_mul_1): Do not use BP_SYM.
12727 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12729 (PARMS): Do not use macros from bp-asm.h.
12732 (__rawmemchr): Do not use BP_SYM.
12733 (rawmemchr): Do not use BP_SYM in weak_alias.
12734 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12735 (PARMS): Do not use macros from bp-asm.h.
12738 (__mpn_rshift): Do not use BP_SYM.
12739 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12740 (PARMS): Do not use macros from bp-asm.h.
12741 (SIGMSK): Likewise.
12742 (__sigsetjmp): Likewise. Do not use BP_SYM.
12743 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12744 (_start): Do not use BP_SYM.
12745 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12746 (PARMS): Do not use macros from bp-asm.h.
12749 (__stpcpy): Likewise. Do not use BP_SYM.
12750 (stpcpy): Do not use BP_SYM in weak_alias.
12751 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12753 (PARMS): Do not use macros from bp-asm.h.
12757 (__stpncpy): Likewise. Do not use BP_SYM.
12758 (stpncpy): Do not use BP_SYM in weak_alias.
12759 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12760 (PARMS): Do not use macros from bp-asm.h.
12763 (strchr): Likewise. Do not use BP_SYM.
12764 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12766 (PARMS): Do not use macros from bp-asm.h.
12769 (__strchrnul): Likewise. Do not use BP_SYM.
12770 (strchrnul): Do not use BP_SYM in weak_alias.
12771 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12773 (PARMS): Do not use macros from bp-asm.h.
12775 (strcspn): Do not use BP_SYM.
12776 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12778 (PARMS): Do not use macros from bp-asm.h.
12781 (strpbrk): Likewise. Do not use BP_SYM.
12782 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12784 (PARMS): Do not use macros from bp-asm.h.
12787 (strrchr): Likewise. Do not use BP_SYM.
12788 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12789 (PARMS): Do not use macros from bp-asm.h.
12791 (strspn): Do not use BP_SYM.
12792 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12793 (PARMS): Do not use macros from bp-asm.h.
12797 (FUNCTION): Likewise. Do not use BP_SYM.
12798 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12800 (strtok_r): Likewise.
12801 (__GI___strtok_r): Likewise.
12802 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12803 (PARMS): Do not use macros from bp-asm.h.
12807 (__mpn_sub_n): Do not use BP_SYM.
12808 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12810 (PARMS): Do not use macros from bp-asm.h.
12813 (__mpn_submul_1): Do not use BP_SYM.
12814 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12816 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12818 (PARMS): Do not use macros from bp-asm.h.
12823 (__clone): Do not use BP_SYM.
12824 (clone): Do not use BP_SYM in weak_alias.
12825 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12827 (PARMS): Do not use macros from bp-asm.h.
12829 (__mmap64): Do not use BP_SYM.
12830 (mmap64): Do not use BP_SYM in weak_alias.
12831 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12832 <bp-sym.h> and <bp-asm.h>.
12833 (PARMS): Do not use macros from bp-asm.h.
12834 (__posix_fadvise64_l64): Do not use BP_SYM.
12835 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12836 (PARMS): Do not use macros from bp-asm.h.
12838 (semtimedop): Do not use BP_SYM.
12839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12842 2013-02-21 Allan McRae <allan@archlinux.org>
12844 * manual/message.texi (Charset conversion in gettext):
12845 Move @end statement to beginning of line.
12847 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12854 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12855 (denorm): Likewise.
12856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12859 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12861 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12862 tail-call to the resolved function if pltexit isn't needed.
12864 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12867 or Y being zero as being unlikely.
12868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12871 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12873 * manual/nss.texi (System Databases and Name Service Switch):
12874 Remove frobnicate @pxref.
12876 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12878 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12879 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12881 2013-02-20 Petr Machata <pmachata@redhat.com>
12883 * elf/elf.h (R_ARM_TARGET1): New macro.
12884 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12885 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12886 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12887 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12888 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12889 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12890 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12891 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12892 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12893 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12894 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12895 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12896 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12897 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12898 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12899 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12900 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12901 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12902 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12903 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12904 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12905 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12906 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12907 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12908 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12909 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12910 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12911 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12912 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12913 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12914 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12915 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12916 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12917 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12918 (R_ARM_THM_GOT_BREL12): Likewise.
12919 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12920 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12921 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12922 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12923 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12924 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12925 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12926 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12927 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12929 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12931 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12932 __attribute_used__ to __attribute__ ((unused)).
12934 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12936 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12939 comment formatting.
12940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12942 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12945 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12947 (ENTER): Remove both macro definitions.
12949 (CHECK_BOUNDS_LOW): Likewise.
12950 (CHECK_BOUNDS_HIGH): Likewise.
12951 (CHECK_BOUNDS_BOTH): Likewise.
12952 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12953 (RETURN_BOUNDED_POINTER): Likewise.
12954 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12955 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12956 (POP_ERRNO_LOCATION_RETURN): Likewise.
12957 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12958 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12959 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12961 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12962 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12963 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12964 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12965 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12966 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12967 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12968 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12969 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12970 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12971 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12972 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12973 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12974 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12976 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12977 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12979 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12980 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12981 * sysdeps/i386/i586/memset.S (memset): Likewise.
12982 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12983 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12984 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12986 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12987 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12988 Change uses of L(2) to L(out).
12989 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12990 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12991 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12992 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12993 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12995 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12996 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12998 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12999 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13000 (RETURN): Do not use macro LEAVE.
13001 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13002 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13003 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13004 * sysdeps/i386/i686/memset.S (memset): Likewise.
13005 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13006 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13007 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13008 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13010 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13011 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13012 L(1_2) and L(1_3) into L(1).
13013 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13014 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13015 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13016 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13017 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13018 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13019 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13020 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13021 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13023 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13024 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13025 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13026 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13027 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13028 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13029 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13030 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13031 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13032 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13033 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13034 * sysdeps/i386/strspn.S (strspn): Likewise.
13035 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13037 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13038 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13039 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13040 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13041 L(1_3) into L(1_1).
13042 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13043 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13044 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13046 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13048 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13050 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13053 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13055 * math/atest-exp.c (exp_mpn): Remove ROUND.
13056 * math/atest-exp2.c (exp_mpn): Likewise.
13057 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13059 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13060 * stdlib/tst-tls-atexit-lib.c: Likewise.
13061 * stdlib/tst-tls-atexit.c: Likewise.
13063 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13065 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13066 and __attribute_alloc_size__.
13068 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13070 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13071 __attribute_alloc_size__.
13072 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13073 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13075 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13077 * include/programs/xmalloc.h: New file.
13078 * catgets/gencat.c: Include it.
13079 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13080 * elf/pldd.c: Likewise.
13081 * iconv/iconv_charmap.c: Likewise.
13082 * iconv/iconvconfig.c: Likewise.
13083 * iconv/strtab.c: Likewise.
13084 * locale/programs/locale.c: Likewise.
13085 * locale/programs/localedef.h: Likewise.
13086 * locale/programs/simple-hash.c: Likewise.
13087 * nscd/nscd.h: Likewise.
13088 * nss/makedb.c: Likewise.
13089 * sysdeps/generic/ldconfig.h: Likewise.
13091 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13093 * Versions.def: Add GLIBC_2.18.
13094 * include/link.h (struct link_map): New member l_tls_dtor_count.
13095 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13096 (__call_tls_dtors): Likewise.
13097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13098 __cxa_thread_atexit_impl.
13099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13115 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13116 (tests): Add test case tst-tls-atexit.
13117 (modules-names): Add shared library for tst-tls-atexit.
13118 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13119 (GLIBC_PRIVATE): Add __call_tls_dtors.
13120 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13122 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13123 * stdlib/tst-tls-atexit.c: New test case.
13124 * stdlib/tst-tls-atexit-lib.c: New test case.
13126 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13128 * elf/Versions (ld): Add _dl_find_dso_for_object.
13129 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13130 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13131 (dl_open_worker): Use _dl_find_dso_for_object.
13132 * elf/dl-sym.c (do_sym): Likewise.
13133 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13135 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13137 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13138 Syntactic changes only.
13139 (_dl_runtime_profile): Do a tail-call to the resolved function.
13141 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13144 * sysdeps/x86_64/bp-asm.h: Remove file.
13145 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13146 <bp-sym.h> and <bp-asm.h>.
13147 (__clone): Do not use BP_SYM.
13148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13149 <bp-sym.h> and <bp-asm.h>.
13150 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13151 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13153 (_setjmp): Do not use BP_SYM.
13154 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13156 (setjmp): Do not use BP_SYM.
13157 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13159 (mempcpy): Do not use BP_SYM in weak_alias.
13160 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13162 (strchr): Do not use BP_SYM.
13163 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13165 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13166 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13167 (_start): Do not use BP_SYM.
13168 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13170 (strcat): Do not use BP_SYM.
13171 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13173 (STRCMP): Do not use BP_SYM.
13174 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13176 (STRCPY): Do not use BP_SYM.
13177 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13179 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13181 (FUNCTION): Do not use BP_SYM.
13182 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13184 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13186 2013-02-17 Andreas Jaeger <aj@suse.de>
13188 * time/Versions: Sort entries.
13189 * string/Versions: Likewise.
13190 * resolv/Versions: Likewise.
13191 * posix/Versions: Likewise.
13192 * iconv/Versions: Likewise.
13193 * elf/Versions: Likewise.
13194 * wcsmbs/Versions: Likewise.
13196 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13198 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13199 loop termination condition.
13201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13202 variable to calculate EZ.
13205 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13206 the lower precision input.
13208 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13211 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13212 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13213 (run-via-rtld-prefix): Do not handle %-bp tests.
13214 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13215 (all-object-suffixes): Remove .ob.
13216 (bppfx): Remove variable.
13217 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13218 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13219 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13220 [$(build-bounded) = yes] (libtype.ob): Likewise.
13221 * Makerules (elide-routines.ob): Remove variable.
13222 (do-tests-clean): Do not handle *-bp.out.
13223 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13224 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13225 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13226 (tests): Do not include $(tests-bp.out).
13227 (xtests): Do not include $(xtests-bp.out).
13228 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13229 [$(build-bounded) = yes] ($(addprefix
13230 $(objpfx),$(binaries-bounded))): Remove rule.
13231 ($(objpfx)%-bp.out): Remove rule.
13232 * config.make.in (build-bounded): Remove variable.
13233 * crypt/Makefile [$(build-bounded) = yes]
13234 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13235 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13236 append to variable.
13237 [$(build-bounded) = yes] (install-lib): Likewise.
13238 [$(build-bounded) = yes] (generated): Likewise.
13239 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13241 * intl/Makefile [$(build-bounded) = yes]
13242 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13243 * math/Makefile [$(build-bounded) = yes]
13244 ($(tests:%=$(objpfx)%-bp): Likewise.
13245 * misc/Makefile [$(build-bounded) = yes]
13246 ($(objpfx)tst-tsearch-bp): Likewise.
13247 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13248 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13250 * string/Makefile (o-objects.ob): Remove variable.
13251 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13252 (CFLAGS-.ob): Remove variable.
13253 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13254 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13255 both definitions of variable.
13256 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13257 (ASFLAGS-.ob): Remove variable.
13259 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13262 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13263 Remove __BOUNDED_POINTERS__ from condition.
13264 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13265 * string/bits/string2.h [!__NO_STRING_INLINES &&
13266 !__BOUNDED_POINTERS__]: Likewise.
13267 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13269 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13270 Remove conditional code.
13271 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13272 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13273 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13277 * csu/libc-start.c: Do not include <bp-sym.h>.
13278 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13279 * elf/dl-open.c: Do not include <bp-sym.h>.
13280 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13281 * math/fegetenv.c: Do not include <bp-sym.h>.
13282 (fegetenv): Do not use BP_SYM in versioned symbols.
13283 * nptl/sysdeps/pthread/bits/libc-lockP.h
13284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13287 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13289 (__pthread_mutex_destroy): Likewise.
13290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13291 (__pthread_mutex_lock): Likewise.
13292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13293 (__pthread_mutex_trylock): Likewise.
13294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13295 (__pthread_mutex_unlock): Likewise.
13296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13297 (__pthread_mutexattr_init): Likewise.
13298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13299 (__pthread_mutexattr_destroy): Likewise.
13300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13301 (__pthread_mutexattr_settype): Likewise.
13302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13303 (__pthread_rwlock_init): Likewise.
13304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13305 (__pthread_rwlock_destroy): Likewise.
13306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13307 (__pthread_rwlock_rdlock): Likewise.
13308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13309 (__pthread_rwlock_tryrdlock): Likewise.
13310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13311 (__pthread_rwlock_wrlock): Likewise.
13312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13313 (__pthread_rwlock_trywrlock): Likewise.
13314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13315 (__pthread_rwlock_unlock): Likewise.
13316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13317 (__pthread_key_create): Likewise.
13318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13319 (__pthread_setspecific): Likewise.
13320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13321 (__pthread_getspecific): Likewise.
13322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13325 (_pthread_cleanup_push_defer): Likewise.
13326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13327 (_pthread_cleanup_pop_restore): Likewise.
13328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13329 (pthread_setcancelstate): Likewise.
13330 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13332 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13333 (memchr): Do not use BP_SYM in weak_alias.
13334 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13335 (fegetenv): Do not use BP_SYM in versioned symbols.
13336 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13337 (fesetenv): Do not use BP_SYM in versioned symbols.
13338 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13339 (feupdateenv): Do not use BP_SYM in versioned symbols.
13340 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13341 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13342 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13343 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13344 (open64): Do not use BP_SYM in weak_alias.
13345 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13346 (fegetenv): Do not use BP_SYM in versioned symbols.
13347 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13348 (fesetenv): Do not use BP_SYM in versioned symbols.
13349 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13350 (feupdateenv): Do not use BP_SYM in versioned symbols.
13351 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13352 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13353 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13354 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13355 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13356 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13357 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13359 (__libc_start_main): Do not use BP_SYM.
13361 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13364 redundant return line.
13366 (denorm): Likewise.
13367 (dbl_mp): Likewise.
13368 (sub_magnitudes): Likewise.
13374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13376 (denorm): Likewise.
13377 (dbl_mp): Likewise.
13378 (sub_magnitudes): Likewise.
13385 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13387 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13388 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13391 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13392 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13394 of __mul for squares.
13395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13399 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13400 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13402 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13405 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13407 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13408 prototype or function definition. Rename ubp_* variables and
13409 parameters. Remove argv definitions conditional on
13410 [__BOUNDED_POINTERS__].
13411 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13412 * elf/dl-runtime.c (_dl_fixup): Likewise.
13413 * include/set-hooks.h (RUN_HOOK): Likewise.
13414 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13416 * string/strcpy.c (strcpy): Do not use __unbounded.
13417 * sysdeps/generic/frame.h (struct layout): Likewise.
13418 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13419 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13420 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13421 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13422 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13423 (__backtrace): Likewise.
13424 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13426 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13427 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13428 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13430 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13431 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13432 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13433 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13434 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13435 Do not use __unbounded.
13436 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13437 Rename __unboundedrlimits parameter to rlimits in prototype.
13438 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13439 Do not use __unbounded.
13440 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13441 not use __ptrvalue.
13442 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13443 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13444 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13445 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13446 __ptrvalue or __unbounded.
13447 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13448 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13450 (__new_msgctl): Do not use __ptrvalue.
13451 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13453 (__libc_msgrcv): Do not use __ptrvalue.
13454 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13455 startup_info): Do not use __unbounded.
13456 (__libc_start_main): Likewise. Rename ubp_* variables and
13457 parameters. Remove argv definitions conditional on
13458 [__BOUNDED_POINTERS__].
13459 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13461 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13463 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13465 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13467 (__new_shmctl): Do not use __ptrvalue.
13468 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13469 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13471 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13473 (__libc_sigaction): Likewise.
13474 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13475 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13479 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13481 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13483 * string/mempcpy.c: Implement by calling memcpy.
13485 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13492 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13493 values in the mantissa.
13495 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13496 minimize writes to Z.
13497 (sub_magnitudes): Simplify code a bit.
13499 2013-02-12 Roland McGrath <roland@hack.frob.com>
13501 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13502 from the message. The linker prefixes all warnings with that already.
13504 2013-02-12 Andreas Schwab <schwab@suse.de>
13507 * posix/regexec.c (extend_buffers): Add parameter min_len.
13508 (check_matching): Pass minimum needed length.
13509 (clean_state_log_if_needed): Likewise.
13510 (get_subexp): Likewise.
13511 * posix/Makefile (tests): Add bug-regex34.
13512 (bug-regex34-ENV): Define.
13513 * posix/bug-regex34.c: New file.
13516 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13517 elements compare against the byte sequence of it, not its name.
13518 * posix/Makefile (tests): Add bug-regex35.
13519 (bug-regex35-ENV): Define.
13520 * posix/bug-regex35.c: New file.
13522 2013-02-11 Tom de Vries <tom@codesourcery.com>
13524 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13526 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13527 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13528 (CHECK_EOL): Add undef.
13530 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13532 * bits/stdlib-bsearch.h: New file.
13533 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13534 * stdlib/stdlib.h: Likewise.
13536 2013-02-11 Roland McGrath <roland@hack.frob.com>
13538 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13539 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13541 * manual/search.texi (Array Search Function): Add missing const in
13543 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13544 declaration to use rlim_t.
13545 (Basic Scheduling Functions): Remove erroneous const from
13546 sched_getparam prototype. Remove erroneous * from
13547 sched_get_priority_max and sched_get_priority_min prototypes.
13548 (Resource Usage): Fix summary @comment on vtimes to refer to
13549 sys/vtimes.h rather than vtimes.h.
13550 Add missing *s in vtimes prototype.
13551 (Limits on Resources): Fix ulimit prototype to return long int.
13552 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13553 prototypes to use long int rather than double.
13554 (BSD Random): Fix initstate and setstate to use char *, not void *.
13555 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13556 prototype to make second argument 'struct aiocb64 *const[]'.
13557 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13558 (Status of AIO Operations): Remove erroneous const in aio_return and
13559 aio_return64 prototypes.
13560 (Synchronizing I/O): Fix sync prototype to return void.
13561 * manual/startup.texi (Suboptions): Remove an erroneous const in
13562 getsubopt prototype.
13563 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13564 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13565 use size_t rather than int.
13566 (Scanning All Users): Likewise for getpwent_r.
13567 (Setting Groups): Add missing const to setgroups prototype.
13568 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13569 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13570 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13571 'const void *' rather than 'const char *'.
13572 (Host Address Functions): Likewise for inet_ntop.
13573 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13574 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13575 ssize_t for return value.
13576 (Sending Data): Likewise for send, sendto, sendmsg.
13577 (Socket Option Functions): Add a missing const in setsockopt prototype.
13578 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13579 use wchar_t for the argument.
13580 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13581 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13583 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13584 double/float/long double for second argument.
13585 Fix return types of significand, significandf, significandl.
13586 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13587 argument in fchmod prototype.
13588 (File Owner): Use uid_t and gid_t in fchown prototype.
13589 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13590 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13591 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13592 use 'const struct dirent **' as argument types to CMP function pointer
13594 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13595 (File Times): Fix summary magic @comment for struct utimbuf and utime
13596 to refer to utime.h, not time.h.
13597 * manual/string.texi (Argz Functions): Add missing const in
13598 argz_extract and argz_next prototypes.
13599 (Finding Tokens in a String): Likewise for basename.
13600 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13601 (Copying and Concatenation): Fix typo in wmemmove prototype.
13602 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13603 (Signal Stack): Remove erroneous const in sigstack prototype.
13604 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13606 (Simple Calendar Time): Likewise for stime.
13607 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13609 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13610 say sys/sysctl.h instead.
13611 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13612 and vsyslog prototypes.
13614 2013-02-11 Tom de Vries <tom@codesourcery.com>
13616 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13619 2013-02-11 Roland McGrath <roland@hack.frob.com>
13621 * misc/sys/mman.h: Fix typo in mremap comment.
13623 2013-02-08 Roland McGrath <roland@hack.frob.com>
13625 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13626 the '\0' terminator.
13628 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13631 * debug/segfault.c: Don't include <bp-checks.h>.
13632 * sysdeps/generic/bp-checks.h: Remove file.
13633 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13634 (__GETDENTS): Don't use CHECK_N.
13635 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13636 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13637 (__getgroups): Don't use CHECK_N.
13638 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13639 (setgroups): Don't use CHECK_N.
13640 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13641 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13642 (__libc_msgrcv): Don't use CHECK_N.
13643 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13644 (__libc_msgsnd): Don't use CHECK_N.
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13647 (__libc_pread): Don't use CHECK_N.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13649 include <bp-checks.h>.
13650 (__libc_pread64): Don't use CHECK_N.
13651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13652 include <bp-checks.h>.
13653 (__libc_pwrite): Don't use CHECK_N.
13654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13655 include <bp-checks.h>.
13656 (__libc_pwrite64): Don't use CHECK_N.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13659 (__libc_pread): Don't use CHECK_N.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13661 include <bp-checks.h>.
13662 (__libc_pread64): Don't use CHECK_N.
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13664 include <bp-checks.h>.
13665 (__libc_pwrite): Don't use CHECK_N.
13666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13667 include <bp-checks.h>.
13668 (__libc_pwrite64): Don't use CHECK_N.
13669 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13670 (do_pread): Don't use CHECK_N.
13671 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13672 (do_pread64): Don't use CHECK_N.
13673 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13674 (do_pwrite): Don't use CHECK_N.
13675 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13676 (do_pwrite64): Don't use CHECK_N.
13677 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13678 (__libc_readv): Don't use CHECK_N.
13679 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13680 (semop): Don't use CHECK_N.
13681 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13683 (semtimedop): Don't use CHECK_N.
13684 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13685 (__libc_pread): Don't use CHECK_N.
13686 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13688 (__libc_pread64): Don't use CHECK_N.
13689 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13691 (__libc_pwrite): Don't use CHECK_N.
13692 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13694 (__libc_pwrite64): Don't use CHECK_N.
13695 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13697 (__libc_msgrcv): Don't use CHECK_N.
13698 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13699 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13700 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13701 (__libc_writev): Don't use CHECK_N.
13703 2013-02-08 Roland McGrath <roland@hack.frob.com>
13705 * string/strcpy.c: Removed unused variable.
13707 * Makeconfig (+sysdep-includes): Define with := rather than =.
13708 Use an existing include/ subdir of each sysdeps dir before it.
13710 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13712 * nscd/connection.c (register_traced_file): Comment function.
13713 [HAVE_INOTIFY] (union __inev): Define.
13714 [HAVE_INOTIFY] (inotify_check_files): New function.
13715 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13716 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13718 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13720 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13722 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13723 loaded if not already and that a failure is permanent.
13725 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13728 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13729 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13731 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13734 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13735 (CHECK_1_NULL_OK): Likewise.
13736 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13737 (__fxstat): Do not use CHECK_1.
13738 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13740 (___fxstat64): Do not use CHECK_1.
13741 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13743 (__fxstatat): Do not use CHECK_1.
13744 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13746 (__fxstatat64): Do not use CHECK_1.
13747 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13749 (__fxstat): Do not use CHECK_1.
13750 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13752 (__fxstatat): Do not use CHECK_1.
13753 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13755 (__getresgid): Do not use CHECK_1.
13756 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13758 (__getresuid): Do not use CHECK_1.
13759 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13761 (__lxstat): Do not use CHECK_1.
13762 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13764 (__old_msgctl): Do not use CHECK_1.
13765 (__new_msgctl): Likewise.
13766 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13768 (__new_setrlimit): Do not use CHECK_1.
13769 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13771 (__old_shmctl): Do not use CHECK_1.
13772 (__new_shmctl): Likewise.
13773 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13775 (__xstat): Do not use CHECK_1.
13776 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13777 (__lxstat): Do not use CHECK_1.
13778 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13780 (___lxstat64): Do not use CHECK_1.
13781 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13782 (__old_msgctl): Do not use CHECK_1.
13783 (__new_msgctl): Likewise.
13784 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13786 (__gettimeofday): Do not use CHECK_1.
13787 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13788 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13789 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13791 (__gettimeofday): Do not use CHECK_1.
13792 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13793 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13794 (__new_shmctl): Do not use CHECK_1.
13795 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13797 (do_sigtimedwait): Do not use CHECK_1.
13798 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13800 (do_sigwaitinfo): Do not use CHECK_1.
13801 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13803 (msgctl): Do not use CHECK_1.
13804 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13806 (shmctl): Do not use CHECK_1.
13807 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13808 (ustat): Do not use CHECK_1.
13809 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13811 (__fxstat): Do not use CHECK_1.
13812 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13814 (__fxstatat): Do not use CHECK_1.
13815 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13817 (__lxstat): Do not use CHECK_1.
13818 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13820 (__xstat): Do not use CHECK_1.
13821 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13822 (__xstat): Do not use CHECK_1.
13823 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13824 (___xstat64): Do not use CHECK_1.
13827 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13829 (CHECK_BOUNDS_HIGH): Likewise.
13830 * string/strcpy.c: Do not include <bp-checks.h>.
13831 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13833 2013-02-07 Roland McGrath <roland@hack.frob.com>
13835 * nscd/nscd-client.h (__nscd_drop_map_ref):
13836 Add __attribute__ ((unused)).
13837 * nis/nss-nisplus.h (niserr2nss): Likewise.
13839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13840 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13842 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13843 Remove inline keyword.
13844 * include/rounding-mode.h (round_away): Likewise.
13845 * libio/wfileops.c (adjust_wide_data): Likewise.
13846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13847 (__m128i_strloadu_tolower): Likewise.
13848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13849 (__m128i_strloadu_tolower): Likewise.
13850 * time/mktime.c (ydhms_diff): Likewise.
13851 * locale/elem-hash.h (elem_hash): Likewise.
13852 * locale/setlocale.c (setdata): Likewise.
13853 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13854 (re_string_wchar_at): Likewise.
13855 (bitset_not, bitset_merge, bitset_mask): Likewise.
13856 [!(__GNUC__ > 3)] (inline): Remove macro.
13857 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13858 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13859 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13860 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13861 * string/memcmp.c (memcmp_bytes): Likewise.
13862 * locale/programs/locarchive.c (compute_hashval): Likewise.
13863 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13864 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13865 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13866 * nss/getent.c (print_rpc, print_protocols): Likewise.
13867 (print_passwd, print_group, print_aliases): Likewise.
13868 * nis/nss-nisplus.h (niserr2nss): Likewise.
13869 * nscd/connections.c (restart_p): Likewise.
13870 Change return type to bool.
13872 2013-02-05 Roland McGrath <roland@hack.frob.com>
13874 * Makeconfig (all-Depend-files): Add existing
13875 $(sorted-subdirs:=/Depend) files.
13876 (all-subdirs): Remove nss.
13877 * sysdeps/unix/inet/Subdirs: Add it here instead.
13878 * hesiod/Depend: New file.
13880 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13881 instead of calling alloca.
13883 * io/lseek.c (__lseek): Rename to __libc_lseek.
13884 Define __lseek as an alias.
13886 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13888 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13890 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13891 else clause and remove check for non-standard endianness.
13893 2013-02-04 David S. Miller <davem@davemloft.net>
13895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13897 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13900 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13901 (__ubp_memchr): Remove prototype.
13902 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13903 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13904 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13905 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13906 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13908 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13909 (__ubp_memchr): Likewise.
13910 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13911 (__ubp_memchr): Likewise.
13912 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13913 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13914 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13915 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13917 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13918 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13919 (__getcwd): Do not use CHECK_STRING.
13920 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13922 (__real_chown): Do not use CHECK_STRING.
13923 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13925 (fchownat): Do not use CHECK_STRING.
13926 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13928 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13930 (__lchown): Do not use CHECK_STRING.
13931 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13932 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13933 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13934 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13936 include <bp-checks.h>.
13937 (truncate64): Do not use CHECK_STRING.
13938 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13940 (__real_chown): Do not use CHECK_STRING.
13941 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13943 (__lchown): Do not use CHECK_STRING.
13944 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13946 (__chown): Do not use CHECK_STRING.
13947 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13949 (truncate64): Do not use CHECK_STRING.
13950 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13952 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13953 (__xmknod): Do not use CHECK_STRING.
13954 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13956 (__xmknodat): Do not use CHECK_STRING.
13957 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13958 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13960 2013-02-04 Andreas Schwab <schwab@suse.de>
13963 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13964 * include/netdb.h: Likewise for h_errno.
13965 * elf/tst-stackguard1.c: Include <tls.h>.
13967 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13969 * elf/link.h (struct link_map): Extend the l_addr comment.
13970 * include/link.h (struct link_map): Likewise.
13972 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13975 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13976 (BOUNDED_1): Remove macro.
13977 * debug/backtrace.c: Don't include <bp-checks.h>.
13978 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13979 (__backtrace): Likewise.
13980 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13982 (__backtrace): Don't use BOUNDED_1.
13983 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13985 (__backtrace): Don't use BOUNDED_1.
13986 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13987 (__backtrace): Don't use BOUNDED_1.
13988 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13989 (shmat): Don't use BOUNDED_N.
13991 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13994 * sysdeps/generic/bp-start.h: Remove file.
13995 * csu/libc-start.c: Don't include <bp-start.h>.
13996 (LIBC_START_MAIN): Set up __environ directly instead of using
13997 INIT_ARGV_and_ENVIRON.
13998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14002 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14004 (CHECK_FCNTL): Likewise.
14005 (CHECK_N_PAGES): Likewise.
14008 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14010 (CHECK_SIGSET_NULL_OK): Likewise.
14011 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14013 (sigpending): Don't use CHECK_SIGSET.
14014 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14016 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14017 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14019 (do_sigsuspend): Don't use CHECK_SIGSET.
14020 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14022 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14023 (do_sigwait): Don't use CHECK_SIGSET.
14024 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14027 include <bp-checks.h>.
14028 (sigpending): Don't use CHECK_SIGSET.
14029 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14030 include <bp-checks.h>.
14031 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14032 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14034 (sigpending): Don't use CHECK_SIGSET.
14035 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14037 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14040 * sysdeps/generic/bp-semctl.h: Remove file.
14041 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14042 <bp-checks.h> and <bp-semctl.h>.
14043 (__old_semctl): Don't use CHECK_SEMCTL.
14044 (__new_semctl): Likewise.
14045 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14047 (__old_semctl): Don't use CHECK_SEMCTL.
14048 (__new_semctl): Likewise.
14049 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14050 <bp-checks.h> and <bp-semctl.h>.
14051 (__old_semctl): Don't use CHECK_SEMCTL.
14052 (__new_semctl): Likewise.
14053 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14054 <bp-checks.h> and <bp-semctl.h>.
14055 (semctl): Don't use CHECK_SEMCTL.
14058 * Makerules (elide-bp-thunks): Remove variable.
14059 (elide-routines.oS): Don't use $(elide-bp-thunks).
14060 (elide-routines.os): Likewise.
14061 (elide-routines.o): Likewise.
14062 (elide-routines.op): Likewise.
14063 (elide-routines.og): Likewise.
14064 (objects): Don't use $(bp-thunks).
14065 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14067 (common-generated): Do not add s-proto-bp.d.
14068 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14071 Do not generate makefile rules for bounded-pointer thunks.
14072 * sysdeps/generic/bp-thunks.h: Remove file.
14073 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14074 * sysdeps/unix/s-proto-bp.S: Likewise.
14077 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14078 parts of result separately when argument is not close to line from
14079 -i to i and one part of argument is small.
14080 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14081 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14082 * math/libm-test.inc (cacos_test): Add more tests.
14083 (casin_test): Likewise.
14084 (casinh_test): Likewise.
14085 * sysdeps/i386/fpu/libm-test-ulps: Update.
14086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14088 2013-01-31 David S. Miller <davem@davemloft.net>
14090 * po/de.po: Update from translation team.
14092 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14094 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14096 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14098 * configure.in (_AC_PROG_CC_C89): New definition.
14099 * configure: Regenerate.
14101 * configure.in (AC_PROG_CPP): New definition.
14102 * configure: Regenerate.
14104 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14106 * debug/tst-backtrace.h: New file.
14107 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14108 (ret): Remove variable.
14110 (FAIL): Remove macro.
14111 (NO_INLINE): Likewise.
14112 (fn1): Use match function instead of strstr.
14113 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14114 (ret): Remove variable.
14116 (FAIL): Remove macro.
14117 (NO_INLINE): Likewise.
14118 (fn): Use match function instead of strstr.
14119 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14120 (ret): Remove variable.
14122 (FAIL): Remove macro.
14123 (NO_INLINE): Likewise.
14124 (handle_signal): Use match function instead of strstr.
14125 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14126 (ret): Remove variable.
14128 (FAIL): Remove macro.
14129 (NO_INLINE): Likewise.
14130 (handle_signal): Use match function instead of strstr.
14132 2013-01-23 Roland McGrath <roland@hack.frob.com>
14134 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14136 2013-01-23 David S. Miller <davem@davemloft.net>
14138 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14139 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14140 argument of CAS if possible.
14141 * sysdeps/sparc/sparc64/bits/atomic.h
14142 (__arch_compare_and_exchange_val_32_acq): Likewise.
14143 (__arch_compare_and_exchange_val_64_acq): Likewise.
14145 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14147 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14148 * sysdeps/posix/ulimit.c: ... this.
14149 Include <limits.h>.
14150 * sysdeps/unix/bsd/ulimit.c: Remove file.
14152 2013-01-23 Adam Conrad <adconrad@0c3.net>
14154 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14155 (LDFLAGS-tst-array5): Likewise.
14157 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14160 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14161 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14162 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14163 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14165 2013-01-21 David S. Miller <davem@davemloft.net>
14167 * sysdeps/sparc/backtrace.c: New file.
14168 * sysdeps/sparc/sparc32/backtrace.h: New file.
14169 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14170 * sysdeps/sparc/sparc64/backtrace.h: New file.
14171 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14172 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14175 2013-01-21 Andreas Schwab <schwab@suse.de>
14178 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14181 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14187 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14188 Mark Mitchell <mark@codesourcery.com>
14189 Tom de Vries <tom@codesourcery.com>
14190 Paul Pluzhnikov <ppluzhnikov@google.com>
14192 * debug/tst-backtrace2.c: New file.
14193 * debug/tst-backtrace3.c: Likewise.
14194 * debug/tst-backtrace4.c: Likewise.
14195 * debug/tst-backtrace5.c: Likewise.
14196 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14197 (CFLAGS-tst-backtrace3.c): Likewise.
14198 (CFLAGS-tst-backtrace4.c): Likewise.
14199 (CFLAGS-tst-backtrace5.c): Likewise.
14200 (LDFLAGS-tst-backtrace2): Likewise.
14201 (LDFLAGS-tst-backtrace3): Likewise.
14202 (LDFLAGS-tst-backtrace4): Likewise.
14203 (LDFLAGS-tst-backtrace5): Likewise.
14204 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14205 tst-backtrace4 and tst-backtrace5.
14207 2013-01-18 Anton Blanchard <anton@samba.org>
14208 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14210 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14211 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14212 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14213 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14215 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14216 "+r" and remove output regs list as redundant. Add explicit inline
14217 asm to specify register of return val to work around compiler codegen
14218 bug. Remove (int) cast on return value. Add return type parameter to
14219 use in macro so that this macro does not truncate return value for
14221 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14222 pass to INTERNAL_VSYSCALL_NCS.
14223 (INLINE_VSYSCALL): Add 'long int' as return type to
14224 INTERNAL_VSYSCALL_NCS macro invocation.
14225 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14226 INTERNAL_VSYSCALL_NCS macro invocation.
14227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14229 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14232 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14233 Fix application of SIMD FP exception mask.
14235 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14236 mp_no from a power of two.
14237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14238 __mpexp_twomm1. Use __pow_mp.
14240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14243 2013-01-17 David S. Miller <davem@davemloft.net>
14245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14247 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14250 * include/complex.h: Condition contents on [!_COMPLEX_H].
14251 (__kernel_casinhf): New prototype.
14252 (__kernel_casinh): Likewise.
14253 (__kernel_casinhl): Likewise.
14254 * math/Makefile (libm_calls): Add k_casinh.
14255 * math/k_casinh.c: New file.
14256 * math/k_casinhf.c: Likewise.
14257 * math/k_casinhl.c: Likewise.
14258 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14259 finite nonzero arguments.
14260 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14261 finite nonzero arguments.
14262 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14263 finite nonzero arguments.
14264 * math/s_casinh.c: Do not include <float.h>.
14265 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14266 * math/s_casinhf.c: Do not include <float.h>.
14267 (__casinhf): Move code for finite nonzero arguments to
14269 * math/s_casinhl.c: Do not include <float.h>.
14270 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14272 (__casinhl): Move code for finite nonzero arguments to
14274 * math/libm-test.inc (cacos_test): Add more tests.
14275 * sysdeps/i386/fpu/libm-test-ulps: Update.
14276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14278 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14280 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14281 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14282 [!HAVE_MREMAP]: Remove [defined linux] case.
14283 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14285 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14287 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14289 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14291 * elf/elf.h (R_386_SIZE32): New relocation.
14292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14294 (elf_machine_rela): Likewise.
14295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14296 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14298 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14300 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14301 (FP_FAST_FMA): Do not define.
14302 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14303 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14304 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14305 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14306 !_SOFT_FLOAT]: Likewise.
14307 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14308 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14311 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14313 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14314 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14315 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14318 2013-01-16 Andreas Schwab <schwab@suse.de>
14321 * include/stdlib.h (__mktemp): Add declaration.
14322 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14323 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14325 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14327 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14329 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14330 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14331 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14333 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14334 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14336 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14338 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14339 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14340 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14342 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14343 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14345 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14347 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14349 2013-01-15 David S. Miller <davem@davemloft.net>
14351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14352 trunc{,f} to libm-sysdep_routes.
14353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14363 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14364 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14365 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14366 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14367 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14368 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14371 nearbyint{,f} to libm-sysdep_routes.
14372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14383 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14386 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14389 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14390 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14392 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14393 libc_feholdexcept and libc_fesetenv.
14395 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14397 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14399 2013-01-14 David S. Miller <davem@davemloft.net>
14401 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14402 (SPARC_ASM_VIS2_IFUNC): Likewise.
14403 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14405 use of 'siam' instruction.
14406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14439 routines to libm-sysdep_routines.
14440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14443 fdim/fdimf to libm-sysdep_routines.
14444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14452 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14453 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14454 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14455 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14457 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14459 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14460 to optimize copies.
14462 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14467 local variable MPTWO.
14468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14471 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14473 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14476 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14478 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14480 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14482 * manual/pattern.texi (glob_t): Document gl_flags.
14483 (glob64_t): Likewise.
14485 2013-01-11 David S. Miller <davem@davemloft.net>
14487 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14488 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14489 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14490 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14491 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14492 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14493 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14494 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14495 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14496 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14497 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14498 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14499 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14501 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14502 sparc V9 rather than using V8 code.
14503 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14504 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14506 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14508 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14511 2013-01-11 Roland McGrath <roland@hack.frob.com>
14513 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14514 not in the main loop.
14515 * configure: Regenerated.
14517 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14519 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14520 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14522 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14523 [!__GLIBC_HAVE_LONG_LONG] case.
14524 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14525 condition to just #else.
14526 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14527 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14528 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14529 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14531 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14532 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14533 #elif condition to just #else.
14534 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14535 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14536 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14537 #elif condition to just #else.
14539 2013-01-11 Steve Ellcey <sellcey@mips.com>
14541 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14542 (EF_MIPS_ARCH_64): Fix value.
14543 (EF_MIPS_ARCH_32R2): New.
14544 (EF_MIPS_ARCH_64R2): New.
14546 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14548 * Makeconfig (+link-pie-before-libc): New.
14549 (+link-pie-after-libc): Likewise.
14550 (+link-pie-tests): Likewise.
14551 (+link-pie): Rewritten.
14552 (link-before-libc): Remove $(config-LDFLAGS).
14553 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14554 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14555 (config-LDFLAGS): Renamed to ...
14556 (rtld-LDFLAGS): This.
14557 (rtld-tests-LDFLAGS): New macro.
14558 (link-libc-rpath-link): Likewise.
14559 (link-libc-tests-rpath-link): Likewise.
14560 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14561 (link-libc): Prepand $(link-libc-rpath-link).
14562 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14563 (test-program-prefix): New macro.
14564 (test-via-rtld-prefix): Likewise.
14565 (test-program-cmd): Likewise.
14566 (host-test-program-cmd): Likewise.
14567 * Makefile ($(common-objpfx)testrun.sh): Replace
14568 $(run-program-prefix) with $(test-program-prefix).
14569 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14571 ($(common-objpfx)shlib.lds): Likewise.
14572 (build-module-helper): Likewise.
14573 ($(common-objpfx)format.lds): Likewise.
14574 * Rules (binaries-pie-tests): New.
14575 (binaries-pie-notests): Likewise.
14576 (binaries-pie): Rewritten.
14577 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14578 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14579 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14580 (make-test-out): Replace $(host-built-program-cmd) with
14581 $(host-test-program-cmd).
14582 * config.make.in (build-hardcoded-path-in-tests): New variable.
14583 * configure.in (--enable-hardcoded-path-in-tests): New configure
14585 (hardcoded_path_in_tests): New AC_SUBST.
14586 * configure: Regenerated.
14587 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14588 $(built-program-cmd) with $(test-program-cmd).
14589 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14590 (test_program_cmd): This.
14591 * elf/Makefile ($(objpfx)order.out): Run test with
14592 $(test-program-prefix).
14593 ($(objpfx)order2.out): Likewise.
14594 ($(objpfx)tst-initorder.out): Likewise.
14595 ($(objpfx)tst-initorder2.out): Likewise.
14596 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14597 $(test-program-cmd).
14598 ($(objpfx)tst-array1-static.out): Likewise.
14599 ($(objpfx)tst-array2.out): Likewise.
14600 ($(objpfx)tst-array3.out): Likewise.
14601 ($(objpfx)tst-array4.out): Likewise.
14602 ($(objpfx)tst-array5.out): Likewise.
14603 ($(objpfx)tst-array5-static.out): Likewise.
14604 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14605 $(test-program-cmd).
14606 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14607 $(run-program-prefix) with $(test-program-prefix).
14608 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14609 (test_program_prefix): This.
14610 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14611 $(run-program-prefix) with $(test-program-prefix).
14612 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14613 (test_program_prefix): This.
14614 * iconvdata/tst-tables.sh: Likewise.
14615 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14616 $(run-program-prefix) with $(test-program-prefix).
14617 ($(objpfx)tst-translit.out): Likewise.
14618 ($(objpfx)tst-gettext2.out): Likewise.
14619 ($(objpfx)tst-gettext4.out): Likewise.
14620 ($(objpfx)tst-gettext6.out): Likewise.
14621 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14622 (test_program_prefix): This.
14623 * intl/tst-gettext2.sh: Likewise.
14624 * intl/tst-gettext4.sh Likewise.
14625 * intl/tst-gettext6.sh: Likewise.
14626 * intl/tst-translit.sh: Likewise.
14627 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14628 with $(test-program-cmd).
14629 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14630 $(run-program-prefix) with $(test-program-prefix).
14631 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14632 (test_program_prefix): This.
14633 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14634 $(run-program-prefix) with $(test-program-prefix).
14635 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14636 (test_program_prefix): This.
14637 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14638 * posix/Makefile ($(objpfx)globtest.out): Replace
14639 $(run-via-rtld-prefix) and $(test-wrapper) with
14640 $(test-program-prefix) and $(test-via-rtld-prefix).
14641 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14642 $(test-program-prefix).
14643 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14644 $(host-test-program-cmd).
14645 (tst-spawn-ARGS): Likewise.
14646 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14647 $(test-program-prefix).
14648 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14649 (test_via_rtld_prefix): This.
14650 (test_wrapper): Renamed to ...
14651 (test_program_prefix): This.
14652 (run_program_prefix): Replaced by test_program_prefix.
14653 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14654 (test_program_prefix): This.
14655 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14656 with $(host-test-program-cmd).
14657 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14658 $(run-program-prefix) with $(test-program-prefix).
14659 ($(objpfx)tst-printf.out): Likewise.
14660 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14661 $(test-program-cmd).
14662 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14663 (test_program_prefix): This.
14664 * stdio-common/tst-unbputc.sh: Likewise.
14665 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14666 $(run-program-prefix) with $(test-program-prefix).
14667 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14668 (test_program_prefix): This.
14669 * string/Makefile ($(objpfx)tst-svc.out): Replace
14670 $(built-program-cmd) with $(test-program-cmd).
14672 2013-01-11 Andreas Jaeger <aj@suse.de>
14675 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14676 value. Sync with Linux 3.7.
14678 2013-01-10 David S. Miller <davem@davemloft.net>
14680 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14681 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14682 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14684 2013-01-10 Roland McGrath <roland@hack.frob.com>
14686 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14688 * configure: Regenerated.
14690 2013-01-10 David S. Miller <davem@davemloft.net>
14692 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14693 sparc V9 rather than using V8 code.
14694 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14695 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14697 2013-01-10 Roland McGrath <roland@hack.frob.com>
14699 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14700 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14701 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14702 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14703 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14704 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14705 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14706 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14707 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14708 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14709 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14710 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14711 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14712 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14713 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14714 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14715 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14716 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14717 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14718 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14719 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14720 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14721 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14722 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14723 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14724 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14725 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14727 2013-01-10 David S. Miller <davem@davemloft.net>
14729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14731 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14733 * posix/Makefile (tests-static): New variable.
14734 (tests): Add $(tests-static).
14735 (tst-exec-static-ARGS): New variable.
14736 (tst-spawn-static-ARGS): Likewise.
14737 * posix/tst-exec-static.c: New file.
14738 * posix/tst-spawn-static.c: Likewise.
14739 * posix/tst-exec.c: Support run directly.
14740 * posix/tst-spawn.c: Likewise.
14742 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14744 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14746 * math/bits/mathcalls.h (llrint): Likewise.
14747 (llround): Likewise.
14748 * stdlib/stdlib.h (struct drand48_data): Likewise.
14749 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14750 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14751 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14753 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14755 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14756 (elf_greg_t): Likewise.
14757 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14758 (__jmp_buf): Likewise.
14759 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14761 (llrint): Likewise, for all definitions.
14762 (llrintl): Likewise.
14764 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14765 Remove [__GNUC__] condition.
14766 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14767 condition to just [__USE_ISOC99].
14768 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14770 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14773 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14774 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14776 (_POSIX_V6_ILP32_OFF32): Likewise.
14777 (_XBS5_ILP32_OFF32): Likewise.
14778 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14779 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14781 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14783 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14786 doubles __mpexp_twomm1. Adjust usage.
14787 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14790 2013-01-10 Andreas Schwab <schwab@suse.de>
14793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14794 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14796 2013-01-09 David S. Miller <davem@davemloft.net>
14799 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14800 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14801 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14802 TCP_FASTOPEN): Define.
14803 (tcp_repair_opt): New structure.
14804 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14806 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14807 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14808 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14809 (tcp_cookie_transactions): New structure.
14811 2013-01-09 Anton Blanchard <anton@samba.org>
14813 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14814 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14815 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14816 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14818 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14820 * include/features.h (__USE_ANSI): Remove.
14822 2013-01-09 Roland McGrath <roland@hack.frob.com>
14824 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14826 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14828 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14830 * sysdeps/s390/fpu/libm-test-ulps: Update.
14832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14834 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14838 (denorm): Likewise.
14839 (__mp_dbl): Likewise.
14840 (__dbl_mp): Likewise.
14841 (add_magnitudes): Likewise.
14842 (sub_magnitudes): Likewise.
14848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14852 (denorm): Likewise.
14853 (__mp_dbl): Likewise.
14854 (__dbl_mp): Likewise.
14855 (add_magnitudes): Likewise.
14856 (sub_magnitudes): Likewise.
14862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14866 (denorm): Likewise.
14867 (__mp_dbl): Likewise.
14868 (__dbl_mp): Likewise.
14869 (add_magnitudes): Likewise.
14870 (sub_magnitudes): Likewise.
14877 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14879 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14880 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14881 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14882 2 && __USE_EXTERN_INLINES]: Likewise.
14884 2013-01-08 Andreas Jaeger <aj@suse.de>
14887 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14889 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14890 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14892 2013-01-07 Anton Blanchard <anton@samba.org>
14894 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14895 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14896 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14897 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14898 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14899 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14900 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14901 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14903 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14906 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14908 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14910 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14912 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14913 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14914 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14915 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14917 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14918 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14919 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14920 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14921 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14922 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14923 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14924 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14926 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14927 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14928 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14929 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14930 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14931 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14932 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14934 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14935 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14936 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14938 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14940 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14941 (__MALLOC_PMT): Likewise.
14942 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14943 [__GNUC__], only on [_LIBC].
14944 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14945 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14946 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14947 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14948 forward declaration.
14949 (realloc_hook_ini): Likewise.
14950 (memalign_hook_ini): Likewise.
14951 (__libc_memalign): Do not use __MALLOC_PMT in variable
14953 (__libc_valloc): Likewise.
14954 (__libc_pvalloc): Likewise.
14955 (__libc_calloc): Likewise.
14956 (__posix_memalign): Likewise.
14959 * math/s_casinh.c: Include <float.h>.
14960 (__casinh): Do not do computation with squaring and square root
14961 for large arguments.
14962 * math/s_casinhf.c: Include <float.h>.
14963 (__casinhf): Do not do computation with squaring and square root
14964 for large arguments.
14965 * math/s_casinhl.c: Include <float.h>.
14966 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14967 (__casinhl): Do not do computation with squaring and square root
14968 for large arguments.
14969 * math/libm-test.inc (casin_test): Add more tests.
14970 (casinh_test): Likewise.
14971 * sysdeps/i386/fpu/libm-test-ulps: Update.
14972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14974 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14976 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14977 (__x86_64_raw_data_cache_size): Likewise.
14978 (__x86_64_data_cache_size_half): Likewise.
14979 (__x86_64_raw_data_cache_size_half): Likewise.
14980 (__x86_64_shared_cache_size): Likewise.
14981 (__x86_64_raw_shared_cache_size): Likewise.
14982 (__x86_64_shared_cache_size_half): Likewise.
14983 (__x86_64_raw_shared_cache_size_half): Likewise.
14984 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14986 (__x86_data_cache_size): This.
14987 (__x86_64_raw_data_cache_size): Renamed to ...
14988 (__x86_raw_data_cache_size): This.
14989 (__x86_64_data_cache_size_half): Renamed to ...
14990 (__x86_data_cache_size_half): This.
14991 (__x86_64_raw_data_cache_size_half): Renamed to ...
14992 (__x86_raw_data_cache_size_half): This.
14993 (__x86_64_shared_cache_size): Renamed to ...
14994 (__x86_shared_cache_size): This.
14995 (__x86_64_raw_shared_cache_size): Renamed to ...
14996 (__x86_raw_shared_cache_size): This.
14997 (__x86_64_shared_cache_size_half): Renamed to ...
14998 (__x86_shared_cache_size_half): This.
14999 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15000 (__x86_raw_shared_cache_size_half): This.
15001 * sysdeps/x86_64/memcpy.S: Updated.
15002 * sysdeps/x86_64/memset.S: Likewise.
15003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15005 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15007 2013-01-04 David S. Miller <davem@davemloft.net>
15009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15011 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15013 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15014 1 to avoid redefinition warning.
15015 (__USE_GNU): Don't define.
15016 (init_signaling_nan): Protoize.
15018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15020 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15022 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15024 (__cpymn): Likewise.
15025 (norm): Remove commented code.
15026 (denorm): Likewise.
15027 (__mp_dbl): Likewise.
15029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15030 (__cpymn): Likewise.
15031 (norm): Remove commented code.
15032 (denorm): Likewise.
15033 (__mp_dbl): Likewise.
15036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15037 mp_no value for 1.0 and 2.0.
15038 (norm): Use RADIXI instead of radixi.d.
15039 (denorm): Likewise.
15040 (__mul): Use 0.0 instead of zero.d.
15041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15042 mp_no value for 1.0 and 2.0.
15043 (norm): Use RADIXI instead of radixi.d.
15044 (denorm): Likewise.
15045 (__mul): Use 0.0 instead of zero.d.
15047 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15050 * math/s_casinh.c (__casinh): Reduce finite argument to first
15051 quadrant then set signs of results at the end.
15052 * math/s_casinhf.c (__casinhf): Likewise.
15053 * math/s_casinhl.c (__casinhl): Likewise.
15054 * math/libm-test.inc (casin_test): Add more tests.
15055 (casinh_test): Likewise.
15056 * sysdeps/i386/fpu/libm-test-ulps: Update.
15057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15059 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15061 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15063 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15065 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15067 (denorm): Likewise.
15068 (__mp_dbl): Likewise.
15071 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15072 and adjust the header comment.
15074 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15075 variable name from declaration.
15077 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15080 Initialize COMMON_CPUID_INDEX_7 element.
15081 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15082 (CPUID_RTM): Likewise.
15083 (HAS_RTM): Likewise.
15084 (COMMON_CPUID_INDEX_7): New enum.
15086 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15089 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15090 size is zero, record memory as freed.
15092 2013-01-03 Andreas Jaeger <aj@suse.de>
15094 * po/ia.po: Add new Interlingua translation.
15096 2012-01-03 Allan McRae <allan@archlinux.org>
15098 * locale/programs/localedef.c: Fix description of '--posix' flag.
15100 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15102 * NEWS: Update dates in second copyright notice.
15103 * README: Update copyright dates in example.
15104 * manual/libc.texinfo: Update copyright dates.
15105 * scripts/test-installation.pl: Update copyright date in --version
15108 * hurd/ctty-input.c: Fix copyright notice formatting.
15109 * hurd/ctty-output.c: Likewise.
15110 * hurd/dtable.c: Likewise.
15111 * hurd/hurd-raise.c: Likewise.
15112 * hurd/hurdprio.c: Likewise.
15113 * hurd/msgportdemux.c: Likewise.
15114 * misc/sys/file.h: Likewise.
15115 * misc/sys/ioctl.h: Likewise.
15116 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15117 * sysdeps/mach/hurd/chdir.c: Likewise.
15118 * sysdeps/mach/hurd/fchdir.c: Likewise.
15119 * sysdeps/mach/hurd/rename.c: Likewise.
15120 * sysdeps/mach/hurd/rmdir.c: Likewise.
15121 * sysdeps/mach/hurd/seekdir.c: Likewise.
15122 * sysdeps/mach/hurd/setsid.c: Likewise.
15123 * sysdeps/posix/wait3.c: Likewise.
15125 * All files with FSF copyright notices: Update copyright dates
15126 using scripts/update-copyrights.
15127 * intl/plural.c: Regenerated.
15128 * locale/programs/charmap-kw.h: Likewise.
15129 * locale/programs/locfile-kw.h: Likewise.
15131 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15133 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15136 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15137 calculation loop and add branch prediction.
15139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15140 check access beyond bounds of m1np.
15142 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15144 (__inv): Remove local variable MPTWO to use the global
15146 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15149 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15150 MP3HALFS static const.
15152 2013-01-01 David S. Miller <davem@davemloft.net>
15154 * po/ca.po: Update from translation team.
15156 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15158 * scripts/update-copyrights: New file.
15159 * Makeconfig: Reformat copyright notice.
15160 * ctype/ctype.h: Likewise.
15161 * debug/swprintf_chk.c: Likewise.
15162 * elf/dl-cache.c: Likewise.
15163 * elf/dl-debug.c: Likewise.
15164 * elf/dl-object.c: Likewise.
15165 * grp/initgroups.c: Likewise.
15166 * hurd/Makefile: Likewise.
15167 * hurd/hurd/signal.h: Likewise.
15168 * hurd/hurdfault.c: Likewise.
15169 * hurd/hurdioctl.c: Likewise.
15170 * hurd/hurdlookup.c: Likewise.
15171 * hurd/intr-msg.c: Likewise.
15172 * iconv/gconv_open.c: Likewise.
15173 * libio/swprintf.c: Likewise.
15174 * locale/lc-ctype.c: Likewise.
15175 * locale/nl_langinfo.c: Likewise.
15176 * mach/Machrules: Likewise.
15177 * mach/Makefile: Likewise.
15178 * malloc/obstack.h: Likewise.
15179 * manual/Makefile: Likewise.
15180 * manual/tsort.awk: Likewise.
15181 * misc/bits/stab.def: Likewise.
15182 * nis/nis_print_group_entry.c: Likewise.
15183 * nis/nis_table.c: Likewise.
15184 * nis/nss_compat/compat-pwd.c: Likewise.
15185 * nis/nss_compat/compat-spwd.c: Likewise.
15186 * po/Makefile: Likewise.
15187 * posix/fnmatch.c: Likewise.
15188 * posix/regex.h: Likewise.
15189 * resolv/Makefile: Likewise.
15190 * resolv/nss_dns/dns-network.c: Likewise.
15191 * resolv/res_hconf.c: Likewise.
15192 * scripts/gen-sorted.awk: Likewise.
15193 * soft-fp/soft-fp.h: Likewise.
15194 * stdio-common/printf.h: Likewise.
15195 * stdlib/monetary.h: Likewise.
15196 * stdlib/random.c: Likewise.
15197 * stdlib/random_r.c: Likewise.
15198 * sysdeps/generic/Makefile: Likewise.
15199 * sysdeps/gnu/Makefile: Likewise.
15200 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15221 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15222 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15223 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15224 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15226 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15227 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15228 * sysdeps/mach/hurd/errnos.awk: Likewise.
15229 * sysdeps/mach/hurd/fork.c: Likewise.
15230 * sysdeps/mach/hurd/getcwd.c: Likewise.
15231 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15232 * sysdeps/mach/hurd/mmap.c: Likewise.
15233 * sysdeps/mach/hurd/utimes.c: Likewise.
15234 * sysdeps/mach/hurd/xmknod.c: Likewise.
15235 * sysdeps/posix/profil.c: Likewise.
15236 * sysdeps/posix/readdir_r.c: Likewise.
15237 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15238 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15239 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15240 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15242 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15243 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15244 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15246 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15248 * sysdeps/pthread/lio_listio.c: Likewise.
15249 * sysdeps/sparc/dl-procinfo.h: Likewise.
15250 * sysdeps/unix/i386/sysdep.S: Likewise.
15251 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15252 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15253 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15254 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15256 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15257 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15258 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15259 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15260 * sysdeps/wordsize-32/divdi3.c: Likewise.
15261 * time/sys/time.h: Likewise.
15262 * wcsmbs/Makefile: Likewise.
15264 2013-01-01 David S. Miller <davem@davemloft.net>
15266 * po/fr.po: Update from translation team.
15268 * catgets/gencat.c: Update copyright year.
15269 * csu/version.c: Likewise.
15270 * debug/catchsegv.sh: Likewise.
15271 * debug/pcprofiledump.c: Likewise.
15272 * debug/xtrace.sh: Likewise.
15273 * elf/ldconfig.c: Likewise.
15274 * elf/ldd.bash.in: Likewise.
15275 * elf/pldd.c: Likewise.
15276 * elf/sotruss.ksh: Likewise.
15277 * elf/sprof.c: Likewise.
15278 * iconv/iconv_prog.c: Likewise.
15279 * iconv/iconvconfig.c: Likewise.
15280 * locale/programs/locale.c: Likewise.
15281 * locale/programs/localedef.c: Likewise.
15282 * login/programs/pt_chown.c: Likewise.
15283 * malloc/memusage.sh: Likewise.
15284 * malloc/memusagestat.c: Likewise.
15285 * malloc/mtrace.pl: Likewise.
15286 * nscd/nscd.c: Likewise.
15287 * nss/getent.c: Likewise.
15288 * nss/makedb.c: Likewise.
15289 * posix/getconf.c: Likewise.
15291 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15293 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15296 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15298 * math/bits/mathcalls.h (modf): Use __nonnull.
15300 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15302 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15303 (split): Use macro CN instead of the bare value.
15304 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15306 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15307 instead of the bare value.
15308 (power1): Likewise.
15310 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15312 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15314 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15316 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15318 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15319 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15320 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15321 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15323 2012-12-28 Andreas Jaeger <aj@suse.de>
15325 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15326 values are from Linux 3.7.
15328 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15329 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15331 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15333 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15336 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15338 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15339 variables with preprocessor constants.
15340 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15341 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15342 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15344 2012-12-27 Bruno Haible <bruno@clisp.org>
15347 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15350 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15353 and use variable directly.
15354 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15356 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15358 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15361 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15363 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15364 include directive. Remove local variable MPONE.
15365 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15366 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15367 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15369 2012-12-25 David S. Miller <davem@davemloft.net>
15371 * version.h (RELEASE): Set to "development".
15372 (VERSION): Set to "2.17.90".
15373 * NEWS: Add 2.18 section.
15375 2012-12-21 David S. Miller <davem@davemloft.net>
15377 * po/hr.po: Update from translation team.
15379 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15381 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15383 2012-12-19 Steve Ellcey <sellcey@mips.com>
15385 * NEWS: Mention new memcpy for MIPS.
15387 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15389 * manual/contrib.texi (Contributors): Spelling correction.
15391 2012-12-15 David S. Miller <davem@davemloft.net>
15393 * po/ru.po: Update from translation team.
15395 2012-12-13 David S. Miller <davem@davemloft.net>
15397 * NEWS: Mention IFUNC testsuite enhancements.
15399 * po/pl.po: Update from translation team.
15400 * po/bg.po: Likewise.
15402 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15403 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15405 2012-12-11 David S. Miller <davem@davemloft.net>
15407 * po/sv.po: Update from translation team.
15409 * po/vi.po: Update from translation team.
15411 * po/cs.po: Update from translation team.
15413 * po/de.po: Update from translation team.
15414 * po/eo.po: Likewise.
15415 * po/nl.po: Likewise.
15417 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15420 * manual/argp.texi (Argp Helper Functions): Move node to follow
15421 Argp Parsing State.
15424 * manual/conf.texi (Limits on File System Capacity): Mention if
15425 terminating null is included in the max size.
15427 2012-12-10 Andreas Jaeger <aj@suse.de>
15429 * po/cs.po: Update from translation team.
15431 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15433 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15434 void pointer and cast to uintptr_t.
15435 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15437 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15438 * sysdeps/s390/s390-64/memset.S: Likewise.
15440 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15443 * menual/message.texi (Message Translation): Fix typos.
15444 (Helper programs for gettext): Likewise.
15446 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15449 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15452 2012-12-07 David S. Miller <davem@davemloft.net>
15454 * po/libc.pot: Update.
15456 2012-12-07 Richard Henderson <rth@redhat.com>
15459 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15460 normal/normal case to before the switch.
15461 (_FP_DIV): Likewise.
15463 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15464 Mike Frysinger <vapier@gentoo.org>
15466 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15467 check for __NR_fadvise64_64.
15469 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15471 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15472 0, not just to plain "0" as a statement.
15473 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15476 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15478 * NEWS: Use sourceware.org in Bugzilla URL.
15480 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15483 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15485 * stdio-common/tst-put-error.c (do_test): Add newline to the
15486 padded test to ensure flush.
15488 2012-12-05 Jeff Law <law@redhat.com>
15490 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15492 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15494 * README: Don't refer to ports add-on as distributed separately.
15495 Mention AArch64 in list of systems supported in the ports add-on.
15497 * LICENSES: Add more non-FSF copyright and license notices.
15499 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15502 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15504 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15505 10000 as width of padded output.
15507 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15509 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15511 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15512 variable LX with __attribute__ ((unused)).
15513 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15515 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15516 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15518 with __attribute__ ((unused)).
15520 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15522 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15524 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15526 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15527 (CFLAGS-nldbl-acos.c): New variable.
15528 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15529 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15530 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15531 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15532 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15533 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15534 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15535 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15536 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15537 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15538 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15539 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15540 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15541 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15542 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15543 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15544 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15545 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15546 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15547 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15548 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15549 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15550 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15551 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15552 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15553 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15554 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15555 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15556 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15557 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15558 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15559 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15560 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15561 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15562 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15563 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15564 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15565 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15566 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15567 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15568 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15569 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15570 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15571 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15572 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15573 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15574 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15575 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15576 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15577 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15578 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15579 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15580 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15581 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15582 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15583 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15584 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15585 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15586 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15587 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15588 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15589 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15590 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15591 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15592 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15593 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15594 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15595 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15596 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15597 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15598 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15599 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15600 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15601 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15602 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15603 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15604 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15605 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15606 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15615 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15616 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15617 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15618 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15619 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15620 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15621 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15622 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15623 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15624 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15627 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15631 whole low double instead of just low 47 bits when splitting values
15634 2012-12-03 Allan McRae <allan@archlinux.org>
15636 * manual/stdio.texi (Predefined Printf Handlers): Remove
15637 @hsep and @vsep usage.
15639 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15641 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15642 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15644 2012-12-03 Jeff Law <law@redhat.com>
15646 * time/sys/time.h (settimeofday): Do not mark TV argument
15649 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15651 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15652 when currently writing and seek to current position when not.
15653 * libio/Makefile (tests): Remove bug-fclose1.
15654 * libio/bug-fclose1.c: Delete.
15656 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15658 * manual/arith.texi (feenableexcept): Fix typo.
15659 (fedisableexcept): Likewise.
15661 2012-11-30 Roland McGrath <roland@hack.frob.com>
15663 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15664 second, differently-typed declaration, rather than a cast.
15666 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15668 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15669 * include/rpc/svc.h: ... here.
15671 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15674 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15675 depending n and resplen2 to catch cases where answer
15678 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15680 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15681 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15683 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15685 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15687 2012-11-29 Roland McGrath <roland@hack.frob.com>
15689 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15691 2012-11-28 Jeff Law <law@redhat.com>
15694 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15695 dataset_temporary. Track alloca usage into alloca_used.
15696 If dataset is large allocate and release it via malloc/free.
15698 2012-06-04 Florian Weimer <fweimer@redhat.com>
15701 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15703 2012-11-28 David S. Miller <davem@davemloft.net>
15705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15707 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15710 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15711 of pi/2 rounded to nearest to 64 bits.
15712 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15713 nearest to 64 bits.
15714 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15717 2012-11-28 Jeff Law <law@redhat.com>
15718 Martin Osvald <mosvald@redhat.com>
15721 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15722 * sunrpc/svc.c: Include time.h.
15723 (__svc_accept_failed): New function.
15724 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15725 any reason other than EINTR, call __svc_accept_failed.
15726 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15727 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15729 2012-11-28 Andreas Schwab <schwab@suse.de>
15731 * scripts/abilist.awk: Also handle indirect functions in .opd
15734 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15737 * sysdeps/x86/fpu/powl_helper.c: New file.
15738 * sysdeps/x86/fpu/Makefile: Likewise.
15739 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15741 (__ieee754_powl): Use __powl_helper for finite arguments except
15742 integer exponents below 8.
15743 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15745 (__ieee754_powl): Use __powl_helper for finite arguments except
15746 integer exponents below 8.
15747 * math/libm-test.inc (pow_test): Add more tests and enable some
15748 previously disabled tests.
15749 * sysdeps/i386/fpu/libm-test-ulps: Update.
15750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15752 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15753 Carlos O'Donell <carlos_odonell@mentor.com>
15755 * nss/makedb.c (is_prime): Assert that input is odd and greater
15756 than 4. Note that fact in a comment too.
15757 (next_prime): Add 4 to input.
15759 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15762 * libio/Makefile (tests): Add test case tst-fwrite-error.
15763 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15764 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15765 * libio/tst-fwrite-error.c: New test case.
15767 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15769 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15770 before casting to void *.
15771 * include/libc-internal.h (__pointer_type): New macro.
15772 (__integer_if_pointer_type_sub): Likewise.
15773 (__integer_if_pointer_type): Likewise.
15774 (cast_to_integer): Likewise.
15775 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15776 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15777 before casting to atomic64_t.
15778 (atomic_exchange_acq): Likewise.
15779 (__arch_exchange_and_add_body): Likewise.
15780 (__arch_add_body): Likewise.
15781 (atomic_add_negative): Likewise.
15782 (atomic_add_zero): Likewise.
15784 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15786 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15787 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15788 (add_fdes): Likewise.
15789 (linear_search_fdes): Likewise.
15790 (binary_search_unencoded_fdes): Likewise.
15792 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15794 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15796 2012-11-24 Adam Conrad <adconrad@0c3.net>
15798 * configure.in: Autodetect C++ header directories.
15799 * configure: Regenerated.
15801 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15803 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15805 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15809 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15811 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15812 LDBL_MANT_DIG == 106]: Disable some tests.
15813 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15815 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15820 input for small inputs. Return +/- pi/2 for large inputs.
15821 * math/libm-test.inc (atan_test): Add more tests.
15823 * sysdeps/generic/unwind-dw2-fde-glibc.c
15824 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15825 __attribute__ ((unused)).
15828 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15829 x * y if x and y are nonzero and z is zero.
15832 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15833 nonzero exponents with absolute value below 0x1p-117 to +/-
15837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15838 up arguments below 2**-450, not just those below 2**-500.
15839 * math/libm-test.inc (hypot_test): Add another test.
15842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15843 Return a+b for ratio over 2**120, not 2**60.
15844 * math/libm-test.inc (hypot_test): Add another test.
15846 * math/libm-test.inc (clog_test): Use
15847 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15848 (clog10_test): Likewise.
15851 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15853 2012-11-22 Andreas Schwab <schwab@suse.de>
15855 * sysdeps/i386/fpu/libm-test-ulps: Update.
15857 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15859 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15860 printf output with newline.
15862 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15865 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15866 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15867 -z nodlopen, -z initfirst and -z execstack support.
15868 * configure: Regenerated.
15870 * elf/elf.h (DF_1_NODIRECT): New macro.
15871 (DF_1_IGNMULDEF): Likewise.
15872 (DF_1_NOKSYMS): Likewise.
15873 (DF_1_NOHDR): Likewise.
15874 (DF_1_EDITED): Likewise.
15875 (DF_1_NORELOC): Likewise.
15876 (DF_1_SYMINTPOSE): Likewise.
15877 (DF_1_GLOBAUDIT): Likewise.
15878 (DF_1_SINGLETON): Likewise.
15879 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15880 DT_1_SUPPORTED_MASK bits.
15881 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15883 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15885 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15887 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15889 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15892 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15893 (sendmmsg): Move declarations...
15894 * socket/sys/socket.h: ... here.
15895 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15896 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15898 * socket/recvmmsg.c: ... this new file.
15899 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15900 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15901 definition of __sendmmsg hidden.
15902 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15903 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15904 Move ENOSYS stub into and include it from...
15905 * socket/sendmmsg.c: ... this new file.
15906 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15907 (sysdep_routines): Move recvmmsg and sendmmsg...
15908 * socket/Makefile (routines): ... here.
15909 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15910 (GLIBC_PRIVATE): Add __sendmmsg.
15911 * include/sys/socket.h (__sendmmsg): Add declarations.
15912 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15915 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15917 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15918 variable I1 with __attribute__ ((unused)).
15919 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15921 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15923 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15924 DUMMY variables with __attribute__ ((unused)).
15926 * bits/byteswap.h: Include <bits/types.h>.
15927 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15929 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15931 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15932 string_t. Do not manually set errno.
15933 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15934 length with __strnlen. Make sure to both set errno and return it on
15937 2012-11-19 David S. Miller <davem@davemloft.net>
15939 With help from Joseph Myers.
15940 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15941 very large arguments properly.
15942 * math/libm-test.inc (atan_test): New tests.
15943 (atan2_test): New tests.
15944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15947 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15950 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15953 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15954 [POSIX] (EADDRNOTAVAIL): Likewise.
15955 [POSIX] (EAFNOSUPPORT): Likewise.
15956 [POSIX] (EALREADY): Likewise.
15957 [POSIX] (ECONNABORTED): Likewise.
15958 [POSIX] (ECONNREFUSED): Likewise.
15959 [POSIX] (ECONNRESET): Likewise.
15960 [POSIX] (EDESTADDRREQ): Likewise.
15961 [POSIX] (EDQUOT): Likewise.
15962 [POSIX] (EHOSTUNREACH): Likewise.
15963 [POSIX] (EIDRM): Likewise.
15964 [POSIX] (EISCONN): Likewise.
15965 [POSIX] (ELOOP): Likewise.
15966 [POSIX] (EMULTIHOP): Likewise.
15967 [POSIX] (ENETDOWN): Likewise.
15968 [POSIX] (ENETUNREACH): Likewise.
15969 [POSIX] (ENOBUFS): Likewise.
15970 [POSIX] (ENODATA): Likewise.
15971 [POSIX] (ENOLINK): Likewise.
15972 [POSIX] (ENOMSG): Likewise.
15973 [POSIX] (ENOPROTOOPT): Likewise.
15974 [POSIX] (ENOSR): Likewise.
15975 [POSIX] (ENOSTR): Likewise.
15976 [POSIX] (ENOTCONN): Likewise.
15977 [POSIX] (ENOTSOCK): Likewise.
15978 [POSIX] (EOPNOTSUPP): Likewise.
15979 [POSIX] (EOVERFLOW): Likewise.
15980 [POSIX] (EPROTO): Likewise.
15981 [POSIX] (EPROTONOSUPPORT): Likewise.
15982 [POSIX] (EPROTOTYPE): Likewise.
15983 [POSIX] (ESTALE): Likewise.
15984 [POSIX] (ETIME): Likewise.
15985 [POSIX] (ETXTBSY): Likewise.
15986 [POSIX] (EWOULDBLOCK): Likewise.
15987 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15988 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15989 [POSIX] (SEEK_CUR): Likewise.
15990 [POSIX] (SEEK_END): Likewise.
15991 [POSIX || UNIX98] (mode_t): Do not require.
15992 [POSIX] (off_t): Likewise.
15993 [POSIX] (pid_t): Likewise.
15994 [POSIX] (sys/stat.h): Do not allow header.
15995 [POSIX] (unistd.h): Likewise.
15996 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15997 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15998 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15999 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16001 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16002 sigevent): Specify elements.
16003 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16005 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16006 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16008 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16009 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16010 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16011 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16012 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16013 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16014 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16015 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16016 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16017 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16018 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16019 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16020 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16021 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16025 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16027 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16029 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16030 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16031 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16033 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16034 Specify lower bound on value.
16035 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16036 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16037 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16038 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16039 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16040 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16041 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16042 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16044 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16046 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16047 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16048 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16049 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16050 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16051 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16052 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16053 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16054 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16055 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16056 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16057 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16058 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16059 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16060 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16061 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16063 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16065 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16066 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16067 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16068 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16069 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16070 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16072 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16073 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16074 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16075 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16076 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16077 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16078 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16081 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16083 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16084 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16085 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16086 specify as optional.
16087 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16088 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16089 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16090 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16091 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16092 [XPG3] (NL_LANGMAX): Likewise.
16093 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16094 [POSIX || XPG3] (NL_NMAX): Likewise.
16095 [POSIX || XPG3] (NL_SETMAX): Likewise.
16096 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16097 [XPG3] (NZERO): Likewise.
16098 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16099 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16100 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16101 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16102 (REG_ERANGE): Expect.
16103 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16105 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16106 Use (void) in prototype.
16107 [POSIX] (*_t): Allow.
16108 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16109 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16110 (WRDE_BADVAL): Expect.
16112 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16114 [XPG3 || XPG4] (O_RSYNC): Likewise.
16115 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16117 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16118 [XPG3 || XPG4] (sigqueue): Likewise.
16119 [XPG3 || XPG4] (sigtimedwait): Likewise.
16120 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16121 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16122 [XPG3 || XPG4] (vsnprintf): Likewise.
16123 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16125 [XPG3 || XPG4] (blksize_t): Likewise.
16126 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16128 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16129 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16130 [XPG3 || XPG4] (struct itimerspec): Likewise.
16131 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16132 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16133 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16134 [XPG3 || XPG4] (clockid_t): Likewise.
16135 [XPG3 || XPG4] (timer_t): Likewise.
16136 [XPG3 || XPG4] (clock_getres): Likewise.
16137 [XPG3 || XPG4] (clock_gettime): Likewise.
16138 [XPG3 || XPG4] (clock_settime): Likewise.
16139 [XPG3 || XPG4] (nanosleep): Likewise.
16140 [XPG3 || XPG4] (timer_create): Likewise.
16141 [XPG3 || XPG4] (timer_delete): Likewise.
16142 [XPG3 || XPG4] (timer_gettime): Likewise.
16143 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16144 [XPG3 || XPG4] (timer_settime): Likewise.
16145 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16146 [XPG3 || XPG4] (getlogin_r): Likewise.
16147 [XPG3 || XPG4] (pread): Likewise.
16148 [XPG3 || XPG4] (pthread_atfork): Likewise.
16149 [XPG3 || XPG4] (pwrite): Likewise.
16152 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16155 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16157 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16158 finalizing MALLSTREAM.
16160 * sysdeps/mach/hurd/syncfs.c: New file.
16162 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16165 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16166 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16167 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16168 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16169 (_nss_dns_gethostbyname4_r): Likewise.
16170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16171 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16173 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16176 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16178 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16180 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16181 * elf/cache.c (print_entry): Print ",AArch64" for
16184 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16185 * elf/cache.c (print_entry): Print ",hard-float" for
16188 2012-11-18 David S. Miller <davem@davemloft.net>
16190 With help from Joseph Myers.
16191 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16193 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16195 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16196 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16198 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16199 * math/libm-test.inc (y0_test): New tests.
16200 (y1_test): New tests.
16201 * sysdeps/i386/fpu/libm-test-ulps: Update.
16202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16205 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16207 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16209 * configure: Regenerated.
16211 2012-11-17 David S. Miller <davem@davemloft.net>
16214 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16215 nonzero exponents with absolute value below 0x1p-128 to +/-
16218 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16220 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16222 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16224 * posix/getconf-speclist.c: New file.
16225 * posix/posix-envs.def: Likewise.
16226 * posix/confstr.c (START_ENV_GROUP): New macro.
16227 (END_ENV_GROUP): Likewise.
16228 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16229 (KNOWN_PRESENT_ENV_STRING): Likewise.
16230 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16231 (UNKNOWN_ENVIRONMENT): Likewise.
16232 (confstr): Include posix-envs.def instead of handling
16233 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16234 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16235 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16236 (END_ENV_GROUP): Likewise.
16237 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16238 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16239 (UNKNOWN_ENVIRONMENT): Likewise.
16240 (__sysconf): Include posix-envs.def instead of handling associated
16241 cases directly here.
16242 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16243 preprocessing getconf-speclist.c rather than running getconf or
16244 generating empty file.
16246 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16248 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16250 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16253 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16255 2012-11-16 David S. Miller <davem@davemloft.net>
16257 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16258 smaller than LDBL_EPSILON/2.0L, just return xm1.
16260 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16262 * elf/tst-array1.c (init): Set constructor priority to 1000.
16263 (fini): Set destructor priority to 1000.
16264 * elf/tst-array2dep.c: Likewise.
16266 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16269 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16270 (_IO_new_file_xsputn): Also return EOF if none of the input
16271 data was written when overflow failed.
16272 * libio/iopadn.c (_IO_padn): Likewise.
16273 * libio/iowpadn.c (_IO_wpadn): Likewise.
16274 * stdio-common/tst-put-error.c: Add copyright notice.
16275 (do_test): Add case for printing padded string.
16276 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16277 _IO_padn returned error.
16278 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16279 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16282 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16284 * libio/libioP.h: Add comment note that the references to C++
16285 bits are now obsolete.
16287 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16289 * math/libm-test.inc (check_complex): Use asprintf.
16291 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16293 * debug/pcprofiledump.c (print_version): Update copyright year.
16294 * malloc/memusagestat.c (print_version): Likewise.
16296 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16299 * elf/Makefile (tests): Add tst-audit8.
16300 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16301 ($(objpfx)tst-audit8.out): New target.
16302 (tst-audit8-ENV): New variable.
16303 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16304 audit if l_reloc_result is NULL.
16305 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16306 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16307 * elf/tst-audit8.c: New file.
16309 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16311 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16312 * misc/Makefile (CFLAGS-select.c): Define.
16313 * posix/Makefile (CFLAGS-pause.c): Define.
16315 2012-11-13 David S. Miller <davem@davemloft.net>
16317 * crypt/Makefile: Move test targets after toplevel Rules
16318 inclusion. Grab any necessary sysdep routines when linking.
16319 * crypt/md5.c (md5_process_block): Remove define, we will always
16320 name it __md5_process_block.
16321 (md5_finish_ctx): Update md5_process_block call.
16322 (md5_stream): Likewise.
16323 (md5_process_bytes): Likewise.
16324 (md5_process_block): Rename to __md5_process_block and move to ...
16325 * crypt/md5-block.c: ... here.
16326 * crypt/sha256.c (sha256_process_block): Move to ...
16327 * crypt/sha256-block.c: ... here.
16328 * crypt/sha512.c (sha512_process_block): Move to ...
16329 * crypt/sha512-block.c: ... here.
16330 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16332 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16333 * sysdeps/sparc/sparc64/multiarch/Makefile
16334 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16336 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16337 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16339 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16340 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16341 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16342 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16343 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16344 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16345 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16346 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16347 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16350 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16352 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16354 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16356 * timezone/tzselect.ksh: Update from tzcode git revision
16357 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16358 * timezone/zdump.c: Likewise.
16359 * timezone/zic.c: Likewise.
16360 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16361 in TZVERSION setting, not $(PKGVERSION).
16362 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16363 REPORT_BUGS_TO settings.
16366 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16369 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16371 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16372 detection to immediately after _FP_ROUND().
16373 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16376 2012-11-11 David S. Miller <davem@davemloft.net>
16378 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16380 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16381 __close rather than their public counterparts.
16383 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16385 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16387 [UNIX98] (sem_timedwait): Do not expect.
16388 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16389 [XPG4 || UNIX98] (sockatmark): Do not expect.
16390 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16391 (clock_getcpuclockid): Do not expect.
16392 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16393 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16395 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16396 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16397 [UNIX98] (vwscanf): Likewise.
16398 [UNIX98] (vswscanf): Likewise.
16400 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16402 * timezone/version.h: Remove file.
16403 * timezone/README: Do not refer to version.h.
16404 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16405 $(objpfx)version.h.
16406 ($(objpfx)zdump.o): Likewise.
16407 ($(objpfx)version.h): New target.
16409 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16411 * timezone/README: Don't mention modification to tzselect.ksh.
16412 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16413 work on unmodified tzselect.ksh. Substitute version numbers in
16416 * Makefile (format-me): Remove.
16417 (INSTALL): Adjust indentation. Use commands directly instead of
16418 using $(format-me).
16420 * aclocal.m4 (ACX_PKGVERSION): New macro.
16421 (ACX_BUGURL): Likewise.
16422 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16423 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16424 (REPORT_BUGS_TO): Likewise.
16425 * configure: Regenerated.
16426 * config.h.in (PKGVERSION): New macro.
16427 (REPORT_BUGS_TO): Likewise.
16428 * config.make.in (PKGVERSION): New variable.
16429 (PKGVERSION_TEXI): Likewise.
16430 (REPORT_BUGS_TO): Likewise.
16431 (REPORT_BUGS_TEXI): Likewise.
16432 * Makefile (format-me): Use -I$(common-objpfx)manual.
16433 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16434 ($(common-objpfx)manual/%): New target.
16435 (manual/%): Remove target.
16436 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16437 (print_version): Use PKGVERSION.
16438 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16439 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16440 and REPORT_BUGS_TO.
16441 ($(objpfx)xtrace): Likewise.
16442 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16443 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16444 (print_version): Use PKGVERSION.
16445 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16446 (do_version): Use PKGVERSION.
16447 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16449 (common-ldd-rewrite): Likewise.
16450 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16451 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16452 (print_version): Use PKGVERSION.
16453 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16454 * elf/pldd.c (argp_program_bug_address): Remove variable.
16455 (more_help): New function.
16456 (argp): Use more_help.
16457 (print_version): Use PKGVERSION.
16458 * elf/sln.c (main): Use PKGVERSION.
16459 (usage): Use REPORT_BUGS_TO.
16460 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16461 (top level): Use PKGVERSION.
16462 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16463 (print_version): Use PKGVERSION.
16464 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16465 (print_version): Use PKGVERSION.
16466 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16467 (print_version): Use PKGVERSION.
16468 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16469 (print_version): Use PKGVERSION.
16470 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16471 (print_version): Use PKGVERSION.
16472 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16473 (print_version): Use PKGVERSION.
16474 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16476 ($(objpfx)memusage): Likewise.
16477 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16478 (do_version): Use PKGVERSION.
16479 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16480 (print_version): Use PKGVERSION.
16481 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16482 ($PKGVERSION): New variable.
16483 ($REPORT_BUGS_TO): Likewise.
16484 (usage): Use $REPORT_BUGS_TO.
16485 (top level): Use $PKGVERSION.
16486 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16487 ($(objpfx)pkgvers.texi): New rule.
16488 ($(objpfx)stamp-pkgvers): Likewise.
16489 * manual/install.texi: Include pkgvers.texi.
16490 (--with-pkgversion): Document new configure option.
16491 (--with-bugurl): Likewise.
16492 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16493 than necessarily for this particular distribution. Use
16494 REPORT_BUGS_TO for where to report bugs.
16495 * INSTALL: Regenerated.
16496 * manual/libc.texinfo: Include pkgvers.texi.
16497 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16498 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16499 (print_version): Use PKGVERSION.
16500 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16501 (print_version): Use PKGVERSION.
16502 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16503 (print_version): Use PKGVERSION.
16504 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16505 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16507 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16508 (print_version): Use PKGVERSION.
16509 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16510 (print_version): Use PKGVERSION.
16511 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16514 * timezone/checktab.awk: Update from tzcode 2012i.
16515 * timezone/ialloc.c: Likewise.
16516 * timezone/private.h: Likewise.
16517 * timezone/scheck.c: Likewise.
16518 * timezone/tzfile.h: Likewise.
16519 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16520 (TZVERSION): Hardcode tzcode version number.
16521 * timezone/zdump.c: Update from tzcode 2012i.
16522 * timezone/zic.c: Likewise.
16523 * timezone/version.h: New file.
16524 * timezone/README: Describe version.h. Update upstream location.
16527 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16528 (mktemp): Enable declaration.
16529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16546 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16547 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16548 for copies of such integer values.
16549 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16550 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16552 2012-11-09 Andreas Jaeger <aj@suse.de>
16554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16555 definitions and declarations that are provided by
16556 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16558 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16560 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16561 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16562 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16565 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16567 * elf/elf.h: Update comment before AArch64 relocations.
16569 2012-11-07 David S. Miller <davem@davemloft.net>
16571 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16572 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16573 (__start_context): Declare.
16574 (__makecontext_ret): Delete.
16575 (__makecontext): Hook up __start_context instead of
16577 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16578 (sysdep_routines): Add __start_context when in stdlib.
16580 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16582 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16583 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16584 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16586 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16587 (READELF): New variable. Use it instead of hardcoded "readelf".
16589 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16591 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16592 * sysdeps/x86/Makefile: Here.
16593 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16594 * sysdeps/x86/tst-xmmymm.sh: This.
16596 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16598 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16600 [UNIX98] (pthread_barrier_t): Do not expect.
16601 [UNIX98] (pthread_barrierattr_t): Likewise.
16602 [UNIX98] (pthread_spinlock_t): Likewise.
16603 [UNIX98] (pthread_barrier_destroy): Likewise.
16604 [UNIX98] (pthread_barrier_init): Likewise.
16605 [UNIX98] (pthread_barrier_wait): Likewise.
16606 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16607 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16608 [UNIX98] (pthread_barrierattr_init): Likewise.
16609 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16610 [UNIX98] (pthread_getcpuclockid): Likewise.
16611 [UNIX98] (pthread_mutex_timedlock): Likewise.
16612 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16613 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16614 [UNIX98] (pthread_sigmask): Likewise.
16615 [UNIX98] (pthread_spin_destroy): Likewise.
16616 [UNIX98] (pthread_spin_init): Likewise.
16617 [UNIX98] (pthread_spin_lock): Likewise.
16618 [UNIX98] (pthread_spin_trylock): Likewise.
16619 [UNIX98] (pthread_spin_unlock): Likewise.
16620 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16622 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16623 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16624 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16625 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16626 [XPG3 || XPG4] (pthread_key_t): Likewise.
16627 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16628 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16629 [XPG3 || XPG4] (pthread_once_t): Likewise.
16630 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16631 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16632 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16633 [XPG3 || XPG4] (pthread_t): Likewise.
16635 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16637 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16639 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16640 Change function return type to int.
16642 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16643 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16644 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16645 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16646 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16647 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16648 [!POSIX] (posix_madvise): Likewise.
16649 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16651 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16652 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16653 (mode_t): Likewise.
16654 (posix_mem_offset): Likewise.
16655 (posix_typed_mem_get_info): Likewise.
16656 (posix_typed_mem_open): Likewise.
16658 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16659 Change condition to [XOPEN2K8].
16661 * conform/conformtest.pl: Preprocess allow-header data with -x c
16662 instead of from stdin.
16663 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16664 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16665 [C99-based standards] (cerfc): Likewise.
16666 [C99-based standards] (cexp2): Likewise.
16667 [C99-based standards] (cexpm1): Likewise.
16668 [C99-based standards] (clog10): Likewise.
16669 [C99-based standards] (clog1p): Likewise.
16670 [C99-based standards] (clog2): Likewise.
16671 [C99-based standards] (clgamma): Likewise.
16672 [C99-based standards] (ctgamma): Likewise.
16673 [C99-based standards] (cerff): Likewise.
16674 [C99-based standards] (cerfcf): Likewise.
16675 [C99-based standards] (cexp2f): Likewise.
16676 [C99-based standards] (cexpm1f): Likewise.
16677 [C99-based standards] (clog10f): Likewise.
16678 [C99-based standards] (clog1pf): Likewise.
16679 [C99-based standards] (clog2f): Likewise.
16680 [C99-based standards] (clgammaf): Likewise.
16681 [C99-based standards] (ctgammaf): Likewise.
16682 [C99-based standards] (cerfl): Likewise.
16683 [C99-based standards] (cerfcl): Likewise.
16684 [C99-based standards] (cexp2l): Likewise.
16685 [C99-based standards] (cexpm1l): Likewise.
16686 [C99-based standards] (clog10l): Likewise.
16687 [C99-based standards] (clog1pl): Likewise.
16688 [C99-based standards] (clog2l): Likewise.
16689 [C99-based standards] (clgammal): Likewise.
16690 [C99-based standards] (ctgammal): Likewise.
16691 * conform/data/inttypes.h-data [C99-based standards]: Include
16692 stdint.h-data. Remove all expectations for stdint.h contents.
16693 [C99-based standards] (PRI*): Do not allow.
16694 [C99-based standards] (SCN*): Likewise.
16695 [C99-based standards] (*_t): Likewise.
16696 [C99-based-standards] (PRId8): Expect macro.
16697 [C99-based-standards] (PRIi8): Likewise.
16698 [C99-based-standards] (PRIo8): Likewise.
16699 [C99-based-standards] (PRIu8): Likewise.
16700 [C99-based-standards] (PRIx8): Likewise.
16701 [C99-based-standards] (PRIX8): Likewise.
16702 [C99-based-standards] (SCNd8): Likewise.
16703 [C99-based-standards] (SCNi8): Likewise.
16704 [C99-based-standards] (SCNo8): Likewise.
16705 [C99-based-standards] (SCNu8): Likewise.
16706 [C99-based-standards] (SCNx8): Likewise.
16707 [C99-based-standards] (PRIdLEAST8): Likewise.
16708 [C99-based-standards] (PRIiLEAST8): Likewise.
16709 [C99-based-standards] (PRIoLEAST8): Likewise.
16710 [C99-based-standards] (PRIuLEAST8): Likewise.
16711 [C99-based-standards] (PRIxLEAST8): Likewise.
16712 [C99-based-standards] (PRIXLEAST8): Likewise.
16713 [C99-based-standards] (SCNdLEAST8): Likewise.
16714 [C99-based-standards] (SCNiLEAST8): Likewise.
16715 [C99-based-standards] (SCNoLEAST8): Likewise.
16716 [C99-based-standards] (SCNuLEAST8): Likewise.
16717 [C99-based-standards] (SCNxLEAST8): Likewise.
16718 [C99-based-standards] (PRIdFAST8): Likewise.
16719 [C99-based-standards] (PRIiFAST8): Likewise.
16720 [C99-based-standards] (PRIoFAST8): Likewise.
16721 [C99-based-standards] (PRIuFAST8): Likewise.
16722 [C99-based-standards] (PRIxFAST8): Likewise.
16723 [C99-based-standards] (PRIXFAST8): Likewise.
16724 [C99-based-standards] (SCNdFAST8): Likewise.
16725 [C99-based-standards] (SCNiFAST8): Likewise.
16726 [C99-based-standards] (SCNoFAST8): Likewise.
16727 [C99-based-standards] (SCNuFAST8): Likewise.
16728 [C99-based-standards] (SCNxFAST8): Likewise.
16729 [C99-based-standards] (PRId16): Likewise.
16730 [C99-based-standards] (PRIi16): Likewise.
16731 [C99-based-standards] (PRIo16): Likewise.
16732 [C99-based-standards] (PRIu16): Likewise.
16733 [C99-based-standards] (PRIx16): Likewise.
16734 [C99-based-standards] (PRIX16): Likewise.
16735 [C99-based-standards] (SCNd16): Likewise.
16736 [C99-based-standards] (SCNi16): Likewise.
16737 [C99-based-standards] (SCNo16): Likewise.
16738 [C99-based-standards] (SCNu16): Likewise.
16739 [C99-based-standards] (SCNx16): Likewise.
16740 [C99-based-standards] (PRIdLEAST16): Likewise.
16741 [C99-based-standards] (PRIiLEAST16): Likewise.
16742 [C99-based-standards] (PRIoLEAST16): Likewise.
16743 [C99-based-standards] (PRIuLEAST16): Likewise.
16744 [C99-based-standards] (PRIxLEAST16): Likewise.
16745 [C99-based-standards] (PRIXLEAST16): Likewise.
16746 [C99-based-standards] (SCNdLEAST16): Likewise.
16747 [C99-based-standards] (SCNiLEAST16): Likewise.
16748 [C99-based-standards] (SCNoLEAST16): Likewise.
16749 [C99-based-standards] (SCNuLEAST16): Likewise.
16750 [C99-based-standards] (SCNxLEAST16): Likewise.
16751 [C99-based-standards] (PRIdFAST16): Likewise.
16752 [C99-based-standards] (PRIiFAST16): Likewise.
16753 [C99-based-standards] (PRIoFAST16): Likewise.
16754 [C99-based-standards] (PRIuFAST16): Likewise.
16755 [C99-based-standards] (PRIxFAST16): Likewise.
16756 [C99-based-standards] (PRIXFAST16): Likewise.
16757 [C99-based-standards] (SCNdFAST16): Likewise.
16758 [C99-based-standards] (SCNiFAST16): Likewise.
16759 [C99-based-standards] (SCNoFAST16): Likewise.
16760 [C99-based-standards] (SCNuFAST16): Likewise.
16761 [C99-based-standards] (SCNxFAST16): Likewise.
16762 [C99-based-standards] (PRId32): Likewise.
16763 [C99-based-standards] (PRIi32): Likewise.
16764 [C99-based-standards] (PRIo32): Likewise.
16765 [C99-based-standards] (PRIu32): Likewise.
16766 [C99-based-standards] (PRIx32): Likewise.
16767 [C99-based-standards] (PRIX32): Likewise.
16768 [C99-based-standards] (SCNd32): Likewise.
16769 [C99-based-standards] (SCNi32): Likewise.
16770 [C99-based-standards] (SCNo32): Likewise.
16771 [C99-based-standards] (SCNu32): Likewise.
16772 [C99-based-standards] (SCNx32): Likewise.
16773 [C99-based-standards] (PRIdLEAST32): Likewise.
16774 [C99-based-standards] (PRIiLEAST32): Likewise.
16775 [C99-based-standards] (PRIoLEAST32): Likewise.
16776 [C99-based-standards] (PRIuLEAST32): Likewise.
16777 [C99-based-standards] (PRIxLEAST32): Likewise.
16778 [C99-based-standards] (PRIXLEAST32): Likewise.
16779 [C99-based-standards] (SCNdLEAST32): Likewise.
16780 [C99-based-standards] (SCNiLEAST32): Likewise.
16781 [C99-based-standards] (SCNoLEAST32): Likewise.
16782 [C99-based-standards] (SCNuLEAST32): Likewise.
16783 [C99-based-standards] (SCNxLEAST32): Likewise.
16784 [C99-based-standards] (PRIdFAST32): Likewise.
16785 [C99-based-standards] (PRIiFAST32): Likewise.
16786 [C99-based-standards] (PRIoFAST32): Likewise.
16787 [C99-based-standards] (PRIuFAST32): Likewise.
16788 [C99-based-standards] (PRIxFAST32): Likewise.
16789 [C99-based-standards] (PRIXFAST32): Likewise.
16790 [C99-based-standards] (SCNdFAST32): Likewise.
16791 [C99-based-standards] (SCNiFAST32): Likewise.
16792 [C99-based-standards] (SCNoFAST32): Likewise.
16793 [C99-based-standards] (SCNuFAST32): Likewise.
16794 [C99-based-standards] (SCNxFAST32): Likewise.
16795 [C99-based-standards] (PRId64): Likewise.
16796 [C99-based-standards] (PRIi64): Likewise.
16797 [C99-based-standards] (PRIo64): Likewise.
16798 [C99-based-standards] (PRIu64): Likewise.
16799 [C99-based-standards] (PRIx64): Likewise.
16800 [C99-based-standards] (PRIX64): Likewise.
16801 [C99-based-standards] (SCNd64): Likewise.
16802 [C99-based-standards] (SCNi64): Likewise.
16803 [C99-based-standards] (SCNo64): Likewise.
16804 [C99-based-standards] (SCNu64): Likewise.
16805 [C99-based-standards] (SCNx64): Likewise.
16806 [C99-based-standards] (PRIdLEAST64): Likewise.
16807 [C99-based-standards] (PRIiLEAST64): Likewise.
16808 [C99-based-standards] (PRIoLEAST64): Likewise.
16809 [C99-based-standards] (PRIuLEAST64): Likewise.
16810 [C99-based-standards] (PRIxLEAST64): Likewise.
16811 [C99-based-standards] (PRIXLEAST64): Likewise.
16812 [C99-based-standards] (SCNdLEAST64): Likewise.
16813 [C99-based-standards] (SCNiLEAST64): Likewise.
16814 [C99-based-standards] (SCNoLEAST64): Likewise.
16815 [C99-based-standards] (SCNuLEAST64): Likewise.
16816 [C99-based-standards] (SCNxLEAST64): Likewise.
16817 [C99-based-standards] (PRIdFAST64): Likewise.
16818 [C99-based-standards] (PRIiFAST64): Likewise.
16819 [C99-based-standards] (PRIoFAST64): Likewise.
16820 [C99-based-standards] (PRIuFAST64): Likewise.
16821 [C99-based-standards] (PRIxFAST64): Likewise.
16822 [C99-based-standards] (PRIXFAST64): Likewise.
16823 [C99-based-standards] (SCNdFAST64): Likewise.
16824 [C99-based-standards] (SCNiFAST64): Likewise.
16825 [C99-based-standards] (SCNoFAST64): Likewise.
16826 [C99-based-standards] (SCNuFAST64): Likewise.
16827 [C99-based-standards] (SCNxFAST64): Likewise.
16828 [C99-based-standards] (PRIdMAX): Likewise.
16829 [C99-based-standards] (PRIiMAX): Likewise.
16830 [C99-based-standards] (PRIoMAX): Likewise.
16831 [C99-based-standards] (PRIuMAX): Likewise.
16832 [C99-based-standards] (PRIxMAX): Likewise.
16833 [C99-based-standards] (PRIXMAX): Likewise.
16834 [C99-based-standards] (SCNdMAX): Likewise.
16835 [C99-based-standards] (SCNiMAX): Likewise.
16836 [C99-based-standards] (SCNoMAX): Likewise.
16837 [C99-based-standards] (SCNuMAX): Likewise.
16838 [C99-based-standards] (SCNxMAX): Likewise.
16839 [C99-based-standards] (PRIdPTR): Likewise.
16840 [C99-based-standards] (PRIiPTR): Likewise.
16841 [C99-based-standards] (PRIoPTR): Likewise.
16842 [C99-based-standards] (PRIuPTR): Likewise.
16843 [C99-based-standards] (PRIxPTR): Likewise.
16844 [C99-based-standards] (PRIXPTR): Likewise.
16845 [C99-based-standards] (SCNdPTR): Likewise.
16846 [C99-based-standards] (SCNiPTR): Likewise.
16847 [C99-based-standards] (SCNoPTR): Likewise.
16848 [C99-based-standards] (SCNuPTR): Likewise.
16849 [C99-based-standards] (SCNxPTR): Likewise.
16850 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16852 * conform/data/stdint.h-data: Update comments to clarify
16854 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16856 [C99-based standards] (INT8_MAX): Likewise.
16857 [C99-based standards] (INT16_MIN): Likewise.
16858 [C99-based standards] (INT16_MAX): Likewise.
16859 [C99-based standards] (INT32_MIN): Likewise.
16860 [C99-based standards] (INT32_MAX): Likewise.
16861 [C99-based standards] (INT64_MIN): Likewise.
16862 [C99-based standards] (INT64_MAX): Likewise.
16863 [C99-based standards] (UINT8_MAX): Likewise.
16864 [C99-based standards] (UINT16_MAX): Likewise.
16865 [C99-based standards] (UINT32_MAX): Likewise.
16866 [C99-based standards] (UINT64_MAX): Likewise.
16867 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16868 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16869 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16870 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16871 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16872 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16873 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16874 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16875 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16876 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16877 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16878 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16879 [C99-based standards] (INT_FAST8_MIN): Likewise.
16880 [C99-based standards] (INT_FAST8_MAX): Likewise.
16881 [C99-based standards] (INT_FAST16_MIN): Likewise.
16882 [C99-based standards] (INT_FAST16_MAX): Likewise.
16883 [C99-based standards] (INT_FAST32_MIN): Likewise.
16884 [C99-based standards] (INT_FAST32_MAX): Likewise.
16885 [C99-based standards] (INT_FAST64_MIN): Likewise.
16886 [C99-based standards] (INT_FAST64_MAX): Likewise.
16887 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16888 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16889 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16890 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16891 [C99-based standards] (INTPTR_MIN): Likewise.
16892 [C99-based standards] (INTPTR_MAX): Likewise.
16893 [C99-based standards] (UINTPTR_MAX): Likewise.
16894 [C99-based standards] (INTMAX_MIN): Likewise.
16895 [C99-based standards] (INTMAX_MAX): Likewise.
16896 [C99-based standards] (UINTMAX_MAX): Likewise.
16897 [C99-based standards] (PTRDIFF_MIN): Likewise.
16898 [C99-based standards] (PTRDIFF_MAX): Likewise.
16899 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16900 [C99-based standards] (SIZE_MAX): Likewise.
16901 [C99-based standards] (WCHAR_MAX): Likewise.
16902 [C99-based standards] (WINT_MAX): Likewise.
16903 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16904 constraint on value.
16905 [C99-based standards] (WCHAR_MIN): Likewise.
16906 [C99-based standards] (WINT_MIN): Likewise.
16907 [C99-based standards] (*_t): Allow.
16908 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16909 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16910 Include math.h-data and complex.h-data. Remove all expectations
16911 of math.h and complex.h contents.
16912 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16914 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16915 (struct tm): Expect tag.
16916 [C99-based-standards] (wcstof): Expect function.
16917 [C99-based-standards] (wcstold): Likewise.
16918 [C99-based-standards] (wcstoll): Likewise.
16919 [C99-based-standards] (wcstoull): Likewise.
16920 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16921 macro-int-constant. Specify type.
16922 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16923 constraint on value.
16924 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16926 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16928 [ISO C standards]: Do not allow headers.
16929 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16930 wcs[abcdefghijklmnopqrstuvwxyz]*.
16931 [ISO C standards] (*_t): Do not allow.
16932 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16934 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16935 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16937 [ISO C standards]: Do not allow headers.
16938 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16939 is[abcdefghijklmnopqrstuvwxyz]*.
16940 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16941 to[abcdefghijklmnopqrstuvwxyz]*.
16942 [ISO C standards] (*_t): Do not allow.
16943 * conform/data/stdalign.h-data: New file.
16944 * conform/data/stdbool.h-data: Likewise.
16945 * conform/data/stdnoreturn.h-data: Likewise.
16947 2012-11-07 Roland McGrath <roland@hack.frob.com>
16950 * manual/filesys.texi (Directory Entries): Typo fix.
16951 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16953 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16955 * elf/elf.h (EM_AARCH64): New macro.
16956 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16957 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16958 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16959 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16960 (R_AARCH64_TLSDESC): Likewise.
16961 (NT_ARM_TLS): Likewise.
16962 (NT_ARM_HW_BREAK): Likewise.
16963 (NT_ARM_HW_WATCH): Likewise.
16965 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16968 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16969 (__ieee754_powl): Saturate nonzero exponents with absolute value
16970 below 0x1p-79 to +/- 0x1p-79.
16971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16972 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16973 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16974 nonzero exponents with absolute value below 0x1p-32 to +/-
16976 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16977 (__ieee754_powl): Saturate nonzero exponents with absolute value
16978 below 0x1p-79 to +/- 0x1p-79.
16979 * math/libm-test.inc (pow_test): Add more tests.
16981 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16983 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16984 _dl_s390_cap_flags with kernel. Increase string length.
16985 (_dl_s390_platforms): Add z196 and zEC12.
16987 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16989 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16990 Change XOPEN21K to XOPEN2K.
16992 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16994 * string/memmove.c: Use memcpy when possible.
16996 2012-11-06 Andreas Jaeger <aj@suse.de>
16998 * po/eo.po: Update from translation team.
17000 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17004 exponent and small x and y exponents, scale x or y up. Increase
17005 by 2 the exponent used in scaling up.
17006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17008 * math/libm-test.inc (fma_test): Add more tests.
17009 (fma_test_towardzero): Likewise.
17010 (fma_test_downward): Likewise.
17011 (fma_test_upward): Likewise.
17013 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17016 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17020 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17021 namespace for names of struct fields.
17022 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17024 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17025 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17027 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17030 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17032 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17034 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17038 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17041 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17045 definitely overflow as x * y not x * y + z.
17046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17048 * math/libm-test.inc (fma_test): Add more tests.
17049 (fma_test_towardzero): Likewise.
17050 (fma_test_downward): Likewise.
17051 (fma_test_upward): Likewise.
17053 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17057 * include/stub-tag.h: Remove file.
17058 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17060 * manual/maint.texi (Porting): Don't reference it.
17061 * Makerules ($(objpfx)stubs): Likewise.
17062 * dirent/closedir.c: Don't include <stub-tag.h>.
17063 * dirent/dirfd.c: Likewise.
17064 * dirent/fdopendir.c: Likewise.
17065 * dirent/getdents.c: Likewise.
17066 * dirent/getdents64.c: Likewise.
17067 * dirent/opendir.c: Likewise.
17068 * dirent/readdir.c: Likewise.
17069 * dirent/readdir64.c: Likewise.
17070 * dirent/readdir64_r.c: Likewise.
17071 * dirent/readdir_r.c: Likewise.
17072 * dirent/rewinddir.c: Likewise.
17073 * dirent/seekdir.c: Likewise.
17074 * dirent/telldir.c: Likewise.
17075 * gmon/profil.c: Likewise.
17076 * grp/setgroups.c: Likewise.
17077 * inet/if_index.c: Likewise.
17078 * io/access.c: Likewise.
17079 * io/chdir.c: Likewise.
17080 * io/chmod.c: Likewise.
17081 * io/chown.c: Likewise.
17082 * io/close.c: Likewise.
17083 * io/dup.c: Likewise.
17084 * io/dup2.c: Likewise.
17085 * io/dup3.c: Likewise.
17086 * io/euidaccess.c: Likewise.
17087 * io/faccessat.c: Likewise.
17088 * io/fchdir.c: Likewise.
17089 * io/fchmod.c: Likewise.
17090 * io/fchmodat.c: Likewise.
17091 * io/fchown.c: Likewise.
17092 * io/fchownat.c: Likewise.
17093 * io/fcntl.c: Likewise.
17094 * io/flock.c: Likewise.
17095 * io/fstatfs.c: Likewise.
17096 * io/fstatfs64.c: Likewise.
17097 * io/fstatvfs.c: Likewise.
17098 * io/fstatvfs64.c: Likewise.
17099 * io/futimens.c: Likewise.
17100 * io/fxstat.c: Likewise.
17101 * io/fxstat64.c: Likewise.
17102 * io/fxstatat.c: Likewise.
17103 * io/fxstatat64.c: Likewise.
17104 * io/getcwd.c: Likewise.
17105 * io/isatty.c: Likewise.
17106 * io/lchmod.c: Likewise.
17107 * io/lchown.c: Likewise.
17108 * io/link.c: Likewise.
17109 * io/linkat.c: Likewise.
17110 * io/lseek.c: Likewise.
17111 * io/lseek64.c: Likewise.
17112 * io/lxstat64.c: Likewise.
17113 * io/mkdir.c: Likewise.
17114 * io/mkdirat.c: Likewise.
17115 * io/mkfifo.c: Likewise.
17116 * io/mkfifoat.c: Likewise.
17117 * io/open.c: Likewise.
17118 * io/open64.c: Likewise.
17119 * io/openat.c: Likewise.
17120 * io/openat64.c: Likewise.
17121 * io/pipe.c: Likewise.
17122 * io/pipe2.c: Likewise.
17123 * io/poll.c: Likewise.
17124 * io/posix_fadvise.c: Likewise.
17125 * io/posix_fadvise64.c: Likewise.
17126 * io/posix_fallocate.c: Likewise.
17127 * io/posix_fallocate64.c: Likewise.
17128 * io/read.c: Likewise.
17129 * io/readlink.c: Likewise.
17130 * io/readlinkat.c: Likewise.
17131 * io/rmdir.c: Likewise.
17132 * io/sendfile.c: Likewise.
17133 * io/sendfile64.c: Likewise.
17134 * io/statfs.c: Likewise.
17135 * io/statfs64.c: Likewise.
17136 * io/statvfs.c: Likewise.
17137 * io/statvfs64.c: Likewise.
17138 * io/symlink.c: Likewise.
17139 * io/symlinkat.c: Likewise.
17140 * io/ttyname.c: Likewise.
17141 * io/ttyname_r.c: Likewise.
17142 * io/umask.c: Likewise.
17143 * io/unlink.c: Likewise.
17144 * io/unlinkat.c: Likewise.
17145 * io/utime.c: Likewise.
17146 * io/utimensat.c: Likewise.
17147 * io/write.c: Likewise.
17148 * io/xmknod.c: Likewise.
17149 * io/xmknodat.c: Likewise.
17150 * io/xstat.c: Likewise.
17151 * io/xstat64.c: Likewise.
17152 * login/getpt.c: Likewise.
17153 * login/grantpt.c: Likewise.
17154 * login/unlockpt.c: Likewise.
17155 * math/e_acoshl.c: Likewise.
17156 * math/e_acosl.c: Likewise.
17157 * math/e_asinl.c: Likewise.
17158 * math/e_atan2l.c: Likewise.
17159 * math/e_atanhl.c: Likewise.
17160 * math/e_coshl.c: Likewise.
17161 * math/e_expl.c: Likewise.
17162 * math/e_fmodl.c: Likewise.
17163 * math/e_gammal_r.c: Likewise.
17164 * math/e_hypotl.c: Likewise.
17165 * math/e_j0l.c: Likewise.
17166 * math/e_j1l.c: Likewise.
17167 * math/e_jnl.c: Likewise.
17168 * math/e_lgammal_r.c: Likewise.
17169 * math/e_log10l.c: Likewise.
17170 * math/e_log2l.c: Likewise.
17171 * math/e_logl.c: Likewise.
17172 * math/e_powl.c: Likewise.
17173 * math/e_rem_pio2l.c: Likewise.
17174 * math/e_sinhl.c: Likewise.
17175 * math/e_sqrtl.c: Likewise.
17176 * math/fclrexcpt.c: Likewise.
17177 * math/fedisblxcpt.c: Likewise.
17178 * math/feenablxcpt.c: Likewise.
17179 * math/fegetenv.c: Likewise.
17180 * math/fegetexcept.c: Likewise.
17181 * math/fegetround.c: Likewise.
17182 * math/feholdexcpt.c: Likewise.
17183 * math/fesetenv.c: Likewise.
17184 * math/fesetround.c: Likewise.
17185 * math/feupdateenv.c: Likewise.
17186 * math/fgetexcptflg.c: Likewise.
17187 * math/fraiseexcpt.c: Likewise.
17188 * math/fsetexcptflg.c: Likewise.
17189 * math/ftestexcept.c: Likewise.
17190 * math/k_cosl.c: Likewise.
17191 * math/k_rem_pio2l.c: Likewise.
17192 * math/k_sinl.c: Likewise.
17193 * math/k_tanl.c: Likewise.
17194 * math/s_asinhl.c: Likewise.
17195 * math/s_atanl.c: Likewise.
17196 * math/s_cbrtl.c: Likewise.
17197 * math/s_erfl.c: Likewise.
17198 * math/s_expm1l.c: Likewise.
17199 * math/s_log1pl.c: Likewise.
17200 * math/s_tanhl.c: Likewise.
17201 * misc/acct.c: Likewise.
17202 * misc/brk.c: Likewise.
17203 * misc/chflags.c: Likewise.
17204 * misc/chroot.c: Likewise.
17205 * misc/fchflags.c: Likewise.
17206 * misc/fgetxattr.c: Likewise.
17207 * misc/flistxattr.c: Likewise.
17208 * misc/fremovexattr.c: Likewise.
17209 * misc/fsetxattr.c: Likewise.
17210 * misc/fsync.c: Likewise.
17211 * misc/ftruncate.c: Likewise.
17212 * misc/futimes.c: Likewise.
17213 * misc/futimesat.c: Likewise.
17214 * misc/getdomain.c: Likewise.
17215 * misc/getdtsz.c: Likewise.
17216 * misc/gethostid.c: Likewise.
17217 * misc/gethostname.c: Likewise.
17218 * misc/getloadavg.c: Likewise.
17219 * misc/getpagesize.c: Likewise.
17220 * misc/getsysstats.c: Likewise.
17221 * misc/getxattr.c: Likewise.
17222 * misc/gtty.c: Likewise.
17223 * misc/ioctl.c: Likewise.
17224 * misc/lgetxattr.c: Likewise.
17225 * misc/listxattr.c: Likewise.
17226 * misc/llistxattr.c: Likewise.
17227 * misc/lremovexattr.c: Likewise.
17228 * misc/lsetxattr.c: Likewise.
17229 * misc/lutimes.c: Likewise.
17230 * misc/madvise.c: Likewise.
17231 * misc/mincore.c: Likewise.
17232 * misc/mlock.c: Likewise.
17233 * misc/mlockall.c: Likewise.
17234 * misc/mmap.c: Likewise.
17235 * misc/mprotect.c: Likewise.
17236 * misc/msync.c: Likewise.
17237 * misc/munlock.c: Likewise.
17238 * misc/munlockall.c: Likewise.
17239 * misc/munmap.c: Likewise.
17240 * misc/preadv.c: Likewise.
17241 * misc/preadv64.c: Likewise.
17242 * misc/ptrace.c: Likewise.
17243 * misc/pwritev.c: Likewise.
17244 * misc/pwritev64.c: Likewise.
17245 * misc/readv.c: Likewise.
17246 * misc/reboot.c: Likewise.
17247 * misc/remap_file_pages.c: Likewise.
17248 * misc/removexattr.c: Likewise.
17249 * misc/revoke.c: Likewise.
17250 * misc/select.c: Likewise.
17251 * misc/setdomain.c: Likewise.
17252 * misc/setegid.c: Likewise.
17253 * misc/seteuid.c: Likewise.
17254 * misc/sethostid.c: Likewise.
17255 * misc/sethostname.c: Likewise.
17256 * misc/setregid.c: Likewise.
17257 * misc/setreuid.c: Likewise.
17258 * misc/setxattr.c: Likewise.
17259 * misc/sstk.c: Likewise.
17260 * misc/stty.c: Likewise.
17261 * misc/swapoff.c: Likewise.
17262 * misc/swapon.c: Likewise.
17263 * misc/sync.c: Likewise.
17264 * misc/syncfs.c: Likewise.
17265 * misc/syscall.c: Likewise.
17266 * misc/truncate.c: Likewise.
17267 * misc/ualarm.c: Likewise.
17268 * misc/usleep.c: Likewise.
17269 * misc/ustat.c: Likewise.
17270 * misc/utimes.c: Likewise.
17271 * misc/vhangup.c: Likewise.
17272 * misc/writev.c: Likewise.
17273 * posix/_exit.c: Likewise.
17274 * posix/alarm.c: Likewise.
17275 * posix/execve.c: Likewise.
17276 * posix/fexecve.c: Likewise.
17277 * posix/fork.c: Likewise.
17278 * posix/fpathconf.c: Likewise.
17279 * posix/getaddrinfo.c: Likewise.
17280 * posix/getegid.c: Likewise.
17281 * posix/geteuid.c: Likewise.
17282 * posix/getgid.c: Likewise.
17283 * posix/getgroups.c: Likewise.
17284 * posix/getlogin.c: Likewise.
17285 * posix/getlogin_r.c: Likewise.
17286 * posix/getpgid.c: Likewise.
17287 * posix/getpid.c: Likewise.
17288 * posix/getppid.c: Likewise.
17289 * posix/getresgid.c: Likewise.
17290 * posix/getresuid.c: Likewise.
17291 * posix/getsid.c: Likewise.
17292 * posix/getuid.c: Likewise.
17293 * posix/glob64.c: Likewise.
17294 * posix/nanosleep.c: Likewise.
17295 * posix/pathconf.c: Likewise.
17296 * posix/pause.c: Likewise.
17297 * posix/posix_madvise.c: Likewise.
17298 * posix/pread.c: Likewise.
17299 * posix/pread64.c: Likewise.
17300 * posix/pwrite.c: Likewise.
17301 * posix/pwrite64.c: Likewise.
17302 * posix/sched_getaffinity.c: Likewise.
17303 * posix/sched_getp.c: Likewise.
17304 * posix/sched_gets.c: Likewise.
17305 * posix/sched_primax.c: Likewise.
17306 * posix/sched_primin.c: Likewise.
17307 * posix/sched_rr_gi.c: Likewise.
17308 * posix/sched_setaffinity.c: Likewise.
17309 * posix/sched_setp.c: Likewise.
17310 * posix/sched_sets.c: Likewise.
17311 * posix/sched_yield.c: Likewise.
17312 * posix/setgid.c: Likewise.
17313 * posix/setlogin.c: Likewise.
17314 * posix/setpgid.c: Likewise.
17315 * posix/setresgid.c: Likewise.
17316 * posix/setresuid.c: Likewise.
17317 * posix/setsid.c: Likewise.
17318 * posix/setuid.c: Likewise.
17319 * posix/sleep.c: Likewise.
17320 * posix/spawni.c: Likewise.
17321 * posix/sysconf.c: Likewise.
17322 * posix/times.c: Likewise.
17323 * posix/wait.c: Likewise.
17324 * posix/wait3.c: Likewise.
17325 * posix/wait4.c: Likewise.
17326 * posix/waitpid.c: Likewise.
17327 * resolv/gai_sigqueue.c: Likewise.
17328 * resource/getpriority.c: Likewise.
17329 * resource/getrlimit.c: Likewise.
17330 * resource/getrusage.c: Likewise.
17331 * resource/nice.c: Likewise.
17332 * resource/setpriority.c: Likewise.
17333 * resource/setrlimit.c: Likewise.
17334 * resource/ulimit.c: Likewise.
17335 * rt/aio_cancel.c: Likewise.
17336 * rt/aio_fsync.c: Likewise.
17337 * rt/aio_read.c: Likewise.
17338 * rt/aio_sigqueue.c: Likewise.
17339 * rt/aio_suspend.c: Likewise.
17340 * rt/aio_write.c: Likewise.
17341 * rt/clock_getres.c: Likewise.
17342 * rt/clock_gettime.c: Likewise.
17343 * rt/clock_nanosleep.c: Likewise.
17344 * rt/clock_settime.c: Likewise.
17345 * rt/lio_listio.c: Likewise.
17346 * rt/mq_close.c: Likewise.
17347 * rt/mq_getattr.c: Likewise.
17348 * rt/mq_notify.c: Likewise.
17349 * rt/mq_open.c: Likewise.
17350 * rt/mq_receive.c: Likewise.
17351 * rt/mq_send.c: Likewise.
17352 * rt/mq_setattr.c: Likewise.
17353 * rt/mq_timedreceive.c: Likewise.
17354 * rt/mq_timedsend.c: Likewise.
17355 * rt/mq_unlink.c: Likewise.
17356 * rt/shm_open.c: Likewise.
17357 * rt/shm_unlink.c: Likewise.
17358 * rt/timer_create.c: Likewise.
17359 * rt/timer_delete.c: Likewise.
17360 * rt/timer_getoverr.c: Likewise.
17361 * rt/timer_gettime.c: Likewise.
17362 * rt/timer_settime.c: Likewise.
17363 * setjmp/__longjmp.c: Likewise.
17364 * setjmp/setjmp.c: Likewise.
17365 * signal/kill.c: Likewise.
17366 * signal/killpg.c: Likewise.
17367 * signal/raise.c: Likewise.
17368 * signal/sigaction.c: Likewise.
17369 * signal/sigaltstack.c: Likewise.
17370 * signal/sigblock.c: Likewise.
17371 * signal/sigignore.c: Likewise.
17372 * signal/sigintr.c: Likewise.
17373 * signal/signal.c: Likewise.
17374 * signal/sigpause.c: Likewise.
17375 * signal/sigpending.c: Likewise.
17376 * signal/sigqueue.c: Likewise.
17377 * signal/sigreturn.c: Likewise.
17378 * signal/sigset.c: Likewise.
17379 * signal/sigsetmask.c: Likewise.
17380 * signal/sigstack.c: Likewise.
17381 * signal/sigsuspend.c: Likewise.
17382 * signal/sigtimedwait.c: Likewise.
17383 * signal/sigvec.c: Likewise.
17384 * signal/sigwait.c: Likewise.
17385 * signal/sigwaitinfo.c: Likewise.
17386 * signal/sysv_signal.c: Likewise.
17387 * socket/accept.c: Likewise.
17388 * socket/accept4.c: Likewise.
17389 * socket/bind.c: Likewise.
17390 * socket/connect.c: Likewise.
17391 * socket/getpeername.c: Likewise.
17392 * socket/getsockname.c: Likewise.
17393 * socket/getsockopt.c: Likewise.
17394 * socket/isfdtype.c: Likewise.
17395 * socket/listen.c: Likewise.
17396 * socket/recv.c: Likewise.
17397 * socket/recvfrom.c: Likewise.
17398 * socket/recvmsg.c: Likewise.
17399 * socket/send.c: Likewise.
17400 * socket/sendmsg.c: Likewise.
17401 * socket/sendto.c: Likewise.
17402 * socket/setsockopt.c: Likewise.
17403 * socket/shutdown.c: Likewise.
17404 * socket/sockatmark.c: Likewise.
17405 * socket/socket.c: Likewise.
17406 * socket/socketpair.c: Likewise.
17407 * stdio-common/ctermid.c: Likewise.
17408 * stdio-common/cuserid.c: Likewise.
17409 * stdio-common/remove.c: Likewise.
17410 * stdio-common/rename.c: Likewise.
17411 * stdio-common/renameat.c: Likewise.
17412 * stdio-common/tempname.c: Likewise.
17413 * stdlib/getcontext.c: Likewise.
17414 * stdlib/makecontext.c: Likewise.
17415 * stdlib/setcontext.c: Likewise.
17416 * stdlib/swapcontext.c: Likewise.
17417 * stdlib/system.c: Likewise.
17418 * streams/fattach.c: Likewise.
17419 * streams/fdetach.c: Likewise.
17420 * streams/getmsg.c: Likewise.
17421 * streams/getpmsg.c: Likewise.
17422 * streams/putmsg.c: Likewise.
17423 * streams/putpmsg.c: Likewise.
17424 * sysdeps/unix/bsd/getpt.c: Likewise.
17425 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17426 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17427 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17430 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17431 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17432 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17433 * sysvipc/msgctl.c: Likewise.
17434 * sysvipc/msgget.c: Likewise.
17435 * sysvipc/msgrcv.c: Likewise.
17436 * sysvipc/msgsnd.c: Likewise.
17437 * sysvipc/semctl.c: Likewise.
17438 * sysvipc/semget.c: Likewise.
17439 * sysvipc/semop.c: Likewise.
17440 * sysvipc/semtimedop.c: Likewise.
17441 * sysvipc/shmat.c: Likewise.
17442 * sysvipc/shmctl.c: Likewise.
17443 * sysvipc/shmdt.c: Likewise.
17444 * sysvipc/shmget.c: Likewise.
17445 * termios/tcdrain.c: Likewise.
17446 * termios/tcflow.c: Likewise.
17447 * termios/tcflush.c: Likewise.
17448 * termios/tcgetattr.c: Likewise.
17449 * termios/tcgetpgrp.c: Likewise.
17450 * termios/tcsendbrk.c: Likewise.
17451 * termios/tcsetattr.c: Likewise.
17452 * termios/tcsetpgrp.c: Likewise.
17453 * time/adjtime.c: Likewise.
17454 * time/clock.c: Likewise.
17455 * time/getitimer.c: Likewise.
17456 * time/gettimeofday.c: Likewise.
17457 * time/setitimer.c: Likewise.
17458 * time/settimeofday.c: Likewise.
17459 * time/stime.c: Likewise.
17460 * time/time.c: Likewise.
17462 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17464 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17467 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17469 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17471 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17475 FE_TONEAREST before applying Dekker multiplication and Knuth
17476 addition. Clear inexact exceptions and check for exact zero
17477 results afterwards.
17478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17479 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17481 * math/libm-test.inc (fma_test): Add more tests.
17482 (fma_test_towardzero): Likewise.
17483 (fma_test_downward): Likewise.
17484 (fma_test_upward): Likewise.
17485 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17487 (libc_fesetround): New macro.
17488 (libc_fesetroundf): Likewise.
17489 (libc_fesetroundl): Likewise.
17490 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17492 (libc_fesetround_387): Likewise.
17493 (libc_fesetroundf): New macro.
17494 (libc_fesetround): Likewise.
17495 (libc_fesetroundl): Likewise.
17496 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17498 (libc_fesetroundf): New macro.
17499 (libc_fesetround): Likewise.
17500 (libc_fesetroundl): Likewise.
17501 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17502 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17503 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17505 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17506 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17508 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17509 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17511 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17515 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17516 integer constant usable in #if and use that to give value to enum
17518 (FE_DIVBYZERO): Likewise.
17519 (FE_UNDERFLOW): Likewise.
17520 (FE_OVERFLOW): Likewise.
17521 (FE_INVALID): Likewise.
17522 (FE_INVALID_SNAN): Likewise.
17523 (FE_INVALID_ISI): Likewise.
17524 (FE_INVALID_IDI): Likewise.
17525 (FE_INVALID_ZDZ): Likewise.
17526 (FE_INVALID_IMZ): Likewise.
17527 (FE_INVALID_COMPARE): Likewise.
17528 (FE_INVALID_SOFTWARE): Likewise.
17529 (FE_INVALID_SQRT): Likewise.
17530 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17531 (FE_TONEAREST): Likewise.
17532 (FE_TOWARDZERO): Likewise.
17533 (FE_UPWARD): Likewise.
17534 (FE_DOWNWARD): Likewise.
17535 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17536 (FE_DIVBYZERO): Likewise.
17537 (FE_OVERFLOW): Likewise.
17538 (FE_UNDERFLOW): Likewise.
17539 (FE_INEXACT): Likewise.
17540 (FE_TONEAREST): Likewise.
17541 (FE_DOWNWARD): Likewise.
17542 (FE_UPWARD): Likewise.
17543 (FE_TOWARDZERO): Likewise.
17544 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17545 (FE_UNDERFLOW): Likewise.
17546 (FE_OVERFLOW): Likewise.
17547 (FE_DIVBYZERO): Likewise.
17548 (FE_INVALID): Likewise.
17549 (FE_TONEAREST): Likewise.
17550 (FE_TOWARDZERO): Likewise.
17551 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17552 (FE_OVERFLOW): Likewise.
17553 (FE_UNDERFLOW): Likewise.
17554 (FE_DIVBYZERO): Likewise.
17555 (FE_INEXACT): Likewise.
17556 (FE_TONEAREST): Likewise.
17557 (FE_TOWARDZERO): Likewise.
17558 (FE_UPWARD): Likewise.
17559 (FE_DOWNWARD): Likewise.
17560 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17561 (FE_DIVBYZERO): Likewise.
17562 (FE_OVERFLOW): Likewise.
17563 (FE_UNDERFLOW): Likewise.
17564 (FE_INEXACT): Likewise.
17565 (FE_TONEAREST): Likewise.
17566 (FE_DOWNWARD): Likewise.
17567 (FE_UPWARD): Likewise.
17568 (FE_TOWARDZERO): Likewise.
17570 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17572 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17574 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17576 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17577 commands. Quote $PWD.
17578 (blacklist_exports): Don't use remove_newlines. Replace "declare
17580 (remove_newlines): Remove.
17582 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17584 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17585 * stdlib/stdlib.h (atof): Moved to ...
17586 * include/bits/stdlib-float.h: Here. New file.
17587 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17588 * stdlib/bits/stdlib-float.h: New file.
17589 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17591 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17594 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17596 * conform/conformtest.pl (@headers): Add fenv.h.
17597 * conform/data/fenv.h-data: New file.
17598 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17599 include of <math/fenv.h>.
17601 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17602 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17603 && !UNIX98]. Enables tests for XOPEN2K8.
17604 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17605 POSIX2008]: Likewise.
17607 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17608 (struct rusage): Do not expect type or its members.
17611 * math/math.h (FP_NAN): Define macro to integer constant usable in
17612 #if and use that to give value to enum constant.
17613 (FP_INFINITE): Likewise.
17614 (FP_ZERO): Likewise.
17615 (FP_SUBNORMAL): Likewise.
17616 (FP_NORMAL): Likewise.
17618 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17620 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17621 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17624 2012-11-02 Roland McGrath <roland@hack.frob.com>
17626 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17627 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17628 autoconf-time if not.
17629 * configure.in: Remove AC_PREREQ.
17631 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17633 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17634 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17635 of the internal implementation.
17637 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17639 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17640 except include of <misc/sys/syslog.h>.
17642 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17645 function returns with a NULL context exit with zero.
17647 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17649 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17651 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17653 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17654 (run_program_cmd): This.
17655 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17656 (tst_langinfo): New variable. Use it.
17658 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17660 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17661 floating point opcodes.
17663 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17665 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17668 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17670 * sysdeps/mach/hurd/powerpc: Remove directory.
17671 * sysdeps/mach/powerpc: Likewise.
17673 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17675 * scripts/check-local-headers.sh: Ignore c++ headers.
17677 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17679 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17680 __libc_cleanup_region_start argument.
17682 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17687 x * y using scaling, not as x * y + z.
17688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17690 * math/libm-test.inc (fma_test): Add more tests.
17691 (fma_test_towardzero): Likewise.
17692 (fma_test_downward): Likewise.
17693 (fma_test_upward): Likewise.
17695 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17697 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17699 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17701 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17704 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17706 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17708 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17715 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17718 Fix the order of the list for glibc 2.17.
17719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17722 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17726 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17730 for low part of x being zero before using __atanl (y).
17731 * math/libm-test.inc (atan2_test): Add another test.
17733 * manual/install.texi (Configuring and compiling): Document
17734 general use of test-wrapper and test-wrapper-env.
17735 * INSTALL: Regenerated.
17737 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17738 (__fma): Do not extract and scale down low bits on after-rounding
17739 systems when result rounded to normal precision would have normal
17741 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17742 (__fmal): Do not extract and scale down low bits on after-rounding
17743 systems when result rounded to normal precision would have normal
17745 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17746 (__fmal): Do not extract and scale down low bits on after-rounding
17747 systems when result rounded to normal precision would have normal
17749 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17751 (fma_test): Add more tests.
17752 (fma_test_towardzero): Likewise.
17753 (fma_test_downward): Likewise.
17754 (fma_test_upward): Likewise.
17756 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17758 * sysdeps/i386/tininess.h: Renamed to ...
17759 * sysdeps/x86/tininess.h: This.
17760 * sysdeps/x86_64/tininess.h: Removed.
17762 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17764 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17765 input. Use $(build-program-cmd).
17766 ($(objpfx)tst-array1-static.out): Likewise.
17767 ($(objpfx)tst-array2.out): Likewise.
17768 ($(objpfx)tst-array3.out): Likewise.
17769 ($(objpfx)tst-array4.out): Likewise.
17770 ($(objpfx)tst-array5.out): Likewise.
17771 ($(objpfx)tst-array5-static.out): Likewise.
17773 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17775 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17778 * nss/nsswitch.h (nss_interface_function): Provide new
17779 macro for use with NSS functions.
17780 * grp/initgroups.c: Use new macro.
17781 * nss/getXXbyYY.c: Likewise.
17782 * nss/getXXbyYY_r.c: Likewise.
17783 * nss/getXXent.c: Likewise.
17784 * nss/getXXent_r.c: Likewise.
17785 * sysdeps/posix/getaddrinfo.c: Likewise.
17787 2012-10-30 Andreas Jaeger <aj@suse.de>
17789 * po/ru.po: Update Russion translation from translation project.
17791 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17796 result and shift together with sticky bit instead of replicating
17797 round-to-nearest rounding.
17798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17800 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17801 missing underflow exceptions.
17802 (fma_test_towardzero): Add more tests.
17803 (fma_test_downward): Likewise.
17804 (fma_test_upward): Likewise.
17807 * sysdeps/generic/tininess.h: New file.
17808 * sysdeps/i386/tininess.h: Likewise.
17809 * sysdeps/sh/tininess.h: Likewise.
17810 * sysdeps/x86_64/tininess.h: Likewise.
17811 * stdlib/tst-strtod-underflow.c: Likewise.
17812 * stdlib/tst-tininess.c: Likewise.
17813 * stdlib/strtod_l.c: Include <tininess.h>.
17814 (round_and_return): Do not set errno for exact underflow cases.
17815 Force an underflow exception when setting errno for underflow.
17816 Determine underflow based on rounding to normal precision if
17817 TININESS_AFTER_ROUNDING.
17818 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17819 ERANGE for exact underflow cases.
17820 * stdlib/Makefile (tests): Add tst-tininess and
17821 tst-strtod-underflow.
17822 ($(objpfx)tst-tininess): Use $(link-libm).
17823 ($(objpfx)tst-strtod-underflow): Likewise.
17825 2012-10-30 Andreas Jaeger <aj@suse.de>
17828 * elf/Makefile (tests): Remove conditional for have-initfini-array
17829 since this is now always required and the variable does not exist
17831 (tests-static): Likewise.
17832 (modules-names): Likewise.
17834 * po/eo.po: Add Esperanto translation from translation project.
17836 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17837 merged with constructor/destructor.
17838 (init_array): Likewise.
17839 * elf/tst-array2dep.c (fini_array): Likewise.
17840 (init_array): Likewise.
17842 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17844 * manual/message.texi: Delete @cartouche tags.
17846 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17848 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17850 * sysdeps/mach/hurd/fsync.c: Likewise.
17852 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17853 [_POSIX_REALTIME_SIGNALS]: Change condition to
17854 [_POSIX_REALTIME_SIGNALS > 0].
17856 2012-10-27 Andreas Jaeger <aj@suse.de>
17858 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17859 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17861 [__WORDSIZE != 64]: Likewise.
17863 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17865 * iconvdata/tst-table.sh: Remove ${SHELL}.
17866 * iconvdata/tst-tables.sh: Likewise.
17868 2012-10-25 David S. Miller <davem@davemloft.net>
17870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17871 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17876 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17877 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17878 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17881 2012-10-25 Roland McGrath <roland@hack.frob.com>
17883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17884 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17887 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17888 Jim Blandy <jimb@codesourcery.com>
17890 * scripts/cross-test-ssh.sh: New file.
17891 * manual/install.texi (Configuring and compiling): Document use of
17893 * INSTALL: Regenerated.
17895 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17897 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17900 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17902 * Makeconfig (run-program-prefix): Fix comment.
17904 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17905 Jim Blandy <jimb@codesourcery.com>
17907 * Makeconfig (test-wrapper): New variable,
17908 (test-wrapper-env): Likewise.
17909 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17910 (run-built-tests): Define to yes.
17911 (run-program-prefix): Use $(test-wrapper).
17912 (built-program-cmd): Likewise.
17913 * Rules (make-test-out): Use $(test-wrapper-env) and
17914 $(host-built-program-cmd).
17915 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17916 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17918 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17919 $(test-wrapper-env) to tst-rtld-load-self.sh.
17920 ($(objpfx)order2.out): Use $(test-wrapper).
17921 ($(objpfx)tst-initorder.out): Likewise.
17922 ($(objpfx)tst-initorder2.out): Likewise.
17923 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17924 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17925 (test_wrapper_env): New variable. Use it to run ld.so.
17926 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17927 Use it to run ld.so.
17928 (test_wrapper_env): Likewise.
17929 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17930 $(test-wrapper) to run-iconv-test.sh.
17931 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17932 (ICONV): Use $test_wrapper.
17933 * posix/Makefile ($(objpfx)globtest.out): Pass
17934 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17935 globtest.sh, not $(run-program-prefix).
17936 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17937 (test_wrapper): Likewise.
17938 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17939 set together with run_via_rtld_prefix.
17940 (run_program_prefix): Define in terms of test_wrapper and
17941 run_via_rtld_prefix.
17943 2012-10-24 Roland McGrath <roland@hack.frob.com>
17945 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17946 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17950 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17951 Declare __clock_getres, __clock_gettime, __clock_settime,
17952 __clock_nanosleep, and __clock_getcpuclockid.
17953 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17954 Remove librt_hidden_def (clock_gettime).
17955 * sysdeps/unix/clock_gettime.c: Likewise.
17956 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17957 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17958 * rt/clock_getres.c: Define __clock_getres as an alias.
17959 * sysdeps/posix/clock_getres.c: Likewise.
17960 * rt/clock_settime.c: Define __clock_settime as an alias.
17961 * sysdeps/unix/clock_settime.c: Likewise.
17962 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17963 * sysdeps/unix/clock_nanosleep.c: Likewise.
17964 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17965 * rt/clock-compat.c: New file.
17966 * rt/Makefile (librt-routines): Add clock-compat and move
17967 $(clock-routines) to ...
17968 (routines): ... here, new variable.
17969 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17970 Don't add get_clockfreq here.
17971 * rt/Versions (libc: GLIBC_2.17): New version set.
17972 Add clock_* symbols here.
17973 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17974 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17975 (GLIBC_2.17): Add clock_* symbols.
17976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17987 * NEWS: Mention the move.
17989 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17990 Use __open, __read, __close rather than their public counterparts.
17991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17992 (__get_clockfreq_via_cpuinfo): Likewise.
17993 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17994 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17996 * config.h.in (HAVE_IFUNC): New #undef.
17997 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17999 * configure: Regenerated.
18001 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18003 * configure.in: Move READELF check to start of file.
18004 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18005 libc_cv_asm_gnu_indirect_function in the process.
18006 * configure: Regenerated.
18008 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18010 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18011 send the output to /dev/null.
18012 (libc_cv_cc_with_libunwind): Likewise.
18013 (libc_cv_as_noexecstack): Likewise.
18014 * configure: Regenerate.
18016 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18018 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18020 * posix/globtest.sh (TMPDIR): Do not set.
18021 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18022 (testout): Likewise.
18024 2012-10-24 Andreas Jaeger <aj@suse.de>
18026 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18027 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18028 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18029 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18030 posix_fadvise64, posix_fallocate64.
18032 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18033 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18034 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18036 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18038 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18041 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18042 <bits/fcntl-linux.h>.
18043 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18046 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18047 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18048 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18049 [__WORDSIZE != 64]: Likewise.
18051 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18053 * Makeconfig (run-built-tests): New variable.
18054 * Rules [$(cross-compiling) = yes]: Change condition to
18055 [$(run-built-tests) = no].
18056 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18057 to [$(run-built-tests) = yes].
18058 * elf/Makefile [$(cross-compiling) = no]: Likewise
18059 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18060 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18061 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18062 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18063 * io/Makefile [$(cross-compiling) = no]: Likewise.
18064 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18065 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18066 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18067 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18068 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18069 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18070 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18071 * string/Makefile [$(cross-compiling) = no]: Likewise.
18073 * posix/Makefile ($(objpfx)globtest.out): Pass
18074 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18075 $(rtld-installed-name).
18076 * posix/globtest.sh (elf_objpfx): Remove variable.
18077 (rtld_installed_name): Likewise.
18078 (library_path): Likewise.
18079 (run_program_prefix): New variable. Use for running globtest
18082 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18083 Joseph Myers <joseph@codesourcery.com>
18085 * Makeconfig (host-built-program-cmd): New variable.
18086 * elf/Makefile (tst-stackguard1-ARGS): Use
18087 $(host-built-program-cmd).
18088 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18089 (tst-spawn-ARGS): Likewise.
18090 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18092 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18093 Jim Blandy <jimb@codesourcery.com>
18095 * Makeconfig (run-via-rtld-prefix): New variable.
18096 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18097 (built-program-cmd): Likewise.
18099 2012-10-22 Andreas Jaeger <aj@suse.de>
18101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18102 __O_RSYNC if it exists, otherwise to O_SYNC.
18104 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18105 Joseph Myers <joseph@codesourcery.com>
18107 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18109 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18111 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18114 2012-10-22 Andreas Jaeger <aj@suse.de>
18116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18121 bits/fcntl-linux.h.
18123 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18124 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18131 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18132 Joseph Myers <joseph@codesourcery.com>
18134 * config.make.in (NM): New variable.
18136 2012-10-21 Andreas Jaeger <aj@suse.de>
18138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18139 definitions and declarations that are provided by
18140 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18142 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18145 * elf/Makefile (tests-static): Add tst-leaks1-static.
18146 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18147 ($(objpfx)tst-leaks1-static): New rule.
18148 ($(objpfx)tst-leaks1-static-mem): Likewise.
18149 (tst-leaks1-static-ENV): New macro.
18150 * elf/dl-open.c (dl_open_worker): Check the main application
18151 only if SHARED is defined.
18152 * elf/tst-leaks1-static.c: New file.
18154 2012-10-20 Andreas Jaeger <aj@suse.de>
18156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18157 generic values for Linux.
18158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18159 and declarations that are provided by <bits/fcntl-linux.h> and
18160 include <bits/fcntl-linux.h>.
18161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18164 2012-10-20 Roland McGrath <roland@hack.frob.com>
18166 * io/fcntl.h: Move include of <bits/types.h> to the top and
18167 include it unconditionally.
18169 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18171 * wcsmbs/Makefile (tests-ifunc): New variable.
18172 (tests): Add $(tests-ifunc).
18173 * wcsmbs/test-wcschr-ifunc.c: New file.
18174 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18175 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18176 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18177 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18178 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18180 * string/Makefile (tests-ifunc): New variable.
18181 (tests): Add $(tests-ifunc).
18182 * string/test-memccpy.c (TEST_NAME): New macro.
18183 * string/test-memchr.c (TEST_NAME): Likewise.
18184 * string/test-memcmp.c (TEST_NAME): Likewise.
18185 * string/test-memcpy.c (TEST_NAME): Likewise.
18186 * string/test-memmem.c (TEST_NAME): Likewise.
18187 * string/test-memmove.c (TEST_NAME): Likewise.
18188 * string/test-memset.c (TEST_NAME): Likewise.
18189 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18190 * string/test-stpcpy.c (TEST_NAME): Likewise.
18191 * string/test-stpncpy.c (TEST_NAME): Likewise.
18192 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18193 * string/test-strcasestr.c (TEST_NAME): Likewise.
18194 * string/test-strcat.c (TEST_NAME): Likewise.
18195 * string/test-strchr.c (TEST_NAME): Likewise.
18196 * string/test-strcmp.c(TEST_NAME): Likewise.
18197 * string/test-strcpy.c (TEST_NAME): Likewise.
18198 * string/test-strcspn.c (TEST_NAME): Likewise.
18199 * string/test-strlen.c (TEST_NAME): Likewise.
18200 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18201 * string/test-strncmp.c (TEST_NAME): Likewise.
18202 * string/test-strncpy.c (TEST_NAME): Likewise.
18203 * string/test-strnlen.c (TEST_NAME): Likewise.
18204 * string/test-strpbrk.c (TEST_NAME): Likewise.
18205 * string/test-strrchr.c (TEST_NAME): Likewise.
18206 * string/test-strspn.c (TEST_NAME): Likewise.
18207 * string/test-strstr.c (TEST_NAME): Likewise.
18208 * string/test-bcopy-ifunc.c: New file.
18209 * string/test-bzero-ifunc.c: Likewise.
18210 * string/test-memccpy-ifunc.c: Likewise.
18211 * string/test-memchr-ifunc.c: Likewise.
18212 * string/test-memcmp-ifunc.c: Likewise.
18213 * string/test-memcpy-ifunc.c: Likewise.
18214 * string/test-memmem-ifunc.c: Likewise.
18215 * string/test-memmove-ifunc.c: Likewise.
18216 * string/test-mempcpy-ifunc.c: Likewise.
18217 * string/test-memset-ifunc.c: Likewise.
18218 * string/test-rawmemchr-ifunc.c: Likewise.
18219 * string/test-stpcpy-ifunc.c: Likewise.
18220 * string/test-stpncpy-ifunc.c: Likewise.
18221 * string/test-strcasecmp-ifunc.c: Likewise.
18222 * string/test-strcasestr-ifunc.c: Likewise.
18223 * string/test-strcat-ifunc.c: Likewise.
18224 * string/test-strchr-ifunc.c: Likewise.
18225 * string/test-strchrnul-ifunc.c: Likewise.
18226 * string/test-strcmp-ifunc.c: Likewise.
18227 * string/test-strcpy-ifunc.c: Likewise.
18228 * string/test-strcspn-ifunc.c: Likewise.
18229 * string/test-strlen-ifunc.c: Likewise.
18230 * string/test-strncasecmp-ifunc.c: Likewise.
18231 * string/test-strncat-ifunc.c: Likewise.
18232 * string/test-strncmp-ifunc.c: Likewise.
18233 * string/test-strncpy-ifunc.c: Likewise.
18234 * string/test-strnlen-ifunc.c: Likewise.
18235 * string/test-strpbrk-ifunc.c: Likewise.
18236 * string/test-strrchr-ifunc.c: Likewise.
18237 * string/test-strspn-ifunc.c: Likewise.
18238 * string/test-strstr-ifunc.c: Likewise.
18240 * debug/Makefile (tests-ifunc): New variable.
18241 (tests): Add $(tests-ifunc).
18242 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18243 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18244 * debug/test-stpcpy_chk-ifunc.c: New file.
18245 * debug/test-strcpy_chk-ifunc.c: Likewise.
18247 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18250 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18251 header is not read in.
18253 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18255 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18256 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18257 directly. Pass built executable to script as
18258 $(built-program-cmd).
18259 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18260 $testprogram without using LD_LIBRARY_PATH and $ldso.
18262 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18263 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18264 $(rtld-installed-name).
18265 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18266 (rtld_installed_name): Likewise.
18267 (library_path): Likewise.
18268 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18269 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18270 $(run-program-prefix) to tst-tables.sh.
18271 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18272 it to run tst-table-from and tst-table-to.
18273 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18274 Pass it to tst-table.sh.
18275 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18276 $(run-program-prefix) to tst-gettext.sh.
18277 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18279 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18281 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18282 to run tst-gettext.
18283 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18284 to run tst-gettext2.
18285 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18286 to run tst-translit.
18287 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18288 $(run-program-prefix) to tst-mtrace.sh.
18289 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18291 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18292 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18293 $(rtld-installed-name).
18294 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18295 (rtld_installed_name): Likewise.
18296 (run_program_prefix): New variable. Use it to run wordexp-test.
18298 * Makeconfig (ARCH): Remove all definitions.
18299 (machine): Likewise.
18300 [ARCH]: Remove conditional code.
18301 [!objdir]: Give error.
18302 [!objdir] (objpfx): Remove.
18303 [!objdir] (common-objpfx): Likewise.
18304 [!objdir] (common-objdir): Likewise.
18305 * configure.in (config_makefile): Remove. Hardcode Makefile in
18306 AC_CONFIG_FILES call.
18307 * configure: Regenerated.
18310 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18312 (testout): Likewise.
18314 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18315 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18316 $(rtld-installed-name).
18317 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18318 (rtld_installed_name): Likwise.
18319 (runit): Remove function.
18320 (run_getconf): New variable, Use it for running getconf binary.
18322 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18325 * string/test-memmem.c (check_result): New function.
18326 (do_one_test): Use it.
18327 (check1): New function.
18328 (test_main): Use it.
18330 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18332 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18334 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18336 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18337 (_G_LSEEK64): Likewise.
18338 (_G_MMAP64): Likewise.
18339 (_G_FSTAT64): Likewise.
18340 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18341 (_G_LSEEK64): Likewise.
18342 (_G_MMAP64): Likewise.
18343 (_G_FSTAT64): Likewise.
18344 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18345 unconditional. Call __mmap64 directly.
18346 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18347 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18348 __lseek64 directly.
18349 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18350 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18352 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18353 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18354 __lseek64 directly.
18355 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18356 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18357 __lseek64 directly.
18358 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18359 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18360 __lseek64 directly.
18361 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18362 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18363 __fxstat64 directly.
18364 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18365 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18367 (freopen64) [!_G_OPEN64]: Remove conditional code.
18368 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18370 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18371 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18373 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18374 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18376 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18377 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18379 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18380 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18382 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18383 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18385 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18386 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18388 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18390 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18393 * manual/memory.texi (Malloc Tunable Parameters): Add note
18394 about free list pointers overwriting some perturb bytes.
18395 Wording suggested by Roland McGrath.
18397 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18399 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18400 (lgamma_test): Likewise.
18401 (tgamma_test): Likewise.
18403 2012-10-16 Florian Weimer <fweimer@redhat.com>
18406 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18407 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18409 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18411 * NEWS: Mention BZ #14716.
18412 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18413 when removing AVAILABLE1_USES_J macro.
18415 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18417 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18418 (__bswap_64): __uint64_t for unsigned 64-bit int.
18420 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18422 * include/string.h (memmem): Declare libc hidden alias.
18423 * string/memmem.c (memmem): Define libc hidden alias.
18424 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18425 __read, __close instead of open, read, close.
18427 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18430 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18432 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18433 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18434 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18436 (__rawmemchr_sse2): Likewise.
18437 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18438 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18439 (__strchr_sse2): Likewise.
18440 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18441 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18442 (__strcasecmp_sse2): Likewise.
18443 (__strncasecmp_sse2): Likewise.
18444 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18445 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18446 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18447 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18448 (__strrchr_sse2): Likewise.
18449 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18451 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18452 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18453 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18454 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18455 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18456 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18457 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18458 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18459 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18460 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18461 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18463 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18464 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18465 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18466 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18467 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18468 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18469 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18470 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18471 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18472 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18473 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18474 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18475 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18476 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18477 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18478 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18479 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18480 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18482 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18484 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18485 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18486 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18487 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18489 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18491 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18492 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18493 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18494 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18496 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18497 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18498 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18499 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18500 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18501 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18502 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18503 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18504 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18505 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18506 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18507 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18508 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18509 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18510 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18511 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18512 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18513 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18514 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18515 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18516 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18517 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18518 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18519 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18520 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18521 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18522 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18523 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18524 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18525 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18526 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18527 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18528 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18529 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18530 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18531 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18532 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18533 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18534 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18538 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18539 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18540 * include/ifunc-impl-list.h: New file.
18541 * misc/ifunc-impl-list.c: Likewise.
18542 * misc/Makefile (routines): Add ifunc-impl-list.
18543 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18544 * string/test-string.h: Include <ifunc-impl-list.h>.
18545 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18546 impl_array): New variables.
18547 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18549 (test_init): Call __libc_ifunc_impl_list to initialize
18550 func_list if TEST_IFUNC and TEST_NAME are defined.
18552 * string/Makefile (strop-tests): Add bcopy and bzero.
18553 * string/test-bcopy.c: New file.
18554 * string/test-bzero.c: Likewise.
18555 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18557 * string/test-memset.c: Support bzero test if TEST_BZERO is
18559 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18561 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18563 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18566 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18568 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18569 * configure: Regenerated.
18571 * Makeconfig (+link-static-before-libc): Don't include
18572 $(link-static-libc).
18574 * libio/libio.h (_IO_pos_t): Remove.
18576 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18578 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18581 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18583 * crypt/crypt-entry.c: Include fips-private.h.
18584 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18585 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18586 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18587 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18589 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18591 * crypt/crypt-private.h: Include stdbool.h.
18592 (_ufc_setup_salt_r): Return bool.
18593 * crypt/crypt-entry.c: Include errno.h.
18594 (__crypt_r): Return NULL with EINVAL for bad salt.
18595 * crypt/crypt_util.c (bad_for_salt): New.
18596 (_ufc_setup_salt_r): Check that salt is long enough and within
18597 the specified alphabet.
18598 * crypt/badsalttest.c: New file.
18599 * crypt/Makefile (tests): Add it.
18600 ($(objpfx)badsalttest): New.
18602 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18604 * NEWS: Add entry for BZ #14602.
18606 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18608 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18610 * math/libm-test.inc: Update comment listing what functions and
18612 (isgreater_test): New function.
18613 (isgreaterequal_test): Likewise.
18614 (isless_test): Likewise.
18615 (islessequal_test): Likewise.
18616 (islessgreater_test): Likewise.
18617 (isunordered_test): Likewise.
18618 (main): Call the new functions.
18620 2012-10-09 Roland McGrath <roland@hack.frob.com>
18622 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18623 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18624 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18625 * sysdeps/i386/configure: Regenerated.
18626 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18627 * sysdeps/mach/configure: Regenerated.
18628 * sysdeps/mach/hurd/configure: Regenerated.
18629 * sysdeps/powerpc/configure: Regenerated.
18630 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18631 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18632 * sysdeps/s390/s390-32/configure: Regenerated.
18633 * sysdeps/s390/s390-64/configure: Regenerated.
18634 * sysdeps/sh/configure: Regenerated.
18635 * sysdeps/sparc/configure: Regenerated.
18636 * sysdeps/unix/sysv/linux/configure: Regenerated.
18637 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18638 * sysdeps/x86_64/configure: Regenerated.
18640 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18641 defined. Don't check if MAP is NULL.
18643 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18645 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18646 (_G_stat64): Likewise.
18647 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18648 (_G_stat64): Likewise.
18649 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18650 instead of struct _G_stat64.
18651 * libio/fileops.c (mmap_remap_check): Likewise.
18652 (decide_maybe_mmap): Likewise.
18653 (_IO_new_file_seekoff): Likewise.
18654 (_IO_file_stat): Likewise.
18655 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18657 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18658 instead of struct _G_stat64.
18659 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18661 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18664 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18666 (CHECK_EOL): New macro.
18667 (two_way_short_needle): Check beginning of haystack for EOL. Use
18669 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18670 Replace with CHECK_EOL.
18671 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18672 Replace with CHECK_EOL.
18674 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18676 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18678 * math/libm-test.inc: Update comment listing what functions and
18680 (finite_test): New function.
18681 (isinf_test): Likewise.
18682 (isnan_test): Likewise.
18683 (fpclassify_test): Test subnormal input.
18684 (isfinite_test): Likewise.
18685 (isnormal_test): Likewise.
18686 (main): Call the new functions.
18688 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18691 * Makerules (%.dynsym): Force C locale when running
18692 $(OBJDUMP) --dynamic-syms.
18694 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18696 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18699 2012-10-06 David S. Miller <davem@davemloft.net>
18701 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18702 upper 32-bits of the length value in %o2 since we use branch-on-register
18703 tests which consider the entire 64-bit register.
18705 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18707 * string/test-strstr.c (check2): Add a test for page boundary.
18709 2012-10-05 David S. Miller <davem@davemloft.net>
18711 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18712 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18714 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18717 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18718 and bzero when HWCAP_SPARC_CRYPTO is present.
18720 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18723 * string/test-strstr.c (check2): New function.
18724 (test_main): Call check2.
18726 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18728 * string/bug-strcasestr1.c (do_test): Moved to ...
18729 * string/test-strcasestr.c (check1): Here. New function.
18730 (do_one_test): Break out result checking code into ...
18731 (check_result): This. New function.
18732 (do_one_test): Call check_result.
18733 (test_main): Call check1.
18734 * string/bug-strchr1.c (do_test): Moved to ...
18735 * string/test-strchr.c (check1): Here. New function.
18736 (do_one_test): Break out result checking code into ...
18737 (check_result): This. New function.
18738 (do_one_test): Call check_result.
18739 (test_main): Call check1.
18740 * string/bug-strstr1.c (main): Moved to ...
18741 * string/test-strstr.c (check1): Here. New function.
18742 (do_one_test): Break out result checking code into ...
18743 (check_result): This. New function.
18744 (do_one_test): Call check_result.
18745 (test_main): Call check1.
18746 * string/bug-strcasestr1.c: Removed.
18747 * string/bug-strchr1.c: Likewise.
18748 * string/bug-strstr1.c: Likewise.
18750 * elf/Makefile (dl-routines): Add hwcaps.
18751 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18752 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18753 (_dl_important_hwcaps): Moved to ...
18754 * elf/dl-hwcaps.c: Here. New file.
18755 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18758 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18759 if IS_IN_rtld isn't defined.
18761 * elf/dl-support.c (_dl_sysinfo_map): New.
18762 Include "get-dynamic-info.h" and "setup-vdso.h".
18763 (_dl_non_dynamic_init): Call setup_vdso.
18764 * elf/dynamic-link.h: Don't include <assert.h>.
18765 (elf_get_dynamic_info): Moved to ...
18766 * elf/get-dynamic-info.h: Here. New file.
18767 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18768 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18769 * elf/setup-vdso.h: Here. New file.
18770 * elf/rtld.c: Include "setup-vdso.h".
18771 (dl_main): Call setup_vdso.
18773 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18775 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18776 creal in comment listing functions tested. List finite, isinf,
18777 isnan, isless, islessequal, isgreater, isgreaterequal,
18778 islessgreater, isunordered, lgamma_r and pow10 as functions and
18779 macros not tested. Mention which functions not tested are aliases
18780 for other functions. Fix typo. Note that signs of NaNs are not
18783 * scripts/config.guess: Update from config.git.
18784 * scripts/config.sub: Likewise.
18786 2012-10-04 Roland McGrath <roland@hack.frob.com>
18788 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18789 * misc/madvise.c (madvise): Renamed to __madvise.
18790 Make madvise a weak alias.
18791 * include/sys/mman.h: Declare __madvise.
18792 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18793 * sysdeps/unix/syscalls.list
18794 (madvise): Make __madvise the strong name, and madvise a weak alias.
18795 * sysdeps/unix/sysv/linux/syscalls.list
18796 (madvise, mmap): Remove redundant entries.
18797 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18798 * malloc/malloc.c (mtrim): Likewise.
18799 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18801 2012-10-03 Roland McGrath <roland@hack.frob.com>
18803 * sysdeps/mach/hurd/dl-cache.c: File removed.
18804 * config.h.in (USE_LDCONFIG): New #undef.
18805 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18806 * configure: Regenerated.
18807 * elf/Makefile (dl-routines): Add dl-cache only under
18808 [$(use-ldconfig) = yes].
18809 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18810 cache on [USE_LDCONFIG].
18811 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18813 * elf/rtld.c (dl_main): Likewise.
18815 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18817 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18818 _SC_LEVEL4_CACHE_LINESIZE.
18820 2012-10-03 Roland McGrath <roland@hack.frob.com>
18822 * sysdeps/unix/bsd/confstr.h: File removed.
18824 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18826 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18829 2012-10-02 Roland McGrath <roland@hack.frob.com>
18831 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18832 Make 'mapoff' field ElfW(Off) rather than off_t.
18834 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18836 * nscd/Makefile: Remove nscd-cflags and all its users.
18837 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18838 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18841 * malloc.c (malloc_printerr): Clarify error message.
18843 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18847 Set bit_FMA_Usable if FMA is supported.
18848 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18850 (bit_FMA4_Usable): Updated.
18851 (index_FMA_Usable): New macro.
18852 (CPUID_FMA): Likewise
18853 (HAS_FMA): Defined with bit_FMA_Usable.
18855 2012-10-01 Roland McGrath <roland@hack.frob.com>
18857 * bits/types.h (__swblk_t): Type removed.
18858 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18859 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18861 (__SWBLK_T_TYPE): Likewise.
18862 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18863 (__SWBLK_T_TYPE): Likewise.
18864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18865 (__SWBLK_T_TYPE): Likewise.
18866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18867 (__SWBLK_T_TYPE): Likewise.
18869 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18870 Honza Horak <hhorak@redhat.com>
18872 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18873 (xdr_mapname): Use YPMAXMAP as maxsize.
18874 (xdr_peername): Use YPMAXPEER as maxsize.
18875 (xdr_keydat): Use YPAXRECORD as maxsize.
18876 (xdr_valdat): Use YPMAXRECORD as maxsize.
18878 2012-10-01 Roland McGrath <roland@hack.frob.com>
18880 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18882 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18883 * csu/init-first.c: ... here.
18884 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18885 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18886 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18887 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18888 * sysdeps/i386/init-first.c: File removed.
18889 * sysdeps/sh/init-first.c: File removed.
18891 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18895 if x * y might underflow to zero and z is zero.
18896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18898 * math/libm-test.inc (min_subnorm_value): New variable.
18899 (fma_test): Add more tests.
18900 (fma_test_towardzero): Likewise.
18901 (fma_test_downward): Likewise
18902 (fma_test_upward): Likewise.
18903 (initialize): Set min_subnorm_value.
18905 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18910 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18911 mode for addition resulting in exact zero.
18912 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18915 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18916 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18917 * math/libm-test.inc (fma_test): Add more tests.
18918 (fma_test_towardzero): New function.
18919 (fma_test_downward): Likewise.
18920 (fma_test_upward): Likewise.
18921 (main): Call the new functions.
18923 2012-09-28 David S. Miller <davem@davemloft.net>
18925 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18927 2012-09-28 Roland McGrath <roland@hack.frob.com>
18929 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18930 instead of SIGALRM.
18932 * sysdeps/gnu/_G_config.h: Moved to ...
18933 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18934 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18935 * sysdeps/generic/_G_config.h: ... here.
18937 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18939 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18941 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18942 Conditionalize target on [libnss_test1.so-version].
18944 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18946 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18947 (elfobjdir): Move out of conditionals.
18949 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18950 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18951 (__nss_lookup_function): Conditionalize label remove_from_tree on
18952 [!DO_STATIC_NSS || SHARED], matching its only use.
18954 2012-09-28 David S. Miller <davem@davemloft.net>
18956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18957 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18959 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18961 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18963 when HWCAP_SPARC_CRYPTO is present.
18965 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18967 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18969 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18972 * stdio-common/vfprintf.c (process_string_arg): Revert
18975 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18977 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18979 * stdio-common/tst-sprintf.c: Include <locale.h>
18980 (main): Test sprintf's handling of incomplete multibyte
18983 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18985 * elf/dl-runtime.c (VERSYMIDX): Removed.
18986 * elf/dl-version.c (VERSYMIDX): Likewise.
18987 * elf/do-rel.h (VERSYMIDX): Likewise.
18988 (VALIDX): Likewise.
18989 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18990 * elf/rtld.c (VALIDX): Likewise.
18991 (ADDRIDX): Likewise.
18992 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18993 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18994 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18995 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18996 (VALIDX): Likewise.
18997 (ADDRIDX): Likewise.
18999 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19001 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19003 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19006 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19008 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19009 addresses are in the same scope as 192.0.2/24.
19010 * posix/gai.conf: Document new scope table defaults.
19012 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19015 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19016 for ftell. Compute offsets from write pointers instead.
19017 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19019 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19022 * libio/Makefile (tests): New test case tst-fseek.
19023 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19024 combination works in wide mode.
19025 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19026 state when the external buffer state changes.
19028 2012-09-27 David S. Miller <davem@davemloft.net>
19031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19032 pass reloc->r_addend in as the 'high' argument to
19033 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19037 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19039 * rt/tst-aio2.c: Include <pthread.h>.
19040 * rt/tst-aio3.c: Likewise.
19042 2012-09-27 Steve Ellcey <sellcey@mips.com>
19044 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19046 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19048 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19049 contents on [SHARED].
19051 2012-09-26 Marek Polacek <polacek@redhat.com>
19055 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19056 for C++ and GCC <4.3 as well as for non GCC compilers.
19058 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19062 2012-09-25 Roland McGrath <roland@hack.frob.com>
19064 * Makefile.in (all, install): Declare with .PHONY.
19065 Reported by Michael Hope <michael.hope@linaro.org>.
19067 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19069 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19070 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19072 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19074 (sydep_routines): Add the new and the internal functions.
19075 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19076 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19078 (GLIBC_2.17): Add the new function.
19079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19080 (GLIBC_2.17): Likewise.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19082 (GLIBC_2.17): Likewise.
19083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19084 (GLIBC_2.17): Likewise.
19085 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19087 2012-09-25 Alan Modra <amodra@gmail.com>
19089 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19090 Add release barrier before setting once_control to say
19091 initialisation is done. Add hints on lwarx. Use macro in
19093 (clear_once_control): Add release barrier.
19095 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19098 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19100 * math/s_clog10.c (__clog10): Likewise.
19101 * math/s_clog10f.c (__clog10f): Likewise.
19102 * math/s_clog10l.c (__clog10l): Likewise.
19103 * math/s_clogf.c (__clogf): Likewise.
19104 * math/s_clogl.c (__clogl): Likewise.
19105 * math/Makefile (libm-calls): Add x2y2m1.
19106 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19107 (__x2y2m1): Likewise.
19108 (__x2y2m1l): Likewise.
19109 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19110 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19113 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19114 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19115 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19116 * sysdeps/i386/fpu/libm-test-ulps: Update.
19117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19120 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19121 int as type of variable DEPTH.
19122 (glob): Use size_t instead of int as type of variables NEWCOUNT
19125 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19127 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19128 Add s_sincosf-sse2.
19129 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19130 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19131 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19132 macros for using routine as __sincosf_ia32.
19133 Use macro for function declaration and weak_alias.
19134 * sysdeps/i386/fpu/libm-test-ulps: Update.
19136 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19139 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19140 subnormal argument.
19141 * math/s_cexpf.c (__cexpf): Likewise.
19142 * math/s_csinf.c (__csinf): Likewise.
19143 * math/s_csinhf.c (__csinhf): Likewise.
19144 * math/s_ctanf.c (__ctanf): Likewise.
19145 * math/s_ctanhf.c (__ctanhf): Likewise.
19146 * math/s_ccosh.c (__ccoshf): Likewise.
19147 * math/s_cexp.c (__cexpl): Likewise.
19148 * math/s_csin.c (__csin): Likewise.
19149 * math/s_csinh.c (__csinh): Likewise.
19150 * math/s_ctan.c (__ctan): Likewise.
19151 * math/s_ctanh.c (ctanh): Likewise.
19152 * math/s_ccoshl.c (__ccoshl): Likewise.
19153 * math/s_cexpl.c (__cexpl): Likewise.
19154 * math/s_csinl.c (__csinl): Likewise.
19155 * math/s_csinhl.c (__csinhl): Likewise.
19156 * math/s_ctanl.c (__ctanl): Likewise.
19157 * math/s_ctanhl.c (__ctanhl): Likewise.
19159 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19161 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19162 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19163 (_IO_off_t): Define to __off_t, not _G_off_t.
19164 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19165 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19166 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19167 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19168 type of __dummy and __dummy2 fields.
19169 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19170 (_G_ssize_t): Likewise.
19171 (_G_off_t): Likewise.
19172 (_G_pid_t): Likewise.
19173 (_G_uid_t): Likewise.
19174 (_G_wchar_t): Likewise.
19175 (_G_wint_t): Likewise.
19176 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19177 (_G_ssize_t): Likewise.
19178 (_G_off_t): Likewise.
19179 (_G_pid_t): Likewise.
19180 (_G_uid_t): Likewise.
19181 (_G_wchar_t): Likewise.
19182 (_G_wint_t): Likewise.
19183 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19184 (_G_ssize_t): Likewise.
19185 (_G_off_t): Likewise.
19186 (_G_pid_t): Likewise.
19187 (_G_uid_t): Likewise.
19188 (_G_wchar_t): Likewise.
19189 (_G_wint_t): Likewise.
19191 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19193 * malloc/arena.c: Include malloc-sysdep.h.
19194 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19195 is sufficient to shrink the heap or an unmap is needed.
19196 * sysdeps/generic/malloc-sysdep.h: New file. Define
19197 new function check_may_shrink_heap.
19198 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19199 new function check_may_shrink_heap.
19201 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19203 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19206 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19208 * catgets/test-gencat.sh: Add "set -e".
19209 * elf/tst-pathopt.sh: Likewise.
19210 * grp/tst_fgetgrent.sh: Likewise.
19211 * iconvdata/run-iconv-test.sh: Likewise.
19212 * intl/tst-gettext.sh: Likewise.
19213 * intl/tst-gettext2.sh: Likewise.
19214 * intl/tst-gettext4.sh: Likewise.
19215 * intl/tst-gettext6.sh: Likewise.
19216 * intl/tst-translit.sh: Likewise.
19217 * io/ftwtest-sh: Likewise.
19218 * libio/test-freopen.sh: Likewise.
19219 * malloc/tst-mtrace.sh: Likewise.
19220 * posix/globtest.sh: Likewise.
19221 * posix/tst-getconf.sh: Likewise.
19222 * posix/wordexp-tst.sh: Likewise.
19223 * stdio-common/tst-printf.sh: Likewise.
19224 * stdio-common/tst-unbputc.sh: Likewise.
19225 * stdlib/tst-fmtmsg.sh: Likewise.
19226 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19227 * catgets/Makefile: Do not specify -e option when running
19228 testsuite shell scripts.
19229 * elf/Makefile: Likewise.
19230 * grp/Makefile: Likewise.
19231 * iconvdata/Makefile: Likewise.
19232 * intl/Makefile: Likewise.
19233 * io/Makefile: Likewise.
19234 * libio/Makefile: Likewise.
19235 * malloc/Makefile: Likewise.
19236 * posix/Makefile: Likewise.
19237 * stdio-common/Makefile: Likewise.
19238 * stdlib/Makefile: Likewise.
19239 * sysdeps/x86_64/Makefile: Likewise.
19241 * io/ftwtest-sh: Add copyright header.
19242 * posix/globtest.sh: Likewise.
19243 * posix/tst-getconf.sh: Likewise.
19244 * posix/wordexp-tst.sh: Likewise.
19245 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19247 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19250 * Makeconfig (+link): Defined as $(+link-static) if
19251 $(build-shared) isn't yes.
19252 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19254 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19256 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19259 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19260 new chunk size with MALLOC_ALIGN_MASK.
19262 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19265 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19267 (__printf_fphex): Determine rounding using get_rounding_mode and
19269 * stdio-common/tst-printf-round.c (struct hex_test): New
19271 (hex_tests): New variable.
19272 (test_hex_in_one_mode): New function.
19273 (do_test): Also run tests for hex float output.
19275 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19277 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19278 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19279 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19280 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19281 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19282 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19283 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19284 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19286 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19288 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19289 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19290 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19291 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19293 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19296 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19298 * elf/tst-rtld-load-self.sh: New test.
19299 * elf/Makefile: Run it.
19301 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19303 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19304 (tst-writev-ENV): Remove.
19305 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19307 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19309 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19311 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19313 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19315 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19317 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19318 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19319 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19322 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19325 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19326 * config.make.in (have-cpp-asm-debuginfo): Removed.
19327 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19328 * configure: Regenerated.
19330 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19333 * stdio-common/printf_fp.c: Include <stdbool.h> and
19335 (___printf_fp): Determine rounding using get_rounding_mode and
19337 * stdio-common/tst-printf-round.c: New file.
19338 * stdio-common/Makefile (tests): Add tst-printf-round.
19339 (link-libm): New variable.
19340 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19342 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19345 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19346 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19348 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19351 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19353 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19354 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19355 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19356 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19358 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19361 * include/rounding-mode.h: New file.
19362 * sysdeps/generic/get-rounding-mode.h: Likewise.
19363 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19364 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19365 (MAX_VALUE): New macro.
19366 (MIN_VALUE): Likewise.
19367 (overflow_value): New function.
19368 (underflow_value): Likewise.
19369 (round_and_return): Use overflow_value and underflow_value to
19370 determine return values in overflow and underflow cases. Use
19371 round_away to determine rounding depending on rounding mode.
19372 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19373 determine return values in overflow and underflow cases.
19374 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19375 (struct test_results): New structure.
19376 (struct test): Use struct test_results to store expected results
19377 for all rounding modes.
19378 (TEST): Include expected results for all rounding modes.
19379 (test_in_one_mode): New function.
19380 (do_test): Use test_in_one_mode to compute and check results.
19381 Check results for all rounding modes.
19382 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19385 2012-12-09 Allan McRae <allan@archlinux.org>
19387 * sysdeps/i386/fpu/libm-test-ulps: Update
19389 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19391 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19392 (_G_int32_t): Likewise.
19393 (_G_uint16_t): Likewise.
19394 (_G_uint32_t): Likewise.
19395 (_G_HAVE_BOOL): Likewise.
19396 (_G_HAVE_ATEXIT): Likewise.
19397 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19398 (_G_HAVE_IO_FILE_OPEN): Likewise.
19399 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19400 (_G_int32_t): Likewise.
19401 (_G_uint16_t): Likewise.
19402 (_G_uint32_t): Likewise.
19403 (_G_HAVE_BOOL): Likewise.
19404 (_G_HAVE_ATEXIT): Likewise.
19405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19406 (_G_HAVE_IO_FILE_OPEN): Likewise.
19407 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19408 (_G_int32_t): Likewise.
19409 (_G_uint16_t): Likewise.
19410 (_G_uint32_t): Likewise.
19411 (_G_HAVE_BOOL): Likewise.
19412 (_G_HAVE_ATEXIT): Likewise.
19413 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19414 (_G_HAVE_IO_FILE_OPEN): Likewise.
19416 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19418 * csu/libc-tls.c: Update copyright years.
19420 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19422 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19423 [!_G_USING_THUNKS]: Remove conditional code.
19424 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19425 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19427 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19428 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19429 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19430 (_G_VTABLE_LABEL_PREFIX): Likewise.
19431 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19432 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19434 (_G_VTABLE_LABEL_PREFIX): Likewise.
19435 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19436 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19437 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19438 (_G_VTABLE_LABEL_PREFIX): Likewise.
19439 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19441 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19443 * libio/Makefile: Include ../Makeconfig before tests.
19444 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19445 only if $(build-shared) is yes.
19447 * iconv/gconv_db.c: Update copyright years.
19449 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19451 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19452 unwind info if defined PIC. Fix special cases description.
19453 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19455 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19457 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19459 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19461 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19463 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19466 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19467 (LDLIBS-tst-chk4): This.
19468 (LDFLAGS-tst-chk5): Renamed to ...
19469 (LDLIBS-tst-chk5): This.
19470 (LDFLAGS-tst-chk6): Renamed to ...
19471 (LDLIBS-tst-chk6): This.
19472 (LDFLAGS-tst-lfschk4): Renamed to ...
19473 (LDLIBS-tst-lfschk4): This.
19474 (LDFLAGS-tst-lfschk5): Renamed to ...
19475 (LDLIBS-tst-lfschk5): This.
19476 (LDFLAGS-tst-lfschk6): Renamed to ...
19477 (LDLIBS-tst-lfschk6): This.
19479 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19480 on $(common-objpfx)soversions.mk.
19482 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19485 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19488 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19490 * malloc/arena.c (arena_get_retry): New function that gets
19491 another arena for the caller to try its request on.
19492 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19493 current arena cannot fulfill the request.
19494 (__libc_memalign): Likewise.
19495 (__libc_memalign): Likewise.
19496 (__libc_pvalloc): Likewise.
19497 (__libc_calloc): Likewise.
19499 2012-09-05 John Tobey <john.tobey@gmail.com>
19502 * manual/arith.texi (Operations on Complex): Fix description
19503 of carg branch cut.
19505 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19508 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19512 * manual/memory.texi (Memory): Make order of menu items match
19515 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19517 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19518 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19519 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19521 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19523 * csu/libc-tls.c (static_dtv): Renamed to ...
19524 (_dl_static_dtv): This. Make it global.
19525 (_dl_initial_dtv): Removed.
19526 (__libc_setup_tls): Updated.
19527 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19528 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19531 2012-09-06 Petr Machata <pmachata@redhat.com>
19533 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19534 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19535 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19536 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19538 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19541 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19542 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19545 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19548 * Makeconfig (link-static-before-libc): Replace $(+prector)
19550 (link-static-after-libc): Replace $(+postctor) with
19552 (link-bounded): Replace $(+prector)/$(+postctor) with
19553 $(+prectorT)/$(+postctorT).
19554 (+prectorT): New macro.
19555 (+postctorT): Likewise.
19557 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19559 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19560 (round_str): Handle values above the maximum for IBM long double
19562 * stdlib/tst-strtod-round.c (tests): Regenerated.
19564 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19566 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19568 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19569 zarch_nohighgprs around the zarch optimized routines.
19570 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19571 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19575 2012-09-05 David S. Miller <davem@davemloft.net>
19577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19579 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19580 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19581 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19582 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19585 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19587 * malloc/arena.c: Fold copyright years.
19588 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19590 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19592 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19594 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19596 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19598 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19600 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19601 change internal state upon failure.
19603 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19605 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19606 * malloc/memusage.c (mmap): Likewise.
19607 (mmap64, mremap): Likewise. Adjust name in comment.
19609 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19611 * libio/fileops.c: Fix typos in comments.
19612 * libio/oldfileops.c: Likewise.
19613 * libio/wfileops.c: Likewise.
19615 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19618 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19619 (tst-malloc-usable-ENV): Set environment for test case.
19620 * malloc/hooks.c (malloc_check_get_size): New function to get
19622 * malloc/malloc.c (musable): Use malloc_check_get_size.
19623 * malloc/tst-malloc-usable.c: New test case.
19625 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19627 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19629 2012-09-05 Allan McRae <allan@archlinux.org>
19632 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19633 determine header location.
19634 * configure: Regenerated.
19636 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19638 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19640 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19641 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19643 (test): Regenerate.
19645 2012-09-04 David S. Miller <davem@davemloft.net>
19647 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19648 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19649 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19651 2012-09-04 Florian Weimer <fweimer@redhat.com>
19653 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19656 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19658 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19661 * libio/iogetdelim.c: Include <limits.h>.
19662 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19663 + len + 1 would overflow.
19665 2012-09-03 Andreas Jaeger <aj@suse.de>
19667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19668 * sysdeps/i386/fpu/libm-test-ulps: Update.
19670 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19672 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19673 Add s_sinf-sse2, s_conf-sse2.
19675 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19676 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19677 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19678 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19680 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19681 for using routine as __sinf_ia32.
19682 Use macro for function declaration and weak_alias.
19683 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19684 for using routine as __cosf_ia32.
19685 Use macro for function declaration and weak_alias.
19687 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19688 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19690 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19691 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19694 * math/libm-test.inc (cos_test): Add more test cases.
19695 (sin_test): Likewise.
19696 (sincos_test): Likewise.
19698 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19700 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19701 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19703 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19705 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19708 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19709 first element of the GOT.
19710 (elf_machine_load_address): Return the difference between
19711 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19713 2012-09-01 Allan McRae <allan@archlinux.org>
19716 * configure.in (AWK): Require gawk version 3.0 or later.
19717 * configure: Regenerated.
19719 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19721 * sysdeps/unix/sysv/linux/kernel-features.h
19722 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19724 [__NR_clock_getres]: Make code unconditional.
19725 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19726 (clock_getcpuclockid): Remove code left unreachable by removal of
19728 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19729 code unconditional.
19730 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19731 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19732 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19733 Make code unconditional.
19734 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19735 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19736 * sysdeps/unix/sysv/linux/clock_settime.c
19737 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19739 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19740 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19742 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19745 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19746 scripts/test-installation.pl.
19748 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19749 and $ld_so_version if it is set.
19751 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19755 failure if reading from procfs failed.
19756 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19758 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19760 * sysdeps/unix/sysv/linux/kernel-features.h
19761 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19762 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19763 Remove conditional code.
19764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19765 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19766 Remove conditional code.
19767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19768 * sysdeps/unix/sysv/linux/i386/fxstat.c
19769 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19771 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19772 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19774 * sysdeps/unix/sysv/linux/i386/lxstat.c
19775 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19776 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19777 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19778 Remove conditional code.
19779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19780 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19781 Remove conditional code.
19782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19783 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19784 <kernel-features.h>.
19785 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19787 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19788 Remove conditional code.
19789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19790 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19791 Remove conditional.
19793 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19796 * NEWS: Add fixed bug number.
19798 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19801 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19802 underflowing exponent in case of negative sign.
19803 * stdlib/tst-strtod-round-data: Add more tests.
19804 * stdlib/tst-strtod-round.c (tests): Regenerated.
19807 * stdlib/strtod_l.c (NDIG): Remove.
19808 (HEXNDIG): Likewise.
19809 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19810 smallest representable value.
19811 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19812 lie within an exact representation of 1/2 ulp of the result.
19813 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19815 (TENS_P9_IDX): Define unconditionally.
19816 (TENS_P9_SIZE): Likewise.
19817 (TENS_P10_IDX): Likewise.
19818 (TENS_P10_SIZE): Likewise.
19819 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19820 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19821 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19822 entries for 10^2^13 and 10^2^14.
19823 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19824 (TENS_P13_IDX): Define.
19825 (TENS_P13_SIZE): Likewise.
19826 (TENS_P14_IDX): Likewise.
19827 (TENS_P14_SIZE): Likewise.
19828 (_fpioconst_pow10): Change array size to
19829 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19831 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19832 1024]: Add entries for 10^2^13 and 10^2^14.
19833 [LAST_POW10 > _LAST_POW10]: Remove #error.
19834 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19835 (_fpioconst_pow10): Change array size to
19836 FPIOCONST_POW10_ARRAY_SIZE.
19837 * stdlib/gen-fpioconst.c: New file.
19838 * stdlib/gen-tst-strtod-round.c: Likewise.
19839 * stdlib/tst-strtod-round-data: Likewise.
19840 * stdlib/tst-strtod-round.c: Likewise.
19841 * stdlib/Makefile (tests): Add tst-strtod-round.
19844 * stdlib/strtod_l.c: Include <stdint.h>.
19845 (NDEBUG): Do not define.
19846 (round_and_return): Change EXPONENT parameter to type intmax_t.
19847 Rearrange calculations to avoid internal overflow possibilities.
19848 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19849 Rearrange calculations to avoid internal overflow possibilities.
19850 Assert that number fits inside MPNSIZE limbs.
19851 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19852 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19853 calculations and add assertions to avoid internal overflow
19854 possibilities. Add casts to avoid signed/unsigned operations.
19855 * stdlib/tst-strtod-overflow.c: New file.
19856 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19858 2012-08-25 Marek Polacek <polacek@redhat.com>
19860 * time/time.h: Fix some typos in comments.
19862 2012-08-23 Roland McGrath <roland@hack.frob.com>
19864 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19865 * posix/tst-rfc3484-2.c: Likewise.
19866 * posix/tst-rfc3484-3.c: Likewise.
19868 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19870 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19871 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19873 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19875 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19876 #include of fxstatat64.c.
19878 2012-08-22 Roland McGrath <roland@hack.frob.com>
19880 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19881 * shadow/getspent_r.c: Likewise.
19882 * shadow/getspnam.c: Likewise.
19883 * shadow/getspnam_r.c: Likewise.
19884 * gshadow/getsgent.c: Likewise.
19885 * gshadow/getsgent_r.c: Likewise.
19886 * gshadow/getsgnam.c: Likewise.
19887 * gshadow/getsgnam_r.c: Likewise.
19888 * inet/getnetbyad.c: Likewise.
19889 * inet/getnetbyad_r.c: Likewise.
19890 * inet/getnetbynm.c: Likewise.
19891 * inet/getnetbynm_r.c: Likewise.
19892 * inet/getnetent.c: Likewise.
19893 * inet/getnetent_r.c: Likewise.
19894 * inet/getproto.c: Likewise.
19895 * inet/getproto_r.c: Likewise.
19896 * inet/getprtent.c: Likewise.
19897 * inet/getprtent_r.c: Likewise.
19898 * inet/getprtname.c: Likewise.
19899 * inet/getprtname_r.c: Likewise.
19900 * inet/getrpcbyname.c: Likewise.
19901 * inet/getrpcbyname_r.c: Likewise.
19902 * inet/getrpcbynumber.c: Likewise.
19903 * inet/getrpcbynumber_r.c: Likewise.
19904 * inet/getrpcent.c: Likewise.
19905 * inet/getrpcent_r.c: Likewise.
19906 * inet/getaliasent.c: Likewise.
19907 * inet/getaliasent_r.c: Likewise.
19908 * inet/getaliasname.c: Likewise.
19909 * inet/getaliasname_r.c: Likewise.
19910 * nscd/getgrgid_r.c: Likewise.
19911 * nscd/getgrnam_r.c: Likewise.
19912 * nscd/gethstbyad_r.c: Likewise.
19913 * nscd/gethstbynm3_r.c: Likewise.
19914 * nscd/getpwnam_r.c: Likewise.
19915 * nscd/getpwuid_r.c: Likewise.
19916 * nscd/getsrvbynm_r.c: Likewise.
19917 * nscd/getsrvbypt_r.c: Likewise.
19918 * nscd/gai.c: Likewise.
19920 * configure.in (build_nscd): New substituted variable, set
19921 by --disable-build-nscd and defaults to $use_nscd.
19922 * configure: Regenerated.
19923 * config.make.in (build-nscd): New substituted variable.
19924 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19925 Change conditional to require [$(build-nscd) = yes] as well.
19926 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19929 * configure.in (use_nscd): New substituted variable, set by
19930 --disable-nscd. If enabled, define USE_NSCD.
19931 * configure: Regenerated.
19932 * config.h.in: Add USE_NSCD.
19933 * config.make.in (use-nscd): New substituted variable.
19934 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19935 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19936 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19937 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19938 (CFLAGS-getgrnam_r.c): Likewise.
19939 (CFLAGS-initgroups.c): Likewise.
19940 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19941 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19943 * inet/getnetgrent_r.c
19944 (nscd_setnetgrent): New function, broken out of ...
19945 (setnetgrent): ... here. Call it.
19946 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19947 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19948 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19949 * nscd/Makefile (routines, aux): Move definitions after include of
19950 Makeconfig. Conditionalize on [$(use-nscd) != no].
19951 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19952 Conditionalize on [USE_NSCD].
19953 (is_nscd, nscd_init_cb): Likewise.
19954 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19955 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19956 * nss/nss_db/db-init.c: Likewise.
19957 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19959 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19960 (make_request): Use it.
19961 (cache_valid_p): New function.
19962 (__check_pf): Use it.
19963 * NEWS: Add item for --disable-nscd.
19965 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19967 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19968 to support sed >= 4.2.1-20-ga9bf076.
19969 * configure: Regenerated.
19971 2012-08-22 Roland McGrath <roland@hack.frob.com>
19973 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19974 Conditionalize whole body on [IREL].
19976 2012-08-22 Jeff Law <law@redhat.com>
19979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19980 if the family is PF_UNSPEC.
19982 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19984 * Makerules (lib-version): Rename from V.
19985 (install-lib-nosubdir): Change V to lib-version.
19987 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19990 * powerpc32/power6/wcschr.c: New file.
19991 * powerpc32/power6/wcscpy.c: New file.
19992 * powerpc32/power6/wcsrchr.c: New file.
19993 * powerpc64/power6/wcschr.c: New file.
19994 * powerpc64/power6/wcscpy.c: New file.
19995 * powerpc64/power6/wcsrchr.c: New file.
19997 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19999 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20000 (two_way_short_needle): Use it.
20001 * string/strstr.c (AVAILABLE1_USES_J): Define.
20002 * string/strcasestr.c: Likewise.
20004 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20006 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20009 * NEWS: Add an entry.
20010 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20011 define their defaults.
20012 (two_way_short_needle): Detect end-of-string on-the-fly.
20013 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20014 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20015 * string/bug-strcasestr1.c: New test.
20016 * string/Makefile: Run it.
20018 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20021 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20022 the first character.
20024 2012-08-21 Roland McGrath <roland@hack.frob.com>
20026 * csu/elf-init.c (__libc_csu_irel): Function removed.
20027 * csu/libc-start.c (apply_irel): New function.
20028 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20030 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20032 * sysdeps/unix/sysv/linux/kernel-features.h
20033 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20034 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20035 <kernel-features.h>.
20036 [__NR_fadvise64_64]: Make code unconditional.
20037 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20038 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20039 !__NR_fadvise64_64)]: Likewise.
20040 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20041 !__NR_fadvise64_64))]: Likewise.
20042 [__NR_fadvise64]: Make code unconditional.
20043 [!__NR_fadvise64]: Remove conditional code.
20044 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20045 <kernel-features.h>.
20046 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20048 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20051 not include <kernel-features.h>.
20052 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20054 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20056 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20057 include <kernel-features.h>.
20058 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20060 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20063 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20066 slight instruction rearrangements per scrollpipe analysis.
20067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20069 2012-08-20 Roland McGrath <roland@hack.frob.com>
20071 * manual/syslog.texi (syslog; vsyslog, closelog):
20072 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20073 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20075 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20076 DSOCAPS to match condition on defining it.
20078 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20080 * sysdeps/unix/sysv/linux/kernel-features.h
20081 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20083 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20084 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20086 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20087 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20089 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20090 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20092 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20093 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20095 * sysdeps/unix/sysv/linux/kernel-features.h
20096 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20097 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20099 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20100 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20101 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20102 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20103 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20104 Make code unconditional.
20105 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20106 (__mmap64) [!__NR_mmap2]: Likewise.
20107 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20108 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20109 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20110 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20111 [__NR_mmap2]: Make code unconditional.
20112 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20113 (__mmap64) [!__NR_mmap2]: Likewise.
20115 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20117 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20119 2012-08-18 Andreas Jaeger <aj@suse.de>
20121 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20123 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20125 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20126 * include/unistd.h (__have_sock_cloexec): Likewise.
20127 (__have_pipe2): Likewise.
20128 (__have_dup3): Likewise.
20130 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20133 * include/unistd.h (__have_pipe2): Change define into an extern int.
20134 (__have_dup3): Likewise.
20135 * socket/have_sock_cloexec.c: Include fcntl.h.
20136 (__have_pipe2): New variable.
20137 (__have_dup3): Likewise.
20139 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20141 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20143 2012-08-17 Marek Polacek <polacek@redhat.com>
20145 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20146 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20148 2012-08-17 Roland McGrath <roland@hack.frob.com>
20150 * configure.in: Add AC_SUBST for sysheaders.
20151 * configure: Regenerated.
20152 * config.make.in (sysheaders): New substituted variable.
20154 * sysdeps/unix/mkfifo.c: Moved ...
20155 * sysdeps/posix/mkfifo.c: ... here.
20156 * sysdeps/unix/mkfifoat.c: Moved ...
20157 * sysdeps/posix/mkfifoat.c: ... here.
20159 * sysdeps/unix/utime.c: Moved ...
20160 * sysdeps/posix/utime.c: ... here.
20162 * sysdeps/unix/time.c: Moved ...
20163 * sysdeps/posix/time.c: ... here.
20164 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20165 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20167 * sysdeps/unix/nice.c: Moved ...
20168 * sysdeps/posix/nice.c: ... here.
20170 * sysdeps/unix/alarm.c: Moved ...
20171 * sysdeps/posix/alarm.c: ... here.
20173 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20175 2012-08-17 Jeff Law <law@redhat.com>
20177 * intl/Makefile (codeset_mo): New variable.
20178 ($(codeset_mo)): New target.
20179 (tst-codeset.out): Depend on that. Remove explicit rule.
20180 (tst-gettext3.out, tst-gettext5.out): Likewise.
20181 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20182 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20183 * intl/tst-codeset.sh: Remove.
20184 * intl/tst-gettext3.sh: Likewise.
20185 * intl/tst-gettext5.sh: Likewise.
20187 2012-08-17 Roland McGrath <roland@hack.frob.com>
20189 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20190 * sysdeps/unix/syscalls.list: ... here.
20192 * sysdeps/posix/getaddrinfo.c
20193 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20194 (gaiconf_init, gaiconf_reload): Use them.
20195 [!_STATBUF_ST_NSEC]
20196 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20197 Define using time_t rather than struct timespec.
20199 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20200 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20202 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20204 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20205 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20208 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20209 __libc_cleanup_push argument.
20211 * bits/param.h: New file.
20212 * misc/sys/param.h: New file.
20213 * include/sys/param.h: New file.
20214 * misc/Makefile (headers): Add bits/param.h.
20215 * sysdeps/generic/sys/param.h: File removed.
20216 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20217 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20218 * sysdeps/mach/hurd/bits/param.h: New file.
20219 * sysdeps/mach/hurd/sys/param.h: File removed.
20221 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20224 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20226 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20227 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20230 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20231 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20232 rather than -D_IO_MTSAFE_IO conditionally.
20233 * stdio-common/Makefile (CPPFLAGS): Likewise.
20234 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20235 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20236 Use $(libio-mtsafe).
20237 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20238 of -D_IO_MTSAFE_IO.
20239 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20240 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20241 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20242 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20243 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20244 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20245 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20246 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20247 (CFLAGS-fread_u_chk.c): Likewise.
20248 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20249 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20250 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20251 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20252 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20253 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20254 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20255 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20256 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20258 * libio/Makefile: Test [$(libc-reentrant) = yes]
20259 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20262 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20263 * sysdeps/pthread/configure: File removed.
20264 * sysdeps/pthread/Makeconfig: New file.
20265 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20266 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20268 2012-08-16 Gary Benson <gbenson@redhat.com>
20270 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20271 unmapping the first object in a namespace.
20273 2012-08-16 Roland McGrath <roland@hack.frob.com>
20275 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20276 (__internal_setnetgrent): ... this. Add internal_function to
20277 definition. Add libc_hidden_def.
20278 (setnetgrent): Update caller.
20279 (internal_endnetgrent): Renamed to ...
20280 (__internal_endnetgrent): ... this. Add internal_function to
20281 definition. Add libc_hidden_def.
20282 (endnetgrent): Update caller.
20283 (internal_getnetgrent_r): Renamed to ...
20284 (__internal_getnetgrent_r): ... this. Add internal_function to
20285 definition. Add libc_hidden_def.
20286 (__getnetgrent_r): Update caller.
20287 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20289 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20291 * stdlib/longlong.h: Update from GCC.
20293 2012-08-16 Roland McGrath <roland@hack.frob.com>
20295 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20296 on _QL, which is set by umul_ppmm but never used.
20297 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20298 variables, which are set by GMP macros but never used.
20299 * stdio-common/_itowa.c (_itowa): Likewise.
20300 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20301 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20303 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20305 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20306 struct La_sh_regs is not constant.
20307 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20308 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20309 and struct La_sparc64_regs are not constant.
20311 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20313 * sysdeps/unix/sysv/linux/kernel-features.h
20314 (__ASSUME_POSIX_TIMERS): Remove.
20315 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20316 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20317 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20318 Make code unconditional.
20319 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20320 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20321 Make code unconditional.
20322 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20323 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20324 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20325 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20326 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20327 Make code unconditional.
20328 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20329 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20330 (__libc_missing_posix_timers): Remove.
20332 2012-08-15 Roland McGrath <roland@hack.frob.com>
20334 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20335 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20337 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20339 * elf/dl-sym.c: Include <stdlib.h>.
20341 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20342 constants, which avoids warnings in 32-bit builds.
20344 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20345 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20347 * misc/lseek.c: File moved to ...
20348 * io/lseek.c: ... here.
20350 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20352 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20353 shifting LEN more than 31 bits at once.
20355 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20358 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20359 segmentation fault for a case of two empty input strings.
20360 * string/test-strncasecmp.c (check1): Renamed to...
20361 (bz12205): ...this.
20362 (bz14195): Add new testcase for two empty input strings and N > 0.
20363 (test_main): Call new testcase, adapt for renamed function.
20365 2012-08-15 Andreas Jaeger <aj@suse.de>
20368 * crypt/md5test2.c: New test, based on test supplied by Serge
20369 Belyshev <belyshev@depni.sinp.msu.ru>.
20370 * crypt/Makefile (xtests): Add md5test-giant..
20371 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20373 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20376 * crypt/md5.c (md5_process_block): Don't assume the buffer
20377 length is less than 2**32.
20378 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20379 length is less than 2**64.
20381 2012-08-15 Roland McGrath <roland@hack.frob.com>
20383 * string/str-two-way.h: Include <sys/param.h>.
20384 (MAX): Macro removed.
20386 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20387 Move #define and #undef of memmove to just before and after
20388 including <string.h>.
20390 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20391 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20392 and after including <string.h>. Move declarations of
20393 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20394 to before #include "string/memmove.c".
20396 * include/dirent.h: Declare __getdirentries.
20398 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20399 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20401 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20403 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20404 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20405 * sysdeps/i386/configure: Regenerated.
20406 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20407 STABS_CURRENT_FILE, and STABS_FUN.
20408 (END): Remove call to STABS_FUN_END.
20409 (STABS_CURRENT_FILE1): Delete.
20410 (STABS_CURRENT_FILE): Likewise.
20411 (STABS_FUN): Likewise.
20412 (STABS_FUN_END): Likewise.
20413 (STABS_FUN2): Likewise.
20414 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20415 * sysdeps/x86_64/configure: Regenerated.
20417 2012-08-14 Roland McGrath <roland@hack.frob.com>
20419 * elf/dl-open.c: Include <atomic.h>.
20420 * elf/dl-lookup.c: Likewise.
20422 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20424 * sysdeps/unix/sysv/linux/kernel-features.h
20425 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20426 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20428 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20430 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20431 condition on __ASSUME_CLONE_THREAD_FLAGS.
20433 2012-08-14 Andreas Jaeger <aj@suse.de>
20435 * sysdeps/i386/fpu/libm-test-ulps: Update.
20437 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20439 * include/atomic.h (atomic_exchange_and_add): Split into ...
20440 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20443 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20447 2012-08-13 Jeff Law <law@redhat.com>
20449 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20450 null byte in the output string.
20452 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20454 * sysdeps/unix/sysv/linux/kernel-features.h
20455 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20456 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20457 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20458 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20459 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20460 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20461 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20463 2012-08-09 Jeff Law <law@redhat.com>
20466 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20467 When avoid_arena is set, don't retry in the that arena. Pick the
20468 next one, whatever it might be.
20469 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20470 (arena_lock): Pass in new parameter to arena_get2.
20471 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20473 (__libc_malloc): Unify retrying after main arena failure with
20474 __libc_memalign version.
20475 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20477 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20480 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20481 to __redirect_strstr.
20482 (__strstr_sse42): Use typeof __redirect_strstr.
20483 (__strstr_ia32): Likewise.
20484 (__libc_strstr): New prototype.
20485 (strstr): Renamed to ...
20486 (__libc_strstr): This.
20487 (strstr): New strong alias of __libc_strstr.
20488 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20489 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20492 (__libc_time): New prototype.
20493 (time_ifunc): Replace time with __libc_time.
20494 (time): New strong alias and hidden definition of __libc_time.
20495 (__GI_time): Remove strong alias.
20496 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20497 Include <stddef.h>.
20498 (memmove): Redefined to __redirect_memmove.
20499 (__memmove_sse2): Use typeof __redirect_memmove.
20500 (__memmove_ssse3): Likewise.
20501 (__memmove_ssse3_back): Likewise.
20502 (__libc_memmove): New prototype.
20503 (memmove): Renamed to ...
20504 (__libc_memmove): This.
20505 (memmove): New strong alias of __libc_memmove.
20507 2012-08-08 Mark Salter <msalter@redhat.com>
20510 (R_MN10300_TLS_GD): Define.
20511 (R_MN10300_TLS_LD): Likewise.
20512 (R_MN10300_TLS_LDO): Likewise.
20513 (R_MN10300_TLS_GOTIE): Likewise.
20514 (R_MN10300_TLS_IE): Likewise.
20515 (R_MN10300_TLS_LE): Likewise.
20516 (R_MN10300_TLS_DTPMOD): Likewise.
20517 (R_MN10300_TLS_DTPOFF): Likewise.
20518 (R_MN10300_TLS_TPOFF): Likewise.
20519 (R_MN10300_SYM_DIFF): Likewise.
20520 (R_MN10300_ALIGN): Likewise.
20521 (R_MN10300_NUM): Update.
20523 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20528 2012-08-08 Roland McGrath <roland@hack.frob.com>
20530 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20532 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20533 sysdeps/unix -> sysdeps/posix move.
20534 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20536 2012-08-07 Allan McRae <allan@archlinux.org>
20539 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20540 (SUNOS_CPP): Likewise.
20541 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20543 (open_input): Call CPP using execvp.
20545 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20547 * sysdeps/unix/sysv/linux/kernel-features.h
20548 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20549 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20550 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20551 (__ASSUME_WAITID_SYSCALL): Likewise.
20552 * sysdeps/unix/sysv/linux/dl-execstack.c
20553 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20554 code unconditional.
20555 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20557 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20558 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20559 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20561 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20563 [__ASSUME_WAITID_SYSCALL]: Likewise.
20564 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20566 2012-08-07 Roland McGrath <roland@hack.frob.com>
20568 * sysdeps/unix/closedir.c: Renamed to ...
20569 * sysdeps/posix/closedir.c: ... here.
20570 * sysdeps/unix/dirfd.c: Renamed to ...
20571 * sysdeps/posix/dirfd.c: ... here.
20572 * sysdeps/unix/dirstream.h: Renamed to ...
20573 * sysdeps/posix/dirstream.h: ... here.
20574 * sysdeps/unix/fdopendir.c: Renamed to ...
20575 * sysdeps/posix/fdopendir.c: ... here.
20576 * sysdeps/unix/opendir.c: Renamed to ...
20577 * sysdeps/posix/opendir.c: ... here.
20578 * sysdeps/unix/readdir.c: Renamed to ...
20579 * sysdeps/posix/readdir.c: ... here.
20580 * sysdeps/unix/readdir_r.c: Renamed to ...
20581 * sysdeps/posix/readdir_r.c: ... here.
20582 * sysdeps/unix/rewinddir.c: Renamed to ...
20583 * sysdeps/posix/rewinddir.c: ... here.
20584 * sysdeps/unix/seekdir.c: Renamed to ...
20585 * sysdeps/posix/seekdir.c: ... here.
20586 * sysdeps/unix/telldir.c: Renamed to ...
20587 * sysdeps/posix/telldir.c: ... here.
20588 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20589 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20590 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20591 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20593 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20594 * bits/fcntl.h: ... here.
20596 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20598 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20599 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20600 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20601 (struct flock): Move l_start, l_len to the beginning.
20602 Use __pid_t for l_pid.
20603 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20604 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20605 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20606 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20607 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20608 [__USE_LARGEFILE64] (struct flock64): New type.
20609 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20611 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20612 * bits/dirent.h: ... here.
20614 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20615 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20617 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20620 Change from 2.6.0 to 2.6.16.
20621 * sysdeps/unix/sysv/linux/configure: Regenerated.
20622 * sysdeps/unix/sysv/linux/kernel-features.h
20623 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20624 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20626 (__ASSUME_UTIMES): Likewise.
20627 (__ASSUME_CLONE_STOPPED): Remove.
20628 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20629 architectures, not kernel version.
20630 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20631 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20632 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20633 (__ASSUME_WAITID_SYSCALL): Likewise.
20634 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20635 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20636 * README: State 2.6.16 as minimum Linux kernel version. Do not
20637 refer to older versions.
20639 2012-08-06 Roland McGrath <roland@hack.frob.com>
20641 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20642 Define alphasort64 as an alias.
20643 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20644 Define versionsort64 as an alias.
20645 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20646 Define scandir64 as an alias.
20647 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20648 Define scandirat64 as an alias.
20649 * dirent/alphasort64.c (alphasort64):
20650 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20651 * dirent/versionsort64.c: Likewise.
20652 * dirent/scandir64.c: Likewise.
20653 * dirent/scandirat64.c: Likewise.
20654 * sysdeps/wordsize-64/alphasort.c: File removed.
20655 * sysdeps/wordsize-64/alphasort64.c: File removed.
20656 * sysdeps/wordsize-64/scandir.c: File removed.
20657 * sysdeps/wordsize-64/scandir64.c: File removed.
20658 * sysdeps/wordsize-64/scandirat.c: File removed.
20659 * sysdeps/wordsize-64/scandirat64.c: File removed.
20660 * sysdeps/wordsize-64/versionsort.c: File removed.
20661 * sysdeps/wordsize-64/versionsort64.c: File removed.
20662 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20664 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20665 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20666 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20667 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20668 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20669 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20671 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20673 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20675 [defined __arch64__ || defined __sparcv9]
20676 (__INO_T_MATCHES_INO64_T): New macro.
20677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20678 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20679 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20680 * sysdeps/unix/sysv/linux/bits/dirent.h
20681 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20682 (_DIRENT_MATCHES_DIRENT64): New macro.
20684 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20685 Define lockf64 as an alias.
20686 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20687 Define fseeko64 as an alias.
20688 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20689 Define ftello64 as an alias.
20690 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20691 Define _IO_fgetpos64 and fgetpos64 as aliases.
20692 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20693 Define _IO_fsetpos64 and fsetpos64 as aliases.
20694 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20695 Conditionalize body on this.
20696 * libio/fseeko64.c: Likewise.
20697 * libio/ftello64.c: Likewise.
20698 * libio/iofgetpos64.c: Likewise.
20699 * libio/iofsetpos64.c: Likewise.
20700 * sysdeps/wordsize-64/lockf.c: File removed.
20701 * sysdeps/wordsize-64/lockf64.c: File removed.
20702 * sysdeps/wordsize-64/fseeko.c: File removed.
20703 * sysdeps/wordsize-64/fseeko64.c: File removed.
20704 * sysdeps/wordsize-64/ftello.c: File removed.
20705 * sysdeps/wordsize-64/ftello64.c: File removed.
20706 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20707 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20708 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20709 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20711 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20718 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20721 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20723 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20725 [defined __arch64__ || defined __sparcv9]
20726 (__OFF_T_MATCHES_OFF64_T): New macro.
20727 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20728 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20730 (__OFF_T_MATCHES_OFF64_T): New macro.
20732 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20734 * stdlib/secure-getenv.c (__secure_getenv): Replace
20735 GLIBC_2_16 with GLIBC_2_17.
20737 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20739 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20740 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20742 2012-08-03 David S. Miller <davem@davemloft.net>
20744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20746 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20748 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20750 (__ASSUME_CORRECT_SI_PID): Likewise.
20751 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20752 (__ASSUME_TMPFS_NAME): Likewise.
20753 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20754 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20755 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20756 (HAVE_AUX_SECURE): Make definition unconditional.
20757 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20758 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20760 2012-08-03 Roland McGrath <roland@hack.frob.com>
20762 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20763 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20764 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20765 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20766 __eloop_threshold instead of SYMLOOP_MAX.
20768 * sysdeps/generic/eloop-threshold.h: New file.
20769 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20771 * elf/chroot_canon.c (chroot_canon): Likewise.
20773 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20777 Change to 2.6.0 everywhere.
20778 * sysdeps/unix/sysv/linux/configure: Regenerated.
20779 * sysdeps/unix/sysv/linux/kernel-features.h
20780 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20781 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20783 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20784 (__ASSUME_FUTEX_REQUEUE): Remove.
20785 (__ASSUME_STATFS64): Define unconditionally.
20786 (__ASSUME_AT_SECURE): Likewise.
20787 (__ASSUME_CORRECT_SI_PID): Likewise.
20788 (__ASSUME_TGKILL): Define without depending on kernel version for
20790 (__ASSUME_UTIMES): Likewise.
20791 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20793 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20794 (__ASSUME_TMPFS_NAME): Likewise.
20795 * README: Update reference to Linux kernel versions.
20797 2012-08-02 Marek Polacek <polacek@redhat.com>
20800 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20801 libc_cv_asm_type_prefix with %.
20802 * configure: Regenerated.
20803 * include/libc-symbols.h: Remove comment about
20804 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20805 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20806 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20807 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20808 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20809 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20810 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20811 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20812 * elf/tst-unique2mod1.c: Likewise.
20813 * elf/tst-unique1mod2.c: Likewise.
20814 * elf/tst-unique1mod1.c: Likewise.
20815 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20816 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20817 Replace ASM_TYPE_DIRECTIVE with .type.
20818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20819 * sysdeps/i386/sysdep.h: Likewise.
20820 * sysdeps/x86_64/sysdep.h: Likewise.
20821 * sysdeps/sh/sysdep.h: Likewise.
20822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20823 Do not define ASM_TYPE_DIRECTIVE.
20824 * sysdeps/powerpc/sysdep.h: Likewise.
20825 * sysdeps/powerpc/powerpc32/sysdep.h:
20826 Replace ASM_TYPE_DIRECTIVE with .type.
20827 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20828 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20829 * sysdeps/i386/fpu/e_powf.S: Likewise.
20830 * sysdeps/i386/fpu/e_expl.S: Likewise.
20831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20832 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20833 * sysdeps/i386/fpu/e_pow.S: Likewise.
20834 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20835 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20836 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20837 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20838 * sysdeps/i386/fpu/e_log2.S: Likewise.
20839 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20840 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20841 * sysdeps/i386/fpu/e_powl.S: Likewise.
20842 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20843 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20844 * sysdeps/i386/fpu/e_logl.S: Likewise.
20845 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20846 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20847 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20848 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20849 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20850 * sysdeps/i386/fpu/e_log.S: Likewise.
20851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20852 * sysdeps/i386/fpu/e_logf.S: Likewise.
20853 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20854 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20855 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20856 * sysdeps/i386/fpu/e_log10.S: Likewise.
20857 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20858 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20859 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20860 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20861 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20862 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20863 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20864 * sysdeps/i386/i686/strtok.S: Likewise.
20865 * sysdeps/i386/i386-mcount.S: Likewise.
20866 * sysdeps/i386/strtok.S: Likewise.
20867 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20868 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20869 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20870 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20871 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20873 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20874 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20876 * sysdeps/x86_64/_mcount.S: Likewise.
20877 * sysdeps/x86_64/strtok.S: Likewise.
20878 * sysdeps/sh/_mcount.S: Likewise.
20880 2012-08-01 Roland McGrath <roland@hack.frob.com>
20882 * libio/iofopen.c: Include <fcntl.h>.
20883 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20884 (_IO_fopen64, fopen64): Define as aliases.
20885 * libio/iofopen64.c: Include <fcntl.h>.
20886 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20887 Conditionalize body on this.
20888 * sysdeps/wordsize-64/iofopen.c: File removed.
20889 * sysdeps/wordsize-64/iofopen64.c: File removed.
20891 2012-08-01 Marek Polacek <polacek@redhat.com>
20893 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20894 Use dlfcn directly instead of a variable.
20895 (binfmt-subdir): Do not define.
20898 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20900 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20901 Remove all definitions.
20902 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20903 <kernel-features.h>.
20904 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20905 (miss_F_GETOWN_EX): Remove all definitions.
20906 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20908 [!__ASSUME_FCNTL64]: Remove conditional code.
20909 [__ASSUME_FCNTL64]: Make code unconditional.
20910 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20911 <kernel-features.h>.
20912 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20913 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20914 (lockf64) [__NR_fcntl64]: Make code unconditional.
20915 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20917 * sysdeps/unix/sysv/linux/kernel-features.h
20918 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20919 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20920 Make code unconditional.
20921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20924 [__NR_vfork]: Make code unconditional.
20925 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20926 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20928 [__NR_vfork]: Make code unconditional.
20929 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20930 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20932 2012-08-01 Roland McGrath <roland@hack.frob.com>
20934 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20935 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20937 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20938 Define mkstemp64 as an alias.
20939 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20940 Define mkstemps64 as an alias.
20941 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20942 Define mkostemp64 as an alias.
20943 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20944 Define mkostemps64 as an alias.
20945 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20946 Conditionalize body on this.
20947 * misc/mkostemp64.c: Likewise.
20948 * misc/mkostemps64.c: Likewise.
20949 * misc/mkstemps64.c: Likewise.
20950 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20951 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20952 * sysdeps/wordsize-64/mkostemp.c: File removed.
20953 * sysdeps/wordsize-64/mkstemp.c: File removed.
20954 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20955 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20957 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20960 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20961 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20962 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20963 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20965 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20966 compat_symbol macros from <shlib-compat.h> rather than the underlying
20967 default_symbol_version and symbol_version macros, so that DEFAULT
20968 lines in shlib-versions are respected.
20969 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20971 2012-08-01 Florian Weimer <fweimer@redhat.com>
20973 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20974 Declare with warn_unused_result.
20975 (setgid, setregid, setegid, setresgid): Likewise.
20976 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20978 * WUR-REPORT: Remove set*id functions.
20980 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20982 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20984 2012-07-31 Roland McGrath <roland@hack.frob.com>
20987 * include/sys/socket.h (__libc_accept, __libc_accept4):
20988 Add attribute_hidden.
20989 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20991 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20993 * inet/getnetgrent_r.c (setup): Likewise.
20995 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20997 2012-07-31 David S. Miller <davem@davemloft.net>
20999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21001 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21004 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21005 value between 1.0 and 2.0 and smaller part has absolute value less
21007 * math/s_clog10.c (__clog10): Likewise.
21008 * math/s_clog10f.c (__clog10f): Likewise.
21009 * math/s_clog10l.c (__clog10l): Likewise.
21010 * math/s_clogf.c (__clogf): Likewise.
21011 * math/s_clogl.c (__clogl): Likewise.
21012 * math/libm-test.inc (clog_test): Add more tests.
21013 (clog10_test): Likewise.
21014 * sysdeps/i386/fpu/libm-test-ulps: Update.
21015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21017 2012-07-31 Florian Weimer <fweimer@redhat.com>
21019 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21020 Exit with zero in case no suitable GID is found, and write a
21021 message to standard error.
21023 2012-07-30 Roland McGrath <roland@hack.frob.com>
21025 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21027 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21028 (MAXPATHLEN): Removed.
21029 (NOGROUP, NODEV): New macros.
21030 (setbit, clrbit, isset, isclr): New macros.
21031 (howmany, roundup, powerof2): New macros.
21032 (DEV_BSIZE): New macro.
21034 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21035 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21037 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21038 definition on [!__NO_LONG_DOUBLE_MATH].
21040 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21041 PTR_MANGLE and PTR_DEMANGLE.
21043 * socket/accept4.c (accept4): Rename to __libc_accept4.
21044 Define accept4 as a weak alias.
21046 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21047 on [_DIRENT_HAVE_D_TYPE].
21048 * io/ftw.c (ftw_dir): Likewise.
21050 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21052 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21054 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21055 Use the BSD numbers rather than the arbitrary ones we had.
21056 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21057 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21058 (SIGXCPU, SIGXFSZ): New macros.
21061 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21062 initializer on [_LIBC_REENTRANT].
21064 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21065 definitions inside [_POSIX_MAPPED_FILES].
21067 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21069 * dirent/opendir.c: Include <fcntl.h>.
21071 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21072 (__libc_getspecific): Likewise.
21073 (__libc_key_create): Likewise.
21075 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21076 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21077 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21078 (tmpfile64): Define as alias.
21079 * sysdeps/wordsize-64/tmpfile.c: File removed.
21080 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21081 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21084 * stdio-common/vfscanf.c: Include <stdbool.h>.
21085 * nss/makedb.c: Likewise.
21086 * stdio-common/_i18n_number.h: Likewise.
21087 * argp/argp-help.c: Likewise.
21088 * posix/wordexp.c: Likewise.
21089 * sysdeps/posix/spawni.c: Likewise.
21090 * nss/nss_files/files-initgroups.c: Likewise.
21091 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21092 * nss/nss_files/files-initgroups.c: Likewise.
21093 * nss/nss_db/db-netgrp.c: Likewise.
21094 * nss/nss_db/db-initgroups.c: Likewise.
21095 * io/fchmodat.c: Include <sys/stat.h>.
21097 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21098 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21100 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21103 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21104 Add multiple inclusion protection.
21106 2012-07-27 David S. Miller <davem@davemloft.net>
21108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21110 2012-07-27 Gary Benson <gbenson@redhat.com>
21113 * elf/rtld.c: Include <stap-probe.h>.
21114 (dl_main): Added static probes "init_start" and "init_complete".
21115 * elf/dl-load.c: Include <stap-probe.h>.
21116 (lose): Take new parameter "nsid".
21117 Added static probe "map_failed".
21118 (_dl_map_object_from_fd): Pass namespace id to lose.
21119 Added static probe "map_start".
21120 (open_verify): Pass namespace id to lose.
21121 * elf/dl-open.c: Include <stap-probe.h>.
21122 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21123 and "reloc_complete".
21124 * elf/dl-close.c: Include <stap-probe.h>.
21125 (_dl_close_worker): Added static probes "unmap_start" and
21127 * elf/rtld-debugger-interface.txt: New file documenting the above.
21129 2012-07-26 Roland McGrath <roland@hack.frob.com>
21131 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21132 rather than a string variable.
21133 * sunrpc/rpc_main.c (h_output): Likewise.
21134 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21136 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21138 * inet/check_native.c: New file.
21140 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21143 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21144 if larger part has absolute value 1.0.
21145 * math/s_clog10.c (__clog10): Likewise.
21146 * math/s_clog10f.c (__clog10f): Likewise.
21147 * math/s_clog10l.c (__clog10l): Likewise.
21148 * math/s_clogf.c (__clogf): Likewise.
21149 * math/s_clogl.c (__clogl): Likewise.
21150 * math/libm-test.inc (clog_test): Add more tests.
21151 (clog10_test): Likewise.
21152 * sysdeps/i386/fpu/libm-test-ulps: Update.
21153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21155 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21156 (pltexit): Likewise.
21157 (La_regs): Likewise.
21158 (La_retval): Likewise.
21159 (int_retval): Likewise.
21160 Update #error for removed macros to refer only to definitions in
21162 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21164 (pltexit): Likewise.
21165 (La_regs): Likewise.
21166 (La_retval): Likewise.
21167 (int_retval): Likewise.
21168 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21170 (pltexit): Likewise.
21171 (La_regs): Likewise.
21172 (La_retval): Likewise.
21173 (int_retval): Likewise.
21174 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21176 (pltexit): Likewise.
21177 (La_regs): Likewise.
21178 (La_retval): Likewise.
21179 (int_retval): Likewise.
21180 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21182 (pltexit): Likewise.
21183 (La_regs): Likewise.
21184 (La_retval): Likewise.
21185 (int_retval): Likewise.
21186 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21188 (pltexit): Likewise.
21189 (La_regs): Likewise.
21190 (La_retval): Likewise.
21191 (int_retval): Likewise.
21192 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21194 (pltexit): Likewise.
21195 (La_regs): Likewise.
21196 (La_retval): Likewise.
21197 (int_retval): Likewise.
21198 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21199 macro definitions in tst-audit.h.
21200 * sysdeps/i386/tst-audit.h: New file.
21201 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21202 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21203 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21204 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21205 * sysdeps/sh/tst-audit.h: Likewise.
21206 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21207 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21208 * sysdeps/x86_64/tst-audit.h: Likewise.
21210 2012-07-26 Andreas Jaeger <aj@suse.de>
21212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21215 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21216 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21217 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21219 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21220 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21221 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21223 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21226 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21228 (si_call_addr, si_syscall, si_arch): Define new macro.
21229 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21231 (si_call_addr, si_syscall, si_arch): Define new marcro.
21232 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21234 (si_call_addr, si_syscall, si_arch): Define new macro.
21235 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21237 (si_call_addr, si_syscall, si_arch): Define new macro.
21239 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21242 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21243 Change to 2.4.21 where previously 2.4.1.
21244 * sysdeps/unix/sysv/linux/configure: Regenerated.
21245 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21246 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21247 Linux kernel version.
21248 (__ASSUME_STD_AUXV): Remove.
21249 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21251 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21252 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21253 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21254 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21255 (__ASSUME_NETLINK_SUPPORT): Likewise.
21256 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21257 (__no_netlink_support): Remove conditional definition.
21258 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21260 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21261 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21262 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21263 (if_nameindex_ioctl): Remove.
21264 (if_nameindex_netlink): Do not handle __no_netlink_support.
21265 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21267 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21268 Remove conditional code.
21269 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21271 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21273 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21274 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21275 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21277 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21278 [!__ASSUME_STD_AUXV]: Remove conditional code.
21279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21280 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21281 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21283 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21284 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21286 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21288 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21289 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21291 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21293 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21296 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21299 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21300 code unconditional.
21301 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21303 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21305 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21308 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21310 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21313 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21314 code unconditional.
21315 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21317 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21319 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21322 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21323 code unconditional.
21324 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21326 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21328 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21331 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21333 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21334 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21335 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21336 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21337 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21338 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21339 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21340 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21341 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21342 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21343 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21344 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21345 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21346 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21347 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21348 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21349 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21350 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21351 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21353 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21354 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21357 2012-07-25 Florian Weimer <fweimer@redhat.com>
21359 * Versions.def: Add GLIBC_2.17.
21360 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21361 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21362 Introduce __libc_secure_getenv.
21363 * stdlib/Versions (2.17): Add secure_getenv
21364 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21365 * stdlib/secure-getenv.c: Rename __secure_getenv to
21366 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21367 symbol __secure_getenv for GLIBC_2.0.
21368 * stdlib/tst-secure-getenv.c: New.
21369 * stdlib/Makefile (tests): Add testcase.
21370 * manual/startup.texi (Environment Access): Document
21372 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21373 __libc_secure_getenv.
21374 * inet/ruserpass.c (ruserpass): Likewise.
21375 * malloc/mtrace.c (mtrace): Likewise.
21376 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21377 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21378 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21379 * sysdeps/posix/tempname.c: Likewise. Evaluate
21380 HAVE_SECURE_GETENV.
21381 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21382 __secure_getenv to __libc_secure_getenv.
21383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21396 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21398 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21399 (struct La_i86_retval): Likewise.
21400 (struct La_x86_64_regs): Likewise.
21401 (struct La_x86_64_retval): Likewise.
21402 (struct La_x32_regs): Likewise.
21403 (struct La_x32_retval): Likewise.
21404 (struct La_ppc32_regs): Likewise.
21405 (struct La_ppc32_retval): Likewise.
21406 (struct La_ppc64_regs): Likewise.
21407 (struct La_ppc64_retval): Likewise.
21408 (struct La_sh_regs): Likewise.
21409 (struct La_sh_retval): Likewise.
21410 (struct La_s390_32_regs): Likewise.
21411 (struct La_s390_32_retval): Likewise.
21412 (struct La_s390_64_regs): Likewise.
21413 (struct La_s390_64_retval): Likewise.
21414 (struct La_sparc32_regs): Likewise.
21415 (struct La_sparc32_retval): Likewise.
21416 (struct La_sparc64_regs): Likewise.
21417 (struct La_sparc64_retval): Likewise.
21418 (struct audit_ifaces): Remove architecture-specific pltenter and
21420 * sysdeps/i386/ldsodefs.h: New file.
21421 * sysdeps/powerpc/ldsodefs.h: Likewise.
21422 * sysdeps/s390/ldsodefs.h: Likewise.
21423 * sysdeps/sh/ldsodefs.h: Likewise.
21424 * sysdeps/sparc/ldsodefs.h: Likewise.
21425 * sysdeps/x86_64/ldsodefs.h: Likewise.
21427 2012-07-25 Marek Polacek <polacek@redhat.com>
21430 * math/libm-test.inc (yn_test): Add another test.
21431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21432 to ERANGE when the result is +-Inf.
21433 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21434 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21435 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21436 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21438 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21440 * conform/data/time.h-data (NULL): Use macro-constant. Require
21442 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21444 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21446 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21448 * configure.in <sysdeps resolving>: Correct printing
21450 * configure: Regenerate.
21452 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21454 * math/w_ilogb.c: Include <limits.h>.
21455 * math/w_ilogbl.c: Likewise.
21457 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21459 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21460 va_copy. Document allowing for unavailable va_copy only as
21461 pre-C99 compatibility.
21462 * manual/string.texi (Copying and Concatenation): Use va_copy
21463 instead of __va_copy in concat example.
21465 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21467 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21468 (__sendto): Use create_address_port. Initialize APORT and deallocate
21471 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21472 with O_NOLINK passed to __file_name_lookup.
21474 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21475 with O_NOLINK passed to __file_name_lookup.
21477 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21478 negative N or less than NGIDS.
21480 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21481 type to string_t. Set ERANGE as errno and return it if NAME is not big
21482 enough. Use memcpy instead of strncpy.
21484 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21486 * elf/Makefile (check-data): Remove.
21487 (localplt.data): New vpath directive.
21488 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21489 instead of $(check-data).
21490 * scripts/data/localplt-generic.data: Move to ...
21491 * sysdeps/generic/localplt.data: ... here.
21492 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21493 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21494 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21497 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21500 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21503 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21506 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21509 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21513 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21515 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21516 PPC32 and PPC64 files.
21517 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21518 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21520 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21522 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21523 __makecontext_ret to ...
21524 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21525 ... here and call exit if uc_link is NULL. New file.
21526 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21527 __makecontext_ret.S.
21528 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21529 __makecontext_ret to ...
21530 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21531 ... here and call exit if uc_link is NULL. New file.
21532 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21533 __makecontext_ret.S.
21535 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21537 * elf/elf.h (R_390_IRELATIVE): New definition.
21538 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21539 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21540 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21541 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21542 (elf_machine_lazy_rel): Likewise.
21543 * sysdeps/s390/dl-irel.h: New file.
21544 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21545 * sysdeps/s390/s390-64/memset.S: New asm code.
21546 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21547 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21548 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21549 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21550 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21551 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21552 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21553 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21554 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21555 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21556 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21557 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21558 * sysdeps/s390/s390-32/memset.S: New asm code.
21559 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21561 2012-07-17 Marek Polacek <polacek@redhat.com>
21564 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21565 * sysdeps/s390/s390-64/configure.in: Likewise.
21566 * sysdeps/sparc/configure.in: Likewise.
21567 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21568 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21569 * sysdeps/i386/configure.in: Likewise.
21570 * sysdeps/x86_64/configure.in: Likewise.
21571 * sysdeps/sh/configure.in: Likewise.
21572 * sysdeps/s390/s390-32/configure: Regenerated.
21573 * sysdeps/s390/s390-64/configure: Likewise.
21574 * sysdeps/x86_64/configure: Likewise.
21575 * sysdeps/sh/configure: Likewise.
21576 * sysdeps/powerpc/powerpc64/configure: Likewise.
21577 * sysdeps/powerpc/powerpc32/configure: Likewise.
21578 * sysdeps/sparc/configure: Likwise.
21579 * sysdeps/i386/configure: Likewise.
21581 * elf/dl-open.c: Comment fixes.
21583 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21585 * Makefile [CXX] (check-data): Remove.
21586 [CXX] (c++-types.data): New vpath directive.
21587 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21588 vpath. Do not allow for C++ type data being missing.
21589 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21590 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21591 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21592 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21593 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21594 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21595 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21598 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21601 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21604 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21607 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21610 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21613 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21616 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21619 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21620 definitions to architecture-specific files.
21621 (TLS_IE): Likewise.
21622 (TLS_LD): Likewise.
21623 (TLS_GD): Likewise.
21624 * sysdeps/i386/tls-macros.h: New file.
21625 * sysdeps/powerpc/tls-macros.h: Likewise.
21626 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21627 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21628 * sysdeps/sh/tls-macros.h: Likewise.
21629 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21630 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21631 * sysdeps/x86_64/tls-macros.h: Likewise.
21633 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21636 zero value for regular exit case.
21638 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21639 (__start_context): Preserve zero value for regular exit case.
21641 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21642 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21644 * manual/setjmp.texi (setcontext): Clarify normal process
21645 termination when uc_link is the null pointer.
21646 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21649 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21651 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21652 preprocessor. Test for each exception mask separately.
21654 2012-07-16 Andreas Jaeger <aj@suse.de>
21656 * po/ru.po: Update from translation team.
21658 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21660 * conform/data/string.h-data (NULL): Use macro-constant. Require
21662 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21663 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21664 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21665 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21668 2012-07-13 Andreas Jaeger <aj@suse.de>
21670 * po/fr.po: Update from translation team.
21672 2012-07-12 Marek Polacek <polacek@redhat.com>
21675 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21676 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21679 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21683 Change to 2.4.1 where previously 2.4.0.
21684 * sysdeps/unix/sysv/linux/configure: Regenerated.
21685 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21686 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21688 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21689 (__ASSUME_AT_CLKTCK): Remove.
21690 (__ASSUME_AT_PAGESIZE): Likewise.
21691 (__ASSUME_AT_XID): Likewise.
21692 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21693 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21694 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21696 (HAVE_AUX_PAGESIZE): Likewise.
21697 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21698 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21699 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21701 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21705 the temporary buffer used to invoke __gethostbyname2_r,
21706 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21707 host_data / struct gaih_addrtuple.
21708 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21709 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21710 header file nss/nsswitch.h.
21711 * nss/nsswitch.h (global scope): Add definition of implementation
21712 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21713 resolv/nss_dns/dns-host.c).
21715 2012-07-11 Andreas Jaeger <aj@suse.de>
21717 * po/fr.po: Update from translation team.
21719 * po/sv.po: Update from translation team
21720 * po/fr.po: Another update from translation team.
21722 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21725 for subnormals or multiply small sinh result by itself.
21726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21729 2012-07-11 David S. Miller <davem@davemloft.net>
21731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21733 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21736 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21737 (INTERNAL_MARK): Shift it here.
21739 2012-07-10 Marek Polacek <polacek@redhat.com>
21742 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21743 libc_cv_asm_global_directive with .globl.
21744 * configure: Regenerated.
21745 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21747 * sysdeps/i386/configure: Regenerated.
21748 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21750 * sysdeps/x86_64/configure: Regenerated.
21751 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21752 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21753 * elf/tst-unique2mod2.c: Likewise.
21754 * elf/tst-unique2mod1.c: Likewise.
21755 * elf/tst-unique1mod2.c: Likewise.
21756 * elf/tst-unique1mod1.c: Likewise.
21757 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21758 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21759 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21760 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21761 * sysdeps/mach/sysdep.h: Likewise.
21762 * sysdeps/i386/sysdep.h: Likewise.
21763 * sysdeps/i386/i386-mcount.S: Likewise.
21764 * sysdeps/x86_64/_mcount.S: Likewise.
21765 * sysdeps/x86_64/sysdep.h: Likewise.
21766 * sysdeps/sh/_mcount.S: Likewise.
21767 * sysdeps/sh/sysdep.h: Likewise.
21768 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21769 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21770 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21771 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21772 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21773 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21774 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21775 * locale/localeinfo.h: Likewise.
21776 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21777 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21779 2012-07-09 Roland McGrath <roland@hack.frob.com>
21782 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21784 * manual/message.texi (The Uniforum approach): Likewise.
21785 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21786 (glibc iconv Implementation): Likewise.
21788 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21791 * math/s_clog.c (__clog): Avoid scaling a value down where that
21792 could result in underflow.
21793 * math/s_clog10.c (__clog10): Likewise.
21794 * math/s_clog10f.c (__clog10f): Likewise.
21795 * math/s_clog10l.c (__clog10l): Likewise.
21796 * math/s_clogf.c (__clogf): Likewise.
21797 * math/s_clogl.c (__clogl): Likewise.
21798 * math/libm-test.inc (clog_test): Add more tests.
21799 (clog10_test): Likewise.
21800 * sysdeps/i386/fpu/libm-test-ulps: Update.
21801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21803 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21806 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21807 by 7 not 8 to examine high bit of fractional part.
21810 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21811 for call to __mcount_internal.
21812 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21813 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21814 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21816 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21819 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21820 approximation for values within 0x1p-13f of an odd multiple of
21822 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21823 exception. Add more tests.
21824 * sysdeps/i386/fpu/libm-test-ulps: Update.
21827 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21828 inputs and return -1 for them. Do not check for +Inf in case not
21829 reachable for +Inf.
21830 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21831 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21832 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21833 and return -1 for them. Do not check for +Inf in case not
21834 reachable for +Inf.
21835 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21837 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21838 and return -1 for them. Do not check for +Inf in case not
21839 reachable for +Inf.
21840 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21841 spurious underflow.
21842 * sysdeps/i386/fpu/libm-test-ulps: Update.
21843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21845 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21847 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21849 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21853 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21854 could result in spurious underflow. Scale down values above
21855 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21856 * math/s_csqrtf.c (__csqrtf): Likewise.
21857 * math/s_csqrtl.c (__csqrtl): Likewise.
21858 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21859 spurious underflow.
21860 * sysdeps/i386/fpu/libm-test-ulps: Update.
21861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21863 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21865 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21867 * catgets/xopen-msg.awk: New file.
21868 * catgets/xopen-msg.sed: Removed.
21870 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21872 * intl/po2test.awk: New file.
21873 * intl/po2test.sed: Removed.
21875 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21878 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21879 or multiply small sinh result by itself.
21880 * math/s_ctanf.c (__ctanf): Likewise.
21881 * math/s_ctanh.c (__ctanh): Likewise.
21882 * math/s_ctanhf.c (__ctanhf): Likewise.
21883 * math/s_ctanhl.c (__ctanhl): Likewise.
21884 * math/s_ctanl.c (__ctanl): Likewise.
21885 * math/libm-test.inc (ctan_test_tonearest): New function.
21886 (ctan_test_towardzero): Likewise.
21887 (ctan_test_downward): Likewise.
21888 (ctan_test_upward): Likewise.
21889 (ctanh_test_tonearest): Likewise.
21890 (ctanh_test_towardzero): Likewise.
21891 (ctanh_test_downward): Likewise.
21892 (ctanh_test_upward): Likewise.
21893 (main): Call these new functions.
21894 * sysdeps/i386/fpu/libm-test-ulps: Update.
21895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21897 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21899 * .gitignore: Delete /ports entry.
21901 2012-07-03 Andreas Jaeger <aj@suse.de>
21903 * po/bg.po: Update from translation team.
21904 * po/cs.po: Likewise.
21905 * po/de.po: Likewise.
21906 * po/hr.po: Likewise.
21907 * po/nl.pl: Likewise.
21908 * po/pl.po: Likewise.
21909 * po/vi.po: Likewise.
21911 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21913 * Makeconfig [!+link] (+link-before-libc): New variable.
21914 [!+link] (+link-after-libc): Likewise.
21915 [!+link] (+link-tests): Likewise.
21916 [!+link] (+link): Define in terms of $(+link-before-libc) and
21917 $(+link-after-libc).
21918 [!+link-static] (+link-static-before-libc): New variable.
21919 [!+link-static] (+link-static-after-libc): Likewise.
21920 [!+link-static] (+link-static-tests): Likewise.
21921 [!+link-static] (+link-static): Define in terms of
21922 $(+link-static-before-libc) and $(+link-static-after-libc).
21923 [build-shared] (link-libc-before-gnulib): New variable.
21924 [build-shared] (link-libc-tests): Likewise.
21925 [build-shared] (link-libc): Define in terms of
21926 $(link-libc-before-gnulib).
21927 [!build-shared] (link-libc-tests): New variable.
21928 (link-libc-static-tests): New variable.
21929 [!gnulib] (gnulib-arch): New variable.
21930 [!gnulib] (gnulib-tests): Likewise.
21931 [!gnulib] (static-gnulib-arch): Likewise.
21932 [!gnulib] (static-gnulib-tests): Likewise.
21933 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21934 Define with "=" instead of ":=".
21935 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21936 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21937 * Rules (binaries-all-notests): New variable.
21938 (binaries-all-tests): Likewise.
21939 (binaries-static-notests): Likewise.
21940 (binaries-static-tests): Likewise.
21941 (binaries-all): Define using $(binaries-all-notests) and
21942 $(binaries-all-tests).
21943 (binaries-static): Define using $(binaries-static-notests) and
21944 $(binaries-static-tests).
21945 (binaries-shared-tests): New variable.
21946 (binaries-shared-notests): Likewise.
21947 (binaries-shared): Remove variable.
21948 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21949 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21950 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21951 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21952 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21953 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21954 * elf/Makefile (sln-modules): New variable.
21955 (extra-objs): Add $(sln-modules:=.o).
21956 (ldconfig-modules): Add static-stubs.
21957 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21958 * elf/static-stubs.c: New file.
21961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21962 by 7 not 8 to examine high bit of fractional part. Use volatile
21963 variables when splitting into final array of floats if
21964 __FLT_EVAL_METHOD__ != 0.
21965 * math/libm-test.inc (cos_test): Add another test.
21966 (sin_test): Likewise.
21967 * sysdeps/i386/fpu/libm-test-ulps: Update.
21970 * math/libm-test.inc (cosh_test): Add more tests.
21972 * version.h (RELEASE): Set to "development".
21973 (VERSION): Set to "2.16.90".
21975 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21977 * NEWS: Update copyright. Remove last-updated date.
21978 Mention math library bug fixes and timezone data changes.
21979 * README: Mention GNU/Hurd, x32, and HPPA support status.
21981 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21983 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21985 2012-06-27 Andreas Jaeger <aj@suse.de>
21987 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21989 2012-06-25 Andreas Jaeger <aj@suse.de>
21991 * sysdeps/s390/fpu/libm-test-ulps: Update.
21993 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21994 Thomas Schwinge <thomas@codesourcery.com>
21996 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21997 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22001 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22003 * sysdeps/mach/start.c: Remove file.
22004 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22005 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22006 * sysdeps/sh/init-first.c: Likewise.
22008 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22009 registers for frame unwinding purposes, add CFI directives.
22010 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22012 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22015 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22016 __fortify_fail returning.
22017 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22019 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22020 sysdeps/sh/____longjmp_chk.S.
22021 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22022 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22023 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22024 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22026 * sysdeps/sh/abort-instr.h: New file.
22027 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22028 process in case exit returns.
22030 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22031 initialize the GOT register before use.
22033 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22034 calculation of ARGC > 4.
22036 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22037 meaningful names to some local labels.
22039 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22040 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22042 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22043 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22044 (__arch_compare_and_exchange_val_16_acq): Likewise.
22045 (__arch_compare_and_exchange_val_32_acq): Likewise.
22046 (atomic_exchange_and_add): Fix gUSA sequence.
22047 (atomic_add): Likewise.
22048 (atomic_add_negative): Likewise.
22049 (atomic_add_zero): Likewise.
22050 (atomic_bit_test_set): Likewise.
22052 2012-06-22 Andreas Schwab <schwab@redhat.com>
22055 * include/link.h (struct link_map): Add l_free_initfini.
22056 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22058 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22059 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22060 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22063 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22065 * configure.in: Use AC_LANG_SOURCE.
22066 * configure: Regenerate.
22068 2012-06-22 Roland McGrath <roland@hack.frob.com>
22070 * configure.in (libc_cv_localstatedir): New substituted variable.
22071 * configure: Regenerated.
22072 * config.make.in (localstatedir): New variable, substituted from
22073 libc_cv_localstatedir.
22074 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22075 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22076 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22077 * sysdeps/gnu/configure: Regenerated.
22079 2012-06-21 Jeff Law <law@redhat.com>
22082 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22083 free. Simplify list management for _LIBC case.
22085 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22088 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22089 Clear sign bit of 64-bit integer value before comparing against
22092 * sysdeps/mach/configure: Regenerated.
22094 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22097 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22099 2012-06-21 Jeff Law <law@redhat.com>
22102 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22103 uint16_t for elements in the "seen" array to avoid char overflows.
22104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22105 * elf/dl-open.c (dl_open_worker): Likewise.
22107 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22109 * scripts/list-sources.sh: Scan PORTS for translations.
22110 * po/libc.pot: Regenerated.
22112 2012-06-21 Andreas Jaeger <aj@suse.de>
22115 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22117 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22118 * bits/byteswap-16.h (__bswap_16): Likewise.
22119 * bits/byteswap.h (__bswap_constant_16): Likewise.
22121 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22124 * sysdeps/i386/fpu_control.h: Removed.
22125 * sysdeps/x86_64/fpu_control.h: Moved to ...
22126 * sysdeps/x86/fpu_control.h: Here.
22128 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22129 (_FPU_SETCW): Likewise.
22131 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22134 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22135 * sysdeps/x86/fpu/bits/mathinline.h: This.
22136 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22140 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22141 functions if __x86_64__ is defined.
22143 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22145 * string/endian.h: Add !__ASSEMBLER__ condition for including
22146 conversion interfaces.
22148 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22152 of ABS(x) in calculating zero to negative powers other than odd
22154 * math/libm-test.inc (pow_test): Add more tests.
22156 2012-06-15 Andreas Jaeger <aj@suse.de>
22158 * manual/contrib.texi (Contributors): Update entry of Liubov
22159 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22162 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22164 * string/string.h: Add __wur to GNU version of strerror_r.
22166 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22169 * string/Makefile (tests): Add tst-strtok_r.
22170 * string/tst-strtok_r.c: New file.
22171 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22172 RAX_LP/RDX_LP on SAVE_PTR.
22174 2012-06-14 Roland McGrath <roland@hack.frob.com>
22176 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22178 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22180 * libm_test.inc (csqrt_test): Allow more spurious underflow
22182 (j0_test): Likewise.
22183 (j1_test): Likewise.
22184 (y0_test): Likewise.
22185 (y1_test): Likewise.
22187 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22189 * po/Makefile (libc.pot): Use UTF-8 charset.
22191 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22194 Suppress sign-conversion warning from FD_SET.
22195 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22196 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22197 not unsigned long int.
22198 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22200 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22204 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22205 __extern_always_inline instead of __extern_inline.
22206 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22207 (__signbit): Likewise.
22208 (__signbitl): Support C++ namespace.
22209 (lrintf): New inline function.
22211 (llrintf): Likewise.
22212 (llrint): Likewise.
22222 (floorf): Likewise.
22223 (nearbyint): Likewise.
22224 (nearbyintf): Likewise.
22226 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22228 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22229 non-default versions.
22231 2012-06-11 Roland McGrath <roland@hack.frob.com>
22234 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22236 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22238 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22239 (FE_UPWARD, FE_DOWNWARD): Don't define.
22240 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22241 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22243 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22245 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22246 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22248 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22250 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22252 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22253 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22255 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22258 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22259 * sysdeps/i386/fpu/Implies: New file.
22260 * sysdeps/x86_64/fpu/Implies: Likewise.
22261 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22262 * sysdeps/x86/fpu/bits/fenv.h: This.
22264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22267 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22270 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22271 character 0xffff that matches the last element of the
22274 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22279 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22282 values higher than 25.6283.
22284 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22286 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22287 subnormal exponent extraction and add some __builtin_expect.
22288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22289 Fix for subnormal mantissa calculation.
22291 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22293 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22294 cpu2 is -1 and errno is not ENOSYS.
22296 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22299 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22300 * sysdeps/x86/bits/string.h: This.
22301 * sysdeps/x86_64/bits/string.h: Removed.
22303 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22304 if not compiling for x86-64, but compiling for >= i486.
22306 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22307 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22309 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22310 New macro from Linux kernel 3.4.0.
22311 (FP_XSTATE_MAGIC2): Likewise.
22312 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22313 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22314 (struct _fpx_sw_bytes): New struct.
22315 (struct _xsave_hdr): Likewise.
22316 (struct _ymmh_state): Likewise.
22317 (struct _xstate): Likewise.
22319 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22320 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22321 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22322 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22323 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22324 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22326 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22327 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22328 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22329 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22330 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22331 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22333 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22336 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22337 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22338 (sysdep_headers): Include sys/platform/ppc.h.
22339 * sysdeps/powerpc/test-gettimebase.c: Test for
22340 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22341 * manual/Makefile (appendices): Include platform.texi.
22342 * manual/contrib.texi (Contributors): Update @node pointers.
22343 * manual/maint.texi (Maintenance): Likewise.
22344 (Platform): New node.
22345 * manual/platform.texi: New file. Document the new features.
22347 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22348 Jakub Jelinek <jakub@redhat.com>
22351 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22352 where __builtin_expect is unavailable.
22354 2012-06-03 David S. Miller <davem@davemloft.net>
22356 * stdlib/longlong.h: Updated from GCC.
22358 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22361 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22362 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22365 (GLIBC_2.16): Likewise.
22367 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22369 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22371 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22374 (default-abi): New variable.
22375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22376 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22378 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22380 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22382 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22385 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22386 definition. Document in comment.
22388 2012-06-01 David S. Miller <davem@davemloft.net>
22390 * stdlib/longlong.h: Updated from GCC.
22392 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22395 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22396 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22397 sys/debugreg.h sys/io.h here.
22398 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22399 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22401 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22402 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22403 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22404 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22405 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22406 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22408 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22409 Define only if __x86_64__ is defined.
22411 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22414 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22415 Use int64_t for variable i.
22416 * math/libm-test.inc (fmod_test): Add more tests.
22418 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22419 z computation is not scheduled after fetestexcept.
22420 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22421 Use math_force_eval instead of asm to ensure calculation scheduled
22422 before exception test.
22423 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22424 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22426 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22429 computation is not scheduled after fetestexcept.
22431 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22434 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22435 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22437 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22439 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22440 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22442 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22445 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22447 (__WCHAR_MIN): Support __WORDSIZE == 64.
22448 (__WCHAR_MAX): Likewise.
22450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22451 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22454 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22455 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22458 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22461 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22462 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22464 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22465 Defined to 1 if __x86_64__ isn't defined.
22466 (_STAT_VER_LINUX_OLD): New.
22467 (st_atime): Remove duplicate.
22468 (st_mtime): Likewise.
22469 (st_ctime): Likewise.
22471 2012-05-31 David S. Miller <davem@davemloft.net>
22473 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22476 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22478 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22482 * elf/dl-reloc.c: Include <_itoa.h>.
22483 (_dl_reloc_bad_type): Remove use of INTUSE.
22484 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22485 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22486 * stdio-common/psiginfo.c (psiginfo): Likewise.
22487 * stdio-common/psignal.c (psignal): Likewise.
22488 * string/strsignal.c (strsignal): Likewise.
22489 * include/signal.h (_sys_siglist): Declare hidden proto.
22490 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22491 INTVARDEF with libc_hidden_data_def.
22492 * stdio-common/itoa-udigits.c: Likewise.
22493 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22494 (_itoa_lower_digits_internal): Remove declaration.
22495 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22496 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22497 (_sys_sigabbrev_internal): Remove aliases.
22498 (_sys_siglist): Define hidden alias.
22500 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22505 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22508 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22509 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22511 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22512 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22513 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22514 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22515 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22516 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22518 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22519 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22520 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22522 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22532 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22534 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22535 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22537 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22538 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22539 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22541 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22542 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22544 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22545 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22549 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22551 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22552 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22554 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22556 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22557 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22558 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22560 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22562 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22564 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22566 * math/math.h (M_El): Use two more decimal places.
22567 (M_LOG2El): Likewise.
22568 (M_LOG10El): Likewise.
22569 (M_LN2l): Likewise.
22570 (M_LN10l): Likewise.
22572 (M_PI_2l): Likewise.
22573 (M_PI_4l): Likewise.
22574 (M_1_PIl): Likewise.
22575 (M_2_PIl): Likewise.
22576 (M_2_SQRTPIl): Likewise.
22577 (M_SQRT2l): Likewise.
22578 (M_SQRT1_2l): Likewise.
22580 2012-05-31 David S. Miller <davem@davemloft.net>
22582 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22583 values between float registers.
22584 * sysdeps/sparc/sparc64/memset.S: Likewise.
22585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22587 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22589 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22590 -D_FORTIFY_SOURCE=1.
22591 (CPPFLAGS-tst-longjmp_chk.c): Define.
22592 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22593 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22594 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22595 CFLAGS-tst-wchar-h.c.
22597 2012-05-31 Marek Polacek <polacek@redhat.com>
22600 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22601 __endmntent_internal): Remove declaration.
22602 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22603 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22604 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22606 2012-05-30 David S. Miller <davem@davemloft.net>
22608 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22609 (___Q_simulate_exceptions): Use real FP ops rather than writing
22611 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22614 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22617 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22618 * sysdeps/x86/bits/xtitypes.h: This.
22620 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22621 * sysdeps/x86/bits/wordsize.h: This.
22623 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22624 * sysdeps/x86/bits/huge_vall.h: This.
22626 * sysdeps/i386/bits/select.h: Removed.
22627 * sysdeps/x86_64/bits/select.h: Renamed to ...
22628 * sysdeps/x86/bits/select.h: This.
22630 * sysdeps/i386/bits/setjmp.h: Removed.
22631 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22632 * sysdeps/x86/bits/setjmp.h: This.
22634 * sysdeps/i386/bits/mathdef.h: Removed.
22635 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22636 * sysdeps/x86/bits/mathdef.h: This.
22638 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22641 * include/sys/socket.h (__connect_internal)
22642 (__libc_sa_len_internal): Remove declaration.
22643 (__connect, __libc_sa_len): Declare hidden_proto.
22644 (SA_LEN): Remove use of INTUSE.
22645 * socket/connect.c: Add libc_hidden_def.
22646 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22647 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22648 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22650 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22651 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22652 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22653 of adding _internal alias.
22655 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22658 * sysdeps/i386/bits/link.h: Removed.
22659 * sysdeps/i386/bits/linkmap.h: Likewise.
22660 * sysdeps/x86_64/bits/link.h: Renamed to ...
22661 * sysdeps/x86/bits/link.h: This.
22662 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22663 * sysdeps/x86/bits/linkmap.h: This.
22665 * sysdeps/i386/bits/endian.h: Removed.
22666 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22667 * sysdeps/x86/bits/endian.h: This.
22669 * sysdeps/i386/bits/byteswap.h: Removed.
22670 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22671 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22672 * sysdeps/x86/bits/byteswap.h: This.
22673 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22674 * sysdeps/x86/bits/byteswap-16.h: This.
22675 * sysdeps/i386/Implies: Add x86.
22676 * sysdeps/x86_64/Implies: Likewise.
22678 2012-05-30 David S. Miller <davem@davemloft.net>
22680 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22681 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22682 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22683 (FP_TRAPPING_EXCEPTIONS): Define.
22684 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22685 (FP_TRAPPING_EXCEPTIONS): Define.
22686 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22687 subnormals only when inexact has been signalled or underflow
22688 exceptions are enabled.
22689 (_FP_PACK_CANONICAL): Likewise.
22691 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22695 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22697 2012-05-30 Richard Henderson <rth@twiddle.net>
22699 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22700 with #ifndef NOT_IN_libc.
22702 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22703 marked to avoid plt entry.
22705 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22708 * Makeconfig (default-abi): New macro.
22709 (abi-includes): Likewise.
22710 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22711 $(abi-$(default-abi)-lib-soname) for soname if defined.
22712 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22714 * Makefile (installed-stubs): Likewise.
22715 * include/stubs-biarch.h: Removed.
22716 * scripts/lib-names.awk: Only handle one library at a time.
22717 * scripts/soversions.awk: Remove WORDSIZE support.
22718 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22720 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22722 (syscall-list-default-condition): Likewise.
22723 (syscall-list-default-condition): Likewise.
22724 (syscall-list-includes): Likewise.
22725 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22726 syscall-list-* with abi-*. Handle undefined abi-variants.
22727 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22728 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22729 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22730 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22731 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22732 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22734 (syscall-list-32-options): Likewise.
22735 (syscall-list-32-condition): Likewise.
22736 (syscall-list-64-options): Likewise.
22737 (syscall-list-64-condition): Likewise.
22738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22740 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22743 (abi-64-ld-soname): New macro.
22744 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22745 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22748 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22749 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22751 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22753 * sysdeps/unix/sysv/linux/kernel-features.h
22754 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22755 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22756 include <kernel-features.h>.
22757 [!__NR_ftruncate64]: Remove conditional code.
22758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22759 [__NR_ftruncate64]: Make code unconditional.
22760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22761 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22762 include <kernel-features.h>.
22763 [!__NR_ftruncate64]: Remove conditional code.
22764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22765 [__NR_ftruncate64]: Make code unconditional.
22766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22768 include <kernel-features.h>.
22769 [!__NR_ftruncate64]: Remove conditional code.
22770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22771 [__NR_ftruncate64]: Make code unconditional.
22772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22774 include <kernel-features.h>.
22775 [!__NR_ftruncate64]: Remove conditional code.
22776 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22777 [__NR_ftruncate64]: Make code unconditional.
22778 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22780 * configure.in (libc_cv_fpie): Weaken to a compile test using
22781 LIBC_TRY_CC_OPTION.
22782 * configure: Regenerated.
22784 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22799 2012-05-27 David S. Miller <davem@davemloft.net>
22801 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22803 (__Q_simulate_exceptions): Return void. Change to simulate
22804 exceptions by writing into the %fsr.
22805 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22806 (__Qp_handle_exceptions): Likewise.
22808 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22809 __Qp_handle_exceptions.
22810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22811 __Qp_handle_exceptions.
22812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22813 as unused and give dummy FP_RND_NEAREST initializer.
22814 (FP_INHIBIT_RESULTS): Define.
22815 (___Q_simulate_exceptions): Update declaration.
22816 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22818 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22819 as unused and give dummy FP_RND_NEAREST initializer.
22820 (__Qp_handle_exceptions): Update declaration.
22821 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22824 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22826 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22827 the temporary FPU control word.
22828 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22829 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22830 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22831 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22832 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22833 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22834 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22835 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22836 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22837 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22838 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22840 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22842 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22845 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22847 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22848 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22849 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22850 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22852 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22853 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22856 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22858 * po/h.po: Update from translation team.
22860 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22862 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22864 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22865 handling of denormals.
22866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22867 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22868 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22869 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22875 2012-05-26 Marek Polacek <polacek@redhat.com>
22878 * math/libm-test.inc (fma_test): Don't always expect underflow
22881 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22884 * elf/tst-execstack.c: Include stackinfo.h.
22885 (do_test): Adjust test case to ensure that pthread_getattr_np
22886 behaviour remains the same after marking stack executable.
22888 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22890 * sysdeps/unix/sysv/linux/kernel-features.h
22891 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22892 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22894 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22895 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22896 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22898 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22899 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22901 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22903 * configure.in: Define the default includes to being none.
22904 * configure: Regenerated.
22906 2012-05-25 Roland McGrath <roland@hack.frob.com>
22908 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22909 * sysdeps/x86_64/setjmp.S: Likewise.
22910 * sysdeps/i386/bsd-setjmp.S: Likewise.
22911 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22912 * sysdeps/i386/setjmp.S: Likewise.
22913 * sysdeps/i386/__longjmp.S: Likewise.
22914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22915 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22917 * include/stap-probe.h: New file.
22918 * configure.in: Handle --enable-systemtap.
22919 * configure: Regenerated.
22920 * config.h.in (USE_STAP_PROBE): New #undef.
22921 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22922 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22923 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22925 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22929 to 2.4.0 where earlier.
22930 * sysdeps/unix/sysv/linux/configure: Regenerated.
22931 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22932 <kernel-features.h>.
22933 [__ASSUME_32BITUIDS]: Make code unconditional.
22934 [!__ASSUME_32BITUIDS]: Remove conditional code.
22935 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22936 <kernel-features.h>.
22937 [__ASSUME_32BITUIDS]: Make code unconditional.
22938 [!__ASSUME_32BITUIDS]: Remove conditional code.
22939 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22940 [__ASSUME_32BITUIDS]: Make code unconditional.
22941 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22942 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22943 <kernel-features.h>.
22944 [__ASSUME_32BITUIDS]: Make code unconditional.
22945 [!__ASSUME_32BITUIDS]: Remove conditional code.
22946 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22947 <kernel-features.h>.
22948 [__ASSUME_32BITUIDS]: Make code unconditional.
22949 [!__ASSUME_32BITUIDS]: Remove conditional code.
22950 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22951 <kernel-features.h>.
22952 [__ASSUME_32BITUIDS]: Make code unconditional.
22953 [!__ASSUME_32BITUIDS]: Remove conditional code.
22954 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22955 <kernel-features.h>.
22956 [__ASSUME_32BITUIDS]: Make code unconditional.
22957 [!__ASSUME_32BITUIDS]: Remove conditional code.
22958 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22959 <kernel-features.h>.
22960 [__ASSUME_32BITUIDS]: Make code unconditional.
22961 [!__ASSUME_32BITUIDS]: Remove conditional code.
22962 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22963 <kernel-features.h>.
22964 [__ASSUME_32BITUIDS]: Make code unconditional.
22965 [!__ASSUME_32BITUIDS]: Remove conditional code.
22966 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22967 <kernel-features.h>.
22968 [__ASSUME_32BITUIDS]: Make code unconditional.
22969 [!__ASSUME_32BITUIDS]: Remove conditional code.
22970 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22971 <kernel-features.h>.
22972 [__ASSUME_32BITUIDS]: Make code unconditional.
22973 [!__ASSUME_32BITUIDS]: Remove conditional code.
22974 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22975 <kernel-features.h>.
22976 [__ASSUME_32BITUIDS]: Make code unconditional.
22977 [!__ASSUME_32BITUIDS]: Remove conditional code.
22978 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22979 <kernel-features.h>.
22980 [__ASSUME_32BITUIDS]: Make code unconditional.
22981 [!__ASSUME_32BITUIDS]: Remove conditional code.
22982 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22983 <kernel-features.h>.
22984 [__NR_setresgid] (__setresgid): Do not declare.
22985 [__ASSUME_32BITUIDS]: Make code unconditional.
22986 [!__ASSUME_32BITUIDS]: Remove conditional code.
22987 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22988 <kernel-features.h>.
22989 [__NR_setresuid] (__setresuid): Do not declare.
22990 [__ASSUME_32BITUIDS]: Make code unconditional.
22991 [!__ASSUME_32BITUIDS]: Remove conditional code.
22992 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22993 <kernel-features.h>.
22994 [__ASSUME_32BITUIDS]: Make code unconditional.
22995 [!__ASSUME_32BITUIDS]: Remove conditional code.
22996 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22997 <kernel-features.h>.
22998 [__ASSUME_32BITUIDS]: Make code unconditional.
22999 [!__ASSUME_32BITUIDS]: Remove conditional code.
23000 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23001 <kernel-features.h>.
23002 [__ASSUME_32BITUIDS]: Make code unconditional.
23003 [!__ASSUME_32BITUIDS]: Remove conditional code.
23004 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23005 <kernel-features.h>.
23006 [__ASSUME_32BITUIDS]: Make code unconditional.
23007 [!__ASSUME_32BITUIDS]: Remove conditional code.
23008 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23009 <kernel-features.h>.
23010 [__ASSUME_32BITUIDS]: Make code unconditional.
23011 [!__ASSUME_32BITUIDS]: Remove conditional code.
23012 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23013 <kernel-features.h>.
23014 [__ASSUME_32BITUIDS]: Make code unconditional.
23015 [!__ASSUME_32BITUIDS]: Remove conditional code.
23016 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23017 <kernel-features.h>.
23018 [__ASSUME_32BITUIDS]: Make code unconditional.
23019 [!__ASSUME_32BITUIDS]: Remove conditional code.
23020 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23021 <kernel-features.h>.
23022 [__ASSUME_32BITUIDS]: Make code unconditional.
23023 [!__ASSUME_32BITUIDS]: Remove conditional code.
23024 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23025 <kernel-features.h>.
23026 [__ASSUME_32BITUIDS]: Make code unconditional.
23027 [!__ASSUME_32BITUIDS]: Remove conditional code.
23028 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23029 <kernel-features.h>.
23030 [__ASSUME_32BITUIDS]: Make code unconditional.
23031 [!__ASSUME_32BITUIDS]: Remove conditional code.
23032 * sysdeps/unix/sysv/linux/kernel-features.h
23033 (__ASSUME_SETRESUID_SYSCALL): Remove.
23034 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23035 (__ASSUME_32BITUIDS): Likewise.
23036 (__ASSUME_LDT_WORKS): Likewise.
23037 (__ASSUME_O_DIRECTORY): Likewise.
23038 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23039 architecture but not kernel version.
23040 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23041 (__ASSUME_MMAP2_SYSCALL): Likewise.
23042 (__ASSUME_STAT64_SYSCALL): Likewise.
23043 (__ASSUME_IPC64): Likewise.
23044 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23045 <kernel-features.h>.
23046 [__ASSUME_32BITUIDS]: Make code unconditional.
23047 [!__ASSUME_32BITUIDS]: Remove conditional code.
23048 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23049 <kernel-features.h>.
23050 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23051 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23052 132096]: Remove conditional code.
23053 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23054 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23055 <kernel-features.h>.
23056 [__ASSUME_32BITUIDS]: Make code unconditional.
23057 [!__ASSUME_32BITUIDS]: Remove conditional code.
23058 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23059 <kernel-features.h>.
23060 [__ASSUME_32BITUIDS]: Make code unconditional.
23061 [!__ASSUME_32BITUIDS]: Remove conditional code.
23062 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23063 <kernel-features.h>.
23064 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23066 (__setresgid): Do not declare.
23067 [__ASSUME_32BITUIDS]: Make code unconditional.
23068 [!__ASSUME_32BITUIDS]: Remove conditional code.
23069 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23070 <kernel-features.h>.
23071 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23073 (__setresuid): Do not declare.
23074 [__ASSUME_32BITUIDS]: Make code unconditional.
23075 [!__ASSUME_32BITUIDS]: Remove conditional code.
23076 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23077 <kernel-features.h>.
23078 [__ASSUME_32BITUIDS]: Make code unconditional.
23079 [!__ASSUME_32BITUIDS]: Remove conditional code.
23080 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23081 <kernel-features.h>.
23082 [__ASSUME_32BITUIDS]: Make code unconditional.
23083 [!__ASSUME_32BITUIDS]: Remove conditional code.
23085 2012-05-25 Richard Henderson <rth@twiddle.net>
23087 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23088 dl_hwcap to ifunc resolver.
23089 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23091 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23092 dl_hwcap to ifunc resolver.
23093 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23095 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23098 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23099 for |x| <= 2**-26, not 2**-57.
23100 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23103 2012-05-24 Jeff Law <law@redhat.com>
23105 * stdio-common/Makefile (tests): Add bug25.
23106 * stdio-common/bug25.c: New test.
23108 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23111 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23112 multiple of MALLOC_ALIGNMENT in size.
23113 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23115 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23117 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23119 (FILENAME_MAX): Use macro-int-constant.
23120 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23121 (_IOFBF): Use macro-int-constant.
23122 (_IOLBF): Likewise.
23123 (_IONBF): Likewise.
23124 (SEEK_CUR): Likewise.
23125 (SEEK_END): Likewise.
23126 (SEEK_SET): Likewise.
23127 (TMP_MAX): Likewise.
23128 (EOF): Use macro-int-constant. Require < 0.
23129 (NULL): Use macro-constant. Require == 0.
23130 (stdin): Require type to be FILE *.
23131 (stdout): Likewise.
23132 (stderr): Likewise.
23133 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23134 macro-int-constant.
23135 (EXIT_SUCCESS): Likewise.
23136 (NULL): Use macro-constant. Require == 0.
23137 (RAND_MAX): Use macro-int-constant.
23138 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23139 [C99-based standards] (strtof): Require function.
23140 [C99-based standards] (strtold): Likewise.
23141 [C99-based standards] (strtoll): Likewise.
23142 [C99-based standards] (strtoull): Likewise.
23143 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23144 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23145 [ISO || ISO99 || ISO11] (math.h): Likewise.
23146 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23147 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23150 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23153 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23154 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23155 * intl/dgettext.c (DCGETTEXT): Likewise.
23156 * intl/gettext.c (DCGETTEXT): Likewise.
23157 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23158 * posix/regex_internal.h (gettext): Likewise.
23159 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23160 Remove declaration.
23161 * include/argz.h (__argz_count_internal)
23162 (__argz_stringify_internal): Remove declaration.
23163 (__argz_count, __argz_stringify): Declare hidden proto.
23164 * intl/dcgettext.c: Remove use of INTDEF.
23165 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23166 * string/argz-stringify.c: Likewise.
23167 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23168 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23169 Declare hidden proto.
23170 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23171 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23172 Declare hidden proto.
23173 * include/stdio.h (__asprintf_internal): Don't declare.
23174 (__asprintf): Don't define as macro. Declare hidden proto.
23175 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23176 (__fsetlocking): Declare hidden proto.
23177 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23178 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23180 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23181 (_IO_setlinebuf): Remove use of INTUSE.
23182 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23183 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23184 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23185 Remove declaration.
23186 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23187 (_IO_do_flush): Remove use of INTUSE.
23188 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23189 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23190 (_IO_adjust_column, _IO_least_wmarker)
23191 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23192 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23193 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23194 (_IO_default_doallocate, _IO_wdefault_doallocate)
23195 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23196 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23197 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23198 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23199 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23200 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23201 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23202 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23203 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23204 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23205 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23206 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23207 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23209 (_IO_flush_all_internal, _IO_adjust_column_internal)
23210 (_IO_default_uflow_internal, _IO_default_finish_internal)
23211 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23212 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23213 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23214 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23215 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23216 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23217 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23218 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23219 (_IO_file_close_internal, _IO_file_close_it_internal)
23220 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23221 (_IO_file_init_internal, _IO_file_attach_internal)
23222 (_IO_file_fopen_internal, _IO_file_read_internal)
23223 (_IO_file_sync_internal, _IO_file_seek_internal)
23224 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23225 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23226 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23227 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23228 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23229 (_IO_list_all_internal, _IO_link_in_internal)
23230 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23231 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23232 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23233 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23234 (_IO_do_write_internal, _IO_padn_internal)
23235 (_IO_getline_info_internal, _IO_getline_internal)
23236 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23237 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23238 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23239 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23240 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23241 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23242 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23243 with libc_hidden_ver, remove use of INTUSE.
23244 * libio/genops.c: Likewise.
23245 * libio/freopen.c: Likewise.
23246 * libio/freopen64.c: Likewise.
23247 * libio/iofclose.c: Likewise.
23248 * libio/iofdopen.c: Likewise.
23249 * libio/iofflush.c: Likewise.
23250 * libio/iofflush_u.c: Likewise.
23251 * libio/iofgets.c: Likewise.
23252 * libio/iofgets_u.c: Likewise.
23253 * libio/iofopen.c: Likewise.
23254 * libio/iofopncook.c: Likewise.
23255 * libio/iofread.c: Likewise.
23256 * libio/iofread_u.c: Likewise.
23257 * libio/ioftell.c: Likewise.
23258 * libio/iofwrite.c: Likewise.
23259 * libio/iogetline.c: Likewise.
23260 * libio/iogets.c: Likewise.
23261 * libio/iogetwline.c: Likewise.
23262 * libio/iopadn.c: Likewise.
23263 * libio/iopopen.c: Likewise.
23264 * libio/ioseekoff.c: Likewise.
23265 * libio/ioseekpos.c: Likewise.
23266 * libio/iosetbuffer.c: Likewise.
23267 * libio/iosetvbuf.c: Likewise.
23268 * libio/ioungetc.c: Likewise.
23269 * libio/ioungetwc.c: Likewise.
23270 * libio/iovdprintf.c: Likewise.
23271 * libio/iovsprintf.c: Likewise.
23272 * libio/iovsscanf.c: Likewise.
23273 * libio/memstream.c: Likewise.
23274 * libio/obprintf.c: Likewise.
23275 * libio/oldfileops.c: Likewise.
23276 * libio/oldiofclose.c: Likewise.
23277 * libio/oldiofdopen.c: Likewise.
23278 * libio/oldiofopen.c: Likewise.
23279 * libio/oldiopopen.c: Likewise.
23280 * libio/oldstdfiles.c: Likewise.
23281 * libio/putc.c: Likewise.
23282 * libio/setbuf.c: Likewise.
23283 * libio/setlinebuf.c: Likewise.
23284 * libio/stdfiles.c: Likewise.
23285 * libio/strops.c: Likewise.
23286 * libio/vasprintf.c: Likewise.
23287 * libio/vscanf.c: Likewise.
23288 * libio/vsnprintf.c: Likewise.
23289 * libio/vswprintf.c: Likewise.
23290 * libio/wfiledoalloc.c: Likewise.
23291 * libio/wfileops.c: Likewise.
23292 * libio/wgenops.c: Likewise.
23293 * libio/wmemstream.c: Likewise.
23294 * libio/wstrops.c: Likewise.
23295 * libio/__fpurge.c: Likewise.
23296 * libio/__fsetlocking.c: Likewise.
23297 * assert/assert.c: Likewise.
23298 * debug/fgets_chk.c: Likewise.
23299 * debug/fgets_u_chk.c: Likewise.
23300 * debug/fread_chk.c: Likewise.
23301 * debug/fread_u_chk.c: Likewise.
23302 * debug/gets_chk.c: Likewise.
23303 * debug/obprintf_chk.c: Likewise.
23304 * debug/vasprintf_chk.c: Likewise.
23305 * debug/vdprintf_chk.c: Likewise.
23306 * debug/vsnprintf_chk.c: Likewise.
23307 * debug/vsprintf_chk.c: Likewise.
23308 * malloc/mtrace.c: Likewise.
23309 * misc/error.c: Likewise.
23310 * misc/syslog.c: Likewise.
23311 * stdio-common/asprintf.c: Likewise.
23312 * stdio-common/fxprintf.c: Likewise.
23313 * stdio-common/getw.c: Likewise.
23314 * stdio-common/isoc99_fscanf.c: Likewise.
23315 * stdio-common/isoc99_scanf.c: Likewise.
23316 * stdio-common/isoc99_vfscanf.c: Likewise.
23317 * stdio-common/isoc99_vscanf.c: Likewise.
23318 * stdio-common/isoc99_vsscanf.c: Likewise.
23319 * stdio-common/printf-prs.c: Likewise.
23320 * stdio-common/printf_fp.c: Likewise.
23321 * stdio-common/printf_fphex.c: Likewise.
23322 * stdio-common/printf_size.c: Likewise.
23323 * stdio-common/putw.c: Likewise.
23324 * stdio-common/scanf.c: Likewise.
23325 * stdio-common/sprintf.c: Likewise.
23326 * stdio-common/tmpfile.c: Likewise.
23327 * stdio-common/vfprintf.c: Likewise.
23328 * stdio-common/vfscanf.c: Likewise.
23329 * stdlib/strfmon_l.c: Likewise.
23330 * sunrpc/openchild.c: Likewise.
23331 * sunrpc/xdr_stdio.c: Likewise.
23332 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23333 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23335 2012-05-24 Roland McGrath <roland@hack.frob.com>
23337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23339 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23340 in the third column, to generate for the shared library an IFUNC
23341 that uses _dl_vdso_vsym.
23342 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23343 * Makeconfig (object-suffixes-noshared): New variable.
23345 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23346 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23347 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23348 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23351 * include/sys/time.h (__gettimeofday): Remove macro.
23352 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23353 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23355 (__gettimeofday): Add libc_hidden_def.
23356 (gettimeofday): Add libc_hidden_weak.
23357 * sysdeps/mach/gettimeofday.c: Likewise.
23358 * sysdeps/posix/gettimeofday.c: Likewise.
23359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23360 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23362 (__gettimeofday_internal): Remove strong_alias.
23363 (__gettimeofday): Add libc_hidden_def.
23364 (gettimeofday): Add libc_hidden_weak.
23365 * sysdeps/unix/syscalls.list (gettimeofday):
23366 Remove __gettimeofday_internal alias.
23368 2012-05-24 Daniel Jacobowitz <drow@false.org>
23369 H.J. Lu <hongjiu.lu@intel.com>
23372 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23373 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23374 (largebin_index_32_big): New.
23375 (largebin_index): Use it for 16-byte alignment.
23376 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23377 correction with front_misalign.
23379 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23407 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23408 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23410 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23414 * math/libm-test.inc (exp_test): Add test from bug 14036.
23415 (pow_test): Add test from bug 10846.
23417 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23419 (special_function): Do not include flags in test name.
23420 (parse_args): Likewise.
23421 * sysdeps/i386/fpu/libm-test-ulps: Update.
23422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23423 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23424 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23427 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23429 * math/libm-test.inc ("Philosophy"): Update comment about
23431 (UNDERFLOW_EXCEPTION): New macro.
23432 (UNDERFLOW_EXCEPTION_OK): Likewise.
23433 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23434 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23435 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23436 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23437 (INVALID_EXCEPTION_OK): Update value.
23438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23439 (OVERFLOW_EXCEPTION_OK): Likewise.
23440 (IGNORE_ZERO_INF_SIGN): Likewise.
23441 (test_exceptions): Handle underflow exceptions.
23442 (acos_test): Update for underflow exception expectations.
23443 (cexp_test): Likewise.
23444 (clog_test): Likewise.
23445 (clog10_test): Likewise.
23446 (csqrt_test): Likewise.
23447 (ctan_test): Likewise.
23448 (ctanh_test): Likewise.
23449 (exp_test): Likewise.
23450 (exp10_test): Likewise.
23451 (exp2_test): Likewise.
23452 (expm1_test): Likewise.
23453 (fma_test): Likewise.
23454 (j0_test): Likewise.
23455 (jn_test): Likewise.
23456 (nexttoward_test): Likewise.
23457 (pow_test): Likewise.
23458 (scalbn_test): Likewise.
23459 (scalbln_test): Likewise.
23460 (tan_test): Likewise.
23461 (y1_test): Likewise.
23462 * sysdeps/i386/fpu/libm-test-ulps: Update.
23463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23465 2012-05-23 David S. Miller <davem@davemloft.net>
23467 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23468 (__libc_sigaction): Remove unused local variables.
23470 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23472 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23474 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23476 mktime: avoid signed integer overflow
23477 * time/mktime.c (__mktime_internal): Do not mishandle the case
23478 where diff == INT_MIN.
23480 mktime: simplify computation of average
23481 * time/mktime.c (ranged_convert): Use new time_t_avg function
23482 instead of rolling our own (probably-slower) code.
23484 mktime: do not assume signed right shift propagates sign bit
23485 * time/mktime.c (isdst_differ): New static function.
23486 (__mktime_internal): No need to normalize tm_isdst now.
23487 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23490 mktime: merge another wrapv change from gnulib
23491 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23492 from some compilers.
23494 mktime: remove incorrect attempt at unusual arithmetics
23495 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23496 The code didn't really work on such machines anyway.
23497 (TYPE_MINIMUM): Assume two's complement.
23498 (twos_complement_arithmetic): Verify that long_int and time_t
23499 are two's complement (or unsigned, in the latter case).
23501 mktime: check signed shifts on long_int and time_t, too
23502 * time/mktime.c (SHR): Check that shifts work as desired
23503 on the types long_int and time_t too, as SHR is used on
23506 mktime: do not assume 'long' is wide enough
23507 * time/mktime.c (verify): Move decl up.
23508 (long_int): New type.
23509 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23510 to remove assumption in the code that 'long' is wide enough to
23511 store year values. This assumption is not true on x32 and on
23512 some non-glibc platforms.
23514 mktime: merge wrapv change from gnulib
23515 * time/mktime.c (WRAPV): New macro.
23516 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23517 (guess_time_tm, __mktime_internal): Do not assume that signed
23518 integer overflow wraps around; modern compilers generate code
23519 where this assumption is no longer valid.
23521 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23523 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23524 Replace "jmp L(pseudo_end)" with "ret".
23525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23528 2012-05-23 Andreas Jaeger <aj@suse.de>
23530 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23531 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23533 2012-05-23 Andreas Jaeger <aj@suse.de>
23534 Maximilian Attems <max@stro.at>
23536 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23539 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23541 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23542 code so that pseudo_end is just ret and the stack pointer is
23543 correct also for static library in error case.
23545 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23547 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23548 move to syscalls.list.
23549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23554 * manual/install.texi (Running make install): Do not mention Linux
23555 kernel version for which pt_chown is not needed.
23556 (Linux): Do not mention problems with nscd with 2.0 kernels.
23557 * INSTALL: Regenerated.
23559 2012-05-23 Andreas Jaeger <aj@suse.de>
23561 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23562 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23564 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23566 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23568 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23572 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23574 * sysdeps/unix/sysv/linux/bits/in.h
23575 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23577 2012-05-22 Roland McGrath <roland@hack.frob.com>
23579 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23580 (PREPARE_VERSION): Just use assert instead, it will be elided
23581 under [NDEBUG] anyway.
23583 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23585 * sysdeps/unix/sysv/linux/Makefile: Include
23586 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23587 (sysdep_routines): Remove sysctl.
23588 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23589 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23590 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23591 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23592 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23594 2012-05-22 Andreas Jaeger <aj@suse.de>
23596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23597 that pseudo_end is just ret and the stack pointer is correct also
23598 for static library in error case.
23600 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23603 * nss/nsswitch.c (defconfig_entries): New variable.
23604 (__nss_database_lookup): Don't leak defconfig entries.
23605 (nss_parse_service_list): Don't leak on error paths.
23606 (free_database_entries): New function.
23607 (free_defconfig): New function.
23608 (free_mem): Move common code to free_database_entries.
23610 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23612 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23614 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23616 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23617 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23620 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23621 (INTERNAL_SYSCALL_TYPES): Likewise.
23622 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23623 (LOAD_REGS_TYPES_[1-6]): Likewise.
23624 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23625 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23627 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23629 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23630 copysignl for GLIBC_2_0.
23631 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23632 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23634 logbl for GLIBC_2_0.
23635 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23636 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23638 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23641 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23646 * time/mktime.c: Update copyright years.
23648 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23650 mktime: merge comment-quoting-style change from gnulib
23651 * time/mktime.c: Quote 'like this' in comments.
23652 The GNU coding standards suggest that we no longer quote `like this',
23653 as "`" and "'" are typically rendered asymmetrically nowadays.
23654 The typical gnulib style is to quote 'like this' when quoting
23655 code, and "like this" when quoting English.
23657 * time/mktime.c (compile-command): Add "-I.".
23659 mktime: merge mktime-internal.h change from gnulib
23660 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23662 mktime: merge time_r change from gnulib
23663 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23665 mktime: merge DEBUG change from gnulib
23666 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23667 case system <time.h> has a #define.
23669 mktime: merge <sys/types.h> change from gnulib
23670 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23671 since <time.t> is now guaranteed to define time_t.
23673 mktime: merge HAVE_CONFIG_H change from gnulib
23674 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23676 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23681 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23683 (struct rusage): Use anonymous union to pad each field to
23686 2012-05-21 David S. Miller <davem@davemloft.net>
23688 * Makefules (o-iterator): Remove .s cases.
23689 (compile-command.s): Delete.
23690 (COMPILE.s): Delete.
23691 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23693 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23695 * configure.in (libc_cv_predef_stack_protector): Only consider
23696 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23697 * configure: Regenerated.
23699 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23702 New macro. Use R*LP on int and pointer.
23703 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23704 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23705 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23706 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23708 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23709 [__WORDSIZE_TIME64_COMPAT32] instead of
23710 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23711 (struct utmp): Likewise.
23712 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23713 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23715 (__WORDSIZE_TIME64_COMPAT32): This.
23716 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23717 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23718 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23719 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23720 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23721 (__WORDSIZE_TIME64_COMPAT32): New macro.
23723 2012-05-21 Andreas Jaeger <aj@suse.de>
23725 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23726 only if [SHARED]. Add prototype for __wcschr_ia32.
23728 2012-05-21 Roland McGrath <roland@hack.frob.com>
23730 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23731 of %rbp unmolested in the jmp_buf while mangling the low bits.
23732 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23733 unmolested high bits of %rbp while demangling the low bits.
23734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23736 2012-05-21 Andreas Jaeger <aj@suse.de>
23738 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23739 * sunrpc/svc_simple.c: Use it for registerrpc.
23740 * sunrpc/xcrypt.c: Use it for passwd2des.
23742 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23744 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23746 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23747 Don't define if [__SYSCALL_WORDSIZE != 32].
23748 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23751 2012-05-21 Bruno Haible <bruno@clisp.org>
23752 Andreas Jaeger <aj@suse.de>
23754 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23755 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23756 inptr and inend for must_buffer_ch.
23757 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23758 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23759 * stdio-common/Makefile (tests): Remove bug15.
23760 (bug15-ENV): Remove macro.
23761 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23764 2012-05-19 Andreas Jaeger <aj@suse.de>
23765 Roland McGrath <roland@hack.frob.com>
23767 * manual/contrib.texi: Completely rewritten. It contains now an
23768 alphabetical list of contributors and their contributions.
23770 2012-05-21 Richard Henderson <rth@twiddle.net>
23772 * misc/getauxval.c (__getauxval): Use unsigned long int.
23773 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23774 (getauxval): Use unsigned long int.
23776 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23778 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23780 2012-05-21 Roland McGrath <roland@hack.frob.com>
23782 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23783 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23784 __alignof__ (long double).
23786 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23790 2012-05-20 Richard Henderson <rth@twiddle.net>
23792 * misc/getauxval.c: New file.
23793 * misc/sys/auxv.h: New file.
23794 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23795 (routines): Add getauxval.
23796 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23797 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23798 * elf/dl-sysdep.c (_dl_auxv): Remove.
23799 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23800 * elf/dl-support.c (_dl_auxv): New variable.
23801 (_dl_aux_init): Initialize it.
23802 * manual/startup.texi (Auxiliary Vector): New node.
23803 * sysdeps/generic/bits/hwcap.h: New file.
23804 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23805 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23806 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23807 * sysdeps/sparc/sysdep.h: ... here. Include it.
23808 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23809 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23815 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23821 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23825 2012-05-19 David S. Miller <davem@davemloft.net>
23827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23829 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23832 * math/s_ccosh.c: Include <float.h>
23833 (__ccosh): Avoid internal overflow calculating sinh and cosh
23834 values before multiplying by sin and cos values.
23835 * math/s_ccoshf.c: Likewise.
23836 * math/s_ccoshl.c: Likewise.
23837 * math/s_csin.c: Likewise.
23838 * math/s_csinf.c: Likewise.
23839 * math/s_csinl.c: Likewise.
23840 * math/s_csinh.c: Likewise.
23841 * math/s_csinhf.c: Likewise.
23842 * math/s_csinhl.c: Likewise.
23843 * math/libm-test.inc (ccos_test): Add more tests.
23844 (ccosh_test): Likewise.
23845 (csin_test): Likewise.
23846 (csinh_test): Likewise.
23847 * sysdeps/i386/fpu/libm-test-ulps: Update.
23848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23850 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23852 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23853 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23855 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23857 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23859 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23860 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23861 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23862 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23863 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23864 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23865 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23866 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23867 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23868 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23869 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23870 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23871 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23872 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23873 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23874 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23875 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23876 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23877 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23878 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23879 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23880 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23881 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23882 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23883 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23884 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23885 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23886 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23887 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23888 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23889 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23891 2012-05-18 Andreas Jaeger <aj@suse.de>
23893 * csu/.gitignore: Delete.
23895 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23897 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23898 (timex): Use __syscall_slong_t.
23900 2012-05-18 Andreas Jaeger <aj@suse.de>
23901 Carlos O'Donell <carlos_odonell@mentor.com>
23903 * manual/install.texi (Configuring and compiling): Update
23904 description about files modified in the source directory.
23905 * INSTALL: Regenerated.
23907 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23909 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23910 value. Use "or" to set return value to -1.
23911 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23912 negate return value.
23914 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23916 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23917 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23918 failure if the compiler has Graphite support disabled.
23919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23921 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23922 CFLAGS-memmove.c): Likewise.
23923 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23926 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23928 * sysdeps/x86_64/x32/_itoa.h: New file.
23930 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23931 getdents system call only if kernel and user dirents have the
23932 same d_ino and d_off.
23934 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23935 LLONG_MAX != LONG_MAX.
23936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23937 (_fitoa_word): Likewise.
23939 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23941 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23942 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23945 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23946 include <bits/wordsize.h>. Check __x86_64__ instead of
23948 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23949 if __x86_64__ is defined. Use anonymous union on fpstate.
23951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23954 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23956 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23957 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23958 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23959 Refer to _rtld_local_ro instead of _rtld_global_ro.
23960 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23962 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23964 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23966 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23967 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23968 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23970 * sysdeps/powerpc/powerpc32/dl-machine.c
23971 (__elf_machine_runtime_setup) [PROF]: Don't reference
23974 2012-05-18 Andreas Jaeger <aj@suse.de>
23976 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23977 function only available for GCCs before 3.4 since GCC 3.4
23978 introduced a builtin.
23980 (llrintf): Likewise.
23981 (llrint): Likewise.
23988 (nearbyint): Likewise.
23989 (nearbyintf): Likewise.
23993 (floorf): Likewise.
23995 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23997 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23998 on both fields and cast pointer to __syscall_ulong_t.
24000 * bits/types.h (__fsword_t): New type.
24001 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24002 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24004 (__FSWORD_T_TYPE): Likewise.
24005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24006 (__FSWORD_T_TYPE): Likewise.
24007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24008 (__FSWORD_T_TYPE): Likewise.
24009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24010 (__FSWORD_T_TYPE): Likewise.
24011 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24012 __SWORD_TYPE with __fsword_t.
24013 (statfs64): Likewise.
24015 2012-05-17 David S. Miller <davem@davemloft.net>
24017 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24019 2012-05-17 Andreas Jaeger <aj@suse.de>
24021 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24024 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24026 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24028 2012-05-17 Andreas Jaeger <aj@suse.de>
24030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24033 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24035 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24037 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24039 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24040 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24042 2012-05-17 Andreas Jaeger <aj@suse.de>
24043 Carlos O'Donell <carlos_odonell@mentor.com>
24046 * sysdeps/x86_64/multiarch/init-arch.h
24047 (bit_YMM_Usable): Rename to...
24048 (bit_AVX_Usable): ... this.
24049 (bit_FMA4_Usable): New macro.
24050 (bit_XMM_state): New macro.
24051 (bit_YMM_state): New macro.
24052 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24053 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24054 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24055 (CPUID_OSXSAVE): New macro.
24056 (CPUID_AVX): New macro.
24057 (CPUID_FMA4): New macro.
24058 (index_YMM_Usable): Rename to...
24059 (index_AVX_Usable): ... this.
24060 (HAS_AVX): Use HAS_ARCH_FEATURE.
24061 (HAS_FMA4): Likewise.
24062 (HAS_YMM_USABLE): Remove.
24063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24064 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24066 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24067 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24068 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24069 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24070 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24072 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24074 * math/libm-test.c: Support platforms without multiple rounding modes.
24075 * math/bug-nextafter.c: Support platforms without FP exceptions.
24076 * math/bug-nexttoward.c: Likewise.
24077 * math/test-fenv.c: Likewise.
24078 * math/test-misc.c: Likewise.
24079 * stdlib/bug-getcontext.c: Likewise.
24081 2012-05-17 Andreas Jaeger <aj@suse.de>
24083 * manual/examples/search.c (critter_cmp): Change signature to
24085 * manual/string.texi (Collation Functions): Likewise.
24087 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24089 * bits/types.h: Fold copyright years.
24090 * bits/typesizes.h: Likewise.
24091 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24095 * time/time.h: Likewise.
24097 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24100 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24101 in instead of returning them. Return void.
24102 (__libc_mallinfo): Accumulate over all arenas.
24103 (__malloc_stats): Adjust for change in int_mallinfo interface.
24105 2012-05-16 Roland McGrath <roland@hack.frob.com>
24108 * configure.in (NM): Add AC_CHECK_TOOL for it.
24109 (libc_extra_cflags): New substituted variable.
24110 Check for -fstack-protector being used implicitly.
24111 * configure: Regenerated.
24112 * config.make.in (config-extra-cflags): New variable,
24113 gets @libc_extra_cflags@.
24114 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24117 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24118 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24119 * configure: Regenerated.
24120 * config.make.in (CPPUNDEFS): New substituted variable.
24121 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24122 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24123 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24125 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24127 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24128 (mq_attr): Use __syscall_slong_t.
24130 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24132 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24133 Check __x86_64__ instead of __WORDSIZE.
24134 (_STAT_VER_LINUX): Likewise.
24135 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24136 __syscall_ulong_t and __syscall_slong_t.
24137 (stat64): Likewise.
24139 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24143 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24145 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24147 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24149 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24152 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24153 include <bits/wordsize.h>. Check __x86_64__ instead of
24155 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24157 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24160 include <bits/wordsize.h>. Check __x86_64__ instead of
24162 (user_regs_struct): Use "__extension__ unsigned long long"
24163 instead of "unsigned long" if __x86_64__ is defined.
24164 (user): Likewise. Pad after pointer field if __ILP32__ is
24167 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24169 * configure.in (makeinfo): Require version 4.5 or later. Allow
24171 * configure: Regenerated.
24172 * manual/install.texi (texinfo): Increase version requirement to
24174 * INSTALL: Regenerated.
24176 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24178 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24180 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24182 * sysdeps/x86_64/x32/ffs.c: New file.
24184 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24186 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24187 defined. Use __syscall_ulong_t.
24188 (shminfo): Use __syscall_ulong_t.
24189 (shm_info): Likewise.
24191 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24194 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24196 (msgqnum_t): Use __syscall_ulong_t.
24197 (msglen_t): Likewise.
24198 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24201 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24204 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24206 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24207 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24209 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24212 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24213 include <bits/wordsize.h>. Check __x86_64__ instead of
24216 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24217 "unsigned long long int" if __x86_64__ is defined.
24218 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24220 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24221 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24222 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24224 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24226 (GET_PC): Cast to uintptr_t first.
24227 (GET_FRAME): Likewise.
24228 (GET_STACK): Likewise.
24230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24236 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24238 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24239 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24245 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24247 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24249 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24251 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24253 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24255 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24260 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24262 * Makerules (+depfiles): Also collect depfiles from .oS in
24264 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24265 .oS, $(libnldbl-routines)).
24267 * Makerules (native-compile-mkdep-flags): Define.
24268 * sunrpc/Makefile (extra-objs): Add $(addprefix
24269 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24270 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24271 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24272 calling $(make-target-directory).
24274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24276 * bits/types.h (__snseconds_t): Removed.
24277 * time/time.h (struct timespec): Replace __snseconds_t with
24279 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24280 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24283 (__SNSECONDS_T_TYPE): Likewise.
24284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24285 (__SNSECONDS_T_TYPE): Likewise.
24286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24287 (__SNSECONDS_T_TYPE): Likewise.
24289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24291 * sysdeps/mach/hurd/bits/typesizes.h
24292 (__SYSCALL_SLONG_TYPE): New macro.
24293 (__SYSCALL_ULONG_TYPE): Likewise.
24295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24297 * bits/types.h (__syscall_slong_t): New type.
24298 (__syscall_ulong_t): Likewise.
24300 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24301 (__SYSCALL_ULONG_TYPE): Likewise.
24302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24303 (__SYSCALL_SLONG_TYPE): Likewise.
24304 (__SYSCALL_ULONG_TYPE): Likewise.
24305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24306 (__SYSCALL_SLONG_TYPE): Likewise.
24307 (__SYSCALL_ULONG_TYPE): Likewise.
24308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24309 (__SYSCALL_SLONG_TYPE): Likewise.
24310 (__SYSCALL_ULONG_TYPE): Likewise.
24312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24314 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24315 Add sigaltstack-offsets.sym.
24316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24317 <sigaltstack-offsets.h>.
24318 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24319 longjmp_msg pointer.
24320 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24321 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24323 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24325 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24327 * elf/stackguard-macros.h: Remove file.
24328 * sysdeps/generic/stackguard-macros.h: New file.
24329 * sysdeps/i386/stackguard-macros.h: Likewise.
24330 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24331 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24332 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24333 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24334 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24335 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24336 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24337 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24338 <elf/stackguard-macros.h>.
24341 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24342 __aligned__ in attribute.
24343 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24344 (gregset_t): Likewise.
24346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24348 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24349 * sysdeps/x86_64/64/Implies-after: Here. New file.
24350 * sysdeps/x86_64/x32/Implies-after: New file.
24352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24354 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24355 and access return value for _dl_profile_fixup. Use R10_LP to
24358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24360 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24362 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24364 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24365 * sysdeps/x86_64/x32/sysdep.h: New file.
24367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24369 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24370 * sysdeps/x86_64/setjmp.S: Likewise.
24372 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24376 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24378 remove unused global constant.
24380 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24382 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24383 include of <not-cancel.h>.
24385 2012-05-15 Roland McGrath <roland@hack.frob.com>
24387 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24389 2012-05-15 Jeff Law <law@redhat.com>
24390 Andreas Jaeger <aj@suse.de>
24393 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24395 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24396 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24398 code changing __hst_map_handle.map.
24400 2012-05-15 Roland McGrath <roland@hack.frob.com>
24402 * configure.in (sysnames): Look for Implies-before and Implies-after
24404 * configure: Regenerated.
24406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24408 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24409 8-byte data alignment with LP_SIZE alignment.
24411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24413 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24418 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24423 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24424 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24430 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24431 (stackinfo_sub_sp): Likewise.
24433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24450 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24454 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24455 into R11_LP and load __x86_64_shared_cache_size_half into
24458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24460 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24463 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24472 powerpc32/power7/fpu/s_logb.c via #include.
24473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24474 powerpc32/power7/fpu/s_logbf.c via #include.
24475 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24476 powerpc32/power7/fpu/s_logbl.c via #include.
24478 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24480 * README.libm: Remove file.
24482 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24484 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24485 count for x32. Use R*_LP and omit operand-size suffix.
24487 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24489 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24490 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24491 * sysdeps/x86_64/x32/shlib-versions: New file.
24493 2012-05-14 Roland McGrath <roland@hack.frob.com>
24495 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24496 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24497 Use _dl_fatal_printf instead.
24499 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24501 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24502 set if not set by the user. Do not allow for being unset.
24503 * sysdeps/unix/sysv/linux/configure: Regenerated.
24505 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24507 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24508 the `q' suffix from lea and replace .quad with ASM_ADDR.
24510 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24513 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24515 (PTR_DEMANGLE): Likewise.
24517 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24519 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24521 (ASM_ADDR): Likewise.
24522 (RAX_LP): Likewise.
24523 (RBP_LP): Likewise.
24524 (RBX_LP): Likewise.
24525 (RCX_LP): Likewise.
24526 (RDI_LP): Likewise.
24527 (RSI_LP): Likewise.
24528 (RSP_LP): Likewise.
24531 (R10_LP): Likewise.
24532 (R10_LP): Likewise.
24533 (R11_LP): Likewise.
24534 (R12_LP): Likewise.
24535 (R13_LP): Likewise.
24536 (R14_LP): Likewise.
24537 (R15_LP): Likewise.
24539 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24541 * sysdeps/x86_64/x32/dl-machine.h: New file.
24543 2012-05-14 Andreas Jaeger <aj@suse.de>
24545 * manual/Makefile (subdir): Remove export of subdir.
24546 (all): Remove target.
24547 (.PHONY): Remove all from list.
24548 (mkinstalldirs): Remove.
24549 (.PHONY): Remove installdirs from list.
24550 ($(inst_infodir)/libc.info): Use make-target-directory.
24551 (installdirs): Remove.
24552 (subdir_%): Remove.
24553 (glibc-targets): Remove.
24556 ($(objpfx)stubs ../po/manual.pot): Remove.
24557 ($(objpfx)stamp%): Remove.
24558 (make-target-directory): Remove.
24559 (subdir_install): Remove.
24560 (routines): Remove.
24567 * manual/.gitignore: Remove, it's not needed anymore.
24568 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24570 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24572 (texis): Renamed to $(objpfx)texis.
24573 (texis-path): New, contains path to generated files.
24574 (chapters.%): Use texis-path for complete path, add extra argument
24576 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24577 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24578 (summary,texi, stamp-summary): Use complete path of
24579 files. Generate files in build dir.
24580 (dir-add.texi): Build in build dir.
24581 (libm-err.texi,stamp-libm-err): Likewise.
24582 (version.texi, stamp-version): Likewise.
24583 (.%c.texi): Likewise.
24584 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24585 (mostlyclean): Remove target.
24586 (realclean): Remove target.
24587 (generated): Add new variable with contents from mostlyclean and
24588 realclean, remove entries duplicated in common-mostlyclean, add
24589 stamp-libm-err and stamp-version.
24590 (generated-dirs): Add libc directory.
24591 ($(inst_infodir)/libc.info): Install files from build dir.
24593 * manual/install.texi (Configuring and compiling): Adjust since
24594 the info files are not part of the tar ball anymore.
24596 2012-05-14 Andreas Jaeger <aj@suse.de>
24598 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24601 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24605 to 2.2.0 where earlier.
24606 * sysdeps/unix/sysv/linux/configure: Regenerated.
24607 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24608 Remove conditional code.
24609 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24610 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24611 Remove conditional code.
24612 [!__NR_lchown]: Likewise.
24613 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24614 [__NR_lchown]: Likewise.
24615 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24616 comment referencing __ASSUME_LCHOWN_SYSCALL.
24617 * sysdeps/unix/sysv/linux/i386/sigaction.c
24618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24620 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24621 Remove conditional code.
24622 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24623 (__protocol_available): Remove #if 0 code.
24624 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24626 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24627 * sysdeps/unix/sysv/linux/kernel-features.h
24628 (__ASSUME_GETCWD_SYSCALL): Don't define.
24629 (__ASSUME_REALTIME_SIGNALS): Likewise.
24630 (__ASSUME_PREAD_SYSCALL): Likewise.
24631 (__ASSUME_PWRITE_SYSCALL): Likewise.
24632 (__ASSUME_POLL_SYSCALL): Likewise.
24633 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24634 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24636 (__ASSUME_SIOCGIFNAME): Don't define.
24637 (__ASSUME_MSG_NOSIGNAL): Likewise.
24638 (__ASSUME_SENDFILE): Define unconditionally.
24639 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24640 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24642 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24643 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24644 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24645 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24646 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24647 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24648 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24650 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24653 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24656 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24659 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24660 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24662 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24665 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24671 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24673 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24674 Remove conditional code.
24675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24676 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24677 Remove conditional code.
24678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24679 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24680 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24681 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24682 Remove conditional code.
24683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24684 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24685 Remove conditional code.
24686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24687 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24688 Remove conditional code.
24689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24690 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24691 Remove conditional code.
24692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24693 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24694 Remove conditional code.
24695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24696 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24699 * sysdeps/unix/sysv/linux/sigaction.c
24700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24702 * sysdeps/unix/sysv/linux/sigpending.c
24703 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24704 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24705 * sysdeps/unix/sysv/linux/sigprocmask.c
24706 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24707 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24708 * sysdeps/unix/sysv/linux/sigsuspend.c
24709 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24710 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24711 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24712 (__libc_missing_rt_sigs): Remove.
24713 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24714 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24715 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24716 Remove conditional code.
24717 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24718 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24721 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24722 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24723 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24725 2012-05-14 Andreas Jaeger <aj@suse.de>
24727 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24728 it's not used in glibc.
24729 (__coshm1): Likewise.
24730 (__acosh1p): Likewise.
24733 * manual/string.texi (Copying and Concatenation): Add missing
24734 variable in concat example.
24735 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24737 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24741 __builtin_clzl with __builtin_clzll.
24743 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24746 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24749 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24751 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24752 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24753 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24754 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24756 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24758 * NEWS: Update ia64 info.
24760 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24762 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24765 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24767 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24768 * sysdeps/unix/syscalls.list (dup3): Likewise.
24769 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24770 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24772 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24774 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24775 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24777 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24779 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24781 (TLS_IE): Use mov/add instead of movq/addq to load thread
24783 (TLS_GD_PREFIX): New.
24786 2012-05-11 David S. Miller <davem@davemloft.net>
24788 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24789 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24790 (_FPU_SETCW): Likewise.
24792 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24794 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24795 is 32-byte aligned.
24797 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24800 * iconvdata/gb18030.c: Update tables.
24801 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24802 characters specially.
24803 (BODY for TO_LOOP): Add encoding of missing ranges.
24805 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24808 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24809 * sysdeps/mach/hurd/dup3.c: Likewise.
24810 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24811 * sysdeps/powerpc/memmove.c:: Likewise.
24813 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24816 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24818 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24820 * elf/elf.h (R_X86_64_RELATIVE64): New.
24821 (R_X86_64_NUM): Updated.
24822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24823 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24824 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24825 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24826 tst-quad1pie tst-quad2pie
24827 (modules-names): Add tst-quadmod1 tst-quadmod2.
24828 ($(objpfx)tst-quad1): New dependency.
24829 ($(objpfx)tst-quad2): Likewise.
24830 ($(objpfx)tst-quad1pie): Likewise.
24831 ($(objpfx)tst-quad2pie): Likewise.
24832 * sysdeps/x86_64/tst-quad1.c: New file.
24833 * sysdeps/x86_64/tst-quad1pie.c: New file.
24834 * sysdeps/x86_64/tst-quad2.c: Likewise.
24835 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24836 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24837 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24838 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24839 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24841 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24843 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24844 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24845 * streams/stropts.h (t_scalar_t): Define type.
24847 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24848 (_PATH_PRESERVE): Set to "/var/lib".
24849 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24851 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24854 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24855 if __dir_mkfile succeeded.
24857 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24858 checking for _hurd_dtablesize. Unlock it right after having
24859 finished _hurd_dtable allocation.
24861 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24863 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24864 * sysdeps/mach/hurd/configure: Regenerated.
24865 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24866 special-casing to...
24867 * sysdeps/gnu/configure.in: ... this new file.
24868 * sysdeps/unix/sysv/linux/configure: Regenerated.
24869 * sysdeps/gnu/configure: New generated file.
24871 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24872 for Linux: use nsec instead of usec, as well as:
24873 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24874 members of type struct timespec.
24875 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24877 (struct stat64): Likewise.
24878 (_STATBUF_ST_NSEC): New macro.
24879 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24881 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24882 __strtoul_internal rather than strtoul.
24884 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24886 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24889 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24891 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24892 which preserves existing values.
24893 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24895 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24897 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24898 TIMEOUT values. Return EINVAL for NFDS values either negative or
24899 greater than FD_SETSIZE.
24901 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24903 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24904 allocated, call __vm_protect to finish enabling the existing space, and
24905 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24906 allocate the remainder.
24908 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24910 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24911 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24913 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24915 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24916 sysdeps/mach/hurd/readlink.c.
24918 * posix/tst-sysconf.c (posix_options): Only use
24919 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24920 _POSIX_SYNCHRONIZED_IO when they are defined
24921 * sysdeps/mach/hurd/bits/posix_opt.h:
24922 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24923 (_XOPEN_REALTIME): Undefine macro.
24924 (_XOPEN_REALTIME_THREADS): Undefine macro.
24925 (_XOPEN_SHM): Undefine macro.
24926 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24928 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24930 (_POSIX_ASYNC_IO): Undefine macro.
24931 (_POSIX_PRIORITIZED_IO): Undefine macro.
24932 (_POSIX_SPIN_LOCKS): Define macro to -1.
24934 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24935 SA_NODEFER, SA_RESETHAND.
24936 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24937 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24940 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24942 * elf/Makefile (pldd-modules): Define unconditionally.
24944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24946 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24948 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24950 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24951 Return ENOENT when name is empty.
24952 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24954 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24956 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24958 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24960 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24962 Fix mlock in all cases except non-readable pages.
24963 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24964 instead of VM_PROT_ALL as parameter to __vm_wire function.
24966 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24967 (__mkdir): When path is `/', just fail with EEXIST.
24968 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24970 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24972 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24973 <sys/uio.h> (for writev).
24974 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24975 and <sys/param.h> (for MIN).
24977 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24979 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24980 REQUESTED_TIME. Properly set the remaining time and return EINTR
24983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24985 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24986 Depend on against $(link-rpcuserlibs).
24988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24990 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24991 (__libc_stack_end): Do not use attribute_relro.
24992 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24993 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24994 to libthread-provided value.
24995 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24998 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25001 * bits/libc-lock.h (__libc_once_get): New macro.
25002 * sysdeps/mach/bits/libc-lock.h: Likewise.
25003 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25005 instead of using implementation details.
25007 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25008 * libio/freopen.c: Likewise.
25009 * libio/freopen64.c: Likewise.
25010 * misc/syslog.c: Likewise.
25011 * nscd/connections.c: Likewise.
25012 * nscd/netgroupcache.c: Likewise.
25013 * sysdeps/posix/getcwd.c: Likewise.
25015 2012-05-10 Roland McGrath <roland@hack.frob.com>
25017 * math/w_ilogbf.c: Add #include <limits.h>.
25019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25021 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25022 path instead of returning without unlocking.
25024 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25025 immediate-write ioctls.
25026 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25028 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25030 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25031 __builtin_frame_address instead of making assumptions about the
25032 location of the return address relative to DATA. Force early load of
25033 the return address.
25034 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25035 __builtin_frame_address.
25038 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25039 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25040 implement dup3 and do some further code clean-ups.
25041 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25042 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25044 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25046 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25048 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25049 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25050 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25051 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25052 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25055 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25056 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25057 when handler == SIG_ERR, not when handler != SIG_ERR.
25059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25061 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25062 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25065 accept4 for GNU Hurd.
25066 * include/sys/socket.h (__libc_accept4): New prototype.
25067 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25068 to implement __libc_accept4.
25069 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25071 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25073 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25074 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25075 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25076 signal-defines.sym.
25078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25080 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25082 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25084 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25085 assertion on O_CLOEXEC flag.
25086 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25087 * hurd/intern-fd.c: Likewise.
25088 * hurd/port2fd.c: Likewise.
25090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25093 * bits/in.h (IPV6_PKTINFO): Define new macro.
25094 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25096 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25101 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25103 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25104 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25105 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25106 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25107 * math/libm-test.inc (logb_test) : Additional logb tests.
25109 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25110 Andreas Jaeger <aj@suse.de>
25112 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25113 * configure: Regenerated.
25114 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25115 * config.make.in (link-obsolete-rpc): New substituted variable.
25116 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25117 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25118 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25119 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25120 so that libc.a contains the symbols.
25121 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25122 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25123 * sunrpc/auth_none.c: Likewise.
25124 * sunrpc/auth_unix.c: Likewise.
25125 * sunrpc/authdes_prot.c: Likewise.
25126 * sunrpc/authuxprot.c: Likewise.
25127 * sunrpc/clnt_gen.c: Likewise.
25128 * sunrpc/clnt_perr.c: Likewise.
25129 * sunrpc/clnt_raw.c: Likewise.
25130 * sunrpc/clnt_simp.c: Likewise.
25131 * sunrpc/clnt_tcp.c: Likewise.
25132 * sunrpc/clnt_udp.c: Likewise.
25133 * sunrpc/clnt_unix.c: Likewise.
25134 * sunrpc/des_crypt.c: Likewise.
25135 * sunrpc/des_soft.c: Likewise.
25136 * sunrpc/get_myaddr.c: Likewise.
25137 * sunrpc/key_call.c: Likewise.
25138 * sunrpc/key_prot.c: Likewise.
25139 * sunrpc/netname.c: Likewise.
25140 * sunrpc/pm_getmaps.c: Likewise.
25141 * sunrpc/pm_getport.c: Likewise.
25142 * sunrpc/pmap_clnt.c: Likewise.
25143 * sunrpc/pmap_prot.c: Likewise.
25144 * sunrpc/pmap_prot2.c: Likewise.
25145 * sunrpc/pmap_rmt.c: Likewise.
25146 * sunrpc/publickey.c: Likewise.
25147 * sunrpc/rpc_cmsg.c: Likewise.
25148 * sunrpc/rpc_common.c: Likewise.
25149 * sunrpc/rpc_dtable.c: Likewise.
25150 * sunrpc/rpc_prot.c: Likewise.
25151 * sunrpc/rpc_thread.c: Likewise.
25152 * sunrpc/rtime.c: Likewise.
25153 * sunrpc/svc.c: Likewise.
25154 * sunrpc/svc_auth.c: Likewise.
25155 * sunrpc/svc_raw.c: Likewise.
25156 * sunrpc/svc_run.c: Likewise.
25157 * sunrpc/svc_tcp.c: Likewise.
25158 * sunrpc/svc_udp.c: Likewise.
25159 * sunrpc/svc_unix.c: Likewise.
25160 * sunrpc/svcauth_des.c: Likewise.
25161 * sunrpc/xcrypt.c: Likewise.
25162 * sunrpc/xdr.c: Likewise.
25163 * sunrpc/xdr_array.c: Likewise.
25164 * sunrpc/xdr_float.c: Likewise.
25165 * sunrpc/xdr_intXX_t.c: Likewise.
25166 * sunrpc/xdr_mem.c: Likewise.
25167 * sunrpc/xdr_rec.c: Likewise.
25168 * sunrpc/xdr_ref.c: Likewise.
25169 * sunrpc/xdr_sizeof.c: Likewise.
25170 * sunrpc/xdr_stdio.c: Likewise.
25172 2012-05-10 Roland McGrath <roland@hack.frob.com>
25174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25175 change. Update copyright years.
25177 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25179 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25181 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25182 Joseph Myers <joseph@codesourcery.com>
25183 Paul Pluzhnikov <ppluzhnikov@google.com>
25186 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25188 [cross-compiling] (extra-libs): Likewise.
25189 [cross-compiling] (extra-libs-others): Likewise.
25190 [cross-compiling] (librpcsvc-routines): Likewise.
25191 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25192 [cross-compiling] (omit-deps): Likewise.
25193 (sunrpc-CPPFLAGS): New variable.
25194 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25195 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25196 (cross-rpcgen-objs): New variable.
25197 (extra-objs): Append $(cross-rpcgen-objs).
25198 ($(cross-rpcgen-objs)): New rule.
25199 ($(objpfx)cross-rpcgen): Likewise.
25200 (rpcgen-cmd): Define to use $(built-program-file). Expand
25202 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25203 ($(objpfx)x%.stmp): Likewise.
25204 * sunrpc/proto.h [IS_IN_build] (_): Define.
25205 [IS_IN_build] (_libc_intl_domainname): Likewise.
25207 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25210 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25211 and R_X86_64_TPOFF64.
25213 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25215 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25216 sysdeps/unix/sysv/syscalls.list.
25219 * sysdeps/unix/sysv/syscalls.list: Remove file.
25221 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25224 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25225 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25226 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25227 (__LC_IDENTIFICATION): Make these macros useful in #if
25228 expressions, as required by C99.
25230 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25232 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25233 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25236 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25238 * stdlib/longlong.h: Updated from GCC.
25240 2012-05-09 Andreas Jaeger <aj@suse.de>
25242 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25243 default is first entry.
25244 (run_mode): Set type.
25245 (main): Remove informal message about syslog.
25246 (options): Fix typo.
25249 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25252 (llrintf): Likewise.
25253 (llrint): Likewise.
25256 (nearbyint): Likewise.
25257 (nearbyintf): Likewise.
25259 2012-05-09 Andreas Jaeger <aj@suse.de>
25260 Pedro Alves <palves@redhat.com>
25262 * nscd/nscd.c (run_mode): Use enum.
25263 (main): Cleanup coding style issue.
25265 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25266 Andreas Jaeger <aj@suse.de>
25268 * nscd/nscd.c (go_background): Replaced with...
25269 (run_mode): ... this.
25270 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25271 (options): Add -F --foreground.
25272 (main): Implement it.
25273 (parse_opt): Parse it.
25275 2012-05-09 Andreas Jaeger <aj@suse.de>
25278 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25279 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25280 -Wconversion warning.
25281 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25284 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25286 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25288 (LC_ALL): Use macro-int-constant.
25289 (LC_COLLATE): Likewise.
25290 (LC_CTYPE): Likewise.
25291 (LC_MESSAGES): Likewise.
25292 (LC_MONETARY): Likewise.
25293 (LC_NUMERIC): Likewise.
25294 (LC_TIME): Likewise.
25295 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25296 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25298 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25300 [C99-based standards] (float_t): Expect type.
25301 [C99-based standards] (double_t): Expect type.
25302 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25304 [C99-based standards] (HUGE_VALL): Likewise.
25305 [C99-based standards] (INFINITY): Likewise.
25306 [C99-based standards] (NAN): Likewise.
25307 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25308 [C99-based standards] (FP_NAN): Likewise.
25309 [C99-based standards] (FP_NORMAL): Likewise.
25310 [C99-based standards] (FP_SUBNORMAL): Likewise.
25311 [C99-based standards] (FP_ZERO): Likewise.
25312 [C99-based standards] (FP_FAST_FMA): Use
25313 optional-macro-int-constant. Specify type. Require == 1.
25314 [C99-based standards] (FP_FAST_FMAF): Likewise.
25315 [C99-based standards] (FP_FAST_FMAL): Likewise.
25316 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25317 [C99-based standards] (FP_ILOGBNAN): Likewise.
25318 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25320 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25321 [C99-based standards] (math_errhandling): Specify type.
25322 [ISO99 || ISO11] (signgam): Do not allow.
25323 [non-C99-based standards] (copysignf): Do not allow.
25324 [non-C99-based standards] (exp2f): Likewise.
25325 [non-C99-based standards] (log2f): Likewise.
25326 [non-C99-based standards] (modff): Allow.
25327 [non-C99-based standards] (erff): Do not allow.
25328 [non-C99-based standards] (erfcf): Likewise.
25329 [non-C99-based standards] (gammaf): Likewise.
25330 [non-C99-based standards] (hypotf): Likewise.
25331 [non-C99-based standards] (j0f): Likewise.
25332 [non-C99-based standards] (j1f): Likewise.
25333 [non-C99-based standards] (jnf): Likewise.
25334 [non-C99-based standards] (lgammaf): Likewise.
25335 [non-C99-based standards] (tgammaf): Likewise.
25336 [non-C99-based standards] (y0f): Likewise.
25337 [non-C99-based standards] (y1f): Likewise.
25338 [non-C99-based standards] (ynf): Likewise.
25339 [non-C99-based standards] (isnanf): Likewise.
25340 [non-C99-based standards] (acoshf): Likewise.
25341 [non-C99-based standards] (asinhf): Likewise.
25342 [non-C99-based standards] (atanhf): Likewise.
25343 [non-C99-based standards] (cbrtf): Likewise.
25344 [non-C99-based standards] (expm1f): Likewise.
25345 [non-C99-based standards] (ilogbf): Likewise.
25346 [non-C99-based standards] (log1pf): Likewise.
25347 [non-C99-based standards] (logbf): Likewise.
25348 [non-C99-based standards] (nextafterf): Likewise.
25349 [non-C99-based standards] (remainderf): Likewise.
25350 [non-C99-based standards] (rintf): Likewise.
25351 [non-C99-based standards] (scalbf): Likewise.
25352 [non-C99-based standards] (copysignl): Likewise.
25353 [non-C99-based standards] (exp2l): Likewise.
25354 [non-C99-based standards] (log2l): Likewise.
25355 [non-C99-based standards] (modfl): Allow.
25356 [non-C99-based standards] (erfl): Do not allow.
25357 [non-C99-based standards] (erfcl): Likewise.
25358 [non-C99-based standards] (gammal): Likewise.
25359 [non-C99-based standards] (hypotl): Likewise.
25360 [non-C99-based standards] (j0l): Likewise.
25361 [non-C99-based standards] (j1l): Likewise.
25362 [non-C99-based standards] (jnl): Likewise.
25363 [non-C99-based standards] (lgammal): Likewise.
25364 [non-C99-based standards] (tgammal): Likewise.
25365 [non-C99-based standards] (y0l): Likewise.
25366 [non-C99-based standards] (y1l): Likewise.
25367 [non-C99-based standards] (ynl): Likewise.
25368 [non-C99-based standards] (isnanl): Likewise.
25369 [non-C99-based standards] (acoshl): Likewise.
25370 [non-C99-based standards] (asinhl): Likewise.
25371 [non-C99-based standards] (atanhl): Likewise.
25372 [non-C99-based standards] (cbrtl): Likewise.
25373 [non-C99-based standards] (expm1l): Likewise.
25374 [non-C99-based standards] (ilogbl): Likewise.
25375 [non-C99-based standards] (log1pl): Likewise.
25376 [non-C99-based standards] (logbl): Likewise.
25377 [non-C99-based standards] (nextafterl): Likewise.
25378 [non-C99-based standards] (remainderl): Likewise.
25379 [non-C99-based standards] (rintl): Likewise.
25380 [non-C99-based standards] (scalbl): Likewise.
25381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25382 [non-C99-based standards] (FP_*): Do not allow.
25383 [C99-based standards] (FP_*): Change to
25384 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25385 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25387 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25388 (SIG_ERR): Likewise.
25389 [X/Open-based standards] (SIG_HOLD): Likewise.
25390 (SIG_IGN): Likewise.
25391 (SIGABRT): Use macro-int-constant. Specify type. Require
25393 (SIGFPE): Likewise.
25394 (SIGILL): Likewise.
25395 (SIGINT): Likewise.
25396 (SIGSEGV): Likewise.
25397 (SIGTER): Likewise.
25398 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25399 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25400 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25401 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25402 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25403 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25404 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25405 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25406 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25407 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25408 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25410 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25411 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25412 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25413 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25414 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25415 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25416 [X/Open-based standards] (SIGTRAP): Likewise.
25417 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25418 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25419 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25420 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25421 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25424 2012-05-08 Ian Wienand <ianw@vmware.com>
25427 * time/tzset.c (__tzset_parse_tz): Update default rules for
25428 daylight time changes in the Energy Policy Act of 2005.
25430 2012-05-09 Andreas Jaeger <aj@suse.de>
25433 * elf/ldconfig.c (parse_conf): Change string to make clear that
25434 ldconfig only issued a warning if ld.so.conf does not exist.
25436 2012-05-08 David S. Miller <davem@davemloft.net>
25438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25439 movxtod instead of popping the value on the stack.
25441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25443 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25445 * config.h.in: Add HAVE_ARM_PCS_VFP.
25447 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25450 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25451 checking but the checks are disabled for any reason.
25453 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25455 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25456 and ELF64_R_TYPE with ELFW(R_TYPE).
25458 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25460 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25461 (ulimit): Likewise.
25463 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25464 (settimeofday): Likewise.
25466 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25468 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25469 a struct th_u2 inside the union, and move tu_block/tu_code into
25470 a new th_u3 union of tu_block/tu_code inside of that. Move
25471 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25472 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25473 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25474 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25475 (th_stuff): Change to th_u1.tu_stuff.
25477 (th_msg): Change to th_u1.th_u2.tu_data.
25479 2012-05-07 David S. Miller <davem@davemloft.net>
25481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25484 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25485 (SETUP_PIC_REG): Use it.
25486 (SETUP_PIC_REG_LEAF): Use it.
25488 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25494 (EXPL_FINITE): Likewise.
25495 (FLDLOG): Likewise.
25496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25497 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25499 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25501 (EXPL_FINITE): Likewise.
25502 (FLDLOG): Likewise.
25503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25504 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25506 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25507 test of -max_value argument for long double.
25508 * sysdeps/i386/fpu/libm-test-ulps: Update.
25509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25511 2012-05-06 David S. Miller <davem@davemloft.net>
25513 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25514 quad soft-float symbols whose references which are compiler
25516 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25518 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25522 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25524 (EXPL_FINITE): Likewise.
25525 (FLDLOG): Likewise.
25528 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25529 Adjust comments for base varying.
25530 (__expl_finite): Change alias to EXPL_FINITE.
25531 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25533 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25534 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25536 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25537 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25539 (EXPL_FINITE): Likewise.
25540 (FLDLOG): Likewise.
25543 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25544 Adjust comments for base varying.
25545 (__expl_finite): Change alias to EXPL_FINITE.
25546 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25551 * math/libm-test.inc (check_float_internal): Correct ulp
25552 calculation for subnormal expected results.
25554 2012-05-06 Andreas Jaeger <aj@suse.de>
25556 * Makeconfig (+math-flags): New, set to -frounding-math.
25557 (+cflags): Add +math-flags so that all of glibc gets compiled with
25560 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25562 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25564 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25570 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25571 (__ieee754_expl): Allow for and saturate large arguments.
25572 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25573 (u_threshold): Likewise.
25574 (__exp): Call __ieee754_exp before checking for overflow and
25576 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25577 (u_threshold): Likewise.
25578 (__expf): Call __ieee754_expf before checking for overflow and
25580 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25581 (u_threshold): Likewise.
25582 (__expl): Call __ieee754_expl before checking for overflow and
25584 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25585 (__ieee754_expl): Allow for and saturate large arguments.
25586 * math/libm-test.inc (exp_test): Add another test. Do not allow
25587 missing overflow exception on overflow.
25588 (expm1_test): Do not allow missing overflow exception on overflow.
25590 * sysdeps/i386/fpu/e_expl.c: Move to ...
25591 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25592 rather than using inline asm.
25593 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25594 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25595 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25597 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25600 (signal): Likewise.
25604 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25606 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25607 sysdeps/unix/common/syscalls.list.
25608 (fchmod): Likewise.
25609 (fchown): Likewise.
25610 (ftruncate): Likewise.
25611 (getrusage): Likewise.
25612 (gettimeofday): Likewise.
25613 (setpgid): Likewise.
25614 (setregid): Likewise.
25615 (setreuid): Likewise.
25616 (sigaction): Likewise.
25617 (truncate): Likewise.
25618 (vhangup): Likewise.
25619 * sysdeps/unix/common/syscalls.list: Remove file.
25620 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25621 * sysdeps/unix/sysv/linux/Implies: Likewise.
25623 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25625 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25627 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25631 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25634 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25640 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25643 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25646 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25649 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25653 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25657 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25660 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25664 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25668 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25670 * sysdeps/unix/common/bits/dirent.h: Remove file.
25671 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25673 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25674 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25675 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25676 * sysdeps/unix/bsd/isatty.c: Likewise.
25677 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25678 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25679 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25681 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25685 long double comparison inaccuracies.
25686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25689 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25691 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25692 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25694 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25698 nonzero digits before rounding a hex value.
25699 * stdlib/tst-strtod.c (tests): Add another test.
25701 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25703 * sysdeps/s390/fpu/libm-test-ulps: Update.
25705 2012-05-03 Andreas Jaeger <aj@suse.de>
25707 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25708 does not get optimized out.
25709 (malloc_opt_barrier): New.
25711 2012-05-03 Andreas Jaeger <aj@suse.de>
25712 Roland McGrath <roland@hack.frob.com>
25714 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25715 intermediate file deletion.
25716 (generated): Add .symlist files.
25718 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25721 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25722 Redirect under this condition.
25723 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25724 [__USE_GNU] (__dprintf_chk): Not under this condition.
25725 [__USE_GNU] (__vdprintf_chk): Likewise.
25726 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25727 under this condition.
25728 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25729 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25730 [__USE_XOPEN2K8] (vdprintf): Likewise.
25731 [__USE_GNU] (__dprintf_chk): Not under this condition.
25732 [__USE_GNU] (__vdprintf_chk): Likewise.
25733 [__USE_GNU] (dprintf): Likewise.
25734 [__USE_GNU] (vdprintf): Likewise.
25736 2012-05-03 Roland McGrath <roland@hack.frob.com>
25738 * elf/Makefile (common-generated): Set this instead of generated for
25739 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25740 $(all-built-dso)-derived lists.
25742 2012-05-03 Andreas Jaeger <aj@suse.de>
25744 * sysdeps/i386/fpu/libm-test-ulps: Update.
25747 * FAQ.in: Likewise.
25748 * scripts/gen-FAQ.pl: Likewise.
25749 * manual/install.texi (Installation): Point to online location of
25751 * Makefile (files-for-dist): Remove FAQ.
25754 2012-05-02 Allan McRae <allan@archlinux.org>
25756 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25757 (LDFLAGS-reldepmod5.so): Likewise.
25758 (LDFLAGS-reldep6mod1.so): Likewise.
25759 (LDFLAGS-reldep6mod4.so): Likewise.
25760 (LDFLAGS-reldep8mod3.so): Likewise.
25761 (LDFLAGS-unload4mod1.so): Likewise.
25762 (LDFLAGS-unload4mod2.so): Likewise.
25763 (LDFLAGS-tst-initorder): Likewise.
25764 (LDFLAGS-tst-initordera2.so): Likewise.
25765 (LDFLAGS-tst-initordera3.so): Likewise.
25766 (LDFLAGS-tst-initordera4.so): Likewise.
25767 (LDFLAGS-tst-initorderb2.so): Likewise.
25768 (LDFLAGS-noload): Likewise.
25769 (LDFLAGS-next): Likewise.
25770 (LDFLAGS-order2mod1.so): Likewise.
25771 (LDFLAGS-order2mod2.so): Likewise.
25772 (LDFLAGS-tst-initorder2): Likewise.
25773 (LDFLAGS-tst-initorder2a.so): Likewise.
25774 (LDFLAGS-tst-initorder2b.so): Likewise.
25775 (LDFLAGS-tst-initorder2c.so): Likewise.
25776 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25778 2012-05-02 David S. Miller <davem@davemloft.net>
25780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25782 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25785 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25787 2012-05-02 Andreas Jaeger <aj@suse.de>
25789 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25790 since we manipulate rounding mode.
25791 (CPPFLAGS-test-idouble.c): Likewise.
25792 (CPPFLAGS-test-ifloat.c): Likewise.
25793 (CFLAGS-test-ldouble.c): Likewise.
25794 (CFLAGS-test-double.c): Likewise.
25795 (CFLAGS-test-float.c): Likewise.
25796 (CFLAGS-test-misc.c): Likewise.
25797 (CFLAGS-test-test-fenv.c): Likewise.
25799 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25804 comparisons to determine direction to adjust input.
25806 2012-05-01 Roland McGrath <roland@hack.frob.com>
25808 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25809 output to the target.
25811 * scripts/localplt.awk: New file.
25812 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25813 (check-localplt-CFLAGS): Variable removed.
25814 ($(all-built-dso:=.jmprel)): New static pattern rule.
25815 (generated): Add those targets.
25816 (localplt-built-dso): New variable.
25817 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25819 * elf/check-localplt.c: File removed.
25821 * scripts/check-execstack.awk: New file.
25822 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25823 (check-execstack-CFLAGS): Variable removed.
25824 ($(objpfx)check-execstack.h): Target removed.
25825 ($(objpfx)execstack-default): New target.
25826 (generated): Add that instead of check-execstack.h.
25827 ($(all-built-dso:=.phdr)): New static pattern rule.
25828 (generated): Add those targets.
25829 * elf/check-execstack.c: File removed.
25831 * scripts/check-textrel.awk: New file.
25832 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25833 (check-textrel-CFLAGS): Variable removed.
25834 (all-built-dso): Use := to define.o
25835 ($(all-built-dso:=.dyn)): New static pattern rule.
25836 (generated): Add those targets.
25837 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25838 * config.make.in (READELF): New substituted variable.
25839 * elf/check-textrel.c: File removed.
25841 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25843 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25845 * conform/data/ctype.h-data [C99-based standards] (isblank):
25847 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25848 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25850 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25851 Specify type. Require positive value.
25852 (EILSEQ): Likewise.
25853 (ERANGE): Likewise.
25854 [ISO || POSIX] (EILSEQ): Do not expect.
25855 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25856 Specify type. Require positive value.
25857 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25858 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25859 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25860 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25861 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25862 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25863 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25864 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25865 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25866 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25867 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25868 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25869 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25870 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25871 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25872 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25873 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25874 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25875 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25876 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25877 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25878 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25879 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25880 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25881 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25882 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25883 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25884 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25885 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25886 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25887 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25888 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25889 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25890 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25891 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25892 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25893 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25894 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25895 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25896 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25897 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25898 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25899 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25901 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25902 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25903 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25904 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25905 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25906 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25907 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25908 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25909 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25910 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25911 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25912 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25913 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25914 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25923 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25924 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25925 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25926 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25927 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25931 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25932 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25933 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25935 (FLT_ROUNDS): Expect as macro, not constant.
25936 (FLT_MANT_DIG): Use macro-int-constant.
25937 (DBL_MANT_DIG): Likewise.
25938 (LDBL_MANT_DIG): Likewise.
25939 (FLT_DIG): Likewise.
25940 (DBL_DIG): Likewise.
25941 (LDBL_DIG): Likewise.
25942 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25943 (DBL_MIN_EXP): Likewise.
25944 (LDBL_MIN_EXP): Likewise.
25945 (FLT_MAX_EXP): Use macro-int-constant.
25946 (DBL_MAX_EXP): Likewise.
25947 (LDBL_MAX_EXP): Likewise.
25948 (FLT_MAX_10_EXP): Likewise.
25949 (DBL_MAX_10_EXP): Likewise.
25950 (LDBL_MAX_10_EXP): Likewise.
25951 (FLT_MAX): Use macro-constant.
25952 (DBL_MAX): Likewise.
25953 (LDBL_MAX): Likewise.
25954 (FLT_EPSILON): Use macro-constant. Give upper bound.
25955 (DBL_EPSILON): Likewise.
25956 (LDBL_EPSILON): Likewise.
25957 (FLT_MIN): Likewise.
25958 (DBL_MIN): Likewise.
25959 (LDBL_MIN): Likewise.
25960 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25961 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25962 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25963 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25964 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25965 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25966 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25967 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25968 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25969 [ISO11] (FLT_TRUE_MIN): Likewise.
25970 [ISO11] (LDBL_TRUE_MIN): Likewise.
25971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25972 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25973 (SCHAR_MIN): Use macro-int-constant. Specify type.
25974 (SCHAR_MAX): Likewise.
25975 (UCHAR_MAX): Likewise.
25976 (CHAR_MIN): Likewise.
25977 (CHAR_MAX): Likewise.
25978 (MB_LEN_MAX): Use macro-int-constant.
25979 (SHRT_MIN): Use macro-int-constant. Specify type.
25980 (SHRT_MAX): Likewise.
25981 (USHRT_MAX): Likewise.
25982 (INT_MAX): Likewise.
25983 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25985 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25987 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25989 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25990 bound negative. Suffix upper bound with "L".
25991 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25993 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25995 [C99-based standards] (LLONG_MAX): Likewise.
25996 [C99-based standards] (ULLONG_MAX): Likewise.
25997 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25999 [ISO11] (max_align_t): Require type.
26000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26002 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26003 from $CFLAGS, without defining away __attribute__ calls.
26004 (checknamespace): Use $CFLAGS_namespace.
26006 * conform/conformtest.pl (@keywords): Only include C99 keywords
26007 for standards based on C99 or C11.
26009 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26011 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26014 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26015 usability of symbols in #if.
26017 * conform/conformtest.pl: If macro or constant types start
26018 "promoted:", expect the symbol to be of the following type
26019 promoted by the integer promotions.
26021 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26022 in one place. Also handle "macro-constant".
26024 * conform/conformtest.pl: Only accept expected macro values with
26025 "==". Parse all "macro" lines in one place.
26026 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26028 * conform/conformtest.pl: Handle braced types on "constant" lines
26029 instead of handling "typed-constant".
26030 * conform/data/signal.h-data: Use "constant" instead of
26033 * conform/conformtest.pl: Handle "optional-" at start of lines in
26034 one place rather than duplicating several cases. Handle each
26035 format of "macro" line with initial "optional-".
26037 * conform/conformtest.pl: Only accept expected constant or
26038 optional-constant values with "==". Parse all "constant" lines in
26039 one place. Parse all "optional-constant" lines in one place.
26040 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26041 * conform/data/fmtmsg.h-data: Likewise.
26042 * conform/data/netinet/in.h-data: Likewise.
26043 * conform/data/tar.h-data: Likewise.
26044 * conform/data/limits.h-data: Use "==" form on "constant" and
26045 "optional-constant" lines.
26047 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26048 Use -std=c99 for XOPEN2K.
26049 (@knownproblems): Remove.
26050 (newtoken): Don't check %isknown.
26052 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26053 Do not expect macro.
26054 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26055 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26056 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26057 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26058 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26059 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26060 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26061 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26062 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26063 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26064 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26065 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26066 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26067 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26068 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26069 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26070 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26071 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26072 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26073 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26074 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26075 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26078 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26079 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26080 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26081 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26082 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26083 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26084 [XPG3] (acosh): Likewise.
26085 [XPG3] (asinh): Likewise.
26086 [XPG3] (atanh): Likewise.
26087 [XPG3] (cbrt): Likewise.
26088 [XPG3] (expm1): Likewise.
26089 [XPG3] (ilogb): Likewise.
26090 [XPG3] (log1p): Likewise.
26091 [XPG3] (logb): Likewise.
26092 [XPG3] (nextafter): Likewise.
26093 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26094 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26095 [XPG3] (remainder): Likewise.
26096 [XPG3] (rint): Likewise.
26097 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26098 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26099 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26100 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26101 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26102 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26103 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26104 [UNIX98 || XOPEN2K] (scalb): Expect.
26105 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26106 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26107 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26108 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26109 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26110 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26111 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26112 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26113 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26114 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26115 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26116 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26117 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26118 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26119 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26120 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26121 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26122 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26123 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26124 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26125 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26126 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26127 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26128 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26129 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26130 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26131 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26132 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26133 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26136 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26137 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26138 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26139 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26141 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26142 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26143 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26145 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26146 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26147 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26148 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26149 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26150 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26151 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26152 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26153 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26154 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26155 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26156 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26157 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26158 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26159 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26160 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26161 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26162 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26163 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26164 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26165 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26166 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26167 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26168 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26169 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26170 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26176 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26177 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26178 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26243 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26244 _XOPEN_SOURCE_EXTENDED for XPG4.
26246 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26248 * Makeconfig (localtime): Remove variable.
26249 (inst_localtime-file): Likewise.
26251 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26272 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26276 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26277 comparisons to determine direction to adjust input.
26278 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26279 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26280 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26282 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26284 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26286 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26287 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26289 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26291 * math/libm-test.inc (nexttoward_test): Add more tests.
26293 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26297 in version GLIBC_2.1, not GLIBC_2.0.
26298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26301 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26304 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26306 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26307 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26308 * math/libm-test.inc (acos_test): Add more tests.
26309 (asin_test): Likewise.
26310 * sysdeps/i386/fpu/libm-test-ulps: Update.
26311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26314 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26316 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26317 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26318 * math/libm-test.inc (acos_test_tonearest): New function.
26319 (acos_test_towardzero): Likewise.
26320 (acos_test_downward): Likewise.
26321 (acos_test_upward): Likewise.
26322 (asin_test_tonearest): Likewise.
26323 (asin_test_towardzero): Likewise.
26324 (asin_test_downward): Likewise.
26325 (asin_test_upward): Likewise.
26326 (main): Call the new functions.
26327 * sysdeps/i386/fpu/libm-test-ulps: Update.
26328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26332 * math/e_exp10.c: Include <float.h>.
26333 (__ieee754_exp10): Handle underflow here rather than multiplying
26334 large negative argument by M_LN10.
26335 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26337 * math/e_exp10l.c: Include <float.h>.
26338 (__ieee754_exp10l): Handle underflow here rather than multiplying
26339 large negative argument by M_LN10l.
26340 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26341 spurious overflow exception on underflow.
26343 2012-04-29 Marek Polacek <polacek@redhat.com>
26345 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26346 (__fortify_function): New macro.
26347 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26348 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26349 __extern_always_inline.
26350 * libio/bits/stdio2.h: Likewise.
26351 * libio/bits/stdio.h: Likewise.
26352 * string/string.h: Likewise.
26353 * string/bits/string3.h: Likewise.
26354 * include/stdio.h: Likewise.
26355 * stdlib/bits/stdlib.h: Likewise.
26356 * stdlib/stdlib.h: Likewise.
26357 * rt/bits/mqueue2.h: Likewise.
26358 * rt/mqueue.h: Likewise.
26359 * posix/bits/unistd.h: Likewise.
26360 * posix/unistd.h: Likewise.
26361 * io/bits/poll2.h: Likewise.
26362 * io/bits/fcntl2.h: Likewise.
26363 * io/fcntl.h: Likewise.
26364 * io/sys/poll.h: Likewise.
26365 * misc/bits/syslog.h: Likewise.
26366 * misc/bits/syslog-ldbl.h: Likewise.
26367 * misc/sys/syslog.h: Likewise.
26368 * socket/bits/socket2.h: Likewise.
26369 * socket/sys/socket.h: Likewise.
26370 * debug/tst-chk1.c: Likewise.
26371 * wcsmbs/bits/wchar2.h: Likewise.
26372 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26373 * wcsmbs/wchar.h: Likewise.
26375 2012-04-29 Andreas Jaeger <aj@suse.de>
26377 * Makerules (tests): Remove enable-check-abi protection.
26378 (check-abi-warn): Remove.
26379 (check-abi-%): Remove check-abi-warn usage.
26381 * configure.in: Remove check-abi configure option.
26382 * configure: Regenerated.
26383 * config.make.in (enable-check-abi): Remove.
26385 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26388 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26389 double functions to double *_finite functions.
26392 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26393 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26395 * stdio-common/Makefile (tests): Add tst-sprintf3.
26396 * stdio-common/tst-sprintf3.c: New file.
26398 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26399 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26401 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26403 * conform/conformtest.pl: Remove duplicate typed-constant
26406 2012-04-28 David S. Miller <davem@davemloft.net>
26408 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26409 (check-abi-%): Remove AWK script prerequisite and explicit
26411 (check-abi): Rewrite to just diff the symlist with the abilist.
26412 (config-tls, config-abi-config): Delete, no longer used.
26413 (update-abi-%): Remove AWK script and explicit abilist directory.
26414 (update-abi): Rewrite to simply compare and conditionally copy the
26415 symlist and the sysdep abilist file. Remove update-abi-config
26417 * abilist/ld.abilist: Remove.
26418 * abilist/libBrokenLocale.abilist: Remove.
26419 * abilist/libanl.abilist: Remove.
26420 * abilist/libcrypt.abilist: Remove.
26421 * abilist/libdl.abilist: Remove.
26422 * abilist/librt.abilist: Remove.
26423 * abilist/libthread_db.abilist: Remove.
26424 * abilist/libutil.abilist: Remove.
26425 * scripts/extract-abilist.awk: Remove.
26426 * scripts/merge-abilist.awk: Remove.
26427 * sysdeps/generic/libcidn.abilist: New file.
26428 * sysdeps/generic/libnss_compat.abilist: New file.
26429 * sysdeps/generic/libnss_db.abilist: New file.
26430 * sysdeps/generic/libnss_dns.abilist: New file.
26431 * sysdeps/generic/libnss_files.abilist: New file.
26432 * sysdeps/generic/libnss_hesiod.abilist: New file.
26433 * sysdeps/generic/libnss_nis.abilist: New file.
26434 * sysdeps/generic/libnss_nisplus.abilist: New file.
26435 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26436 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26437 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26440 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26441 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26442 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26443 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26444 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26445 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26446 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26447 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26449 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26450 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26452 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26455 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26456 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26457 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26458 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26459 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26461 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26462 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26463 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26465 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26568 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26569 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26570 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26573 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26574 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26575 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26576 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26577 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26578 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26579 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26580 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26581 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26633 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26635 * conform/conformtest.pl: Fix typo in handling typed-constant from
26638 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26640 * README: Cut down references to pre-2.6 Linux kernels and
26641 Linuxthreads. Update lists of configurations in libc and ports
26642 and sort alphabetically. Say "or newer" with Linux kernel version
26645 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26647 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26650 * math/libm-test.inc (logb_test_downward): New test to expose
26651 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26654 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26657 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26659 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26660 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26662 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26664 * sysdeps/unix/i386/brk.S: Remove file.
26665 * sysdeps/unix/i386/dl-brk.S: Likewise.
26666 * sysdeps/unix/i386/pipe.S: Likewise.
26667 * sysdeps/unix/i386/sigreturn.S: Likewise.
26668 * sysdeps/unix/i386/syscall.S: Likewise.
26669 * sysdeps/unix/i386/vfork.S: Likewise.
26670 * sysdeps/unix/i386/wait.S: Likewise.
26672 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26673 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26675 * configure.in (arm*-none*): Do not allow without
26676 --enable-hacker-mode.
26677 (netbsd*): Remove case setting base_os.
26678 (386bsd*): Likewise.
26679 (freebsd*): Likewise.
26682 (sunos*): Likewise.
26683 (ultrix*): Likewise.
26684 (newsos*): Likewise.
26685 (dynix*): Likewise.
26691 (minix*): Likewise.
26692 (irix4*): Likewise.
26693 (irix6*): Likewise.
26694 (solaris[2-9]*): Likewise.
26696 * configure: Regenerated.
26698 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26701 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26702 overflow or cancellation in calculating denominator.
26703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26705 down expression to avoid unexpected rounding in newer GCCs.
26706 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26708 2012-04-26 David S. Miller <davem@davemloft.net>
26710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26711 long-double compat symbols.
26712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26726 2012-04-25 David S. Miller <davem@davemloft.net>
26728 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26729 HWCAP_* values only after the memory barriers have been defined.
26730 (atomic_full_barrier): Define.
26731 (atomic_read_barrier): Define.
26732 (atomic_write_barrier): Define.
26734 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26736 * shlib-versions: Add libgcc_s version information.
26737 * sysdeps/generic/libgcc_s.h: Remove.
26738 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26740 * sysdeps/gnu/unwind-resume.c: Likewise.
26741 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26743 2012-04-25 David S. Miller <davem@davemloft.net>
26745 * sysdeps/unix/sparc/brk.S: Delete.
26746 * sysdeps/unix/sparc/dl-brk.S: Delete.
26747 * sysdeps/unix/sparc/pipe.S: Delete.
26748 * sysdeps/unix/sparc/sysdep.S: Delete.
26749 * sysdeps/unix/sparc/sysdep.h: Delete.
26750 * sysdeps/unix/sparc/vfork.S: Delete.
26751 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26752 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26754 ret_ERRVAL, r0, r1, MOVE): Define.
26755 (JUMPTARGET): Remove.
26756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26757 sysdeps/unix/sparc/sysdep.h
26758 (ENTRY, END): Remove.
26759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26761 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26763 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26764 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26767 * timezone/README: Update upstream location and email address for
26769 * timezone/zdump.c: Update from tzcode 2012b.
26770 * timezone/zic.c: Likewise.
26772 * configure.in (libc_cv_as_needed): Remove test.
26773 * configure: Regenerated.
26774 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26775 conditional definition.
26776 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26777 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26778 * config.make.in (have-as-needed): Remove variable.
26780 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26781 Paul Pluzhnikov <ppluzhnikov@google.com>
26783 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26786 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26788 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26789 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26790 * sysdeps/sh/strlen.S: Likewise.
26792 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26794 * sysdeps/unix/fork.S: Remove file.
26795 * sysdeps/unix/i386/fork.S: Likewise.
26796 * sysdeps/unix/sparc/fork.S: Likewise.
26798 * sysdeps/unix/system.c: Remove file.
26799 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26801 * sysdeps/unix/getegid.S: Remove file.
26802 * sysdeps/unix/geteuid.S: Likewise.
26804 2012-04-24 Roland McGrath <roland@hack.frob.com>
26806 * scripts/check-localplt.awk: New file.
26807 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26809 * scripts/data/localplt-generic.data: Add a comment.
26811 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26812 NODE when __dir_mkfile failed.
26813 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26814 Reported by Ludovic Courtès <ludo@gnu.org>.
26816 2012-04-24 Andreas Jaeger <aj@suse.de>
26818 * Makerules (common-clean): Also remove gen-as-const-headers
26821 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26823 * Makerules (native-compile): Do not change working directory for
26824 build. Use $(OUTPUT_OPTION) in command.
26825 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26827 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26830 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26831 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26832 * math/libm-test.inc (floor_test): Add more tests.
26833 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26835 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26837 * sysdeps/unix/getdents.c: Remove file.
26838 * sysdeps/unix/sysv/getdents.c: Likewise.
26839 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26841 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26842 sysdeps/unix/mman/syscalls.list.
26844 (mprotect): Likewise.
26846 (munmap): Likewise.
26847 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26848 * sysdeps/unix/mman/syscalls.list: Remove.
26849 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26851 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26852 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26853 * configure: Regenerated.
26854 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26855 $(libgcc_s_suffix).
26856 * config.make.in (libgcc_s_suffix): Remove variable.
26858 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26860 * sysdeps/unix/sysv/gethostname.c: Move to ...
26861 * sysdeps/posix/gethostname.c: ... here.
26863 * sysdeps/unix/execve.S: Remove file.
26865 * sysdeps/unix/_exit.S: Remove file.
26867 2012-04-23 Andreas Jaeger <aj@suse.de>
26870 * manual/Makefile: Remove make dist support, there's no
26871 need for a stand-alone documentation tar ball.
26872 (TEXI2DVI): Define always, it's not in Makeconfig.
26875 (edition): Removed.
26876 (glibc-doc-$(edition).tar): Removed
26880 (ETAGS): Remove, it's in Makeconfig.
26881 (move-if-change): Remove, it's in Makeconfig.
26883 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26886 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26887 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26888 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26889 (strtod_l, strtof_l, strtold_l): Remove __wur.
26890 It is not necessarily an error to ignore strtol's return value.
26891 One can reliably look at the stored endptr to decide whether
26892 the number had valid syntax.
26894 2012-04-21 Andreas Jaeger <aj@suse.de>
26897 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26899 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26901 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26902 * sysdeps/unix/sysv/Versions: Remove file.
26904 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26909 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26913 version from __vm86.
26915 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26917 * sysdeps/unix/common/lxstat.c: Remove file.
26918 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26920 * sysdeps/unix/sysv/Makefile: Remove file.
26922 * sysdeps/unix/sysv/direct.h: Remove file.
26924 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26925 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26926 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26927 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26928 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26929 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26930 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26932 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26934 * sysdeps/unix/xmknod.c: Remove file.
26935 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26937 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26939 * sysdeps/unix/sysv/i386/time.S: Remove file.
26941 * sysdeps/unix/fxstat.c: Remove file.
26942 * sysdeps/unix/xstat.c: Likewise.
26943 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26945 * sysdeps/unix/sysv/sigaction.c: Remove file.
26947 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26948 (sysdep_headers): Remove variable.
26949 [termio.h not in sysdep_headers] (generated): Likewise.
26950 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26951 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26952 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26953 * sysdeps/unix/sysv/tcflow.c: Likewise.
26954 * sysdeps/unix/sysv/tcflush.c: Likewise.
26955 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26956 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26957 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26958 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26959 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26961 * sysdeps/unix/siglist.c: Remove file.
26963 * sysdeps/unix/getppid.S: Remove file.
26965 * sysdeps/unix/mkdir.c: Remove file.
26966 * sysdeps/unix/rmdir.c: Likewise.
26968 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26970 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26972 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26973 errlist-compat value.
26975 2012-04-18 David S. Miller <davem@davemloft.net>
26977 * sysdeps/generic/memcopy.h (reg_char): Delete.
26978 * debug/strcat_chk.c: Use char, not reg_char.
26979 * debug/strcpy_chk.c: Likewise.
26980 * debug/strncat_chk.c: Likewise.
26981 * debug/strncpy_chk.c: Likewise.
26982 * string/memchr.c: Likewise.
26983 * string/memrchr.c: Likewise.
26984 * string/rawmemchr.c: Likewise.
26985 * string/strcat.c: Likewise.
26986 * string/strchr.c: Likewise.
26987 * string/strchrnul.c: Likewise.
26988 * string/strcmp.c: Likewise.
26989 * string/strcpy.c: Likewise.
26990 * string/strncat.c: Likewise.
26991 * string/strncmp.c: Likewise.
26992 * string/strncpy.c: Likewise.
26994 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26996 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26997 __builtin_memcopy is called when src and dest ranges are known to not
27000 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27002 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27003 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27004 fwd_align_merge macro call.
27005 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27006 bwd_align_merge macro call.
27007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27009 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27011 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27012 bwd_align_merge macros.
27013 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27014 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27015 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27017 2012-04-18 David S. Miller <davem@davemloft.net>
27019 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27021 2012-04-18 Andreas Jaeger <aj@suse.de>
27024 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27025 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27026 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27028 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27029 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27032 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27033 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27034 Adjust for changed ldbl-128 files.
27036 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27037 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27040 2012-04-17 David S. Miller <davem@davemloft.net>
27042 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27044 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27046 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27047 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27048 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27049 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27050 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27051 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27053 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27056 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27057 * math/libm-test.inc: Add ilogb errno and exception tests.
27058 * math/w_ilogb.c: New file: ilogb wrapper.
27059 * math/w_ilogbf.c: New file: ilogbf wrapper.
27060 * math/w_ilogbl.c: New file: ilogbl wrapper.
27061 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27062 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27063 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27064 exception being thrown with 0.0 as argument.
27065 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27066 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27067 exception being thrown with 0.0 as argument.
27068 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27069 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27070 exception being thrown with 0.0 as argument.
27071 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27072 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27073 exception being thrown with 0.0 as argument.
27074 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27075 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27076 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27077 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27078 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27079 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27080 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27081 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27082 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27084 2012-04-17 Petr Baudis <pasky@ucw.cz>
27086 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27089 2012-04-16 Marek Polacek <polacek@redhat.com>
27091 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27093 2012-04-16 Marek Polacek <polacek@redhat.com>
27095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27096 operands of fdivp instruction.
27098 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27100 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27101 * elf/tst-auditmod3b.c: Likewise.
27102 * elf/tst-auditmod4b.c: Likewise.
27103 * elf/tst-auditmod5b.c: Likewise.
27104 * elf/tst-auditmod6b.c: Likewise.
27105 * elf/tst-auditmod6c.c: Likewise.
27106 * elf/tst-auditmod7b.c: Likewise.
27107 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27108 * sysdeps/x86_64/preconfigure.in: Likewise.
27109 * sysdeps/x86_64/preconfigure: Regenerated.
27111 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27113 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27116 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27118 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27119 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27121 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27124 * locale/iso-639.def: Fix gl language name. Spotted by
27127 2012-04-12 Roland McGrath <roland@hack.frob.com>
27130 * libio/libio.h (__io_write_fn): Update comment.
27132 2012-04-12 Petr Baudis <pasky@ucw.cz>
27135 * stdio.texi (Hook Functions): The user provided writer function
27136 is not allowed to return -1.
27138 2012-04-11 David S. Miller <davem@davemloft.net>
27140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27142 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27144 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27145 Add a leading slash to rtkaio.
27147 2012-04-11 Jim Meyering <meyering@redhat.com>
27150 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27151 It is not necessarily an error to ignore fwrite's return
27152 value. One can reliably use ferror to test for errors after
27155 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27157 * bits/types.h (__snseconds_t): New type.
27158 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27160 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27162 (__SNSECONDS_T_TYPE): Likewise.
27163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27164 (__SNSECONDS_T_TYPE): Likewise.
27165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27166 (__SNSECONDS_T_TYPE): Likewise.
27168 2012-04-10 Andreas Jaeger <aj@suse.de>
27171 * manual/time.texi (Processor Time): Return type of times is
27172 elapsed real time since an arbitrary point in the past.
27173 (CPU Time): Move CLK_TCK from here...
27174 (Processor Time): ...to here. Correct description.
27175 * manual/conf.texi (Constants for Sysconf): Correct description of
27178 2012-04-10 David S. Miller <davem@davemloft.net>
27181 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27182 where the is a gap between DT_REL(A) and DT_JMPREL.
27184 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27186 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27187 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27188 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27190 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27192 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27193 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27194 (dl_main): Handle --inhibit-cache.
27195 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27197 * elf/dl-load.c (_dl_map_object): Use it.
27198 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27200 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27203 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27204 (__ieee754_powl): Saturate large exponents rather than testing for
27205 overflow of y*log2(x).
27206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27207 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27211 * math/s_ctan.c: Include <float.h>.
27212 (__ctan): Avoid internal overflow or cancellation in calculating
27214 * math/s_ctanf.c: Likewise.
27215 * math/s_ctanl.c: Likewise.
27216 * math/s_ctanh.c: Likewise.
27217 * math/s_ctanhf.c: Likewise.
27218 * math/s_ctanhl.c: Likewise.
27219 * math/libm-test.inc (ctan_test): Add more tests.
27220 (ctanh_test): Likewise.
27221 * sysdeps/i386/fpu/libm-test-ulps: Update.
27222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27224 2012-04-09 Andreas Jaeger <aj@suse.de>
27227 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27228 is an optional BSD extension.
27231 * manual/stdio.texi (Opening Streams): Document additional fopen
27234 2012-04-09 Roland McGrath <roland@hack.frob.com>
27236 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27237 %eax without telling the compiler.
27239 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27242 * manual/install.texi: Use sourceware.org.
27244 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27247 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27248 (__ieee754_pow): Generate overflow and underflow using huge*huge
27249 and tiny*tiny rather than just returning constant infinity or zero
27250 for large exponents.
27251 * math/libm-test.inc (pow_test): Require overflow exceptions for
27252 applicable cases of large exponents.
27255 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27256 (__ieee754_pow): Use iterative multiplication algorithm only for
27257 integer exponents with absolute value below 1024. Check for odd
27258 integer exponents when using algorithm for real exponents.
27259 * math/libm-test.inc (pow_test): Add more tests.
27260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27262 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27265 * math/libm-test.inc (exp_test): Do not allow overflow exception
27268 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27271 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27272 instead of __kernel_standard_f.
27274 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27276 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27277 * sysdeps/x86_64/memset_chk.S: Likewise.
27279 2012-04-08 Andreas Jaeger <aj@suse.de>
27282 * manual/startup.texi (Environment Access): Describe return value
27283 for putenv and setenv.
27286 * manual/filesys.texi (Directory Entries): Add description for
27290 * manual/filesys.texi (Directory Entries): Clarify that it's file
27291 system not operating system in the description of DT_UNKNOWN.
27294 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27296 2012-04-08 Stephen Compall <s11@member.fsf.org>
27299 * manual/llio.texi (Opening and Closing Files): Add cross
27300 reference to explain mode argument.
27302 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27304 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27305 * sysdeps/x86_64/memset_chk.S: Likewise.
27307 2012-04-07 David S. Miller <davem@davemloft.net>
27309 * elf/elf.h (R_SPARC_WDISP10): Define.
27310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27313 R_SPARC_SIZE64 and R_SPARC_H34.
27315 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27317 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27318 conditions and remove no longer applicable assertion.
27320 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27322 * bits/byteswap.h: Include <features.h>.
27323 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27324 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27326 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27328 * bits/byteswap.h (__bswap_16): Removed.
27329 Include <bits/byteswap-16.h> to get __bswap_16.
27330 * sysdeps/i386/bits/byteswap.h: Likewise.
27331 * sysdeps/s390/bits/byteswap.h: Likewise.
27332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27333 * bits/byteswap-16.h: New file.
27334 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27335 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27336 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27337 * string/Makefile (headers): Add bits/byteswap-16.h.
27339 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27342 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27344 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27345 * nss/tst-nss-static.c: New.
27347 2012-04-06 Robert Millan <rmh@gnu.org>
27350 * manual/llio.texi (File Position Primitive): lseek
27351 refers to WHENCE when it really means OFFSET.
27353 2012-04-06 Andreas Jaeger <aj@suse.de>
27355 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27356 strncmp declarations.
27358 * abilist/libc.abilist: Add __poll and __ppoll.
27360 2012-04-05 David S. Miller <davem@davemloft.net>
27362 * scripts/check-local-headers.sh: Accept a host triplet in the
27363 path matched by the exclude regexp.
27365 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27367 * sysdeps/powerpc/powerpc32/dl-machine.h
27368 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27369 * sysdeps/s390/s390-32/dl-machine.h
27370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27371 * sysdeps/sparc/sparc32/dl-machine.h
27372 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27373 * sysdeps/sparc/sparc64/dl-machine.h
27374 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27376 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27378 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27379 undefined symbol errors.
27381 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27384 2012-04-05 Michael Matz <matz@suse.de>
27387 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27389 2012-04-05 Andreas Jaeger <aj@suse.de>
27392 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27395 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27397 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27398 which ROUND is no valid rounding mode.
27400 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27402 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27404 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27406 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27408 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27409 an exception using FPU order intentionally.
27411 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27413 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27414 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27415 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27416 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27418 2012-04-05 Simon Josefsson <simon@josefsson.org>
27421 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27422 EINVAL when BUFLEN is too smal.
27424 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27427 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27428 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27430 2012-04-03 Andreas Jaeger <aj@suse.de>
27433 * manual/setjmp.texi (System V contexts): Fix sentence.
27436 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27437 New macro for this case.
27438 [!__GNUC__] (__bswap_64): New inline function for this case.
27439 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27440 * bits/byteswap.h: Likewise.
27441 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27442 ull, guard with __GLIBC_HAVE_LONG_LONG.
27444 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27445 __GLIBC_HAVE_LONG_LONG.
27447 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27448 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27450 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27453 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27454 inptr and inend, rather than using last_ch.
27456 2012-04-02 David S. Miller <davem@davemloft.net>
27458 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27459 * stdio-common/printf-parse.h (read_int): Change return type to
27460 'int', return -1 on INT_MAX overflow.
27461 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27462 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27463 overflows INT_MAX. Check for overflow of in-format-string precision
27464 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27465 SIZE_MAX not INT_MAX for integer overflow test.
27466 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27467 skip the construct in the format string but do not record anything.
27468 * stdio-common/bug22.c: Adjust to test both width/prevision
27469 INT_MAX overflow as well as total length INT_MAX overflow. Check
27470 explicitly for proper errno values.
27472 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27474 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27476 * string/test-strcmp.c [! WIDE]: Likewise.
27477 * time/tst-mktime2.c: Likewise for INT_MAX.
27478 * string/test-string.h: #include <sys/param.h> for MIN.
27480 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27481 * sysdeps/i386/init-first.c (init): Likewise.
27482 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27483 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27484 * sysdeps/sh/init-first.c (init): Likewise.
27486 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27488 * po/ru.po: Update from translation team.
27489 * po/vi.po: Likewise.
27491 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27493 * resolv/nss_dns/dns-host.c: Merge copyright years.
27495 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27498 Optimize memcpy with prefetch if
27499 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27500 src, dst pointers have unequal 16 byte alignments.
27502 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27505 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27506 from a CNAME entry and return the minimum ttl for the query.
27507 (gaih_getanswer_slice): Likewise.
27509 2012-03-30 Jeff Law <law@redhat.com>
27511 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27513 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27514 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27516 * resolv/nss_dns/dns-host.c: Update copyright year.
27518 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27520 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27521 requests to save a system call. Fix check that all bytes are sent.
27523 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27524 comments for sendmmsg.
27526 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27529 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27530 with only 1 character between 0x0041 and 0x01b0.
27531 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27532 * wcsmbs/tst-mbsnrtowcs.c: New file.
27534 2012-03-29 David S. Miller <davem@davemloft.net>
27536 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27537 small copies by hand.
27539 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27542 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27543 _nss_compat_initgroups_dyn): Fall back to malloc/free
27544 for large group memberships.
27546 2012-03-28 David S. Miller <davem@davemloft.net>
27548 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27549 that branches into memcpy.
27550 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27553 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27556 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27557 implementation too.
27558 * sysdeps/sparc/mempcpy.S: New file.
27560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27561 the IFUNC routine in the libc case.
27562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27564 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27566 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27567 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27568 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27569 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27570 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27571 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27573 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27574 loop to 256 bytes instead of 64 bytes and fix test signedness.
27576 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27577 * sysdeps/sparc/sparc32/Makefile: rather than here...
27578 * sysdeps/sparc/sparc64/Makefile: and here.
27580 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27582 * malloc/mallocbug.c: Avoid warnings about unused variables.
27584 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27587 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27588 in the right place. Discard and retry query if response is
27589 larger than input buffer size.
27591 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27596 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27597 x for large integer exponent.
27598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27599 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27600 sign of result as needed afterwards.
27601 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27602 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27603 result for underflowing pow the same as for overflow.
27604 (__kernel_standard_l): Handle powl overflow and underflow here
27605 rather than calling __kernel_standard.
27606 * math/libm-test.inc (pow_test): Add more tests.
27621 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27622 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27623 (__kernel_standard_l): New function.
27624 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27626 * math/w_acosl.c (__acosl): Likewise.
27627 * math/w_asinl.c (__asinl): Likewise.
27628 * math/w_atan2l.c (__atan2l): Likewise.
27629 * math/w_atanhl.c (__atanhl): Likewise.
27630 * math/w_coshl.c (__coshl): Likewise.
27631 * math/w_exp10l.c (__exp10l): Likewise.
27632 * math/w_exp2l.c (__exp2l): Likewise.
27633 * math/w_fmodl.c (__fmodl): Likewise.
27634 * math/w_hypotl.c (__hypotl): Likewise.
27635 * math/w_j0l.c (__j0l, __y0l): Likewise.
27636 * math/w_j1l.c (__j1l, __y1l): Likewise.
27637 * math/w_jnl.c (__jnl, __ynl): Likewise.
27638 * math/w_lgammal.c (__lgammal): Likewise.
27639 * math/w_log10l.c (__log10l): Likewise.
27640 * math/w_log2l.c (__log2l): Likewise.
27641 * math/w_logl.c (__logl): Likewise.
27642 * math/w_powl.c (__powl): Likewise.
27643 * math/w_remainderl.c (__remainderl): Likewise.
27644 * math/w_scalbl.c (sysv_scalbl): Likewise.
27645 * math/w_sinhl.c (__sinhl): Likewise.
27646 * math/w_sqrtl.c (__sqrtl): Likewise.
27647 * math/w_tgammal.c (__tgammal): Likewise.
27648 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27649 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27650 * math/libm-test.inc (acos_test): Add more tests.
27651 (acosh_test): Likewise.
27652 (asin_test): Likewise.
27653 (atanh_test): Likewise.
27654 (exp_test): Likewise.
27655 (exp10_test): Likewise.
27656 (exp2_test): Likewise.
27657 (expm1_test): Likewise.
27658 (lgamma_test): Likewise.
27659 (log_test): Likewise.
27660 (log10_test): Likewise.
27661 (log1p_test): Likewise.
27662 (log2_test): Likewise.
27663 (pow_test): Do not allow some spurious overflow exceptions.
27664 (sqrt_test): Add more tests.
27665 (tgamma_test): Likewise.
27666 (y0_test): Likewise.
27667 (y1_test): Likewise.
27668 (yn_test): Likewise.
27670 2012-03-27 Anton Blanchard <anton@samba.org>
27672 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27675 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27678 2012-03-27 David S. Miller <davem@davemloft.net>
27680 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27682 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27683 have-as-vis3 check.
27685 2012-03-27 Andreas Jaeger <aj@suse.de>
27687 * sysdeps/x86_64/elf/configure.in: Moved to ...
27688 * sysdeps/x86_64/configure.in: ... here.
27689 * sysdeps/x86_64/elf/start.S: Moved to ...
27690 * sysdeps/x86_64/start.S: ... here.
27691 * sysdeps/x86_64/elf/configure: Delete.
27693 * sysdeps/x86_64/configure.in: Merge contents from
27694 sysdeps/i386/configure.in (without i686 check).
27696 * sysdeps/i386/elf/Versions: Merge into ...
27697 * sysdeps/i386/Versions: ... this.
27698 * sysdeps/i386/elf/Versions: Delete file.
27699 * sysdeps/i386/elf/start.S: Moved to ...
27700 * sysdeps/i386/start.S: ...here.
27701 * sysdeps/i386/elf/configure.in: Merge into...
27702 * sysdeps/i386/configure.in: ...here.
27703 * sysdeps/i386/elf/configure.in: Delete file.
27704 * sysdeps/i386/elf/configure: Delete file.
27706 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27707 * debug/backtracesyms.c: ... here.
27708 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27709 * debug/backtracesymsfd.c: ... here.
27710 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27711 * sysdeps/generic/ifunc-sel.h: ... here.
27713 * sysdeps/unix/i386/start.c: Delete file.
27714 * sysdeps/unix/sparc/start.c: Delete file.
27715 * sysdeps/unix/start.c: Delete file.
27717 * sysdeps/sh/elf/configure.in: Moved to ...
27718 * sysdeps/sh/configure.in: ... here.
27719 * sysdeps/sh/elf/start.S: Moved to ...
27720 * sysdeps/sh/start.S: ... here.
27721 * sysdeps/sh/elf/configure: Delete file.
27723 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27724 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27725 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27726 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27727 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27728 * sysdeps/powerpc/powerpc64/start.S: here.
27729 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27730 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27731 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27732 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27733 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27735 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27736 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27737 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27738 * sysdeps/powerpc/powerpc32/start.S: ... here.
27739 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27740 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27741 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27743 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27744 * sysdeps/powerpc/ifunc-sel.h: ... here.
27745 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27746 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27748 * sysdeps/sparc/elf/configure.in: Moved to ...
27749 * sysdeps/sparc/configure.in: ... here.
27750 * sysdeps/sparc/elf/configure: Delete file.
27751 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27752 * sysdeps/sparc/sparc32/start.S: ... here.
27753 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27754 * sysdeps/sparc/sparc64/start.S: ... here.
27755 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27756 * sysdeps/sparc/sparc32/Makefile: ... this.
27757 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27758 * sysdeps/sparc/sparc64/Makefile: ... this.
27760 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27761 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27762 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27763 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27764 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27765 * sysdeps/s390/s390-32/setjmp.S: ... here.
27766 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27767 * sysdeps/s390/s390-32/configure.in: ... here.
27768 * sysdeps/s390/s390-32/elf/configure: Delete file.
27769 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27770 * sysdeps/s390/s390-32/start.S: ... here.
27772 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27773 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27774 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27775 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27776 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27777 * sysdeps/s390/s390-64/setjmp.S: ... here.
27778 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27779 * sysdeps/s390/s390-64/configure.in: ... here
27780 * sysdeps/s390/s390-64/elf/configure: Delete file.
27781 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27782 * sysdeps/s390/s390-64/start.S: ... here.
27783 * sysdeps/s390/s390-64/elf/configure: Delete.
27785 * configure.in: Remove support for elf directories in sysdeps.
27787 * configure: Regenerated.
27788 * sysdeps/i386/configure: Regenerated.
27789 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27790 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27791 * sysdeps/s390/s390-32/configure: Regenerated.
27792 * sysdeps/s390/s390-64/configure: Regenerated.
27793 * sysdeps/sh/configure: Regenerated.
27794 * sysdeps/sparc/configure: Regenerated.
27795 * sysdeps/x86_64/configure: Regenerated.
27797 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27802 denormal result into account.
27804 2012-03-25 Roland McGrath <roland@hack.frob.com>
27806 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27807 Reported by Allan McRae <allan@archlinux.org>.
27809 2012-03-23 Jeff Law <law@redhat.com>
27811 * nss/getnssent.c (__nss_getent): Fix typo.
27813 2012-03-23 David S. Miller <davem@davemloft.net>
27815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27817 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27819 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27820 to pad to uint64_t for each field.
27821 (dl_tls_index): Replace unsigned long with uint64_t.
27823 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27824 Paul Pluzhnikov <ppluzhnikov@google.com>
27827 * grp/Makefile (otherlibs): Don't set it.
27828 * inet/Makefile (otherlibs): Likewise.
27829 * login/Makefile (otherlibs): Likewise.
27830 * nscd/Makefile (otherlibs): Likewise.
27831 * posix/Makefile (otherlibs): Likewise.
27832 * pwd/Makefile (otherlibs): Likewise.
27833 * rt/Makefile (otherlibs): Likewise.
27834 * sunrpc/Makefile (otherlibs): Likewise.
27835 * nss/Makefile (otherlibs): Likewise.
27836 Add libnss_files to routines and static-only-routines.
27837 ($(objpfx)getent): Remove rule.
27838 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27839 static-only-routines.
27841 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27844 * math/s_cexp.c: Include <float.h>.
27845 (__cexp): Handle exp result overflowing not necessarily
27846 overflowing both real and imaginary parts of result.
27847 * math/s_cexpf.c: Likewise.
27848 * math/s_cexpl.c: Likewise.
27849 * math/libm-test.inc (cexp_test): Add more tests.
27850 * sysdeps/i386/fpu/libm-test-ulps: Update.
27851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27853 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27855 * include/link.h (ELFW): New macro.
27856 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27857 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27859 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27861 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27864 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27866 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27868 (struct La_x32_retval): Likewise.
27870 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27872 * sysdeps/x86_64/preconfigure.in: New file.
27873 * sysdeps/x86_64/preconfigure: New generated file.
27875 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27878 * math/e_exp2l.c: Include <float.h>.
27879 (__ieee754_exp2l): Handle overflow and underflow cases
27880 separately. Only pass fractional part of argument to
27882 * math/libm-test.inc (exp2_test): Add more tests.
27884 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27885 negating x to take absolute value.
27886 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27889 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27891 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27892 computing low part if x was negated.
27893 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27895 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27897 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27898 la_x32_gnu_pltexit.
27899 (pltexit): Cast int_retval to ptrdiff_t.
27900 * elf/tst-auditmod3b.c: Likewise.
27901 * elf/tst-auditmod4b.c: Likewise.
27902 * elf/tst-auditmod5b.c: Likewise.
27903 * elf/tst-auditmod6b.c: Likewise.
27904 * elf/tst-auditmod6c.c: Likewise.
27905 * elf/tst-auditmod7b.c: Likewise.
27907 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27908 and x32_gnu_pltexit.
27910 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27911 __ELF_NATIVE_CLASS.
27912 (La_x32_regs): New macro.
27913 (La_x32_retval): Likewise.
27914 (la_x32_gnu_pltenter): New function prototype.
27915 (la_x32_gnu_pltexit): Likewise.
27917 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27924 * configure.in (libc_cv_cc_nofma): Check for option to disable
27925 generation of FMA instructions.
27926 * configure: Regenerate.
27927 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27928 * sysdeps/ieee754/dbl-64/Makefile: New file.
27929 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27930 Remove brandred-fma4.
27931 (CFLAGS-brandred-fma4.c): Remove.
27932 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27933 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27935 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27938 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27940 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27941 LLONG_MAX != LONG_MAX.
27942 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27943 (_fitoa_word): Likewise.
27944 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27945 LLONG_MAX != LONG_MAX.
27946 * stdio-common/_itowa.h: Include <_itoa.h>.
27947 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27948 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27949 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27950 only if not defined.
27951 (_ITOA_WORD_TYPE): Likewise.
27952 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27953 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27955 2012-03-21 David S. Miller <davem@davemloft.net>
27957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27959 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27961 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27962 of x86_64 when setting libc_cv_slibdir, libdir and
27964 * sysdeps/unix/sysv/linux/configure: Regenerated.
27966 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27968 * manual/lang.texi (Old Varargs): Remove section.
27969 (How Variadic): Update menu.
27970 (va_start): Do not mention varargs.h.
27972 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27973 Joseph Myers <joseph@codesourcery.com>
27975 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27977 * configure: Regenerated.
27979 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27981 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27982 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27985 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27988 * Makefile (files-for-dist): Remove NOTES.
27989 (NOTES): Remove rule.
27990 * README: Don't refer to NOTES.
27991 * manual/creature.texi: Don't include macros.texi.
27992 * manual/intro.texi (creature.texi): Remove comment referring to
27995 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27996 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27997 * configure: Regenerated.
27998 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27999 LIBC_TRY_CC_OPTION.
28000 (libc_cv_as_i686): Likewise.
28001 (libc_cv_cc_avx): Likewise.
28002 (libc_cv_cc_sse2avx): Likewise.
28003 (libc_cv_cc_fma4): Likewise.
28004 (libc_cv_cc_novzeroupper): Likewise.
28005 * sysdeps/i386/configure: Regenerated.
28008 * sysdeps/i386/fpu/s_cexp.S: Remove.
28009 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28010 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28011 * math/libm-test.inc (cexp_test): Add more tests.
28012 * sysdeps/i386/fpu/libm-test-ulps: Update.
28013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28015 2012-03-21 Allan McRae <allan@archlinux.org>
28017 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28019 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28022 * math/w_exp2.c: Do not include <float.h>.
28023 (o_threshold, u_threshold): Remove.
28024 (__exp2): Calculate result before checking finiteness and calling
28026 * math/w_exp2f.c: Likewise.
28027 * math/w_exp2l.c: Likewise.
28028 * math/libm-test.inc (exp2_test): Require overflow exception for
28032 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28033 range of signed 64-bit integers before using fistpll. Remove
28034 checks for whether integers fit in mantissa bits.
28035 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28036 the range of signed 32-bit integers before using fistpl. Remove
28037 checks for whether integers fit in mantissa bits.
28038 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28039 (__ieee754_powl): Test for y outside the range of signed 64-bit
28040 integers before using fistpll. Reduce 64-bit values to 63-bit
28042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28043 divide-by-zero is raised for zero to large negative powers.
28044 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28045 (__ieee754_powl): Test for y outside the range of signed 64-bit
28046 integers before using fistpll. Reduce 64-bit values to 63-bit
28048 * math/libm-test.inc (pow_test): Add more tests.
28050 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28052 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28053 <stdio-common/_itoa.h>.
28054 * debug/segfault.c: Likewise.
28055 * elf/dl-cache.c: Likewise.
28056 * elf/dl-minimal.c: Likewise.
28057 * elf/dl-misc.c: Likewise.
28058 * elf/dl-sysdep.c: Likewise.
28059 * elf/dl-version.c: Likewise.
28060 * elf/rtld.c: Likewise.
28061 * hurd/hurdsock.c: Likewise.
28062 * hurd/lookup-retry.c: Likewise.
28063 * malloc/malloc.c: Likewise.
28064 * malloc/mtrace.c: Likewise.
28065 * nscd/nscd_getgr_r.c: Likewise.
28066 * nscd/nscd_getpw_r.c: Likewise.
28067 * nscd/nscd_getserv_r.c: Likewise.
28068 * posix/getopt_init.c: Likewise.
28069 * posix/wordexp.c: Likewise.
28070 * stdio-common/_itoa.c: Likewise.
28071 * stdio-common/printf_fphex.c: Likewise.
28072 * stdio-common/vfprintf.c: Likewise.
28073 * string/_strerror.c: Likewise.
28074 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28075 * sysdeps/i386/i686/hp-timing.h: Likewise.
28076 * sysdeps/mach/_strerror.c: Likewise.
28077 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28078 * sysdeps/mach/hurd/sethostid.c: Likewise.
28079 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28080 * sysdeps/mach/xpg-strerror.c: Likewise.
28081 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28083 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28084 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28085 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28086 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28087 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28088 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28089 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28090 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28091 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28092 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28093 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28094 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28095 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28096 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28097 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28098 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28099 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28100 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28101 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28103 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28105 * stdio-common/_itoa.h: Moved to ...
28106 * sysdeps/generic/_itoa.h: Here.
28108 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28110 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28111 instead of "_itoa.h" and "_itowa.h".
28112 * stdio-common/vfprintf.: Likewise.
28114 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28116 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28118 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28119 (__signbit): Likwise.
28120 (llrintf): Likwise.
28123 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28125 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28128 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28130 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28131 OVERFLOW_EXCEPTION_OK.
28132 * math/libm-test.inc ("Philosophy"): Update comment about
28134 (OVERFLOW_EXCEPTION): Define.
28135 (OVERFLOW_EXCEPTION_OK): Likewise.
28136 (INVALID_EXCEPTION_OK): Renumber.
28137 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28138 (IGNORE_ZERO_INF_SIGN): Likewise.
28139 (test_exceptions): Handle FE_OVERFLOW.
28140 (exp10_test): Expect overflow exceptions.
28141 (exp2_test): Likewise.
28142 (expm1_test): Likewise.
28143 (nextafter_test): Likewise.
28144 (pow_test): Likewise.
28145 (scalbn_test): Likewise.
28146 (scalbln_test): Likewise.
28148 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28150 * sysdeps/x86_64/bits/atomic.h
28151 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28153 (atomic_exchange_acq): Likewise.
28154 (__arch_exchange_and_add_body): Likewise.
28155 (__arch_add_body): Likewise.
28156 (atomic_add_negative): Likewise.
28157 (atomic_add_zero): Likewise.
28159 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28161 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28162 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28164 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28166 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28167 Check __x86_64__ instead of __WORDSIZE.
28169 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28171 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28173 2012-03-19 David S. Miller <davem@davemloft.net>
28175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28177 * sysdeps/sparc/fpu/fenv_private.h: New file.
28178 * sysdeps/sparc/fpu/math_private.h: Use it.
28179 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28181 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28182 (libc_feholdexcept_setroundl): Remove.
28183 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28185 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28186 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28188 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28190 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28191 int64_t instead of long int.
28192 (INSERT_WORDS64): Likwise.
28194 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28196 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28197 _Unwind_GetCFA return to _Unwind_Ptr first.
28199 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28202 * math/s_clog.c: Include <float.h>.
28203 (__clog): Scale large or subnormal inputs.
28204 * math/s_clogf.c: Likewise.
28205 * math/s_clogl.c: Likewise.
28206 * math/s_clog10.c: Include <float.h>.
28207 (M_LOG10_2): Define.
28208 (__clog10): Scale large or subnormal inputs.
28209 * math/s_clog10f.c: Likewise.
28210 * math/s_clog10l.c: Likewise.
28211 * math/libm-test.inc (clog_test): Add more tests.
28212 (clog10_test): Likewise.
28213 * sysdeps/i386/fpu/libm-test-ulps: Update.
28214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28217 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28219 * math/libm-test.inc (atan2_test): Add another test.
28221 * Makerules (common-objdir-compile): Remove.
28222 * sysdeps/unix/Makefile (config-generated): Do not add
28223 $(unix-generated) to variable.
28224 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28225 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28227 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28229 [generic bits/local_lim.h] (before-compile): Do not append to
28231 [generic bits/local_lim.h] (common-generated): Likewise.
28232 [generic sys/param.h] (before-compile): Do not append to variable.
28233 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28234 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28235 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28238 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28239 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28240 [generic sys/param.h] ($(addprefix
28241 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28242 [generic sys/param.h] (common-generated): Do not append to
28244 [generic sys/param.h] (sysdep_headers): Likewise.
28245 [generic bits/errno.h] (before-compile): Do not append to
28247 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28249 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28250 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28251 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28252 [generic bits/errno.h] (common-generated): Do not append to
28254 [generic bits/ioctls.h] (before-compile): Do not append to
28256 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28258 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28259 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28260 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28262 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28263 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28264 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28265 [generic bits/ioctls.h] (common-generated): Do not append to
28267 [generic sys/syscall.h] (syscall.h): Remove variable.
28268 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28270 [generic sys/syscall.h] (before-compile): Do not append to
28272 [generic sys/syscall.h] (common-generated): Likewise.
28273 * sysdeps/unix/errnos-tmpl.c: Remove file.
28274 * sysdeps/unix/errnos.awk: Likewise.
28275 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28276 * sysdeps/unix/ioctls.awk: Likewise.
28277 * sysdeps/unix/mk-local_lim.c: Likewise.
28278 * sysdeps/unix/snarf-ioctls: Likewise.
28280 2012-03-19 Richard Henderson <rth@twiddle.net>
28282 * sysdeps/i386/fpu/fenv_private.h: New file.
28283 * sysdeps/i386/fpu/math_private.h: Use it.
28284 (math_opt_barrier, math_force_eval): Remove.
28285 (libc_feholdexcept_setround_53bit): Remove.
28286 (libc_feupdateenv_53bit): Remove.
28287 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28288 (math_opt_barrier, math_force_eval): Remove.
28289 (libc_feholdexcept): Remove.
28290 (libc_feholdexcept_setround): Remove.
28291 (libc_fetestexcept, libc_fesetenv): Remove.
28292 (libc_feupdateenv_test): Remove.
28293 (libc_feupdateenv, libc_feholdsetround): Remove.
28294 (libc_feresetround): Remove.
28296 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28297 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28299 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28300 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28301 (libc_feupdateenv_testl): New.
28302 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28303 (libc_feupdateenv_testf): New.
28304 (libc_feupdateenv): Use libc_feupdateenv_test.
28305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28308 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28309 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28310 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28311 (libc_feresetround_noex): New.
28312 (libc_feresetround_noexf): New.
28313 (libc_feresetround_noexl): New.
28314 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28315 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28316 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28317 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28322 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28324 SET_RESTORE_ROUND_NOEX.
28325 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28326 SET_RESTORE_ROUND_NOEXF.
28327 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28328 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28329 (libc_feholdsetroundf): New.
28330 (libc_feresetround, libc_feresetroundf): New.
28332 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28333 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28334 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28336 * sysdeps/generic/math_private.h: Include <fenv.h>.
28337 (default_libc_feholdexcept): New.
28338 (default_libc_feholdexcept_setround): New.
28339 (default_libc_fesetenv, default_libc_feupdateenv): New.
28340 (libc_feholdexcept): Only define if undefined.
28341 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28342 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28343 (libc_feholdexcept_setroundl): Likewise.
28344 (libc_feholdexcept_setround_53bit): Likewise.
28345 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28346 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28347 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28348 (libc_feupdateenv_53bit): Likewise.
28349 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28350 (libc_feholdexcept): Convert from macro to inline function.
28351 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28352 (libc_fesetenv, libc_feupdateenv): Likewise.
28354 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28355 not previously defined.
28356 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28357 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28358 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28359 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28360 * sysdeps/ieee754/flt-32/math_private.h: New file.
28361 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28362 math_private.h below SET_FLOAT_WORD.
28363 (__isnan, __isinf_ns, __finite): Remove.
28364 (__isnanf, __isinf_nsf, __finitef): Remove.
28366 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28370 2012-03-17 David S. Miller <davem@davemloft.net>
28373 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28376 2012-03-16 David S. Miller <davem@davemloft.net>
28378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28382 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28384 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28385 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28386 sysdep_routines when subdir is sysvipc.
28387 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28388 __getshmlba helper.
28390 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28392 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28394 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28397 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28399 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28400 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28401 (__lround): Renamed to ...
28402 (__llround): This. Replace long int with long long int.
28403 Define lround functions as aliases of llround functions.
28404 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28406 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28408 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28409 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28410 adresses to uintptr_t. Replace "long int" and "unsigned long
28411 int" with "greg_t" on va_arg.
28413 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28415 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28416 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28418 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28419 Move e_machine check before EI_CLASS check. Handle x32
28420 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28421 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28422 SKIP_EM_IA_64 and include
28423 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28425 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28426 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28427 (add_system_dir): New macro.
28429 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28430 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28432 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28443 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28445 * math/w_j0f.c (j0f): Likewise.
28447 * math/w_j0l.c (__j0l): Likewise.
28449 * math/w_j1.c (j1): Likewise.
28451 * math/w_j1f.c (j1f): Likewise.
28453 * math/w_j1l.c (__j1l): Likewise.
28455 * math/w_jn.c (jn): Likewise.
28457 * math/w_jnf.c (jnf): Likewise.
28459 * math/w_jnl.c (__jnl): Likewise.
28461 * math/libm-test.inc (j0_test): Add more tests.
28462 (j1_test): Likewise.
28463 (jn_test): Likewise. Add trailing semicolon to existing test.
28464 (y0_test): Likewise.
28465 (y1_test): Likewise.
28466 * sysdeps/i386/fpu/libm-test-ulps: Update.
28467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28471 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28472 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28473 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28474 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28475 (__tanl): Set errno for infinite argument.
28476 * sysdeps/i386/fpu/mptan.c: Remove.
28477 * sysdeps/i386/fpu/s_tan.S: Likewise.
28478 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28479 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28480 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28481 * math/libm-test.inc (tan_test): Add more tests and enable more
28482 tests for double and long double.
28483 * sysdeps/i386/fpu/libm-test-ulps: Update.
28484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28486 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28488 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28489 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28491 2012-03-16 Roland McGrath <roland@hack.frob.com>
28493 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28494 * configure.in: Use it for both main tree and add-ons.
28495 * configure: Regenerated.
28497 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28499 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28501 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28503 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28507 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28508 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28509 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28510 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28511 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28513 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28515 != 0 for prec == 2.
28516 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28517 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28518 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28519 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28520 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28521 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28522 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28523 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28524 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28525 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28526 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28527 * math/libm-test.inc (cos_test): Add more tests and enable more
28528 tests for long double.
28529 (sin_test): Likewise.
28530 (sincos_test): Likewise.
28531 * sysdeps/i386/fpu/libm-test-ulps: Update.
28532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28534 2012-03-16 David S. Miller <davem@davemloft.net>
28536 * sysdeps/sparc/fpu/math_private.h: New file.
28538 2012-03-15 David S. Miller <davem@davemloft.net>
28540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28554 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28555 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28557 * sysdeps/sparc/sparc-ifunc.h: New file.
28558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28603 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28605 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28609 2012-03-15 Andreas Jaeger <aj@suse.de>
28612 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28613 ieee754/flt-32 implementation for sin, cos and sincos.
28614 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28615 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28616 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28617 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28618 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28619 ieee754/flt-32 implementation for tan.
28621 * math/libm-test.inc (cos_test): Enable some large input tests for
28623 (sin_test): Likewise.
28624 (sincos_test): Likewise.
28625 (tan_test): Add tests for large input.
28627 * sysdeps/i386/fpu/libm-test-ulps: Update.
28629 2012-03-15 Andreas Jaeger <aj@suse.de>
28632 * math/libm-test.inc (cos_test): Add more test cases.
28633 (sin_test): Likewise.
28634 (sincos_test): Likewise.
28636 2012-03-15 Andreas Jaeger <aj@suse.de>
28639 * math/libm-test.inc (cos_test): Add a test case for large input
28641 (sin_test): Likewise.
28642 (sincos_test): Likewise.
28644 2012-03-15 Andreas Jaeger <aj@suse.de>,
28645 Joseph Myers <joseph@codesourcery.com>
28648 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28649 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28650 * sysdeps/i386/fpu/branred.c: Likewise.
28651 * sysdeps/i386/fpu/dosincos.c: Likewise.
28652 * sysdeps/i386/fpu/mpa.c: Likewise.
28653 * sysdeps/i386/fpu/s_cos.S: Likewise.
28654 * sysdeps/i386/fpu/s_sin.S: Likewise.
28655 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28656 * sysdeps/i386/fpu/sincos32.c: Likewise.
28658 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28660 (libc_feupdateenv_53bit): Define.
28661 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28663 (libc_feupdateenv_53bit): Define.
28665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28666 53 bit (without extend i386 double precision).
28668 * math/libm-test.inc (sincos_test): Add tests for large input.
28672 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28674 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28678 2012-03-15 David S. Miller <davem@davemloft.net>
28680 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28681 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28682 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28683 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28708 fmin/fmax sysdep routines.
28709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28711 2012-03-14 David S. Miller <davem@davemloft.net>
28713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28785 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28790 * sysdeps/sparc/configure.in: New file.
28791 * sysdeps/sparc/configure: Generate.
28792 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28793 * configure: Regenerate.
28794 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28795 * config.make.in (have-as-vis3): New.
28796 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28797 available use -Av9d instead of -Av9a.
28798 * sysdeps/sparc/sparc64/Makefile: Likewise.
28799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28814 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28815 fzeros/fnegs to load 0x80000000 into a float register instead of
28817 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28819 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28823 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28824 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28825 ($(inst_includedir)/bits/syscall.h): Remove rule.
28826 ($(objpfx)bits/syscall.d): Include instead of
28827 $(objpfx)syscall-list.d.
28828 (generated): Change syscall-list.h and syscall-list.d to
28829 bits/syscall.h and bits/syscall.d.
28831 2012-03-14 Roland McGrath <roland@hack.frob.com>
28834 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28836 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28839 * math/s_csqrt.c: Include <float.h>.
28840 (__csqrt): Scale large or subnormal inputs.
28841 * math/s_csqrtf.c: Likewise.
28842 * math/s_csqrtl.c: Likewise.
28843 * math/libm-test.inc (csqrt_test): Add more tests.
28844 * sysdeps/i386/fpu/libm-test-ulps: Update.
28845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28848 * math/libm-test.inc (hypot_test): Add more tests.
28850 2012-03-13 David S. Miller <davem@davemloft.net>
28853 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28854 double-precision for the calculation instead of scaling.
28856 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28858 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28859 manipulate bits before adding and subtracting TWO52[sx].
28860 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28861 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28863 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28865 2012-03-13 David S. Miller <davem@davemloft.net>
28867 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28868 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28870 rtld-global-offsets.h
28871 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28873 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28876 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28878 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28879 'err' in the ifdef scope in which it is actually used.
28881 * nss/nss_db/db-init.c: Include string.h
28883 2012-03-12 David S. Miller <davem@davemloft.net>
28885 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28886 masking out of the most significant byte of random value used.
28887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28888 Fix coding style in previous change.
28890 * sysdeps/unix/sysv/linux/kernel-features.h
28891 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28892 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28894 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28897 2012-03-11 David S. Miller <davem@davemloft.net>
28899 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28900 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28902 for 'resultvar' otherwise things get truncated on 64-bit.
28904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28905 Fix masking out of the most significant byte of random value used.
28907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28909 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28913 2012-03-09 David S. Miller <davem@davemloft.net>
28915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28916 variables with appropriate CPP guards.
28917 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28918 frame pointer, not the stack pointer. Correct layout comments. Fix test
28919 on resulting framesize and the management of the outregs buffer for pltexit.
28920 Preserve floating point return values across _dl_call_pltexit call.
28921 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28922 framesize and the management of the outregs buffer for pltexit.
28923 Preserve floating point return values across _dl_call_pltexit
28925 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28926 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28927 (print_exit): Fix format string for return register value.
28929 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28931 * sunrpc/Makefile (others): Add rpcgen.
28932 ($(objpfx)rpcgen): Remove special build rule and dependency on
28934 * sunrpc/rpcgen.c: New file.
28936 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28939 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28940 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28941 * sysdeps/i386/crti.S: Likewise.
28942 * sysdeps/i386/crtn.S: Likewise.
28943 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28944 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28945 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28946 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28947 * sysdeps/sh/crti.S: Likewise.
28948 * sysdeps/sh/crtn.S: Likewise.
28949 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28952 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28954 * locale/programs/locfile-kw.gperf: Likewise.
28955 * locale/programs/charmap-kw.h: Regenerated.
28956 * locale/programs/locfile-kw.h: Likewise.
28959 * intl/plural.y: Replace FSF snail mail address with URL.
28960 * intl/plural.c: Regenerated.
28962 2012-03-09 Richard Henderson <rth@twiddle.net>
28964 * include/math_private.h: Remove file.
28965 * math/math_private.h: Move file ...
28966 * sysdeps/generic/math_private.h: ... here.
28968 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28969 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28970 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28972 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28973 and <math_private.h>.
28974 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28975 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28976 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28977 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28978 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28979 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28980 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28981 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28982 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28983 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28985 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28986 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28988 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28989 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28990 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28991 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28992 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28993 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28995 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28996 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28998 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28999 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29000 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29001 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29004 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29006 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29007 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29009 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29025 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29026 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29027 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29028 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29029 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29030 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29031 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29032 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29033 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29034 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29035 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29037 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29038 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29039 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29040 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29041 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29042 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29043 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29044 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29045 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29062 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29063 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29064 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29065 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29067 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29068 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29069 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29070 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29071 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29072 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29073 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29074 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29075 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29076 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29077 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29078 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29079 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29080 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29081 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29082 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29083 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29084 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29085 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29086 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29087 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29088 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29089 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29090 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29091 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29092 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29093 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29094 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29095 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29097 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29098 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29099 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29100 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29101 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29102 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29103 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29104 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29105 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29106 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29107 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29108 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29109 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29110 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29111 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29112 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29113 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29114 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29115 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29116 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29117 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29118 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29119 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29120 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29121 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29122 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29123 * sysdeps/ieee754/k_standard.c: Likewise.
29124 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29125 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29126 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29128 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29129 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29130 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29131 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29132 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29134 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29136 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29137 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29138 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29139 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29140 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29141 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29142 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29143 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29144 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29145 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29146 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29147 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29148 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29149 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29150 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29151 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29152 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29154 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29155 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29156 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29157 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29158 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29159 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29160 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29161 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29165 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29176 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29183 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29184 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29239 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29243 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29244 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29246 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29247 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29248 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29251 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29252 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29256 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29272 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29273 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29274 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29280 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29284 * sysdeps/ieee754/s_lib_version.c: Likewise.
29285 * sysdeps/ieee754/s_matherr.c: Likewise.
29286 * sysdeps/ieee754/s_signgam.c: Likewise.
29287 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29288 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29289 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29290 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29291 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29292 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29293 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29294 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29295 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29296 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29297 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29298 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29299 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29300 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29301 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29302 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29303 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29304 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29305 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29306 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29309 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29311 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29312 * sunrpc/rpc_main.c: Likewise.
29313 * sunrpc/rpc_svcout.c: Likewise.
29315 2012-03-09 David S. Miller <davem@davemloft.net>
29317 * include/math_private.h: New file.
29319 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29321 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29322 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29323 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29324 from <bits/socket_type.h>.
29325 (enum __socket_type): Don't define here.
29326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29328 bits/socket_type.h.
29331 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29332 checking __USE_GNU.
29334 * Makerules ($(inst_includedir)/%.h): New rule.
29335 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29336 (install-others): Remove variable setting.
29337 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29339 2012-03-08 Richard Henderson <rth@twiddle.net>
29341 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29342 from macro to inline function; merge with the
29343 !__LIBC_INTERNAL_MATH_INLINES version.
29344 (__ieee754_sqrtf): Likewise.
29346 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29347 to inline function.
29348 (__rintf, __floor, __floorf): Likewise.
29350 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29351 macro to inline function.
29352 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29354 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29355 not <math/math_private.h>.
29357 2012-03-08 David S. Miller <davem@davemloft.net>
29359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29361 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29363 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29365 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29367 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29368 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29370 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29372 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29373 be defined individually, they must be defined as a block. Define
29374 S for printing a string instead of hidint the different by using a
29375 macro for adding the 'l'.
29376 * stdio-common/tst-fphex-wide.c: Adjust.
29378 2012-03-07 Marek Polacek <polacek@redhat.com>
29380 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29382 2012-03-08 Marek Polacek <polacek@redhat.com>
29385 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29386 * stdio-common/tst-fphex.c: Define a few macros to make the
29387 test reusable. Use them.
29388 * stdio-common/tst-fphex-wide.c: New file.
29390 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29393 * manual/macros.texi (gnusystems): New macro.
29394 (nongnusystems): Likewise.
29395 (gnulinuxhurdsystems): Likewise.
29396 (gnuhurdsystems): Likewise..
29397 (gnulinuxsystems): Likewise.
29398 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29399 variants of the GNU system, not "GNU system".
29400 * manual/conf.texi: Likewise.
29401 * manual/errno.texi: Likewise. Update example of errno macro
29403 * manual/filesys.texi: Likewise.
29404 (getumask): Document as specific to GNU/Hurd.
29405 * manual/install.texi: Likewise. Reword some references to
29407 * manual/intro.texi: Likewise.
29408 * manual/io.texi: Likewise.
29409 (File Name Portability): Detail which constraints are inapplicable
29410 to all GNU systems and which are only inapplicable to GNU/Hurd.
29411 * manual/job.texi: Likewise.
29412 * manual/llio.texi: Likewise.
29413 (O_NOCTTY): Document as present on GNU/Linux.
29414 * manual/maint.texi: Likewise.
29415 * manual/memory.texi: Likewise.
29416 * manual/pattern.texi: Likewise.
29417 * manual/pipe.texi: Likewise.
29418 * manual/process.texi: Likewise.
29419 * manual/resource.texi: Likewise.
29420 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29422 * manual/setjmp.texi: Likewise.
29423 * manual/signal.texi: Likewise.
29424 * manual/startup.texi: Likewise.
29425 * manual/stdio.texi: Likewise.
29426 * manual/terminal.texi: Likewise.
29427 (ONLCR): Document as POSIX.
29428 (OXTABS): Document availability on GNU/Linux as XTABS.
29429 (ONOEOT): Document availability separately from other bits.
29430 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29431 * manual/time.texi: Likewise.
29432 * manual/users.texi: Likewise.
29433 * INSTALL: Regenerated.
29434 * sysdeps/gnu/errlist.c: Regenerated.
29436 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29437 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29438 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29440 * configure: Regenerated.
29442 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29444 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29445 default includes instead of AC_HEADER_CHECK.
29446 * sysdeps/i386/configure: Regenerated.
29449 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29450 * math/s_cacoshf.c (__cacoshf): Likewise.
29451 * math/s_cacoshl.c (__cacoshl): Likewise.
29452 * math/s_casinh.c (__casinh): Set signs of result from argument.
29453 * math/s_casinhf.c (__casinhf): Likewise.
29454 * math/s_casinhl.c (__casinhl): Likewise.
29455 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29456 (casinh_test): Add more tests.
29457 * sysdeps/i386/fpu/libm-test-ulps: Update.
29458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29460 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29462 * po/zh_TW.po: Update from translation team.
29464 * login/Makefile (distribute): Remove variable.
29465 * catgets/Makefile: Likewise.
29466 * mach/Makefile: Likewise.
29467 * malloc/Makefile: Likewise.
29468 * misc/Makefile: Likewise.
29469 * iconv/Makefile: Likewise.
29470 * nscd/Makefile: Likewise.
29471 * hurd/Makefile: Likewise.
29472 * manual/Makefile: Likewise.
29473 * locale/Makefile: Likewise.
29474 * intl/Makefile: Likewise.
29475 * conform/Makefile: Likewise.
29476 * nss/Makefile: Likewise.
29477 * time/Makefile: Likewise.
29478 * soft-fp/Makefile: Likewise.
29479 * dirent/Makefile: Likewise.
29480 * gmon/Makefile: Likewise.
29481 * po/Makefile: Likewise.
29482 * rt/Makefile: Likewise.
29483 * socket/Makefile: Likewise.
29484 * math/Makefile: Likewise.
29485 * signal/Makefile: Likewise.
29486 * debug/Makefile: Likewise.
29487 * elf/Makefile: Likewise.
29488 * timezone/Makefile: Likewise.
29489 * stdlib/Makefile: Likewise.
29490 * iconvdata/Makefile: Likewise.
29491 * sunrpc/Makefile: Likewise.
29492 * io/Makefile: Likewise.
29493 * argp/Makefile: Likewise.
29494 * inet/Makefile: Likewise.
29495 * hesiod/Makefile: Likewise.
29496 * grp/Makefile: Likewise.
29497 * csu/Makefile: Likewise.
29498 * wctype/Makefile: Likewise.
29499 * crypt/Makefile: Likewise.
29500 * libio/Makefile: Likewise.
29501 * string/Makefile: Likewise.
29502 * nis/Makefile: Likewise.
29503 * resolv/Makefile: Likewise.
29504 * stdio-common/Makefile: Likewise.
29505 * wcsmbs/Makefile: Likewise.
29506 * dlfcn/Makefile: Likewise.
29507 * posix/Makefile: Likewise.
29510 * timezone/Makefile: Don't install timezone files, just the programs
29513 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29515 * nss/databases.def: Add missing gshadow entry.
29517 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29519 2012-03-06 Marek Polacek <polacek@redhat.com>
29522 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29523 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29524 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29525 * stdio-common/tst-long-dbl-fphex.c: New file.
29527 2012-03-06 David S. Miller <davem@davemloft.net>
29529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29530 (set_obp_int): New function.
29531 (get_obp_int): New function.
29532 (__get_clockfreq_via_dev_openprom): Likewise.
29533 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29534 Avoid unused variable warnings on 'val' and use builtin_expect.
29535 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29537 (INLINE_CLONE_SYSCALL): Likewise.
29539 2012-03-05 David S. Miller <davem@davemloft.net>
29541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29543 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29547 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29548 only for |x| >= 40.
29549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29551 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29554 Replace gettimeofday with __vdso_gettimeofday.
29556 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29557 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29558 __vdso_clock_gettime and __vdso_getcpu.
29560 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29561 time with __vdso_time.
29563 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29565 * manual/lang.texi (size_t): Note types to which size_t may be
29566 equivalent with the GNU C Library, but do not describe when
29567 differences between them are significant.
29569 2012-03-05 Andreas Jaeger <aj@suse.de>
29571 * sysdeps/i386/fpu/libm-test-ulps: Update.
29573 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29576 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29577 (__ieee754_pow): Save and restore rounding mode and use
29578 round-to-nearest for main computations.
29579 * math/libm-test.inc (pow_test_tonearest): New function.
29580 (pow_test_towardzero): Likewise.
29581 (pow_test_downward): Likewise.
29582 (pow_test_upward): Likewise.
29583 (main): Call the new functions.
29584 * sysdeps/i386/fpu/libm-test-ulps: Update.
29585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29588 * math/libm-test.inc (cosh_test_tonearest): New function.
29589 (cosh_test_towardzero): Likewise.
29590 (cosh_test_downward): Likewise.
29591 (cosh_test_upward): Likewise.
29592 (sinh_test_tonearest): Likewise.
29593 (sinh_test_towardzero): Likewise.
29594 (sinh_test_downward): Likewise.
29595 (sinh_test_upward): Likewise.
29596 (main): Call the new functions.
29597 * sysdeps/i386/fpu/libm-test-ulps: Update.
29598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29600 2012-03-05 Tom de Vries <tom@codesourcery.com>
29602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29603 default stack guard is set in last bytes.
29604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29606 2012-03-05 Kees Cook <keescook@chromium.org>
29608 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29611 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29612 possibly allocate from heap instead of stack.
29613 * stdio-common/bug-vfprintf-nargs.c: New file.
29614 * stdio-common/Makefile (tests): Add nargs overflow test.
29616 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29620 2012-03-03 Marek Polacek <polacek@redhat.com>
29622 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29623 * math/math_private.h: Likewise.
29624 * stdlib/tst-strtod.c: Likewise.
29625 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29626 * sysdeps/x86_64/bits/atomic.h: Likewise.
29628 2012-03-02 David S. Miller <davem@davemloft.net>
29630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29634 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29635 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29636 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29637 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29639 2012-03-02 Roland McGrath <roland@hack.frob.com>
29642 * manual/examples/README: New file, says the example source files
29643 can be used under GPL>=2.
29644 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29645 line containing just "*/".
29646 * manual/examples/add.c: Add copyright header (GPL>=2).
29647 * manual/examples/argp-ex1.c: Likewise.
29648 * manual/examples/argp-ex2.c: Likewise.
29649 * manual/examples/argp-ex3.c: Likewise.
29650 * manual/examples/argp-ex4.c: Likewise.
29651 * manual/examples/atexit.c: Likewise.
29652 * manual/examples/db.c: Likewise.
29653 * manual/examples/dir.c: Likewise.
29654 * manual/examples/dir2.c: Likewise.
29655 * manual/examples/execinfo.c: Likewise.
29656 * manual/examples/filecli.c: Likewise.
29657 * manual/examples/filesrv.c: Likewise.
29658 * manual/examples/fmtmsgexpl.c: Likewise.
29659 * manual/examples/genpass.c: Likewise.
29660 * manual/examples/inetcli.c: Likewise.
29661 * manual/examples/inetsrv.c: Likewise.
29662 * manual/examples/isockad.c: Likewise.
29663 * manual/examples/longopt.c: Likewise.
29664 * manual/examples/memopen.c: Likewise.
29665 * manual/examples/memstrm.c: Likewise.
29666 * manual/examples/mkfsock.c: Likewise.
29667 * manual/examples/mkisock.c: Likewise.
29668 * manual/examples/mygetpass.c: Likewise.
29669 * manual/examples/pipe.c: Likewise.
29670 * manual/examples/popen.c: Likewise.
29671 * manual/examples/rprintf.c: Likewise.
29672 * manual/examples/search.c: Likewise.
29673 * manual/examples/select.c: Likewise.
29674 * manual/examples/setjmp.c: Likewise.
29675 * manual/examples/sigh1.c: Likewise.
29676 * manual/examples/sigusr.c: Likewise.
29677 * manual/examples/stpcpy.c: Likewise.
29678 * manual/examples/strdupa.c: Likewise.
29679 * manual/examples/strftim.c: Likewise.
29680 * manual/examples/strncat.c: Likewise.
29681 * manual/examples/subopt.c: Likewise.
29682 * manual/examples/swapcontext.c: Likewise.
29683 * manual/examples/termios.c: Likewise.
29684 * manual/examples/testopt.c: Likewise.
29685 * manual/examples/testpass.c: Likewise.
29686 * manual/examples/timeval_subtract.c: Likewise.
29689 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29691 * manual/timeval_subtract.c.texi: ... here, new file.
29693 2012-03-02 David S. Miller <davem@davemloft.net>
29695 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29697 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29700 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29701 (__sin): Save and restore rounding mode and use round-to-nearest
29702 for all computations.
29703 (__cos): Save and restore rounding mode and use round-to-nearest
29704 for all computations.
29705 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29707 (tan): Save and restore rounding mode and use round-to-nearest for
29709 * math/libm-test.inc (cos_test_tonearest): New function.
29710 (cos_test_towardzero): Likewise.
29711 (cos_test_downward): Likewise.
29712 (cos_test_upward): Likewise.
29713 (sin_test_tonearest): Likewise.
29714 (sin_test_towardzero): Likewise.
29715 (sin_test_downward): Likewise.
29716 (sin_test_upward): Likewise.
29717 (tan_test_tonearest): Likewise.
29718 (tan_test_towardzero): Likewise.
29719 (tan_test_downward): Likewise.
29720 (tan_test_upward): Likewise.
29721 (main): Call the new functions.
29722 * sysdeps/i386/fpu/libm-test-ulps: Update.
29723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29726 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29727 small n, then large n, before computing and testing k+n.
29728 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29733 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29734 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29735 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29736 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29737 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29738 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29739 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29741 * math/libm-test.inc (scalbn_test): Add more tests.
29742 (scalbln_test): Likewise.
29744 * manual/filesys.texi (mode_t): Describe constraints on size and
29745 signedness, not exact equivalence to a particular type.
29747 (ino64_t): Likewise.
29749 (nlink_t): Likewise.
29750 (blkcnt_t): Likewise.
29751 (blkcnt64_t): Likewise.
29752 * manual/llio.texi (off_t): Likewise.
29755 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29756 (__ieee754_exp): Save and restore rounding mode and use
29757 round-to-nearest for all computations.
29758 * math/libm-test.inc (exp_test_tonearest): New function.
29759 (exp_test_towardzero): Likewise.
29760 (exp_test_downward): Likewise.
29761 (exp_test_upward): Likewise.
29762 (main): Call the new functions.
29763 * sysdeps/i386/fpu/libm-test-ulps: Update.
29764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29766 2012-03-01 Chris Demetriou <cgd@google.com>
29768 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29769 have predictable order.
29771 2012-03-01 David S. Miller <davem@davemloft.net>
29773 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29775 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29776 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29777 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29778 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29780 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29781 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29782 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29784 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29785 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29786 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29787 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29788 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29792 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29793 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29794 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29796 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29797 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29798 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29799 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29800 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29801 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29803 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29804 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29805 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29806 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29807 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29809 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29810 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29812 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29813 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29814 * sysdeps/sparc/elf/configure: Regenerated.
29816 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29818 * configure.in (AS, LD): Require binutils 2.20 or later.
29819 * configure: Regenerated.
29820 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29821 as required minimum version.
29822 * INSTALL: Regenerated.
29826 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29827 before squaring exponent.
29828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29829 bottom long double and 27 bits of top long double before squaring
29831 * math/libm-test.inc (erfc_test): Add more tests.
29832 * sysdeps/i386/fpu/libm-test-ulps: Update.
29833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29836 2012-03-01 Kai Tietz <ktietz@redhat.com>
29838 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29839 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29840 containing bit-fields.
29841 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29842 * soft-fp/single.h (_FP_UNION_S): Likewise.
29843 * soft-fp/double.h (_FP_UNION_D): Likewise.
29845 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29848 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29849 not include ../strcmp.S.
29850 [USE_AS_STRNCASECMP_L]: Likewise.
29851 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29852 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29853 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29854 (__strncasecmp_l_ia32): Define as alias to
29855 __strncasecmp_l_nonascii.
29858 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29859 * sysdeps/i386/fpu/libm-test-ulps: Update.
29860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29862 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29865 2012-02-29 Jeff Law <law@redhat.com>
29867 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29868 out of bounds read.
29870 2012-02-29 Marek Polacek <polacek@redhat.com>
29873 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29874 * elf/Makefile: Add rules to run tst-unused-dep.out.
29876 2012-02-28 David S. Miller <davem@davemloft.net>
29878 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29879 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29880 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29882 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29883 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29885 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29887 * math/libm-test.inc (llround_test): Move one test from
29888 lround_test. Use TEST_f_L in moved test.
29889 (lround_test): Move misplaced test to llround_test. Add testcase
29892 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29894 * sysdeps/x86_64/fpu/e_expf.S: New file.
29895 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29897 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29900 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29901 of remain_len that may cause incomplete multi-byte character and
29903 * posix/bug-regex33.c: New file.
29904 * posix/Makefile (tests): Add bug-regex33.
29906 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29908 * manual/macros.texi: New file.
29909 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29910 * manual/libc.texinfo: Include macros.texi.
29911 * manual/creatute.texi: Likewise.
29912 * manual/install.texi: Likewise.
29913 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29914 @glibcadj{} in references to the GNU C Library.
29915 * manual/charset.texi: Likewise.
29916 * manual/conf.texi: Likewise.
29917 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29918 when not using those macros.
29919 * manual/creature.texi: Likewise.
29920 * manual/crypt.texi: Likewise.
29921 * manual/errno.texi: Likewise.
29922 * manual/filesys.texi: Likewise.
29923 * manual/header.texi: Likewise.
29924 * manual/install.texi: Likewise.
29925 * manual/intro.texi: Likewise.
29926 * manual/io.texi: Likewise.
29927 * manual/job.texi: Likewise.
29928 * manual/lang.texi: Likewise.
29929 * manual/libc.texiinfo: Likewise.
29930 * manual/llio.texi: Likewise.
29931 * manual/locale.texi: Likewise.
29932 * manual/maint.texi: Likewise.
29933 * manual/math.texi: Likewise.
29934 * manual/memory.texi: Likewise.
29935 * manual/message.texi: Likewise.
29936 * manual/nss.texi: Likewise.
29937 * manual/pattern.texi: Likewise.
29938 * manual/process.texi: Likewise.
29939 * manual/resource.texi: Likewise.
29940 * manual/search.texi: Likewise.
29941 * manual/setjmp.texi: Likewise.
29942 * manual/signal.texi: Likewise.
29943 * manual/socket.texi: Likewise.
29944 * manual/startup.texi: Likewise.
29945 * manual/stdio.texi: Likewise.
29946 * manual/string.texi: Likewise.
29947 * manual/sysinfo.texi: Likewise.
29948 * manual/syslog.texi: Likewise.
29949 * manual/terminal.texi: Likewise.
29950 * manual/time.texi: Likewise.
29951 * manual/users.texi: Likewise.
29952 * INSTALL: Regenerated.
29953 * NOTES: Regenerated.
29954 * sysdeps/gnu/errlist.c: Regenerated.
29956 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29958 * include/dirent.h: Include <dirstream.h> before
29961 2012-02-28 David S. Miller <davem@davemloft.net>
29963 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29964 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29965 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29966 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29968 2012-02-27 David S. Miller <davem@davemloft.net>
29970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29972 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29973 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29976 frame pointer instead of stack pointer relative arg slot.
29977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29978 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29979 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29981 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29984 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29986 2012-02-27 David S. Miller <davem@davemloft.net>
29988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29992 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29993 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29994 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29995 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29997 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29999 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30000 later. Allow versions 5-9.
30001 * configure: Regenerated.
30002 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30003 required minimum version and 4.6 as recommended version. Do not
30004 mention bugs in GCC 2.7 and 2.8.
30005 * INSTALL: Regenerated.
30007 2012-02-27 David S. Miller <davem@davemloft.net>
30009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30013 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30014 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30015 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30016 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30018 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30019 manipulate bits before adding and subtracting TWO112[sx].
30020 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30022 2012-02-27 Roland McGrath <roland@hack.frob.com>
30025 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30026 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30027 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30028 being in POSIX, because they are in 1003.1-2008.
30030 * rt/tst-aio.c: Include <fcntl.h>.
30031 * rt/tst-aio7.c: Likewise.
30032 * rt/tst-aio64.c: Likewise.
30034 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30036 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30038 * manual/install.texi (--with-headers): Describe headers as
30039 interface headers, not private headers.
30040 (Specific advice for GNU/Linux systems): Describe use of headers
30041 from "make headers_install", not private headers from older
30043 * INSTALL: Regenerated.
30044 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30046 * sysdeps/unix/sysv/linux/configure: Regenerated.
30048 * manual/llio.texi (fclean): Remove documentation.
30050 * manual/Makefile (libc-texi-generated): New variable. Include
30052 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30053 $(libc-texi-generated), not duplicated list of files.
30054 (version.texi, stamp-version): New rules.
30055 (realclean): Remove $(libc-texi-generated), not individual files
30056 from that list. Do not remove dir-add.texinfo.
30057 * manual/libc.texinfo: Comment out uses of edition numbers and
30058 references to printed manual. Remove last-updated dates.
30059 (EDITION): Comment out.
30061 (VERSION, UPDATED): Remove.
30062 (version.texi): Include.
30064 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30066 * sysdeps/posix/spawni.c: Include <signal.h>.
30067 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30068 * sysdeps/pthread/aio_fsync.c: Likewise.
30070 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30072 * conform/Makefile (tests): Run only when not cross-compiling and
30073 when fast-check is not defined.
30075 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30076 * conform/data/limits.h-data: Fixes for POSIX2008.
30077 * conform/run-conformtest.sh: Run all tests.
30078 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30080 * include/bits/dlfcn.h: Likewise.
30081 * include/langinfo.h: Likewise.
30082 * include/monetary.h: Likewise.
30083 * include/sys/poll.h: Likewise.
30085 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30087 * posix/spawn.h: Define __need_sigset_t.
30088 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30089 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30090 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30091 to get sigevent_t only.
30092 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30093 only for __USE_GNU.
30094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30095 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30096 process_vm_writev only for __USE_GNU.
30097 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30099 * conform/Makefile: For now ignore errors from run-conformtest.
30100 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30101 POSIX to avoid namespace pollution. Don't prepend headers.
30102 * conform/data/aio.h-data: Fixes for POSIX testing.
30103 * conform/data/fcntl.h-data: Likewise.
30104 * conform/data/glob.h-data: Likewise.
30105 * conform/data/grp.h-data: Likewise.
30106 * conform/data/pthread.h-data: Likewise.
30107 * conform/data/pwd.h-data: Likewise.
30108 * conform/data/signal.h-data: Likewise.
30109 * conform/data/spawn.h-data: Likewise.
30110 * conform/data/stdio.h-data: Likewise.
30111 * conform/data/stdlib.h-data: Likewise.
30112 * conform/data/stropts.h-data: Likewise.
30113 * conform/data/sys/mman.h-data: Likewise.
30114 * conform/data/sys/stat.h-data: Likewise.
30115 * conform/data/sys/types.h-data: Likewise.
30116 * conform/data/sys/wait.h-data: Likewise.
30117 * conform/data/time.h-data: Likewise.
30118 * conform/data/unistd.h-data: Likewise.
30119 * conform/data/utime.h-data: Likewise.
30121 * io/sys/stat.h: fchmod was always in POSIX.
30122 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30123 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30124 * rt/aio.h: Define __need_timespec before including <time.h>.
30125 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30126 struct. Add forward declaration of pthread_attr_t and use it in
30128 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30129 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30130 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30131 always remove CLK_TCK definition.
30133 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30135 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30137 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30139 * conform/run-conformtest.sh: New file.
30140 * conform/Makefile: Run run-conformtest for tests.
30141 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30144 * conform/data/uchar.h-data: New file.
30145 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30146 * conform/data/arpa/inet.h-data: Likewise.
30147 * conform/data/assert.h-data: Likewise.
30148 * conform/data/complex.h-data: Likewise.
30149 * conform/data/cpio.h-data: Likewise.
30150 * conform/data/ctype.h-data: Likewise.
30151 * conform/data/dirent.h-data: Likewise.
30152 * conform/data/dlfcn.h-data: Likewise.
30153 * conform/data/errno.h-data: Likewise.
30154 * conform/data/fcntl.h-data: Likewise.
30155 * conform/data/float.h-data: Likewise.
30156 * conform/data/fmtmsg.h-data: Likewise.
30157 * conform/data/fnmatch.h-data: Likewise.
30158 * conform/data/ftw.h-data: Likewise.
30159 * conform/data/glob.h-data: Likewise.
30160 * conform/data/grp.h-data: Likewise.
30161 * conform/data/iconv.h-data: Likewise.
30162 * conform/data/inttypes.h-data: Likewise.
30163 * conform/data/langinfo.h-data: Likewise.
30164 * conform/data/libgen.h-data: Likewise.
30165 * conform/data/limits.h-data: Likewise.
30166 * conform/data/locale.h-data: Likewise.
30167 * conform/data/math.h-data: Likewise.
30168 * conform/data/monetary.h-data: Likewise.
30169 * conform/data/mqueue.h-data: Likewise.
30170 * conform/data/ndbm.h-data: Likewise.
30171 * conform/data/net/if.h-data: Likewise.
30172 * conform/data/netdb.h-data: Likewise.
30173 * conform/data/netinet/in.h-data: Likewise.
30174 * conform/data/nl_types.h-data: Likewise.
30175 * conform/data/poll.h-data: Likewise.
30176 * conform/data/pthread.h-data: Likewise.
30177 * conform/data/pwd.h-data: Likewise.
30178 * conform/data/regex.h-data: Likewise.
30179 * conform/data/sched.h-data: Likewise.
30180 * conform/data/search.h-data: Likewise.
30181 * conform/data/semaphore.h-data: Likewise.
30182 * conform/data/setjmp.h-data: Likewise.
30183 * conform/data/signal.h-data: Likewise.
30184 * conform/data/spawn.h-data: Likewise.
30185 * conform/data/stdarg.h-data: Likewise.
30186 * conform/data/stdio.h-data: Likewise.
30187 * conform/data/stdlib.h-data: Likewise.
30188 * conform/data/string.h-data: Likewise.
30189 * conform/data/strings.h-data: Likewise.
30190 * conform/data/stropts.h-data: Likewise.
30191 * conform/data/sys/ipc.h-data: Likewise.
30192 * conform/data/sys/mman.h-data: Likewise.
30193 * conform/data/sys/msg.h-data: Likewise.
30194 * conform/data/sys/resource.h-data: Likewise.
30195 * conform/data/sys/select.h-data: Likewise.
30196 * conform/data/sys/sem.h-data: Likewise.
30197 * conform/data/sys/shm.h-data: Likewise.
30198 * conform/data/sys/socket.h-data: Likewise.
30199 * conform/data/sys/stat.h-data: Likewise.
30200 * conform/data/sys/statvfs.h-data: Likewise.
30201 * conform/data/sys/time.h-data: Likewise.
30202 * conform/data/sys/timeb.h-data: Likewise.
30203 * conform/data/sys/times.h-data: Likewise.
30204 * conform/data/sys/types.h-data: Likewise.
30205 * conform/data/sys/uio.h-data: Likewise.
30206 * conform/data/sys/un.h-data: Likewise.
30207 * conform/data/sys/utsname.h-data: Likewise.
30208 * conform/data/sys/wait.h-data: Likewise.
30209 * conform/data/syslog.h-data: Likewise.
30210 * conform/data/tar.h-data: Likewise.
30211 * conform/data/termios.h-data: Likewise.
30212 * conform/data/utime.h-data: Likewise.
30213 * conform/data/utmpx.h-data: Likewise.
30214 * conform/data/varargs.h-data: Likewise.
30215 * conform/data/wchar.h-data: Likewise.
30216 * conform/data/wctype.h-data: Likewise.
30217 * conform/data/wordexp.h-data: Likewise.
30219 * include/stropts.h: New file.
30220 * include/uchar.h: New file.
30221 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30222 * include/assert.h: Likewise.
30223 * include/ctype.h: Likewise.
30224 * include/dirent.h: Likewise.
30225 * include/dlfcn.h: Likewise.
30226 * include/fcntl.h: Likewise.
30227 * include/fnmatch.h: Likewise.
30228 * include/glob.h: Likewise.
30229 * include/grp.h: Likewise.
30230 * include/libio.h: Likewise.
30231 * include/locale.h: Likewise.
30232 * include/math.h: Likewise.
30233 * include/net/if.h: Likewise.
30234 * include/netdb.h: Likewise.
30235 * include/netinet/in.h: Likewise.
30236 * include/pthread.h: Likewise.
30237 * include/pwd.h: Likewise.
30238 * include/regex.h: Likewise.
30239 * include/sched.h: Likewise.
30240 * include/search.h: Likewise.
30241 * include/setjmp.h: Likewise.
30242 * include/signal.h: Likewise.
30243 * include/stdio.h: Likewise.
30244 * include/stdlib.h: Likewise.
30245 * include/string.h: Likewise.
30246 * include/sys/cdefs.h: Likewise.
30247 * include/sys/mman.h: Likewise.
30248 * include/sys/msg.h: Likewise.
30249 * include/sys/resource.h: Likewise.
30250 * include/sys/select.h: Likewise.
30251 * include/sys/socket.h: Likewise.
30252 * include/sys/stat.h: Likewise.
30253 * include/sys/statvfs.h: Likewise.
30254 * include/sys/time.h: Likewise.
30255 * include/sys/times.h: Likewise.
30256 * include/sys/uio.h: Likewise.
30257 * include/sys/utsname.h: Likewise.
30258 * include/sys/wait.h: Likewise.
30259 * include/termios.h: Likewise.
30260 * include/time.h: Likewise.
30261 * include/ulimit.h: Likewise.
30262 * include/unistd.h: Likewise.
30263 * include/utime.h: Likewise.
30264 * include/wchar.h: Likewise.
30265 * include/wctype.h: Likewise.
30266 * include/wordexp.h: Likewise.
30268 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30270 * time/time.h: TIME_UTC must be a macro.
30271 Make timespec_get available for ISO C11 only as well.
30273 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30275 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30276 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30278 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30280 * configure.in: Use -o not -a in test for unsupported multi-arch.
30282 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30284 * manual/texinfo.tex: Update to version 2012-01-19.16.
30286 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30288 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30290 2012-02-24 Roland McGrath <roland@hack.frob.com>
30293 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30294 * manual/fdl-1.3.texi: New file.
30295 * manual/fdl-1.1.texi: File removed.
30298 * manual/libc.texinfo (FDL_VERSION): New @set.
30299 Use it for mention of FDL in cover text.
30300 (Documentation License): Use it in @include file name.
30302 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30303 Roland McGrath <roland@hack.frob.com>
30306 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30307 not LONG_LONG_MAX and LONG_LONG_MIN.
30308 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30309 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30311 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30313 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30317 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30318 manipulate bits before adding and subtracting TWO23[sx].
30319 * math/libm-test.inc (nearbyint_test): Add more tests.
30321 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30324 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30325 bits before adding and subtracting TWO23[sx].
30326 * math/libm-test.inc (rint_test): Add more tests.
30327 (rint_test_tonearest): Likewise.
30328 (rint_test_towardzero): Likewise.
30329 (rint_test_downward): Likewise.
30330 (rint_test_upward: Likewise.
30332 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30335 * include/stdc-predef.h: New file. Extracted from features.h.
30336 * include/features.h: Include stdc-predef.h.
30337 * Makefile (headers): Add stdc-predef.h.
30338 * CONFORMANCE (Compiler limitations): Update.
30340 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30342 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30344 2012-02-21 David S. Miller <davem@davemloft.net>
30346 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30347 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30349 2012-02-20 David S. Miller <davem@davemloft.net>
30351 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30352 using a normal save/restore sequence, rather than allocating a
30353 dummy stack frame just to store a frame pointer and restore.
30354 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30356 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30358 * manual/install.texi: Fix stray word in line-wrapped comment.
30360 2012-02-20 David S. Miller <davem@davemloft.net>
30362 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30363 both binutils and gcc support GOTDATA.
30365 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30366 "rd %pc" in the PIC register setup sequences.
30368 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30369 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30370 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30371 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30372 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30374 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30375 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30377 (SYSCALL_ERROR_HANDLER): Likewise.
30378 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30379 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30381 (SYSCALL_ERROR_HANDLER): Likewise.
30383 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30384 (HAVE_GCC_GOTDATA): New.
30385 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30386 relocation support in both binutils and gcc.
30387 * sysdeps/sparc/elf/configure: Regenerate.
30389 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30390 * sysdeps/sparc/sparc32/elf/configure: Delete.
30391 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30392 * sysdeps/sparc/sparc64/elf/configure: Delete.
30393 * sysdeps/sparc/elf/configure.in: New file.
30394 * sysdeps/sparc/elf/configure: Generate.
30396 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30397 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30398 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30399 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30400 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30402 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30404 * manual/install.texi: Do not mention specific glibc version
30406 * manual/libc.texinfo (VERSION, UPDATED): Update.
30407 (@copying): Use @copyright{} and range of years.
30409 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30412 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30413 [crti.S not in sysdirs] (generated): Do not append.
30414 [crti.S not in sysdirs] (omit-deps): Likewise.
30415 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30416 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30417 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30418 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30419 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30421 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30422 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30423 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30424 * csu/defs.awk: Remove file.
30425 * sysdeps/generic/initfini.c: Likewise.
30426 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30428 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30431 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30433 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30434 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30435 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30438 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30440 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30441 (__EPOLL_PACKED): Define to empty if not defined by
30443 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30447 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30449 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30450 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30451 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30452 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30454 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30458 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30460 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30462 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30463 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30464 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30467 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30470 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30472 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30474 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30475 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30477 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30479 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30482 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30484 * math/w_acos.c: Use non-signaling floating-point comparisons.
30485 * math/w_acosf.c: Likewise.
30486 * math/w_acosh.c: Likewise.
30487 * math/w_acoshf.c: Likewise.
30488 * math/w_acoshl.c: Likewise.
30489 * math/w_acosl.c: Likewise.
30490 * math/w_asin.c: Likewise.
30491 * math/w_asinf.c: Likewise.
30492 * math/w_asinl.c: Likewise.
30493 * math/w_atanh.c: Likewise.
30494 * math/w_atanhf.c: Likewise.
30495 * math/w_atanhl.c: Likewise.
30496 * math/w_exp2.c: Likewise.
30497 * math/w_exp2f.c: Likewise.
30498 * math/w_exp2l.c: Likewise.
30499 * math/w_j0.c: Likewise.
30500 * math/w_j0f.c: Likewise.
30501 * math/w_j0l.c: Likewise.
30502 * math/w_j1.c: Likewise.
30503 * math/w_j1f.c: Likewise.
30504 * math/w_j1l.c: Likewise.
30505 * math/w_jn.c: Likewise.
30506 * math/w_jnf.c: Likewise.
30507 * math/w_log.c: Likewise.
30508 * math/w_log10.c: Likewise.
30509 * math/w_log10f.c: Likewise.
30510 * math/w_log10l.c: Likewise.
30511 * math/w_log2.c: Likewise.
30512 * math/w_log2f.c: Likewise.
30513 * math/w_log2l.c: Likewise.
30514 * math/w_logf.c: Likewise.
30515 * math/w_logl.c: Likewise.
30516 * math/w_sqrt.c: Likewise.
30517 * math/w_sqrtf.c: Likewise.
30518 * math/w_sqrtl.c: Likewise.
30519 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30520 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30521 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30522 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30523 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30525 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30528 * manual/string.texi (strnlen): Use correct parameter name in
30529 equivalent expression.
30531 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30534 * manual/users.texi (seteuid): Consistently use neweuid for
30537 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30540 * manual/nss.texi (Services in the NSS configuration): Correct
30541 list of services in example configuration file.
30543 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30546 * manual/arith.texi: Remove statements about negative zero
30547 behaving identically to zero.
30549 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30552 * manual/install.texi: Do not document upgrading from libc5.
30554 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30557 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30559 2012-02-18 David S. Miller <davem@davemloft.net>
30561 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30562 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30563 %o7 across the call.
30564 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30566 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30567 SETUP_PIC_REG_LEAF.
30568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30569 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30570 * sysdeps/sparc/crtn.S: Likewise.
30572 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30574 * aout/Makefile: Remove.
30576 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30579 * manual/examples/argp-ex1.c (main): Format definition in GNU
30581 * manual/examples/argp-ex2.c (main): Likewise.
30582 * manual/examples/argp-ex3.c (main): Likewise.
30583 * manual/examples/argp-ex4.c (main): Likewise.
30584 * manual/examples/longopt.c (main): Use new-style prototype
30586 * manual/examples/strncat.c (main): Specify return type and use
30587 (void) for arguments.
30588 * manual/examples/subopt.c (main): Use char **argv argument.
30590 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30593 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30596 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30599 * manual/string.texi (strchr): Change when strchrnul is
30602 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30605 * manual/locale.texi (setlocale): Document LOCPATH.
30607 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30610 * manual/process.texi (execle): Move @dots{} before last argument.
30612 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30615 * manual/charset.texi (Generic Charset Conversion): Fix typo
30616 (LC_TYPE -> LC_CTYPE).
30618 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30621 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30622 (scalbnf): Likewise.
30623 (scalbnl): Likewise.
30624 (scalbln): Likewise.
30625 (scalblnf): Likewise.
30626 (scalblnl): Likewise.
30627 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30628 (vwarnx): Likewise.
30631 * manual/filesys.texi (telldir): Use braces around return type.
30632 * manual/llio.texi (mmap): Add space after comma.
30633 (mmap64): Likewise.
30634 * manual/math.texi (jn): Use @var{} on parameter names.
30640 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30642 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30644 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30645 (sched_get_priority_max): Likewise.
30646 * manual/signal.texi (sigvec): Add space after comma.
30647 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30649 (if_indextoname): Likewise.
30650 (if_freenameindex): Likewise.
30651 (sendto): Use ',' instead of '.' in prototype.
30652 * manual/startup.texi (syscall): Use @dots{} instead of literal
30654 * manual/stdio.texi (__fpending): Separate initial words of
30655 paragraph from @deftypefun line.
30656 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30658 (vsyslog): Use @var{} on parameter names.
30659 * manual/terminal.texi (stty): Use @var{} on parameter names.
30660 * manual/users.texi (getutmp): Use @var{} on parameter names.
30661 (getutmpx): Likewise.
30663 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30666 * manual/stdio.texi (fopen): Fix typos in description of
30669 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30672 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30673 get clock_id definition.
30675 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30678 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30679 (madvise): Cast every argument to void on its own.
30681 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30684 * manual/startup.texi (Exit Status): Fix typo.
30686 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30689 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30690 * manual/examples/argp-ex2.c: Likewise.
30691 * manual/examples/argp-ex3.c: Likewise.
30693 2012-02-16 Richard Henderson <rth@redhat.com>
30695 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30696 * sysdeps/s390/s390-32/initfini.c: Remove.
30697 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30698 * sysdeps/s390/s390-64/initfini.c: Remove.
30700 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30702 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30703 compiler output for sysdeps/generic/initfini.c.
30704 * sysdeps/sh/elf/initfini.c: Remove file.
30706 2012-02-16 David S. Miller <davem@davemloft.net>
30709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30711 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30712 * sysdeps/sparc/crti.S: New file.
30713 * sysdeps/sparc/crtn.S: New file.
30714 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30715 * sysdeps/sparc/sparc64/Makefile: Likewise.
30717 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30720 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30722 2012-02-15 Roland McGrath <roland@hack.frob.com>
30725 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30727 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30728 (write, read, close): Likewise.
30729 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30731 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30733 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30734 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30735 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30736 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30738 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30742 2012-02-14 Marek Polacek <polacek@redhat.com>
30744 * sysdeps/x86_64/crti.S: New file.
30745 * sysdeps/x86_64/crtn.S: New file.
30746 * sysdeps/x86_64/elf/initfini.c: Remove file.
30748 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30750 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30751 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30752 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30753 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30755 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30759 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30761 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30762 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30763 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30764 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30766 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30770 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30772 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30773 __feraiseexcept instead of feraiseexcept.
30775 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30776 nanosleep invocations.
30777 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30778 strings, and add error checking for a nanosleep invocations.
30780 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30782 Replace FSF snail mail address with URLs, as per GNU coding standards.
30783 Most of the snail mail addresses were wrong anyway, and omitting
30784 them makes the source code easier to maintain. Almost all of the
30785 changes are to license notices and to locale LC_IDENTIFICATION
30786 addresses, except for this one:
30787 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30788 not its snail mail address.
30790 2012-02-09 Richard Henderson <rth@twiddle.net>
30792 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30793 of kernel-features.h.
30795 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30797 2012-02-08 Marek Polacek <polacek@redhat.com>
30799 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30800 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30801 * sysdeps/gnu/_G_config.h: Likewise.
30802 * sysdeps/generic/_G_config.h: Likewise.
30804 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30806 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30810 * sysdeps/powerpc/powerpc32/crti.S: New file.
30811 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30812 * sysdeps/powerpc/powerpc64/crti.S: New file.
30813 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30815 * Makeconfig (have-initfini): Don't set.
30816 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30817 * configure.in (nopic_initfini): Don't substitute.
30818 * config.h.in (HAVE_INITFINI): Don't #undef.
30819 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30820 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30822 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30824 Support crti.S and crtn.S provided directly by architectures.
30825 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30826 [crti.S in sysdirs] (omit-deps): Likewise.
30827 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30828 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30829 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30830 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30831 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30832 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30833 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30834 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30835 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30836 compiler output for sysdeps/generic/initfini.c.
30837 * sysdeps/i386/elf/Makefile: Remove file.
30838 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30840 2012-02-07 Marek Polacek <polacek@redhat.com>
30842 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30843 * sysdeps/gnu/_G_config.h: Likewise.
30844 * sysdeps/mach/hurd/_G_config.h: Likewise.
30846 2012-02-07 Marek Polacek <polacek@redhat.com>
30848 * math/Makefile (tests): Add tst-CMPLX2.
30849 * math/tst-CMPLX2.c: New file.
30851 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30855 * math/libm-test.inc (jn_test): Add missing L suffix.
30857 2012-02-06 Marek Polacek <polacek@redhat.com>
30859 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30860 * sysdeps/i386/fpu/e_powf.S: Likewise.
30861 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30862 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30863 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30864 * sysdeps/i386/fpu/e_pow.S: Likewise.
30865 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30866 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30867 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30868 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30869 * sysdeps/i386/fpu/e_log2.S: Likewise.
30870 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30871 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30872 * sysdeps/i386/fpu/e_powl.S: Likewise.
30873 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30874 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30875 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30876 * sysdeps/i386/fpu/e_logl.S: Likewise.
30877 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30878 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30879 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30880 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30881 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30882 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30883 * sysdeps/i386/fpu/e_log.S: Likewise.
30884 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30885 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30886 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30887 * sysdeps/i386/fpu/e_logf.S: Likewise.
30888 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30889 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30890 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30891 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30892 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30893 * sysdeps/i386/fpu/e_log10.S: Likewise.
30894 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30895 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30896 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30897 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30898 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30899 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30900 * sysdeps/i386/asm-syntax.h: Likewise.
30901 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30902 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30903 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30904 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30905 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30906 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30907 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30908 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30909 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30910 * sysdeps/powerpc/sysdep.h: Likewise.
30911 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30912 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30914 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30917 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30919 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30921 * sysdeps/i386/sysdep.h: Include <features.h>.
30922 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30925 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30927 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30929 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30932 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30934 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30935 (SETUP_PIC_REG): Use GET_PC_THUNK.
30936 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30939 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30941 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30942 for non-PIC compilation.
30943 (SETUP_PIC_REG): Add .p2align directive.
30944 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30945 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30946 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30947 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30948 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30950 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30951 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30952 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30953 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30954 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30955 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30956 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30957 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30958 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30959 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30960 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30961 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30962 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30963 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30964 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30965 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30966 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30967 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30971 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30972 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30973 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30974 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30975 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30976 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30977 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30978 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30979 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30980 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30981 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30982 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30983 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30984 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30986 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30988 * math/tst-CMPLX.c: Include <stdio.h>.
30990 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30992 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30994 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30995 * sysdeps/sparc/bits/mathdef.h: Likewise.
30997 2012-01-31 Marek Polacek <polacek@redhat.com>
30999 * libio/libio.h: Don't define _PARAMS.
31000 * locale/programs/config.h: Don't define PARAMS.
31001 * stdlib/strtol_l.c: Likewise.
31002 (__strtol_l): Remove PARAMS from the prototype.
31004 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31006 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31007 names. Just use the correct names. Remove unnecessary wrapper
31009 * malloc/arena.c: Likewise.
31010 * malloc/hooks.c: Likewise.
31012 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31013 ARENA_TEST says not to. Simplify test for creation of a new arena.
31014 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31016 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31018 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31020 (update_get_addr): New function.
31021 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31022 GET_ADDR_MODULE parameter.
31024 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31026 * crypt/cert.c: Remove __STDC__ conditionals.
31027 * crypt/crypt-entry.c: Likewise.
31028 * crypt/crypt_util.c: Likewise.
31029 * libio/filedoalloc.c: Likewise.
31030 * libio/fileops.c: Likewise.
31031 * libio/genops.c: Likewise.
31032 * libio/iofclose.c: Likewise.
31033 * libio/iofdopen.c: Likewise.
31034 * libio/iofopen.c: Likewise.
31035 * libio/iofopen64.c: Likewise.
31036 * libio/iogetdelim.c: Likewise.
31037 * libio/iopopen.c: Likewise.
31038 * libio/obprintf.c: Likewise.
31039 * libio/oldfileops.c: Likewise.
31040 * libio/oldiofclose.c: Likewise.
31041 * libio/oldiofdopen.c: Likewise.
31042 * libio/oldiofopen.c: Likewise.
31043 * libio/oldiopopen.c: Likewise.
31044 * libio/wfiledoalloc.c: Likewise.
31045 * libio/wgenops.c: Likewise.
31046 * locale/programs/xmalloc.c: Likewise.
31047 * misc/syslog.c: Likewise.
31048 * stdio-common/xbug.c: Likewise.
31049 * string/memchr.c: Likewise.
31050 * string/memcmp.c: Likewise.
31051 * string/memrchr.c: Likewise.
31052 * string/rawmemchr.c: Likewise.
31053 * sysdeps/posix/getcwd.c: Likewise.
31054 * time/strftime_l.c: Likewise.
31056 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31058 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31059 * config.make.in (config-cflags-sse2avx): Define.
31060 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31063 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31065 * scripts/config.guess: Update from upstream config git repository.
31066 * scripts/config.sub: Likewise.
31068 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31070 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31072 (R_TILEPRO_*, R_TILEGX_*): New macros.
31074 * scripts/firstversions.awk: Fix bug in version range handling.
31076 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31078 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31080 * include/sys/epoll.h: New file.
31081 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31084 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31086 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31087 Avoid unnecessary __WORDSIZE == 64 test.
31088 (fmaxf): Use VEX format if possible.
31093 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31094 * math/math_private.h: Remove libc_fegetround* and
31096 * sysdeps/i386/configure.in: Check for -msse2avx.
31097 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31098 also if SSE2AVX is defined.
31099 Remove libc_fegetround* and libc_fesetround*.
31100 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31101 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31102 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31104 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31105 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31106 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31107 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31108 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31110 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31112 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31114 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31116 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31118 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31121 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31123 * Makeconfig (libm): Define.
31124 * elf/Makefile: Add rules to build and run tst-relsort1.
31125 * elf/tst-relsort1.c: New file.
31126 * elf/tst-relsort1mod1.c: New file.
31127 * elf/tst-relsort1mod2.c: New file.
31129 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31131 * math/s_ldexp.c: Remove __STDC__ conditionals.
31132 * math/s_ldexpf.c: Likewise.
31133 * math/s_ldexpl.c: Likewise.
31134 * math/s_nextafter.c: Likewise.
31135 * math/s_nexttowardf.c: Likewise.
31136 * math/s_significand.c: Likewise.
31137 * math/s_significandf.c: Likewise.
31138 * math/s_significandl.c: Likewise.
31139 * math/w_jnl.c: Likewise.
31140 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31141 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31142 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31143 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31144 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31146 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31147 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31148 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31149 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31150 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31152 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31153 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31154 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31155 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31156 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31157 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31159 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31160 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31161 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31162 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31163 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31164 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31165 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31166 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31167 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31168 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31169 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31170 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31171 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31172 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31173 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31174 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31175 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31176 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31177 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31178 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31179 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31180 * sysdeps/ieee754/k_standard.c: Likewise.
31181 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31182 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31183 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31184 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31185 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31186 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31187 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31189 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31190 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31191 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31192 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31193 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31194 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31195 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31196 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31197 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31198 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31199 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31200 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31201 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31202 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31203 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31204 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31205 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31206 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31210 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31211 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31212 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31213 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31214 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31217 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31230 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31237 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31239 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31242 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31246 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31247 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31255 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31256 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31257 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31260 * sysdeps/ieee754/s_matherr.c: Likewise.
31261 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31262 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31263 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31266 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31268 * crypt/md5.h: Remove __STDC__ conditionals.
31269 * libio/libioP.h: Likewise.
31270 * locale/programs/config.h: Likewise.
31271 * sysdeps/generic/sysdep.h: Likewise.
31272 * sysdeps/i386/asm-syntax.h: Likewise.
31273 * sysdeps/s390/asm-syntax.h: Likewise.
31274 * sysdeps/unix/sysdep.h: Likewise.
31275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31278 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31280 * libio/libio.h: Remove __STDC__ conditionals.
31281 * malloc/obstack.h: Likewise.
31282 * math/complex.h: Likewise.
31283 * math/math.h: Likewise.
31284 * sysdeps/generic/_G_config.h: Likewise.
31285 * sysdeps/gnu/_G_config.h: Likewise.
31286 * sysdeps/mach/hurd/_G_config.h: Likewise.
31287 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31288 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31289 * sysdeps/sparc/bits/mathdef.h: Likewise.
31291 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31294 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31295 Clean up HAS_* macros.
31296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31297 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31299 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31302 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31307 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31309 * elf/tst-unique3.cc (gets): Remove declaration.
31310 * elf/tst-unique3lib.cc (gets): Likewise.
31311 * elf/tst-unique3lib2.cc (gets): Likewise.
31312 * elf/tst-unique4.cc (gets): Likewise.
31314 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31316 * include/stdio.h: Add C++ protection. Add gets declarations and
31318 * debug/tst-chk1.c: Don't declare gets here.
31319 * stdio-common/tst-gets.c: Likewise.
31321 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31323 * posix/glob: Remove directory.
31325 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31327 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31329 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31331 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31332 of the non-standard EPFNOSUPPORT.
31334 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31336 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31337 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31338 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31340 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31342 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31344 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31346 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31348 * nscd/grpcache.c (cache_addgr): Likewise.
31349 * nscd/hstcache.c (cache_addhst): Likewise.
31350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31351 * nscd/pwdcache.c (cache_addpw): Likewise.
31352 * nscd/servicescache.c (cache_addserv): Likewise.
31354 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31356 * malloc/malloc.c: Various cleanups.
31357 * malloc/hooks.c: Likewise.
31359 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31360 * stdlib/bug-fmtmsg1.c: New file.
31362 * stdlib/fmtmsg.c (init): Add missing unlock.
31363 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31365 2012-01-12 Marek Polacek <polacek@redhat.com>
31367 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31370 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31372 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31373 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31374 macro to ensure uniqueness of label name.
31375 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31376 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31378 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31380 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31382 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31383 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31387 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31389 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31391 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31392 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31393 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31395 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31397 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31398 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31402 * math/bits/math-finite.h: Add ldexp support.
31404 2012-01-10 Marek Polacek <polacek@redhat.com>
31406 * locale/programs/localedef.h (show_archive_content): Add noreturn
31409 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31411 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31413 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31415 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31417 * io/Makefile (headers): Add bits/poll2.h.
31419 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31422 typo #include statement.
31424 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31426 * include/sys/cdefs.h: Define __attribute_alloc_size.
31427 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31428 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31429 * elf/pldd.c: Likewise.
31430 * iconv/iconv_charmap.c: Likewise.
31431 * iconv/iconvconfig.c: Likewise.
31432 * iconv/strtab.c: Likewise.
31433 * locale/programs/locale.c: Likewise.
31434 * locale/programs/localedef.h: Likewise.
31435 * locale/programs/simple-hash.c: Likewise.
31436 * nscd/nscd.h: Likewise.
31437 * nss/makedb.c: Likewise.
31438 * sysdeps/generic/ldconfig.h: Likewise.
31439 * locale/programs/localedef.c: Remove xmalloc prototype.
31440 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31442 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31444 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31447 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31449 * math/Makefile (tests): Add tst-CMPLX.
31450 * math/tst-CMPLX.c: New file.
31452 * math/complex.h (CMPLXL): Fix typo.
31454 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31455 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31457 * debug/tst-chk1.c: Add poll and ppoll tests.
31458 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31459 * include/sys/poll.h: Add hidden proto for ppoll.
31460 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31461 * sysdeps/mach/hurd/ppoll.c: Likewise.
31462 * io/ppoll.c: Likewise.
31463 * debug/poll_chk.c: New file.
31464 * debug/ppoll_chk.c: New file.
31465 * include/bits/poll2.h: New file.
31466 * io/bits/poll2.h: New file.
31469 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31471 * configure.in: static is always set to yes. Remove.
31472 * config.make.in: Don't set build-static.
31473 * Makeconfig: Remove use of build-static.
31474 * dlfcn/Makefile: Likewise.
31475 * elf/Makefile: Likewise.
31476 * math/Makefile: Likewise.
31477 * misc/Makefile: Likewise.
31478 * nptl/Makefile: Likewise.
31479 * sysdeps/mach/hurd/Makefile: Likewise.
31481 * configure.in: PWD_P is not used anymore.
31482 * config.make.in: Remove PWD_P entry.
31484 * configure.in: Remove last remnants of RANLIB.
31485 No need to check for signed size_t anymore.
31486 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31488 Remove __builtin_expect test because we require at least gcc 3.4.
31489 * aclocal.m4: Likewise.
31491 * wcsmbs/mbrtoc16.c: Implement using towc function.
31492 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31493 * wcsmbs/wcsmbsload.c: Likewise.
31494 * iconv/gconv_simple.c: Likewise.
31495 * iconv/gconv_int.h: Likewise.
31496 * iconv/gconv_builtin.h: Likewise.
31497 * iconv/iconv_prog.c: Remove CHAR16 handling.
31499 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31501 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31503 * configure.in: Remove --with-elf and --enable-bounded options.
31504 Dont set base_machine for ia64. More non-ELF conditions removed.
31505 Remove testing and setting of leading underscore information.
31506 * config.make.in (build-bounded): Set to no.
31507 * config.h.in: Remove NO_UNDERSCORES entry.
31508 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31510 * csu/start.c: Remove !NO_UNDERSCORE code.
31511 * locale/localeinfo.h: Likewise.
31512 * sysdeps/generic/machine-gmon.h: Likewise.
31513 * sysdeps/generic/sysdep.h: Likewise.
31514 * sysdeps/i386/sysdep.h: Likewise.
31515 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31516 * sysdeps/mach/sysdep.h: Likewise.
31517 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31518 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31519 * sysdeps/sh/sysdep.h: Likewise.
31520 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31521 * sysdeps/unix/i386/sysdep.S: Likewise.
31522 * sysdeps/unix/sparc/start.c: Likewise.
31523 * sysdeps/unix/sparc/sysdep.S: Likewise.
31524 * sysdeps/unix/sparc/sysdep.h: Likewise.
31525 * sysdeps/unix/start.c: Likewise.
31526 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31527 * sysdeps/x86_64/sysdep.h: Likewise.
31529 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31532 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31534 * argp/argp-fmtstream.h: Use const instead __const.
31535 * argp/argp.h: Likewise.
31536 * assert/assert.h: Likewise.
31537 * bits/fenv.h: Likewise.
31538 * bits/sched.h: Likewise.
31539 * bits/sigset.h: Likewise.
31540 * bits/sigthread.h: Likewise.
31541 * catgets/nl_types.h: Likewise.
31542 * conform/data/pthread.h-data: Likewise.
31543 * crypt/crypt-private.h: Likewise.
31544 * crypt/crypt.h: Likewise.
31545 * crypt/crypt_util.c: Likewise.
31546 * ctype/ctype.h: Likewise.
31547 * debug/execinfo.h: Likewise.
31548 * debug/mbsnrtowcs_chk.c: Likewise.
31549 * debug/mbsrtowcs_chk.c: Likewise.
31550 * debug/wcsnrtombs_chk.c: Likewise.
31551 * debug/wcsrtombs_chk.c: Likewise.
31552 * debug/wcstombs_chk.c: Likewise.
31553 * dirent/dirent.h: Likewise.
31554 * dlfcn/dlfcn.h: Likewise.
31555 * elf/neededtest4.c: Likewise.
31556 * grp/grp.h: Likewise.
31557 * gshadow/gshadow.h: Likewise.
31558 * iconv/gconv.h: Likewise.
31559 * iconv/gconv_int.h: Likewise.
31560 * iconv/gconv_simple.c: Likewise.
31561 * iconv/iconv.h: Likewise.
31562 * iconv/loop.c: Likewise.
31563 * iconv/skeleton.c: Likewise.
31564 * include/aio.h: Likewise.
31565 * include/aliases.h: Likewise.
31566 * include/argz.h: Likewise.
31567 * include/arpa/inet.h: Likewise.
31568 * include/assert.h: Likewise.
31569 * include/dirent.h: Likewise.
31570 * include/dlfcn.h: Likewise.
31571 * include/execinfo.h: Likewise.
31572 * include/fcntl.h: Likewise.
31573 * include/fenv.h: Likewise.
31574 * include/glob.h: Likewise.
31575 * include/grp.h: Likewise.
31576 * include/libintl.h: Likewise.
31577 * include/mntent.h: Likewise.
31578 * include/netdb.h: Likewise.
31579 * include/pwd.h: Likewise.
31580 * include/rpc/netdb.h: Likewise.
31581 * include/sched.h: Likewise.
31582 * include/search.h: Likewise.
31583 * include/shadow.h: Likewise.
31584 * include/signal.h: Likewise.
31585 * include/stdio.h: Likewise.
31586 * include/stdlib.h: Likewise.
31587 * include/string.h: Likewise.
31588 * include/sys/socket.h: Likewise.
31589 * include/sys/stat.h: Likewise.
31590 * include/sys/statfs.h: Likewise.
31591 * include/sys/statvfs.h: Likewise.
31592 * include/sys/syslog.h: Likewise.
31593 * include/sys/time.h: Likewise.
31594 * include/sys/uio.h: Likewise.
31595 * include/time.h: Likewise.
31596 * include/unistd.h: Likewise.
31597 * include/utmp.h: Likewise.
31598 * include/wchar.h: Likewise.
31599 * include/wctype.h: Likewise.
31600 * inet/aliases.h: Likewise.
31601 * inet/arpa/inet.h: Likewise.
31602 * inet/netinet/ether.h: Likewise.
31603 * inet/netinet/in.h: Likewise.
31604 * intl/libintl.h: Likewise.
31605 * io/bits/fcntl2.h: Likewise.
31606 * io/fcntl.h: Likewise.
31607 * io/ftw.h: Likewise.
31608 * io/sys/poll.h: Likewise.
31609 * io/sys/stat.h: Likewise.
31610 * io/sys/statfs.h: Likewise.
31611 * io/sys/statvfs.h: Likewise.
31612 * io/utime.h: Likewise.
31613 * libio/bits/stdio.h: Likewise.
31614 * libio/bits/stdio2.h: Likewise.
31615 * libio/libio.h: Likewise.
31616 * libio/libioP.h: Likewise.
31617 * libio/stdio.h: Likewise.
31618 * locale/lc-ctype.c: Likewise.
31619 * locale/locale.h: Likewise.
31620 * login/utmp.h: Likewise.
31621 * malloc/arena.c: Likewise.
31622 * malloc/malloc.c: Likewise.
31623 * malloc/malloc.h: Likewise.
31624 * malloc/mcheck.c: Likewise.
31625 * malloc/mtrace.c: Likewise.
31626 * math/bits/mathcalls.h: Likewise.
31627 * math/fenv.h: Likewise.
31628 * math/math_private.h: Likewise.
31629 * misc/bits/error.h: Likewise.
31630 * misc/bits/syslog.h: Likewise.
31631 * misc/err.h: Likewise.
31632 * misc/error.h: Likewise.
31633 * misc/fstab.h: Likewise.
31634 * misc/mntent.h: Likewise.
31635 * misc/regexp.h: Likewise.
31636 * misc/search.h: Likewise.
31637 * misc/sgtty.h: Likewise.
31638 * misc/sys/mman.h: Likewise.
31639 * misc/sys/syslog.h: Likewise.
31640 * misc/sys/uio.h: Likewise.
31641 * misc/sys/xattr.h: Likewise.
31642 * misc/ttyent.h: Likewise.
31643 * nis/rpcsvc/ypclnt.h: Likewise.
31644 * nss/nss.h: Likewise.
31645 * posix/bits/unistd.h: Likewise.
31646 * posix/fnmatch.h: Likewise.
31647 * posix/glob.h: Likewise.
31648 * posix/sched.h: Likewise.
31649 * posix/spawn.h: Likewise.
31650 * posix/sys/wait.h: Likewise.
31651 * posix/unistd.h: Likewise.
31652 * posix/wordexp.h: Likewise.
31653 * pwd/pwd.h: Likewise.
31654 * resolv/netdb.h: Likewise.
31655 * resource/sys/resource.h: Likewise.
31656 * rt/aio.h: Likewise.
31657 * rt/bits/mqueue2.h: Likewise.
31658 * rt/mqueue.h: Likewise.
31659 * shadow/shadow.h: Likewise.
31660 * signal/signal.h: Likewise.
31661 * socket/send.c: Likewise.
31662 * socket/sendto.c: Likewise.
31663 * socket/sys/socket.h: Likewise.
31664 * stdio-common/printf.h: Likewise.
31665 * stdlib/bits/stdlib.h: Likewise.
31666 * stdlib/fmtmsg.h: Likewise.
31667 * stdlib/monetary.h: Likewise.
31668 * stdlib/stdlib.h: Likewise.
31669 * stdlib/ucontext.h: Likewise.
31670 * streams/stropts.h: Likewise.
31671 * string/argz.h: Likewise.
31672 * string/bits/string2.h: Likewise.
31673 * string/string.h: Likewise.
31674 * string/strings.h: Likewise.
31675 * sunrpc/rpc/auth.h: Likewise.
31676 * sunrpc/rpc/auth_des.h: Likewise.
31677 * sunrpc/rpc/clnt.h: Likewise.
31678 * sunrpc/rpc/netdb.h: Likewise.
31679 * sunrpc/rpc/pmap_clnt.h: Likewise.
31680 * sunrpc/rpc/xdr.h: Likewise.
31681 * sysdeps/generic/inttypes.h: Likewise.
31682 * sysdeps/generic/net/if.h: Likewise.
31683 * sysdeps/generic/sys/swap.h: Likewise.
31684 * sysdeps/gnu/net/if.h: Likewise.
31685 * sysdeps/gnu/utmpx.h: Likewise.
31686 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31687 * sysdeps/i386/i486/bits/string.h: Likewise.
31688 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31689 * sysdeps/s390/bits/string.h: Likewise.
31690 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31691 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31692 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31693 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31694 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31695 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31696 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31697 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31698 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31699 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31700 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31701 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31702 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31703 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31704 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31705 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31706 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31708 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31711 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31712 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31713 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31714 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31715 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31716 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31718 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31719 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31720 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31721 * sysvipc/sys/ipc.h: Likewise.
31722 * sysvipc/sys/msg.h: Likewise.
31723 * sysvipc/sys/sem.h: Likewise.
31724 * sysvipc/sys/shm.h: Likewise.
31725 * termios/termios.h: Likewise.
31726 * time/sys/time.h: Likewise.
31727 * time/time.h: Likewise.
31728 * wcsmbs/bits/wchar2.h: Likewise.
31729 * wcsmbs/uchar.h: Likewise.
31730 * wcsmbs/wchar.h: Likewise.
31731 * wctype/wctype.h: Likewise.
31734 * Makeconfig: Remove all but ELF support including AIX support.
31735 * Makerules: Likewise.
31736 * config.h.in: Likewise.
31737 * config.make.in: Likewise.
31738 * configure: Likewise.
31739 * configure.in: Likewise.
31740 * csu/Makefile: Likewise.
31741 * csu/version.c: Likewise.
31742 * debug/Makefile: Likewise.
31743 * dlfcn/Makefile: Likewise.
31744 * elf/Makefile: Likewise.
31745 * extra-lib.mk: Likewise.
31746 * iconv/Makefile: Likewise.
31747 * include/libc-symbols.h: Likewise.
31748 * include/shlib-compat.h: Likewise.
31749 * resolv/Makefile: Likewise.
31750 * resolv/res_libc.c: Likewise.
31751 * rt/Makefile: Likewise.
31752 * sysdeps/i386/asm-syntax.h: Likewise.
31753 * sysdeps/i386/sysdep.h: Likewise.
31754 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31755 * sysdeps/mach/sysdep.h: Likewise.
31756 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31757 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31758 * sysdeps/s390/asm-syntax.h: Likewise.
31759 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31761 * sysdeps/sh/sysdep.h: Likewise.
31762 * sysdeps/unix/sparc/sysdep.h: Likewise.
31763 * sysdeps/wordsize-32/divdi3.c: Likewise.
31764 * sysdeps/x86_64/sysdep.h: Likewise.
31766 * argp/Versions: Remove _argp_unlock_xxx.
31769 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31770 * abilist/libBrokenLocale.abilist: Likewise.
31771 * abilist/libanl.abilist: Likewise.
31772 * abilist/libc.abilist: Likewise.
31773 * abilist/libcrypt.abilist: Likewise.
31774 * abilist/libdl.abilist: Likewise.
31775 * abilist/libm.abilist: Likewise.
31776 * abilist/libnsl.abilist: Likewise.
31777 * abilist/libpthread.abilist: Likewise.
31778 * abilist/libresolv.abilist: Likewise.
31779 * abilist/librt.abilist: Likewise.
31780 * abilist/libthread_db.abilist: Likewise.
31781 * abilist/libutil.abilist: Likewise.
31782 * abilist/libnss_db.abilist: New file.
31784 * scripts/abilist.awk: Add support for indirect functions.
31786 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31788 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31790 * shlib-versions: Remove entries for ports architectures.
31792 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31794 * elf/stackguard-macros.h: Remove support for IA-64.
31795 * elf/tst-auditmod1.c: Likewise.
31796 * sysdeps/generic/ldsodefs.h: Likewise.
31798 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31799 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31803 * configure.in: Remove --enable-omitfp support.
31805 * config.make.in: Likewise.
31806 * Makeconfig: Likewise.
31807 * manual/install.texi: Likewise.
31809 In case anyone cares, the IA-64 architecture could move to ports.
31810 * sysdeps/ia64/*: Removed.
31811 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31812 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31815 * configure.in: Remove entries for unsupported architectures.
31818 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31819 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31821 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31822 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31823 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31824 fall back to using wcrtomb.
31825 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31826 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31828 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31829 * wcsmbs/tst-c16c32-1.c: New file.
31831 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31834 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31836 * elf/tst-unique3.cc: Add explicit declaration of gets.
31837 * elf/tst-unique3lib.cc: Likewise.
31838 * elf/tst-unique3lib2.cc: Likewise.
31839 * elf/tst-unique4.cc: Likewise.
31841 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31843 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31846 * assert/assert.h (static_assert): Don't define for C++.
31847 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31848 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31850 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31852 * iconv/loop.c (single loop): Fix assertion in storing of
31855 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31857 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31859 * posix/getconf.c: Update copyright year.
31860 * nss/getent.c: Likewise.
31861 * nss/makedb.c: Likewise.
31862 * iconv/iconvconfig.c: Likewise.
31863 * iconv/iconv_prog.c: Likewise.
31864 * elf/ldconfig.c: Likewise.
31865 * elf/pldd.c: Likewise.
31866 * elf/sotruss.ksh: Likewise.
31867 * catgets/gencat.c: Likewise.
31868 * csu/version.c: Likewise.
31869 * elf/ldd.bash.in: Likewise.
31870 * elf/sprof.c (print_version): Likewise.
31871 * locale/programs/locale.c: Likewise.
31872 * locale/programs/localedef.c: Likewise.
31873 * login/programs/pt_chown.c: Likewise.
31874 * nscd/nscd.c (print_version): Likewise.
31875 * debug/xtrace.sh: Likewise.
31876 * malloc/memusage.sh: Likewise.
31877 * malloc/mtrace.pl: Likewise.
31878 * debug/catchsegv.sh: Likewise.
31880 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31882 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31885 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31888 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31889 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31891 * iconv/gconv_int.h: Likewise.
31892 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31893 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31894 from libc for GLIBC_2.16.
31895 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31896 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31897 * wcsmbs/uchar.h: Really define mbstate_t.
31898 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31899 * wcsmbs/c16rtomb.c: New file.
31900 * wcsmbs/mbrtoc16.c: New file.
31901 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31902 for C/POSIX locale.
31903 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31904 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31906 * wcsmbs/wchar.h: Add missing __restrict.
31908 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31911 * time/Makefile (routines): Add timespec_get.
31912 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31913 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31914 timespec for ISO C11.
31915 * time/timespec_get.c: New file.
31916 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31917 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31920 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31921 * stdlib/stdlib.h: Declare aligned_alloc.
31922 * Versions.def: Add GLIBC_2.16 for libc.
31923 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31926 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31929 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31933 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31936 * assert/assert.h (static_assert): Define.
31938 * version.h: Update for 2.16 development version.
31941 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31944 * version.h (RELEASE): Bump for 2.15 release.
31945 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31947 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31948 Patch by Marek Polacek <mpolacek@redhat.com>.
31950 * bits/byteswap.h: Protect long long constants with __extension__.
31951 * sysdeps/i386/bits/byteswap.h: Likewise.
31952 * sysdeps/ia64/bits/byteswap.h: Likewise.
31953 * sysdeps/s390/bits/byteswap.h: Likewise.
31954 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31956 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31959 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31960 destination buffer.
31961 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31963 2011-12-23 Marek Polacek <polacek@redhat.com>
31965 * elf/dl-addr.c (determine_info): Add inline keyword.
31966 * elf/tst-auditmod4b.c (check_avx): Likewise.
31967 * elf/tst-auditmod6b.c (check_avx): Likewise.
31968 * elf/tst-auditmod6c.c (check_avx): Likewise.
31969 * elf/tst-auditmod7b.c (check_avx): Likewise.
31971 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31973 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31976 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31979 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31980 processing for last bytes.
31982 2011-08-06 Bruno Haible <bruno@clisp.org>
31985 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31986 U+0385, not to U+1FEE.
31989 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31990 entry for U+00A5 U+0301.
31992 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31995 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31996 buffer for the output is too small.
31998 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32002 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32003 SSE flags if possible.
32005 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32009 processing for last bytes.
32011 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32013 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32014 (syscall-list-default-options, syscall-list-default-condition)
32015 (syscall-list-includes): Define.
32016 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32017 list of ABIs and options and #if conditions for each ABI. Do not
32018 handle common syscalls between ABIs specially.
32019 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32021 (syscall-list-variants, syscall-list-32bit-options)
32022 (syscall-list-32bit-condition, syscall-list-64bit-options)
32023 (syscall-list-64bit-condition): Define.
32024 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32025 (syscall-list-variants, syscall-list-32bit-options)
32026 (syscall-list-32bit-condition, syscall-list-64bit-options)
32027 (syscall-list-64bit-condition): Define.
32028 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32030 (syscall-list-variants, syscall-list-32bit-options)
32031 (syscall-list-32bit-condition, syscall-list-64bit-options)
32032 (syscall-list-64bit-condition): Define.
32033 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32035 (syscall-list-variants, syscall-list-32bit-options)
32036 (syscall-list-32bit-condition, syscall-list-64bit-options)
32037 (syscall-list-64bit-condition): Define.
32039 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32041 * locale/iso-639.def: Add brx entry.
32044 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32045 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32047 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32048 __feraiseexcept_renamed.
32050 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32053 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32054 EPOLLET with unsigned values.
32055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32056 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32058 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32059 to large cancellation.
32060 * math/s_cacoshf.c: Likewise.
32061 * math/s_cacoshl.c: Likewise.
32063 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32067 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32068 * math/s_cacoshf.c: Likewise.
32069 * math/s_cacoshl.c: Likewise.
32071 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32074 * iconv/gconv.h: Define __GCONV_SWAP.
32075 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32076 * iconvdata/utf-16.c: Likewise.
32077 * iconvdata/utf-32.c: Likewise.
32079 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32082 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32083 numerator after shifting it by one limb.
32085 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32087 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32088 under [__USE_EXTERN_INLINES].
32090 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32093 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32095 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32097 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32098 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32100 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32101 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32102 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32103 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32104 for strncasecmp/strncasecmp_l compilation.
32105 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32106 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32108 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32111 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32114 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32117 * time/tzfile.c (__tzfile_read): Check values from file header.
32119 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32121 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32122 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32123 * powerpc/powerpc32/dl-start.S: Likewise.
32124 * powerpc/powerpc32/elf/start.S: Likewise.
32125 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32126 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32127 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32128 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32129 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32130 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32131 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32132 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32133 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32134 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32135 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32136 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32137 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32138 * powerpc/powerpc32/memset.S: Likewise.
32139 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32140 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32141 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32142 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32143 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32144 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32145 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32146 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32147 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32148 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32149 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32150 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32151 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32153 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32155 * math/libm-test.inc: Added more nearbyint tests.
32156 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32158 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32161 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32163 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32166 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32168 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32169 Add wcscpy-ssse3 wcscpy-c.
32170 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32171 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32172 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32173 * sysdeps/x86_64/wcschr.S: New file.
32174 * sysdeps/x86_64/wcsrchr.S: New file.
32175 * string/test-strcmp.c: Remove checking of wcscmp function for
32177 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32178 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32179 wcsrchr-sse2 wcsrchr-c.
32180 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32181 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32182 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32183 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32184 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32185 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32186 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32187 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32188 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32189 * wcsmbc/wcschr.c (WCSCHR): New macro.
32191 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32193 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32194 * wcsmbs/test-wcsrchr.c: New file.
32195 * string/test-strrchr.c: Add wcsrchr support.
32197 * wcsmbs/test-wcscpy.c: New file.
32198 * string/test-strcpy.c: Add wcscpy support.
32201 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32203 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32206 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32209 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32211 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32213 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32214 Minor optimizations.
32216 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32217 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32218 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32220 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32222 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32223 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32224 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32225 for gcc to avoid warnings.
32226 * inet/Makefile (tests): Add tst-checks.
32227 * inet/tst-checks.c: New file.
32229 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32232 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32235 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32236 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32238 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32240 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32242 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32245 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32247 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32249 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32250 conditional on GCC version.
32251 (__arch_compare_and_exchange_val_8_acq)
32252 (__arch_compare_and_exchange_val_16_acq)
32253 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32254 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32255 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32257 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32259 * sysdeps/sh/backtrace.c: New file.
32261 2011-12-02 Andreas Schwab <schwab@redhat.com>
32263 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32266 2011-12-01 Andreas Schwab <schwab@redhat.com>
32268 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32269 falling back to utime.
32271 2011-11-30 Andreas Schwab <schwab@redhat.com>
32273 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32274 expectations for float.
32276 2011-11-29 Andreas Schwab <schwab@redhat.com>
32278 * locale/weight.h (findidx): Add parameter len.
32279 * locale/weightwc.h (findidx): Likewise.
32280 * posix/fnmatch_loop.c (FCT): Adjust caller.
32281 * posix/regcomp.c (build_equiv_class): Likewise.
32282 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32283 * posix/regexec.c (check_node_accept_bytes): Likewise.
32284 * string/strcoll_l.c (STRCOLL): Likewise.
32285 * string/strxfrm_l.c (STRXFRM): Likewise.
32287 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32289 * Makefile.in: Remove CVSOPT handling.
32290 * configure.in: Remove use of AC_REVISION.
32291 * iconvdata/Makefile (distribute): No need to filter out CVS.
32292 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32295 2011-11-16 Andreas Schwab <schwab@redhat.com>
32297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32298 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32299 [USE_AS_STRNCASECMP_L]: Likewise.
32300 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32301 NO_TLS_DIRECT_SEG_REFS.
32302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32303 Fix argument offsets for non-PIC.
32304 [USE_AS_STRNCASECMP_L]: Likewise.
32305 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32306 NO_TLS_DIRECT_SEG_REFS.
32308 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32310 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32312 * locale/loadlocale.c (_nl_load_locale): Likewise.
32314 2011-11-15 Andreas Schwab <schwab@redhat.com>
32316 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32317 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32318 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32319 (SYSCALL_GETTIME): Set errno on error.
32321 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32322 count references to noai6ai_cached.
32324 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32326 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32328 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32329 FD_CLOEXEC for /proc/self/maps.
32331 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32332 FD_CLOEXEC for /proc/meminfo.
32334 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32337 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32338 FD_CLOEXEC for given file.
32340 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32342 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32343 FD_CLOEXEC for /etc/hosts.
32344 (_gethtent): Likewise.
32346 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32348 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32349 cancellation and set FD_CLOEXEC for /etc/netgroup.
32351 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32352 reading /etc/publickey.
32354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32355 allow cancellation when reading /etc/group.
32357 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32359 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32361 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32362 when using data file.
32364 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32366 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32367 (write_nis_obj): Use "c" and "e" in fopen.
32369 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32371 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32373 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32375 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32377 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32380 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32382 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32384 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32386 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32387 file parsing and set FD_CLOEXEC.
32389 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32391 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32393 2011-11-14 Andreas Schwab <schwab@redhat.com>
32395 * malloc/arena.c (arena_get2): Don't call reused_arena when
32396 _int_new_arena failed.
32398 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32400 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32401 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32402 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32403 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32404 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32405 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32406 to compile strcasecmp and strncasecmp.
32407 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32408 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32412 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32414 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32415 locale-defines.sym to gen-as-const-headers.
32416 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32417 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32419 to compile strcasecmp and strncasecmp.
32420 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32421 strcasecmp_l and strncasecmp_l.
32422 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32423 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32424 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32425 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32426 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32427 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32428 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32429 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32430 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32431 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32432 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32434 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32436 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32437 result of SYSDEP_GETTIME_CPU to retval.
32438 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32439 parameter list to macro. Remove trailing semicolon. Adjust users.
32441 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32444 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32446 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32448 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32449 from unused variable.
32451 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32453 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32456 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32459 * sunrpc/rpc_prot.c (rejected): Fix case value.
32461 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32462 unsigned long long int to avoid warnings in shift.
32464 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32466 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32469 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32470 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32471 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32473 * nis/nis_table.c (nis_list): Use variable of correct type for
32474 result of __follow_path call.
32476 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32478 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32479 of math functions ceil, trunc, floor, round, and sqrt, when
32480 avaliable on the platform.
32481 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32483 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32484 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32485 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32487 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32489 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32490 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32492 2011-11-11 Roland McGrath <roland@hack.frob.com>
32494 * include/unistd.h: Fix __readlink return type.
32495 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32497 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32499 * stdlib/ucontext.h: Undo last change for makecontext.
32501 2011-11-11 Andreas Schwab <schwab@redhat.com>
32503 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32505 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32506 * setjmp/setjmp.h: Mark functions as non-leaf.
32507 * setjmp/bits/setjmp2.h: Likewise.
32508 * stdlib/ucontext.h: Likewise.
32510 2011-11-10 Andreas Schwab <schwab@redhat.com>
32512 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32513 (reused_arena): Don't check arena limit.
32514 (arena_get2): Atomically check arena limit.
32516 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32518 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32519 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32524 2011-11-07 Andreas Schwab <schwab@redhat.com>
32526 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32527 handler when locking.
32529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32530 Fix size of allocated buffer.
32532 2011-11-04 Andreas Schwab <schwab@redhat.com>
32535 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32536 declarations for long double functions.
32537 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32539 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32541 2011-11-03 Andreas Schwab <schwab@redhat.com>
32543 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32546 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32549 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32551 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32553 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32555 * include/alloca.h (stackinfo_alloca_round): Define.
32556 (extend_alloca): Use it.
32557 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32558 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32561 * scripts/check-local-headers.sh: Ignore libaudit.h.
32563 * nscd/Makefile (extra-objs): Make recursively expanded.
32565 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32567 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32568 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32570 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32571 * posix/tst-rfc3484-2.c: Likewise.
32572 * posix/tst-rfc3484-3.c: Likewise.
32574 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32576 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32578 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32579 process_vm_writev from libc using GLIBC_2.15 version.
32581 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32583 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32585 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32588 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32591 * nss/getent.c (initgroups_keys): Show error message in case no group
32594 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32595 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32596 __bump_nl_timestamp.
32597 * nscd/connections (nscd_init): When host database is served open
32598 netlink socket and request notification about configuration changes.
32599 (main_loop_poll): Track netlink file descriptor and bump timestamp
32600 in case data becomes available.
32601 (main_loop_epoll): Likewise.
32602 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32603 (database_pers_head): Add extra_data fileds.
32604 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32605 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32606 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32609 in6ai data, call __free_in6ai.
32610 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32611 Add -DHAVE_NETLINK.
32612 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32613 interface information. Reuse previous data if netlink timestamp
32615 (__bump_nl_timestamp): New function.
32616 (__free_in6ai): New function.
32618 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32620 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32621 close_not_cancel_no_status here.
32622 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32624 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32627 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32630 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32631 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32632 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32634 2011-07-03 Andreas Jaeger <aj@suse.de>
32637 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32638 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32639 * math/libm-test.inc (sin_test): Add test case.
32641 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32644 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32645 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32647 * elf/chroot_canon.c (chroot_canon): Cleanups.
32649 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32652 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32653 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32655 * string/test-strchr.c: Make usable for strchrnul testing.
32656 * string/test-strchrnul.c: New file.
32657 * string/Makefile (strop-tests): Add strchrnul.
32659 * po/it.po: Update from translation team.
32660 * po/es.po: Likewise.
32662 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32664 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32665 the three constants needed as parameters. Drop the others.
32666 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32667 __m128i_strloadu_tolower.
32668 Create and initialize variable zero and use it in all the places
32669 where _mm_setzero_si128 was used.
32671 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32672 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32673 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32674 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32676 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32677 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32678 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32679 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32680 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32681 __mpranred, __mptan.
32682 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32683 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32684 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32685 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32686 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32687 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32688 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32689 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32690 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32692 2011-10-28 Andreas Schwab <schwab@redhat.com>
32694 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32695 redefine if SHARED.
32696 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32698 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32699 wide char related routines to wcsmbs subdir.
32701 2011-10-27 Andreas Schwab <schwab@redhat.com>
32704 * misc/sys/cdefs.h (__THROWNL): Define.
32705 * posix/unistd.h: Use __THREADNL instead of __THREAD
32706 for memory synchronization functions.
32708 2011-10-26 Roland McGrath <roland@hack.frob.com>
32711 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32713 * manual/stdio.texi (Obstack Streams): Node removed.
32715 2011-10-26 Andreas Schwab <schwab@redhat.com>
32717 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32718 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32719 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32721 * math/math_private.h (math_force_eval): Allow non-addressable
32723 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32725 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32728 file is not needed.
32730 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32731 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32732 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32733 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32734 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32735 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32736 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32737 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32739 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32740 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32741 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32742 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32743 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32744 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32745 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32746 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32747 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32748 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32749 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32750 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32752 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32753 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32754 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32755 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32756 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32757 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32759 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32760 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32762 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32763 place. Use VEX encoding when compiling for AVX.
32765 2011-10-25 Andreas Schwab <schwab@redhat.com>
32767 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32768 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32770 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32772 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32774 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32775 useless if() expression.
32776 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32777 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32778 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32779 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32780 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32781 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32782 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32784 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32785 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32786 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32787 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32788 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32789 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32790 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32792 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32793 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32794 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32796 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32798 2011-10-25 Andreas Schwab <schwab@redhat.com>
32800 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32802 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32804 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32806 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32807 .text section. Avoid duplicate constants.
32808 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32810 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32816 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32817 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32818 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32819 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32820 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32821 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32822 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32823 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32824 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32825 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32828 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32829 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32830 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32831 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32832 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32834 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32835 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32837 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32838 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32839 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32840 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32841 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32842 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32843 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32844 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32845 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32846 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32847 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32848 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32849 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32850 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32851 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32852 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32854 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32856 * sysdeps/x86_64/dla.h: Move to ...
32857 * sysdeps/x86_64/fpu/dla.h: ...here.
32858 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32859 situations. Use __builtin_fma only for gcc 4.6 and up.
32861 * config.make.in: Add have-mfma4 entry.
32862 * configure.in: Substitute libc_cv_cc_fma4.
32863 * math/Makefile (dbl-only-routines): Add sincostab.
32864 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32865 Use __sincostab not sincos.
32866 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32873 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32874 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32875 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32876 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32878 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32879 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32881 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32882 define aliases when function name is a macro.
32883 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32884 sysdeps/ieee754/dbl-64/sincos.tbl.
32885 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32886 fma4-enabled routines.
32887 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32888 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32889 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32890 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32891 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32892 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32893 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32894 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32895 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32896 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32897 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32898 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32899 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32900 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32901 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32902 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32903 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32904 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32905 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32906 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32907 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32908 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32909 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32910 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32911 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32912 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32914 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32915 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32916 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32918 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32929 2011-10-24 Andreas Schwab <schwab@redhat.com>
32931 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32933 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32935 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32937 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32939 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32941 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32942 Remove unused variable magic_bits.
32943 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32945 * string/strnlen.c: Define and use STRNLEN macro.
32946 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32947 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32949 * wcsmbs/wcslen.c: Define and use WCSLEN.
32950 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32951 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32952 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32953 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32954 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32955 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32956 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32958 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32961 strnlen-sse2-no-bsf.
32962 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32964 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32965 Add strnlen support.
32966 (USE_AS_STRNLEN): New macro.
32967 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32968 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32969 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32970 * sysdeps/x86_64/wcslen.S: New file.
32972 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32974 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32975 XMM-moves are used for copying on small sizes.
32977 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32979 * wcsmbs/Makefile (strop-tests): Add wcschr.
32980 * wcsmbs/test-wcschr.c: New file.
32981 * string/test-strchr.c: Update.
32982 Add wcschr support.
32985 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32987 * wcsmbs/Makefile (strop-tests): Add wcslen.
32988 * wcsmbs/test-wcslen.c: New file.
32989 * string/test-strlen.c: Update.
32990 Add wcslen support.
32993 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32995 * po/it.po: Update from translation team.
32997 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32999 * sysdeps/x86_64/wcscmp.S: Update.
33000 Fix wrong comparison semantics.
33001 wcscmp shall use signed comparison not unsigned.
33002 Don't use substraction to avoid overflow bug.
33003 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33004 * wcsmbc/wcscmp.c: Likewise.
33005 * string/test-strcmp.c: Likewise.
33006 Add new tests to check cases with negative values.
33008 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33010 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33011 * sysdeps/x86_64/dla.h: ...here. New file.
33012 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33022 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33025 __ynl_finite aliases.
33027 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33031 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33033 [DLA_FMA] (EMULV): Use DLA_FMA.
33034 [DLA_FMA] (MUL12): Use EMULV.
33035 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33036 that are not needed.
33037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33042 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33045 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33047 * math/s_nan.c: Undef __nan.
33048 * math/s_nanf.c: Undef __nanf.
33049 * math/s_nanl.c: Undef __nanl.
33050 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33053 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33055 * math/s_catan.c: Add branch predictions.
33056 * math/s_catanf.c: Likewise.
33057 * math/s_catanh.c: Likewise.
33058 * math/s_catanhf.c: Likewise.
33059 * math/s_catanhl.c: Likewise.
33060 * math/s_catanl.c: Likewise.
33061 * math/s_cexp.c: Likewise.
33062 * math/s_cexpf.c: Likewise.
33063 * math/s_cexpl.c: Likewise.
33064 * math/s_clog.c: Likewise.
33065 * math/s_clog10.c: Likewise.
33066 * math/s_clog10f.c: Likewise.
33067 * math/s_clog10l.c: Likewise.
33068 * math/s_clogf.c: Likewise.
33069 * math/s_clogl.c: Likewise.
33070 * math/s_csqrt.c: Likewise.
33071 * math/s_csqrtf.c: Likewise.
33072 * math/s_csqrtl.c: Likewise.
33073 * math/s_ctanf.c: Likewise.
33074 * math/s_ctanh.c: Likewise.
33075 * math/s_ctanhf.c: Likewise.
33076 * math/s_ctanhl.c: Likewise.
33077 * math/s_ctanl.c: Likewise.
33079 * math/math_private.h: Define __nan, __nanf, __nanl.
33080 * math/s_cacosh.c: Include <math_private.h>.
33081 * math/s_cacoshl.c: Likewise.
33082 * math/s_casinh.c: Likewise.
33083 * math/s_casinhf.c: Likewise.
33084 * math/s_casinhl.c: Likewise.
33085 * math/s_ccos.c: Rely entire on ccosh.
33086 * math/s_ccosf.c: Rely entire on ccoshf.
33087 * math/s_ccosl.c: Rely entirely on ccoshl.
33088 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33089 Remove tests for FE_INVALID.
33090 * math/s_ccoshf.c: Likewise.
33091 * math/s_ccoshl.c: Likewise.
33092 * math/s_csin.c: Likewise.
33093 * math/s_csinf.c: Likewise.
33094 * math/s_csinh.c Likewise.
33095 * math/s_csinhf.c: Likewise.
33096 * math/s_csinhl.c: Likewise.
33097 * math/s_csinl.c: Likewise.
33098 * math/s_ctan.c: Likewise.
33099 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33100 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33101 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33103 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33106 compilation problems.
33108 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33111 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33113 * sysdeps/i386/configure.in: Test for -mfma4 option.
33114 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33115 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33116 COMMON_CPUID_INDEX_80000001.
33117 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33118 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33119 use it if FMA3 is not supported.
33120 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33122 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33123 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33125 2011-10-20 Andreas Schwab <schwab@redhat.com>
33128 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33129 it would create a cycle with a link time dependency.
33131 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33133 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33135 * string/Makefile (strop-tests): Add rawmemchr.
33136 * string/test-rawmemchr.c: New file.
33138 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33140 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33141 when compiling str{,n}casecmp and when AVX is available. Hook up
33142 new optimized code in initializers.
33144 2011-10-19 Andreas Schwab <schwab@redhat.com>
33146 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33147 __feraiseexcept instead of feraiseexcept.
33149 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33151 * math/math_private.h: Define defaults for libc_fetestexcept and
33153 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33154 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33155 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33156 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33157 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33158 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33159 libc_fetestexcept and libc_feupdateenv.
33161 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33162 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33163 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33164 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33165 libc_feholdexcept_setround.
33167 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33168 Add s_nearbyint-c and s_nearbyintf-c.
33169 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33170 nearbyintf inlines.
33171 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33173 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33176 * math/math_private.h: Define defaults for libc_fegetround,
33177 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33178 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33179 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33181 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33182 standard functions.
33183 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33184 Remove comments and hacks for old compiler versions.
33185 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33186 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33187 libc_feholdexceptl.
33189 2011-10-18 Andreas Schwab <schwab@redhat.com>
33191 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33192 (__feraiseexcept_renamed): Add __NTH.
33193 (feraiseexcept): Add __NTH. Rename local variables to fix
33194 namespace violations.
33196 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33198 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33200 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33202 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33203 recently added interfaces.
33204 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33206 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33207 about macro parameter expansion.
33209 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33210 __NO_MATH_INLINES is defined. Cleanups.
33212 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33213 and __floorf is target has SSE4.1.
33214 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33215 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33216 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33217 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33219 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33221 (floorf): Likewise.
33223 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33225 2011-10-17 Andreas Schwab <schwab@redhat.com>
33227 * misc/sys/cdefs.h: Fix last change.
33229 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33232 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33234 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33236 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33237 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33238 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33239 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33240 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33241 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33242 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33243 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33244 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33245 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33246 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33247 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33248 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33249 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33250 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33251 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33252 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33253 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33254 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33255 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33256 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33257 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33259 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33260 ceil, ceilf, floor, floorf.
33262 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33263 Perform IRELATIVE relocations last.
33265 * elf/do-rel.h: Add another parameter nrelative, replacing the
33266 local variable with the same name. Change name of the function
33267 to end in Rel or Rela (uppercase).
33268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33269 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33270 elf_dynamic_do_##reloc function.
33272 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33274 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33275 is sufficient, at least on modern CPUs.
33277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33279 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33280 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33282 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33284 * math/bits/math-finite.h: Add entries for exp.
33285 * math/e_expl.c: Add __*_finite alias.
33286 * sysdeps/i386/fpu/e_exp.S: Likewise.
33287 * sysdeps/i386/fpu/e_expf.S: Likewise.
33288 * sysdeps/i386/fpu/e_expl.c: Likewise.
33289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33290 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33291 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33292 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33293 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33294 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33295 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33297 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33298 is sufficient, at least on modern CPUs.
33300 * ctype/ctype-info.c (__ctype_init): Define.
33301 * include/ctype.h (__ctype_init): Declare.
33302 (__ctype_b_loc): The variable is always initialized.
33303 (__ctype_toupper_loc): Likewise.
33304 (__ctype_tolower_loc): Likewise.
33305 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33306 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33308 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33310 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33312 * configure.in: Also look in $cxxmachine/include for C++ system
33315 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33317 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33318 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33319 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33320 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33321 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33322 (USE_AS_WMEMCMP): New macro.
33324 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33325 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33326 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33327 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33329 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33330 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33331 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33332 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33333 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33334 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33335 (USE_AS_WMEMCMP): New macro.
33336 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33337 * sysdeps/string/test-memcmp.c: Update.
33338 Fix simple_wmemcmp.
33340 * wcsmbs/wmemcmp.c: Update.
33341 (WMEMCMP): New macro.
33344 2011-10-12 Andreas Jaeger <aj@suse.de>
33347 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33349 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33351 * libio/iofwide.c (do_length): Avoid warning.
33353 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33355 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33357 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33359 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33360 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33361 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33362 * sysdeps/i386/i686/fpu/e_log.S: New file.
33363 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33364 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33366 * ctype/ctype.h: Add support for inlined isXXX functions when
33367 compiling C++ code.
33369 2011-10-14 Andreas Schwab <schwab@redhat.com>
33371 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33373 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33375 2011-10-13 Roland McGrath <roland@hack.frob.com>
33378 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33380 2011-10-13 Andreas Schwab <schwab@redhat.com>
33382 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33383 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33386 * sysdeps/x86_64/memrchr.S: Check for zero size.
33388 * string/stratcliff.c: Add memrchr tests.
33390 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33393 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33394 rawmemchr-sse2 rawmemchr-sse2-bsf.
33395 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33396 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33397 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33398 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33399 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33400 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33401 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33402 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33403 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33404 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33405 * string/memrchr.c (MEMRCHR): New macro.
33407 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33409 Add integration with gcc's -ffinite-math-only and optimize wrapper
33411 * Versions.def: Define GLIBC_2.15 version for libm.
33412 * math/Makefile (headers): Add bits/math-finite.h.
33413 * math/bits/math-finite.h: New file.
33414 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33415 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33416 * math/e_acoshl.c: Add __*_finite alias.
33417 * math/e_acosl.c: Likewise.
33418 * math/e_asinl.c: Likewise.
33419 * math/e_atan2l.c: Likewise.
33420 * math/e_atanhl.c: Likewise.
33421 * math/e_coshl.c: Likewise.
33422 * math/e_exp10.c: Likewise.
33423 * math/e_exp10f.c: Likewise.
33424 * math/e_exp10l.c: Likewise.
33425 * math/e_exp2l.c: Likewise.
33426 * math/e_fmodl.c: Likewise.
33427 * math/e_gammal_r.c: Likewise.
33428 * math/e_hypotl.c: Likewise.
33429 * math/e_j0l.c: Likewise.
33430 * math/e_j1l.c: Likewise.
33431 * math/e_jnl.c: Likewise.
33432 * math/e_lgammal_r.c: Likewise.
33433 * math/e_log10l.c: Likewise.
33434 * math/e_log2l.c: Likewise.
33435 * math/e_logl.c: Likewise.
33436 * math/e_powl.c: Likewise.
33437 * math/e_sinhl.c: Likewise.
33438 * math/e_sqrtl.c: Likewise.
33439 * math/e_scalb.c: Completely rewritten and optimized.
33440 * math/e_scalbf.c: Likewise.
33441 * math/e_scalbl.c: Likewise.
33442 * math/w_acos.c: Likewise.
33443 * math/w_acosf.c: Likewise.
33444 * math/w_acosl.c: Likewise.
33445 * math/w_acosh.c: Likewise.
33446 * math/w_acoshf.c: Likewise.
33447 * math/w_acoshl.c: Likewise.
33448 * math/w_asin.c: Likewise.
33449 * math/w_asinf.c: Likewise.
33450 * math/w_asinl.c: Likewise.
33451 * math/w_atan2.c: Likewise.
33452 * math/w_atan2f.c: Likewise.
33453 * math/w_atan2l.c: Likewise.
33454 * math/w_atanh.c: Likewise.
33455 * math/w_atanhf.c: Likewise.
33456 * math/w_atanhl.c: Likewise.
33457 * math/w_exp10.c: Likewise.
33458 * math/w_exp10f.c: Likewise.
33459 * math/w_exp10l.c: Likewise.
33460 * math/w_fmod.c: Likewise.
33461 * math/w_fmodf.c: Likewise.
33462 * math/w_fmodl.c: Likewise.
33463 * math/w_j0.c: Likewise.
33464 * math/w_j0f.c: Likewise.
33465 * math/w_j0l.c: Likewise.
33466 * math/w_j1.c: Likewise.
33467 * math/w_j1f.c: Likewise.
33468 * math/w_j1l.c: Likewise.
33469 * math/w_jn.c: Likewise.
33470 * math/w_jnf.c: Likewise.
33471 * math/w_log.c: Likewise.
33472 * math/w_logf.c: Likewise.
33473 * math/w_logl.c: Likewise.
33474 * math/w_log10.c: Likewise.
33475 * math/w_log10f.c: Likewise.
33476 * math/w_log10l.c: Likewise.
33477 * math/w_log2.c: Likewise.
33478 * math/w_log2f.c: Likewise.
33479 * math/w_log2l.c: Likewise.
33480 * math/w_pow.c: Likewise.
33481 * math/w_powf.c: Likewise.
33482 * math/w_powl.c: Likewise.
33483 * math/w_remainder.c: Likewise.
33484 * math/w_remainderf.c: Likewise.
33485 * math/w_remainderl.c: Likewise.
33486 * math/w_scalb.c: Likewise.
33487 * math/w_scalbf.c: Likewise.
33488 * math/w_scalbl.c: Likewise.
33489 * math/w_sqrt.c: Likewise.
33490 * math/w_sqrtf.c: Likewise.
33491 * math/w_sqrtl.c: Likewise.
33492 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33493 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33495 * math/math_private.h: Declare __kernel_standard_f.
33496 * math/w_cosh.c: Remove cruft and optimize a bit.
33497 * math/w_coshf.c: Likewise.
33498 * math/w_coshl.c: Likewise.
33499 * math/w_exp2.c: Likewise.
33500 * math/w_exp2f.c: Likewise.
33501 * math/w_exp2l.c: Likewise.
33502 * math/w_hypot.c: Likewise.
33503 * math/w_hypotf.c: Likewise.
33504 * math/w_hypotl.c: Likewise.
33505 * math/w_lgamma.c: Likewise.
33506 * math/w_lgamma_r.c: Likewise.
33507 * math/w_lgammaf.c: Likewise.
33508 * math/w_lgammaf_r.c: Likewise.
33509 * math/w_lgammal.c: Likewise.
33510 * math/w_lgammal_r.c: Likewise.
33511 * math/w_sinh.c: Likewise.
33512 * math/w_sinhf.c: Likewise.
33513 * math/w_sinhl.c: Likewise.
33514 * math/w_tgamma.c: Likewise.
33515 * math/w_tgammaf.c: Likewise.
33516 * math/w_tgammal.c: Likewise.
33517 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33518 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33519 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33520 Minor optimizations. Pretty printing. Remove cruft.
33521 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33522 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33523 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33524 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33525 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33526 * sysdeps/i386/fpu/e_asin.S: Likewise.
33527 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33528 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33529 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33530 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33531 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33532 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33533 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33534 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33535 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33536 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33537 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33538 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33539 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33540 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33541 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33542 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33543 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33544 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33545 * sysdeps/i386/fpu/e_log.S: Likewise.
33546 * sysdeps/i386/fpu/e_log10.S: Likewise.
33547 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33548 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33549 * sysdeps/i386/fpu/e_log2.S: Likewise.
33550 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33551 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33552 * sysdeps/i386/fpu/e_logf.S: Likewise.
33553 * sysdeps/i386/fpu/e_logl.S: Likewise.
33554 * sysdeps/i386/fpu/e_pow.S: Likewise.
33555 * sysdeps/i386/fpu/e_powf.S: Likewise.
33556 * sysdeps/i386/fpu/e_powl.S: Likewise.
33557 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33558 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33559 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33560 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33561 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33562 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33563 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33564 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33565 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33583 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33586 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33587 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33588 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33589 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33590 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33591 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33592 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33593 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33594 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33595 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33597 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33598 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33599 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33600 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33601 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33602 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33603 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33604 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33605 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33606 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33607 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33608 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33609 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33610 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33611 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33612 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33613 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33614 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33615 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33616 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33617 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33618 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33619 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33620 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33621 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33622 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33623 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33624 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33625 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33626 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33627 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33630 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33631 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33632 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33634 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33637 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33638 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33643 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33645 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33646 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33648 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33649 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33651 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33652 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33653 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33654 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33655 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33656 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33657 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33658 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33659 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33660 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33661 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33662 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33663 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33664 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33665 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33666 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33667 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33668 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33669 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33670 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33671 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33672 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33673 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33674 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33675 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33676 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33677 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33678 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33679 (__isnanf): Likewise.
33680 (__isinf_ns): Likewise.
33681 (__isinf_nsf): Likewise.
33682 (__finite): Likewise.
33683 (__finitef): Likewise.
33684 (__ieee754_sqrt): Define as macro.
33685 (__ieee754_sqrtf): Define as macro.
33686 (__ieee754_sqrtl): Define as macro.
33687 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33689 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33690 __FINITE_MATH_ONLY__ consistent.
33691 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33693 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33695 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33698 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33700 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33702 * po/ja.po: Update from translation team.
33704 2011-10-08 Roland McGrath <roland@hack.frob.com>
33706 * locale/programs/locarchive.c (prepare_address_space): New function.
33707 (create_archive, enlarge_archive, open_archive): Use it.
33709 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33710 inside [SHARED], where it is used.
33712 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33714 * nss/getent.c (netgroup_keys): Remove unused variable.
33715 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33717 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33719 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33722 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33723 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33724 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33725 * math/Makefile (libm-calls): Add s_isinf_ns.
33726 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33727 * math/multc3.c: Likewise.
33728 * math/s_casin.c: Likewise.
33729 * math/s_casinf.c: Likewise.
33730 * math/s_casinl.c: Likewise.
33731 * math/s_ccos.c: Likewise.
33732 * math/s_ccosf.c: Likewise.
33733 * math/s_ccosl.c: Likewise.
33734 * math/s_ctan.c: Likewise.
33735 * math/s_ctanf.c: Likewise.
33736 * math/s_ctanh.c: Likewise.
33737 * math/s_ctanhf.c: Likewise.
33738 * math/s_ctanhl.c: Likewise.
33739 * math/s_ctanl.c: Likewise.
33740 * math/w_fmod.c: Likewise.
33741 * math/w_fmodf.c: Likewise.
33742 * math/w_fmodl.c: Likewise.
33743 * math/w_remainder.c: Likewise.
33744 * math/w_remainderf.c: Likewise.
33745 * math/w_remainderl.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33747 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33748 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33750 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33751 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33752 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33753 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33755 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33757 * stdio-common/printf_fphex.c: Likewise.
33758 * stdio-common/printf_size.c: Likewise.
33760 * math/e_exp10.c: Include math_private.h using <...> not "...".
33761 * math/e_exp10f.c: Likewise.
33762 * math/e_exp10l.c: Likewise.
33763 * math/e_exp2l.c: Likewise.
33764 * math/e_j0l.c: Likewise.
33765 * math/e_j1l.c: Likewise.
33766 * math/e_jnl.c: Likewise.
33767 * math/e_lgammal_r.c: Likewise.
33768 * math/e_rem_pio2l.c: Likewise.
33769 * math/e_scalb.c: Likewise.
33770 * math/e_scalbf.c: Likewise.
33771 * math/e_scalbl.c: Likewise.
33772 * math/k_cosl.c: Likewise.
33773 * math/k_sinl.c: Likewise.
33774 * math/k_tanl.c: Likewise.
33775 * math/s_cacoshf.c: Likewise.
33776 * math/s_catan.c: Likewise.
33777 * math/s_catanf.c: Likewise.
33778 * math/s_catanh.c: Likewise.
33779 * math/s_catanhf.c: Likewise.
33780 * math/s_catanhl.c: Likewise.
33781 * math/s_catanl.c: Likewise.
33782 * math/s_ccosh.c: Likewise.
33783 * math/s_ccoshf.c: Likewise.
33784 * math/s_ccoshl.c: Likewise.
33785 * math/s_cexp.c: Likewise.
33786 * math/s_cexpf.c: Likewise.
33787 * math/s_cexpl.c: Likewise.
33788 * math/s_clog.c: Likewise.
33789 * math/s_clog10.c: Likewise.
33790 * math/s_clog10f.c: Likewise.
33791 * math/s_clog10l.c: Likewise.
33792 * math/s_clogf.c: Likewise.
33793 * math/s_clogl.c: Likewise.
33794 * math/s_csin.c: Likewise.
33795 * math/s_csinf.c: Likewise.
33796 * math/s_csinh.c: Likewise.
33797 * math/s_csinhf.c: Likewise.
33798 * math/s_csinhl.c: Likewise.
33799 * math/s_csinl.c: Likewise.
33800 * math/s_csqrt.c: Likewise.
33801 * math/s_csqrtf.c: Likewise.
33802 * math/s_csqrtl.c: Likewise.
33803 * math/s_ctan.c: Likewise.
33804 * math/s_ctanf.c: Likewise.
33805 * math/s_ctanh.c: Likewise.
33806 * math/s_ctanhf.c: Likewise.
33807 * math/s_ctanhl.c: Likewise.
33808 * math/s_ctanl.c: Likewise.
33809 * math/s_ldexp.c: Likewise.
33810 * math/s_ldexpf.c: Likewise.
33811 * math/s_ldexpl.c: Likewise.
33812 * math/s_significand.c: Likewise.
33813 * math/s_significandf.c: Likewise.
33814 * math/s_significandl.c: Likewise.
33815 * math/w_acos.c: Likewise.
33816 * math/w_acosf.c: Likewise.
33817 * math/w_acosh.c: Likewise.
33818 * math/w_acoshf.c: Likewise.
33819 * math/w_acoshl.c: Likewise.
33820 * math/w_acosl.c: Likewise.
33821 * math/w_asin.c: Likewise.
33822 * math/w_asinf.c: Likewise.
33823 * math/w_asinl.c: Likewise.
33824 * math/w_atan2.c: Likewise.
33825 * math/w_atan2f.c: Likewise.
33826 * math/w_atan2l.c: Likewise.
33827 * math/w_atanh.c: Likewise.
33828 * math/w_atanhf.c: Likewise.
33829 * math/w_atanhl.c: Likewise.
33830 * math/w_cosh.c: Likewise.
33831 * math/w_coshf.c: Likewise.
33832 * math/w_coshl.c: Likewise.
33833 * math/w_dremf.c: Likewise.
33834 * math/w_exp10.c: Likewise.
33835 * math/w_exp10f.c: Likewise.
33836 * math/w_exp10l.c: Likewise.
33837 * math/w_exp2.c: Likewise.
33838 * math/w_exp2f.c: Likewise.
33839 * math/w_fmod.c: Likewise.
33840 * math/w_fmodf.c: Likewise.
33841 * math/w_fmodl.c: Likewise.
33842 * math/w_hypot.c: Likewise.
33843 * math/w_hypotf.c: Likewise.
33844 * math/w_hypotl.c: Likewise.
33845 * math/w_j0.c: Likewise.
33846 * math/w_j0f.c: Likewise.
33847 * math/w_j0l.c: Likewise.
33848 * math/w_j1.c: Likewise.
33849 * math/w_j1f.c: Likewise.
33850 * math/w_j1l.c: Likewise.
33851 * math/w_jn.c: Likewise.
33852 * math/w_jnf.c: Likewise.
33853 * math/w_jnl.c: Likewise.
33854 * math/w_lgamma.c: Likewise.
33855 * math/w_lgamma_r.c: Likewise.
33856 * math/w_lgammaf.c: Likewise.
33857 * math/w_lgammaf_r.c: Likewise.
33858 * math/w_lgammal.c: Likewise.
33859 * math/w_lgammal_r.c: Likewise.
33860 * math/w_log.c: Likewise.
33861 * math/w_log10.c: Likewise.
33862 * math/w_log10f.c: Likewise.
33863 * math/w_log10l.c: Likewise.
33864 * math/w_log2.c: Likewise.
33865 * math/w_log2f.c: Likewise.
33866 * math/w_log2l.c: Likewise.
33867 * math/w_logf.c: Likewise.
33868 * math/w_logl.c: Likewise.
33869 * math/w_pow.c: Likewise.
33870 * math/w_powf.c: Likewise.
33871 * math/w_powl.c: Likewise.
33872 * math/w_remainder.c: Likewise.
33873 * math/w_remainderf.c: Likewise.
33874 * math/w_remainderl.c: Likewise.
33875 * math/w_scalb.c: Likewise.
33876 * math/w_scalbf.c: Likewise.
33877 * math/w_scalbl.c: Likewise.
33878 * math/w_sinh.c: Likewise.
33879 * math/w_sinhf.c: Likewise.
33880 * math/w_sinhl.c: Likewise.
33881 * math/w_sqrt.c: Likewise.
33882 * math/w_sqrtf.c: Likewise.
33883 * math/w_sqrtl.c: Likewise.
33884 * math/w_tgamma.c: Likewise.
33885 * math/w_tgammaf.c: Likewise.
33886 * math/w_tgammal.c: Likewise.
33888 * po/ja.po: Update from translation team.
33890 2011-09-29 Andreas Jaeger <aj@suse.de>
33893 * sunrpc/netname.c (netname2host): Fix logic.
33897 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33899 * math/w_remainder.c (__remainder): Likewise.
33900 * math/w_remainderf.c (__remainderf): Likewise.
33901 * math/libm-test.inc (remainder_test): Add test cases.
33903 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33905 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33908 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33910 * string/test-memcmp.c: Avoid unncessary #defines.
33911 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33913 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33915 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33916 Use new sse2 version for core i3 - i7 as it's faster
33917 than sse42 version.
33918 (bit_Prefer_PMINUB_for_stringop): New.
33919 * sysdeps/x86_64/rawmemchr.S: Update.
33920 Replace with faster SSE2 version.
33921 * sysdeps/x86_64/memrchr.S: New file.
33922 * sysdeps/x86_64/memchr.S: Update.
33923 Replace with faster SSE2 version.
33925 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33927 * elf/dl-load.c (lose): Add cast to avoid warning.
33929 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33931 * po/ca.po: Update from translation team.
33933 * inet/getnetgrent_r.c: Hook up nscd.
33934 * nscd/Makefile (routines): Add nscd_netgroup.
33935 (nscd-modules): Add netgroupcache.
33936 (CFLAGS-netgroupcache.c): Define.
33937 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33938 (cache_search): Add const to second parameter.
33939 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33941 (dbs): Add netgrdb entry.
33942 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33943 (verify_persistent_db): Handle netgrdb.
33944 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33945 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33947 (netgroup_response_header): Define.
33948 (innetgroup_response_header): Define.
33949 (datahead): Add netgroup_response_header and innetgroup_response_header
33951 * nscd/nscd.conf: Add entries for netgroup cache.
33952 * nscd/nscd.h (dbtype): Add netgrdb.
33953 (_PATH_NSCD_NETGROUP_DB): Define.
33954 (netgroup_iov_disabled): Declare.
33955 (xmalloc, xcalloc, xrealloc): Move declarations here.
33956 (cache_search): Adjust prototype.
33957 Add netgroup-related prototypes.
33958 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33959 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33960 (__nscd_innetgr): Declare.
33961 * nscd/selinux.c (perms): Use access_vector_t as element type and
33962 add netgroup-related initializers.
33963 * nscd/netgroupcache.c: New file.
33964 * nscd/nscd_netgroup.c: New file.
33965 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33966 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33967 For four parameters use innetgr.
33968 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33969 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33970 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33971 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33973 * nscd/connections.c (register_traced_file): Don't register file
33974 for disabled databases.
33976 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33978 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33980 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33981 from tree and freeing node.
33983 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33985 * nss/nsswitch.c (__nss_database_lookup): Handle
33986 nss_parse_service_list out of memory case.
33988 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33990 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33991 out of memory case.
33993 2011-10-04 Andreas Schwab <schwab@redhat.com>
33995 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33996 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33998 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33999 elf_machine_rela, elf_machine_lazy_rel.
34000 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34001 (ELF_DYNAMIC_DO_REL): Likewise.
34002 (ELF_DYNAMIC_DO_RELA): Likewise.
34003 (ELF_DYNAMIC_RELOCATE): Likewise.
34004 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34005 to ELF_DYNAMIC_DO_REL.
34006 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34007 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34008 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34010 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34011 skip_ifunc, don't call ifunc function if non-zero.
34012 (elf_machine_rela): Likewise.
34013 (elf_machine_lazy_rel): Likewise.
34014 (elf_machine_lazy_rela): Likewise.
34015 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34016 (elf_machine_lazy_rel): Likewise.
34017 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34019 (elf_machine_lazy_rel): Likewise.
34020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34022 (elf_machine_lazy_rel): Likewise.
34023 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34024 (elf_machine_lazy_rel): Likewise.
34025 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34026 (elf_machine_lazy_rel): Likewise.
34027 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34028 (elf_machine_lazy_rel): Likewise.
34029 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34030 (elf_machine_lazy_rel): Likewise.
34031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34032 (elf_machine_lazy_rel): Likewise.
34033 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34034 (elf_machine_lazy_rel): Likewise.
34036 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34038 * nss/nss_files/files-init.c (_nss_files_init): Use static
34039 initialization for all the *_traced_file variables.
34041 2011-09-28 Andreas Schwab <schwab@redhat.com>
34043 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34045 2011-09-27 Roland McGrath <roland@hack.frob.com>
34048 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34050 2011-09-27 Andreas Schwab <schwab@redhat.com>
34052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34053 Reread the line before reparsing it.
34055 2011-09-26 Andreas Schwab <schwab@redhat.com>
34057 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34059 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34060 Maxim Kuvyrkov <maxim@codesourcery.com>
34061 Joseph Myers <joseph@codesourcery.com>
34063 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34064 if needed for __stack_chk_guard.
34066 2011-09-19 Roland McGrath <roland@hack.frob.com>
34068 * sysdeps/posix/spawni.c (script_execute): Always define it.
34069 It will be optimized away if unused.
34070 (maybe_script_execute): New function.
34071 (__spawni): Call it.
34073 * Makerules: Don't include tls.make.
34074 (config-tls): Always set to thread.
34075 * tls.make.c: File removed.
34077 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34079 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34080 * config.make.in (CPPFLAGS-config): New substituted variable.
34082 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34087 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34088 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34090 2011-09-15 Roland McGrath <roland@hack.frob.com>
34092 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34093 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34095 (CALL_FAIL): Likewise.
34096 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34097 (CALL_FAIL): Macro removed.
34098 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34100 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34102 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34103 for __FINITE_MATH_ONLY__ == 1.
34105 2011-09-15 Andreas Schwab <schwab@redhat.com>
34107 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34108 __ieee754_sqrt instead of sqrt.
34109 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34110 __ieee754_sqrtf instead of sqrtf.
34111 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34112 __floorf instead of floorf.
34113 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34114 __floorf, __truncf instead of floorf, truncf.
34116 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34118 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34120 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34121 __extern_always_inline.
34122 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34125 2011-09-14 Andreas Schwab <schwab@redhat.com>
34127 * elf/rtld.c (dl_main): Also relocate in dependency order when
34128 doing symbol dependency testing.
34130 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34133 Always define `refsym'.
34135 2011-09-13 Andreas Schwab <schwab@redhat.com>
34137 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34138 (__FD_ELT): Renamed from __FDELT.
34139 * misc/bits/select2.h (__FD_ELT): Likewise.
34140 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34141 __FD_MASK instead of __FDELT, __FDMASK.
34142 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34144 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34147 * elf/Makefile (gen-ldd): Fix pattern.
34149 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34150 (init_tls): Likewise.
34152 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34154 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34156 2011-09-12 Andreas Schwab <schwab@redhat.com>
34158 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34159 `struct cmsghdr *' instead of `void *'.
34160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34163 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34165 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34167 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34168 ldd_rewrite_script.
34170 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34172 * configure.in: Remove --with-tls option.
34173 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34174 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34175 out in case it is missing.
34176 * sysdeps/ia64/elf/configure.in: Likewise.
34177 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34178 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34179 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34180 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34181 * sysdeps/sh/elf/configure.in: Likewise.
34182 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34183 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34184 * sysdeps/x86_64/elf/configure.in: Likewise.
34185 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34186 * sysdeps/mach/hurd/tls.h: Likewise.
34189 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34192 * configure.in: Fix use of AC_INIT.
34194 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34196 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34198 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34200 * malloc/hooks.c: Likewise.
34203 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34204 variables statically.
34205 (narenas): Initialize.
34206 (list_lock): Initialize.
34207 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34208 initializtion of main_arena and list_lock. Small cleanups.
34209 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34210 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34211 Add initializers to main_arena and mp_.
34212 (malloc_state): Remove pagesize member. Change all users to use
34215 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34216 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34217 is always initialized.
34219 * malloc/malloc.c: Removed unused configurations and dead code.
34220 * malloc/arena.c: Likewise.
34221 * malloc/hooks.c: Likewise.
34222 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34224 * include/tls.h: Removed. USE___THREAD must always be defined.
34225 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34226 * elf/dl-libc.c: Likewise.
34227 * elf/dl-tsd.c: Likewise.
34228 * include/errno.h: Likewise.
34229 * include/netdb.h: Likewise.
34230 * include/resolv.h: Likewise.
34231 * inet/herrno-loc.c: Likewise.
34232 * inet/herrno.c: Likewise.
34233 * malloc/arena.c: Likewise.
34234 * malloc/hooks.c: Likewise.
34235 * malloc/malloc.c: Likewise.
34236 * resolv/res-state.c: Likewise.
34237 * resolv/res_libc.c: Likewise.
34238 * sysdeps/i386/dl-machine.h: Likewise.
34239 * sysdeps/ia64/dl-machine.h: Likewise.
34240 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34241 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34242 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34243 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34244 * sysdeps/sh/dl-machine.h: Likewise.
34245 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34246 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34247 * sysdeps/unix/i386/sysdep.S: Likewise.
34248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34249 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34250 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34254 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34258 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34259 * sysdeps/x86_64/dl-machine.h: Likewise.
34260 * tls.make.c: Likewise.
34262 * configure.in: Remove --with-__thread option. Make tests for
34263 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34264 tls_model attribute fail if no support is available. Remove
34266 * Makeconfig: Adjust for dropped configure option. All features are
34268 * Makerules: Likewise.
34269 * Versions.def: Likewise.
34270 * argp/argp-fmtstream.c: Likewise.
34271 * argp/argp-fmtstream.h: Likewise.
34272 * argp/argp-help.c: Likewise.
34273 * assert/assert.c: Likewise.
34274 * config.h.in: Likewise.
34275 * config.make.in: Likewise.
34276 * configure: Likewise.
34277 * configure.in: Likewise.
34278 * csu/Versions: Likewise.
34279 * csu/init.c: Likewise.
34280 * elf/tst-audit2.c: Likewise.
34281 * elf/tst-tls10.c: Likewise.
34282 * elf/tst-tls10.h: Likewise.
34283 * elf/tst-tls11.c: Likewise.
34284 * elf/tst-tls12.c: Likewise.
34285 * elf/tst-tls14.c: Likewise.
34286 * elf/tst-tlsmod11.c: Likewise.
34287 * elf/tst-tlsmod12.c: Likewise.
34288 * elf/tst-tlsmod13.c: Likewise.
34289 * elf/tst-tlsmod13a.c: Likewise.
34290 * elf/tst-tlsmod14a.c: Likewise.
34291 * elf/tst-tlsmod15b.c: Likewise.
34292 * elf/tst-tlsmod16a.c: Likewise.
34293 * elf/tst-tlsmod16b.c: Likewise.
34294 * elf/tst-tlsmod7.c: Likewise.
34295 * elf/tst-tlsmod8.c: Likewise.
34296 * elf/tst-tlsmod9.c: Likewise.
34297 * gmon/gmon.c: Likewise.
34298 * grp/fgetgrent_r.c: Likewise.
34299 * grp/putgrent.c: Likewise.
34300 * hurd/fopenport.c: Likewise.
34301 * include/libc-symbols.h: Likewise.
34302 * include/tls.h: Likewise.
34303 * intl/gettextP.h: Likewise.
34304 * intl/loadinfo.h: Likewise.
34305 * locale/global-locale.c: Likewise.
34306 * locale/localeinfo.h: Likewise.
34307 * mach/devstream.c: Likewise.
34308 * malloc/arena.c: Likewise.
34309 * malloc/set-freeres.c: Likewise.
34310 * misc/err.c: Likewise.
34311 * misc/getttyent.c: Likewise.
34312 * misc/mntent_r.c: Likewise.
34313 * posix/getopt.c: Likewise.
34314 * posix/wordexp.c: Likewise.
34315 * pwd/fgetpwent_r.c: Likewise.
34316 * resolv/Versions: Likewise.
34317 * resolv/res_hconf.c: Likewise.
34318 * shadow/fgetspent_r.c: Likewise.
34319 * shadow/putspent.c: Likewise.
34320 * stdio-common/printf_fphex.c: Likewise.
34321 * stdio-common/tmpfile.c: Likewise.
34322 * stdlib/abort.c: Likewise.
34323 * stdlib/fmtmsg.c: Likewise.
34324 * sunrpc/auth_unix.c: Likewise.
34325 * sunrpc/clnt_perr.c: Likewise.
34326 * sunrpc/clnt_tcp.c: Likewise.
34327 * sunrpc/clnt_udp.c: Likewise.
34328 * sunrpc/clnt_unix.c: Likewise.
34329 * sunrpc/openchild.c: Likewise.
34330 * sunrpc/svc_simple.c: Likewise.
34331 * sunrpc/svc_tcp.c: Likewise.
34332 * sunrpc/svc_udp.c: Likewise.
34333 * sunrpc/svc_unix.c: Likewise.
34334 * sunrpc/xdr.c: Likewise.
34335 * sunrpc/xdr_array.c: Likewise.
34336 * sunrpc/xdr_rec.c: Likewise.
34337 * sunrpc/xdr_ref.c: Likewise.
34338 * sunrpc/xdr_stdio.c: Likewise.
34340 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34342 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34344 2011-07-03 Andreas Jaeger <aj@suse.de>
34346 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34347 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34348 regenerate with gen-libm-tests.pl.
34350 2010-05-12 Petr Baudis <pasky@suse.cz>
34353 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34354 around j0() zero points by switching to j1().
34355 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34356 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34357 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34358 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34360 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34362 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34364 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34366 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34367 Patch in part by Pavel Roskin <proski@gnu.org>.
34370 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34372 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34373 Free memory block if necessary.
34376 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34377 be NULL. Don't lock in this case.
34379 2011-09-09 Roland McGrath <roland@hack.frob.com>
34381 * elf/elf.h (ELFOSABI_GNU): New macro.
34382 (ELFOSABI_LINUX): Define to that.
34384 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34386 * string/strncat.c (strncat): Undef the symbol in case it has been
34387 defined in bits/string.h.
34389 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34391 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34393 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34396 2011-08-17 Andreas Jaeger <aj@suse.de>
34398 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34400 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34401 Ian Lance Taylor <iant@google.com>
34403 * math/libm-test.inc (lround_test): New testcase.
34404 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34406 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34408 * Makefile: Remove support for automatic cvs check-ins.
34409 * Makerules: Likewise.
34410 * config.make.in: Likewise.
34411 * configure.in: Likewise.
34412 * intl/Makefile: Likewise.
34413 * locale/Makefile: Likewise.
34414 * po/Makefile: Likewise.
34415 * posix/Makefile: Likewise.
34416 * sysdeps/gnu/Makefile: Likewise.
34417 * sysdeps/mach/hurd/Makefile: Likewise.
34418 * sysdeps/sparc/sparc32/Makefile: Likewise.
34421 * posix/Makefile (bug-regex32-ENV): Define.
34422 Patch by John Stanley <jpsinthemix@verizon.net>.
34424 * misc/Makefile (headers): Add bits/select2.h.
34425 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34426 * misc/bits/select2.h: New file.
34427 * include/bits/select2.h: New file.
34428 * debug/Makefile (routines): Add fdelt_chk.
34429 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34430 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34432 * debug/fdelt_chk.c: New file.
34434 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34435 * wcsmbs/test-wmemcmp.c: Likewise.
34436 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34437 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34439 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34441 * string/Makefile (strop-tests): Add memcmp.
34442 * string/test-wmemcmp.c: New file.
34443 * string/test-memcmp.c: Add wmemcmp support.
34445 2011-09-08 Roland McGrath <roland@hack.frob.com>
34448 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34451 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34452 garbage value in a __mach_port_mod_refs call in the cases of the
34453 task-self and thread-self ports.
34455 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34457 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34459 2011-09-08 Andreas Schwab <schwab@redhat.com>
34461 * elf/dl-load.c (lose): Check for non-null L.
34463 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34465 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34467 * elf/dl-libc.c (dlerror_run): Pass back error code from
34471 * elf/dl-load.c (lose): Free l_origin if it is valid.
34473 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34475 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34476 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34478 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34479 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34480 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34482 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34484 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34485 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34486 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34487 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34488 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34489 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34490 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34491 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34492 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34493 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34495 2011-08-15 Alan Modra <amodra@gmail.com>
34498 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34499 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34500 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34501 ppc_mcount to static-only-routines.
34502 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34504 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34505 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34507 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34509 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34510 for finite and infinity parameters.
34512 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34514 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34515 and add nop instructions for throughput optimization.
34516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34518 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34520 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34521 aligned copy for power7 with vector-scalar instructions.
34522 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34524 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34529 2011-09-07 Andreas Schwab <schwab@redhat.com>
34532 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34535 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34537 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34538 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34539 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34540 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34543 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34545 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34546 Forgot to demangle the pointer.
34548 * sysdeps/i386/sysdep.h: Define atom_text_section.
34549 * sysdeps/x86_64/sysdep.h: Likewise.
34550 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34551 section with atom_text_section.
34552 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34554 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34555 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34556 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34558 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34559 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34560 already be defined. Change to take two parameters and don't assign
34561 result to variable. Adjust all users.
34562 Define INTERNAL_GETTIME if not already defined.
34563 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34566 HAVE_CLOCK_GETTIME_VSYSCALL.
34567 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34570 gettimeofday vsyscall, just use time.
34572 2011-09-06 Andreas Schwab <schwab@redhat.com>
34574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34577 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34579 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34583 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34584 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34585 syscall if possible.
34587 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34589 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34590 e_ident. Don't pass to find_mapsXX.
34591 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34593 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34596 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34597 * sysdeps/x86_64/multiarch/strchr.S: Update.
34598 Check bit_slow_BSF bit.
34599 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34600 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34601 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34603 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34606 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34608 (tryshell): Define.
34609 (__spawni): Change last parameter to be flag. Test
34610 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34611 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34612 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34613 * posix/spawni.c: Likewise.
34614 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34615 * posix/spawnp.c: Likewise. Change normal version to use
34616 SPAWN_XFLAGS_USE_PATH.
34617 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34618 SPAWN_XFLAGS_TRY_SHELL.
34621 * posix/glob.h: Remove gcc 1.x support.
34624 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34626 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34629 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34631 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34632 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34633 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34634 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34635 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34636 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34638 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34640 * sysdeps/x86_64/wcscmp.S: New file.
34642 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34643 wcscmp-c wcscmp-sse2
34644 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34645 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34646 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34647 * wcsmbs/wcscmp.c: Allow renaming.
34649 2011-09-05 David S. Miller <davem@davemloft.net>
34651 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34652 stack slot, rather than the struct return pointer slot.
34653 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34654 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34656 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34658 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34660 * po/ja.po: Update from translation team.
34663 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34664 kernel in 64-bit binaries.
34666 2011-09-01 David S. Miller <davem@davemloft.net>
34668 * elf/elf.h (HWCAP_SPARC_*): Move to..
34669 * sysdeps/sparc/sysdep.h: this new file and add new values.
34670 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34671 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34672 _DL_HWCAP_COUNT to 24.
34673 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34675 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34676 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34677 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34679 instead of magic constants.
34680 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34682 2011-08-31 David S. Miller <davem@davemloft.net>
34684 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34686 Reimplement to do errno handling inline.
34687 (SYSCALL_ERROR_HANDLER): New macro.
34688 (__SYSCALL_STRING): Do not do errno handling in asm.
34689 (__CLONE_SYSCALL_STRING): Delete.
34690 (__INTERNAL_SYSCALL_STRING): Delete.
34691 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34692 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34693 (PSEUDO): Reimplement to do errno handling inline.
34694 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34695 (SYSCALL_ERROR_HANDLER): New macro.
34696 (__SYSCALL_STRING): Do not do errno handling in asm.
34697 (__CLONE_SYSCALL_STRING): Delete.
34698 (__INTERNAL_SYSCALL_STRING): Delete.
34699 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34700 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34702 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34703 (inline_syscall*): Add 'err' argument.
34704 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34705 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34706 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34707 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34709 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34710 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34712 2011-08-30 Andreas Schwab <schwab@redhat.com>
34714 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34716 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34718 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34721 2011-08-24 David S. Miller <davem@davemloft.net>
34723 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34725 2011-08-24 Andreas Schwab <schwab@redhat.com>
34727 * elf/Makefile: Add rules to build and run unload8 test.
34728 * elf/unload8.c: New file.
34729 * elf/unload8mod1.c: New file.
34730 * elf/unload8mod1x.c: New file.
34731 * elf/unload8mod2.c: New file.
34732 * elf/unload8mod3.c: New file.
34734 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34737 2011-08-23 David S. Miller <davem@davemloft.net>
34739 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34740 subtract stack bias.
34741 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34742 %sp not %fp in calculations.
34743 (_JMPBUF_UNWINDS_ADJ): Likewise.
34745 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34746 (aio_suspend): Call it to force an exception region around the
34747 AIO_MISC_WAIT() invocation.
34749 2011-08-23 Andreas Schwab <schwab@redhat.com>
34751 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34754 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34756 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34758 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34759 and <dl-machine.h>.
34760 (Elf64_FuncDesc): Remove.
34762 2011-08-22 David S. Miller <davem@davemloft.net>
34764 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34765 sigaltstack check, add missing cfi directives.
34766 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34767 missing cfi directives, and sigaltstack handling.
34769 2011-08-16 Andreas Schwab <schwab@redhat.com>
34772 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34773 object is seen twice.
34774 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34776 * elf/Makefile (distribute): Add tst-initorder2.c.
34777 (tests): Add tst-initorder2.
34778 (modules-names): Add tst-initorder2a tst-initorder2b
34779 tst-initorder2c tst-initorder2d. Add rules to build them.
34780 ($(objpfx)tst-initorder2.out): New rule.
34781 * elf/tst-initorder2.c: New file.
34782 * elf/tst-initorder2.exp: New file.
34784 2011-08-22 Andreas Schwab <schwab@redhat.com>
34786 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34788 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34789 dependencies back to end of function.
34791 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34792 $(elfobjdir)/ld.so.
34794 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34796 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34797 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34799 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34800 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34801 of __vdso_gettimeofday.
34802 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34803 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34805 (_libc_vdso_platform_setup): Remove initialization of
34806 __vdso_gettimeofday and __vdso_time.
34808 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34810 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34811 and fgetc_unlocked.
34812 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34815 * elf/dl-open.c (add_to_global): Report additions to the global scope
34816 for LD_DEBUG=scopes.
34817 (dl_open_worker): Also print scope of newly loaded dependencies.
34818 (_dl_show_scope): Indicate if there is no scope.
34821 * stdio-common/Makefile (tests): Add bug24.
34822 * stdio-common/bug24.c: New file.
34824 2011-08-19 Andreas Jaeger <aj@suse.de>
34827 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34828 non-existant file when using close-on-exec mode.
34830 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34832 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34833 the very first instruction.
34835 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34836 the CFI state in the end.
34837 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34838 inclusion of dl-trampoline.h.
34839 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34841 2011-08-19 Andreas Schwab <schwab@redhat.com>
34843 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34844 expectations for long double.
34846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34847 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34849 2011-08-14 David S. Miller <davem@davemloft.net>
34851 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34852 artificual limit depends upon the system page size.
34854 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34856 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34857 * resolv/Makefile: Define CFLAGS-libresolv.
34859 2011-08-17 Andreas Schwab <schwab@redhat.com>
34861 * nss/makedb.c (compute_tables): Make variables used in nested
34864 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34866 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34867 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34868 if buffer was too small.
34870 * elf/pldd.c (main): Attach to all threads in the process.
34871 Rewrite /proc handling to use *at functions.
34873 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34875 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34876 specifies first scope to show.
34877 (dl_open_worker): Update callers. Move printing scope of new
34878 object to before the relocation.
34879 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34880 * sysdeps/generic/ldsodefs.h: Update declaration.
34882 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34883 string for the scope number.
34885 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34887 * nscd/servicescache.c (cache_addserv): Make sure written is always
34890 2011-08-14 Roland McGrath <roland@hack.frob.com>
34892 * sysdeps/i386/i486/bits/atomic.h
34893 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34894 statement expression, so as to suppress "set but not used" warning.
34895 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34897 * string/strncat.c (STRNCAT): Use prototype definition.
34899 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34900 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34902 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34903 (localedef-modules): Add localedef.
34904 (locale-modules): Add locale.
34906 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34907 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34908 to avoid a warning.
34910 2011-08-14 David S. Miller <davem@davemloft.net>
34912 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34913 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34915 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34917 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34918 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34919 * elf/rtld.c (dl_main): Set l_name of vDSO.
34920 Call _dl_show_scope when DL_DEBUG_SCOPES.
34921 (process_dl_debug): Recognize scopes flag and also set it for all.
34922 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34923 Declare _dl_show_scope.
34925 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34926 (do_dlopen): Pass caller_dlopen to dl_open.
34927 (__libc_dlopen_mode): Initialize caller_dlopen.
34929 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34930 of libc. Make tolower call locale-independent. Optimize a bit by
34931 using isdigit instead of isalnum.
34932 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34934 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34936 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34937 was a dependency or dynamically loaded.
34939 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34941 * intl/l10nflist.c: Allow architecture-specific pop function.
34942 * sysdeps/x86_64/l10nflist.c: New file.
34944 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34947 2011-08-10 Andreas Schwab <schwab@redhat.com>
34949 * include/dirent.h: Add libc_hidden_proto for scandirat and
34950 scandirat64. Don't declare __scandirat64.
34951 * dirent/scandirat.c: Add libc_hidden_def.
34952 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34953 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34955 2011-08-10 David S. Miller <davem@davemloft.net>
34957 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34959 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34960 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34961 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34963 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34965 * Versions.def [libc]: Add GLIBC_2.15.
34966 * dirent/Makefile (routines): Add scandirat and scandirat64.
34967 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34969 * dirent/dirent.h: Declare scandirat and scandirat64.
34970 * dirent/scandirat.c: New file.
34971 * dirent/scandirat64.c: New file.
34972 * sysdeps/wordsize-64/scandirat.c: New file.
34973 * sysdeps/wordsize-64/scandirat64.c: New file.
34974 * dirent/opendir.c: Define opendirat.
34975 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34977 * dirent/scandir64.c: Adjust for scandir.c change.
34978 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34979 __scandirat64, and __scandir_cancel_handler.
34980 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34981 additional parameter and use openat instead of open (outside of ld.so).
34982 Add new __opendir as wrapper around __opendirat.
34983 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34984 here without requiring old scandirat implementation.
34986 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34988 * dirent/scandir.c (cancel_handler): Renamed to
34989 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34990 defined. Adjust users.
34991 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34992 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34994 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34996 * string/test-string.h (IMPL): Use __STRING to expand name and then
34999 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35002 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35004 * string/Makefile: Update.
35005 (strop-tests): Append strncat.
35006 * string/test-wcscmp.c: New file.
35007 New comprehensive test for wcscmp.
35008 * string/test-strcmp.c: Update.
35009 (WIDE): New define.
35011 2011-07-22 Andreas Schwab <schwab@redhat.com>
35013 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35016 2011-07-26 Andreas Schwab <schwab@redhat.com>
35018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35019 encoding to ACE if AI_IDN.
35021 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35024 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35026 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35028 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35029 Fix overflow bug in strncat.
35030 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35032 * string/test-strncat.c: Update.
35033 Add new tests for checking overflow bugs.
35035 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35038 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35039 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35040 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35041 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35042 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35043 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35044 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35045 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35048 (USE_AS_STRCAT): Define.
35049 Add strcat and strncat support.
35050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35052 2011-07-25 Andreas Schwab <schwab@redhat.com>
35054 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35055 __n bigger than INT_MAX+1.
35056 (__strncmp_g): Likewise.
35058 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35060 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35061 * libio/stido.h: Likewise.
35063 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35068 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35070 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35071 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35075 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35080 (_dl_x86_64_save_sse): Likewise.
35082 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35086 (_dl_x86_64_save_sse): Likewise.
35088 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35090 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35092 2011-07-21 Andreas Schwab <schwab@redhat.com>
35094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35096 (_dl_x86_64_save_sse): Use correct AVX check.
35098 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35100 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35101 bug in strncpy/strncat.
35102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35104 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35106 * string/tester.c (test_strcat): Add tests for different alignments
35107 of source and destination.
35108 (test_strncat): Likewise.
35110 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35113 * posix/glob.c (glob): Check passed in values before using them in
35114 expressions to avoid some overflows.
35115 (glob_in_dir): Likewise.
35118 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35119 check for AVX enablement so that we don't crash with old kernels and
35121 * elf/tst-audit4.c: Add same checks here.
35122 * elf/tst-audit6.c: Likewise.
35124 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35126 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35128 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35130 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35132 * po/cs.po: Update from translation team.
35133 * po/bg.po: Likewise.
35135 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35137 * misc/sys/cdefs.h: Add support for const attribute.
35138 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35139 to gnu_dev_{major,minor,makedev} functions.
35141 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35143 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35145 2011-07-20 Andreas Schwab <schwab@redhat.com>
35147 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35150 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35153 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35154 register in order to avoid conflicts with the soft frame pointer
35155 being held in r11 when necessary.
35156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35157 (INTERNAL_VSYSCALL_NCS): Likewise.
35159 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35161 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35162 * elf/dl-fini.c (_dl_fini): Adjust caller.
35163 * elf/dl-close.c (_dl_close_worker): Likewise.
35164 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35166 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35168 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35169 "aux_cache->nlibs < 0".
35171 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35172 in the reload-count case.
35174 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35177 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35178 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35179 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35180 * sysdeps/x86_64/multiarch/strcat.S: New file.
35181 * sysdeps/x86_64/multiarch/strncat.S: New file.
35182 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35183 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35184 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35185 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35186 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35187 (USE_AS_STRCAT): Define.
35188 Add strcat and strncat support.
35189 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35190 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35191 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35192 * string/strncat.c: Update.
35193 (USE_AS_STRNCAT): Define.
35194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35195 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35197 * sysdeps/x86_64/multiarch/init-arch.h
35198 (bit_Prefer_PMINUB_for_stringop): New.
35199 (index_Prefer_PMINUB_for_stringop): Likewise.
35200 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35201 bit_Prefer_PMINUB_for_stringop.
35203 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35205 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35207 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35208 of casting of buffer.
35209 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35210 buffer32 and buffer64.
35211 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35212 writes instead of casting of buffer.
35213 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35215 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35218 2011-07-19 Andreas Schwab <schwab@redhat.com>
35220 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35222 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35224 * nscd/nscd.c (termination_handler): Don't do anything for a database
35225 if it has not yet been initialized.
35227 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35229 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35231 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35233 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35235 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35237 * po/nl.po: Update from translation team.
35238 * po/sv.po: Likewise.
35240 2011-07-16 Roland McGrath <roland@hack.frob.com>
35242 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35243 now disallowed by GCC.
35245 * configure.in (use-default-link): Default to yes if a test -shared
35246 link meets our qualifications.
35247 * configure: Regenerated.
35249 * config.make.in (output-format): New variable.
35250 * configure.in: Check for ld --print-output-format support.
35251 * configure: Regenerated.
35252 * Makerules ($(common-objpfx)format.lds)
35253 [$(output-format) != unknown]: Just use $(output-format),
35254 instead of the linker-script munging.
35256 2011-07-14 Roland McGrath <roland@hack.frob.com>
35258 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35259 of $(common-objpfx)shlib.lds.
35260 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35262 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35263 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35265 * configure.in (-z relro check): Adjust test code to add a large
35266 writable data section after it.
35267 * configure: Regenerated.
35269 2011-07-11 Roland McGrath <roland@hack.frob.com>
35271 * configure.in (-z relro check): Fix test code to make the variable
35273 * configure: Regenerated.
35275 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35277 * nscd/nscd.h (struct traced_file): Define.
35278 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35279 elements. Add traced_files.
35280 (inotify_fd): Declare.
35281 (register_traced_file): Declare.
35282 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35283 (inotify_fd): Export.
35284 (resolv_conf_descr): Remove.
35285 (nscd_init): Move inotify descriptor creation to main.
35286 Don't register files for notification here.
35287 (register_traced_file): New function.
35288 (invalidate_cache): Don't use reset_res to determine whether to call
35289 res_init, go through the list of registered files.
35290 (main_loop_poll): The inotify descriptors are now stored in the
35291 structures for the traced files.
35292 (main_loop_epoll): Likewise
35293 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35294 to __nss_disable_nscd.
35295 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35296 for a database anymore. Check the records for all the registered
35298 * nss/Makefile (libnss_files-routines): Add files-init.
35299 (libnss_db-routines): Add db-init.
35300 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35301 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35302 * nss/nss_db/db-init.c: New file.
35303 * nss/nss_files/files-init.c: New file.
35304 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35305 __nss_lookup_function.
35306 (__nss_lookup_function): Call nss_load_library.
35307 (nss_load_all_libraries): New function.
35308 (__nss_disable_nscd): Take parameter with callback function for files
35309 to register. Set is_nscd. Load all the DSOs for the NSS modules
35310 used for the cached services.
35311 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35312 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35313 options for features to all the files in nscd.
35315 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35317 2011-07-10 Roland McGrath <roland@hack.frob.com>
35319 * csu/elf-init.c (__libc_csu_init): Comment typo.
35321 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35323 * po/pl.po: Update from translation team.
35324 * po/ja.po: Likewise.
35325 * po/ru.po: Likewise.
35326 * po/ko.po: Likewise.
35327 * po/fr.po: Likewise.
35329 2011-07-09 Roland McGrath <roland@hack.frob.com>
35331 * configure.in (.ctors/.dtors header and trailer check):
35332 Use an empirical test on a built program.
35333 * configure: Regenerated.
35335 * configure.in (-z relro check): Use an empirical test on a built DSO.
35336 Detect, but do not require, on ia64.
35337 * configure: Regenerated.
35339 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35340 Update tests that use readelf to use $READELF instead.
35341 * configure: Regenerated.
35343 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35345 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35346 if the result is not used.
35348 2011-07-05 Andreas Jaeger <aj@suse.de>
35351 * stdlib/tst-strtod.c: Add testcase.
35353 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35355 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35356 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35357 The latter has a higher limit. Take additional parameter to pass to
35359 (__pathconf): Pass file to __statfs_link_max.
35360 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35362 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35366 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35367 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35369 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35370 (__statfs_filesize_max): Likewise.
35371 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35373 2011-07-05 Andreas Jaeger <aj@suse.de>
35375 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35377 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35379 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35381 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35384 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35386 * Makefile (strop-tests): Add strncat.
35387 * string/test-strncat.c: New file.
35389 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35391 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35393 2011-06-21 Andreas Jaeger <aj@suse.de>
35395 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35396 Copy rule from iconvdata/Makefile.
35398 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35401 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35402 but no long options are defined, just return 'W'.
35404 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35407 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35409 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35411 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35413 (innetgr): Likewise.
35415 2011-07-05 Roland McGrath <roland@hack.frob.com>
35417 * config.make.in (install_root): Default to $(DESTDIR).
35419 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35421 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35423 2011-07-02 Roland McGrath <roland@hack.frob.com>
35425 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35427 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35428 containing directory rather than embedding absolute directory names.
35430 * scripts/check-local-headers.sh: Rewritten using awk.
35431 Match by word, not by line. Print error messages for matches.
35432 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35434 * Makerules [shlib-lds-flags empty]:
35435 ($(common-objpfx)libc_pic.opts): New target.
35436 ($(common-objpfx)libc_pic.os.clean): New target.
35437 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35439 * config.make.in (OBJCOPY): New variable.
35440 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35441 * configure: Regenerated.
35443 * config.make.in (use-default-link): New variable.
35444 * configure.in (use_default_link): Grok --with-default-link to set it.
35445 * configure: Regenerated.
35446 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35447 (shlib-lds, shlib-lds-flags): Define to empty.
35449 * Makerules (shlib-lds): New variable.
35450 (shlib-lds-flags): New variable.
35451 (build-shlib, build-moduile, build-module-asneeded): Use it.
35452 ($(common-objpfx)libc.so): Use $(shlib-lds).
35453 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35454 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35456 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35457 DT_FLAGS/DT_FLAGS_1 with zero flags.
35459 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35460 linker script munging.
35462 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35464 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35466 * crypt/sha512.c (sha512_process_block): Perform total addition using
35467 128-bit if possible.
35468 (__sha512_finish_ctx): Likewise.
35469 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35471 * crypt/sha256.c (SWAP64): Define.
35472 (sha256_process_block): Perform total addition using 64-bit if
35474 (__sha256_finish_ctx): Likewise.
35476 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35478 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35480 * nscd/hstcache.c (cache_addhst): Likewise.
35481 * nscd/grpcache.c (cache_addgr): Likewise.
35482 * nscd/aicache.c (addhstaiX): Likewise
35483 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35485 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35487 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35488 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35489 * nscd/hstcache.c (cache_addhst): Likewise.
35490 * nscd/grpcache.c (cache_addgr): Likewise.
35491 * nscd/aicache.c (addhstaiX): Likewise
35493 2011-07-01 Andreas Schwab <schwab@redhat.com>
35495 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35496 domain only when needed.
35498 2011-06-30 Andreas Schwab <schwab@redhat.com>
35500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35501 is always restored.
35503 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35505 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35506 are re-adding the entry.
35507 * nscd/servicescache.c (cache_addserv): Likewise.
35509 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35511 * sysdeps/generic/dl-irel.h: fix protection against multiple
35513 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35515 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35518 * malloc/memusage.sh: Fix quoting in message.
35519 * debug/xtrace.sh: Likewise.
35521 * configure.in: Remove support for --experimental-malloc option, make
35523 * config.make.in: Likewise.
35524 * malloc/Makefile: Likewise.
35526 2011-06-27 Andreas Schwab <schwab@redhat.com>
35528 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35529 two-byte characters.
35531 2011-06-27 Roland McGrath <roland@hack.frob.com>
35533 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35534 AC_CACHE_CHECK invocation.
35535 * configure: Regenerated.
35537 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35539 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35542 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35543 bit from old_res_options.
35545 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35547 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35548 value type for setfct.
35550 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35553 __gettimeofday instead of gettimeofday.
35555 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35557 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35559 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35561 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35563 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35566 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35569 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35570 strcpy-sse2-unaligned strncpy-sse2-unaligned
35571 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35572 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35573 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35574 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35575 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35576 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35577 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35578 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35579 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35580 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35581 (STRCPY): Support SSE2 and SSSE3 versions.
35583 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35586 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35587 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35588 kernels which artificially limit size of requests.
35590 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35593 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35594 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35595 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35596 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35597 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35598 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35599 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35600 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35602 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35603 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35604 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35605 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35606 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35608 Enable unaligned load optimization for Intel Core i3, i5 and i7
35610 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35612 (index_Fast_Unaligned_Load): Define.
35613 (HAS_FAST_UNALIGNED_LOAD): Define.
35615 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35617 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35619 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35623 until it is clear that the information is realy needed.
35624 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35626 2011-06-22 Andreas Schwab <schwab@redhat.com>
35628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35630 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35633 /sys/devices/system/cpu/online if it is usable.
35635 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35636 reading the information from the /proc filesystem to once a second.
35638 2011-06-21 Andreas Jaeger <aj@suse.de>
35640 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35641 NULL after inclusion of kernel headers.
35643 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35645 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35646 calls to internal_setent.
35649 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35650 addresses using gethostbyname4_r ignore IPv4 addresses.
35652 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35653 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35655 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35657 2011-06-20 David S. Miller <davem@davemloft.net>
35659 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35661 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35663 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35664 (elf_irel): Use it.
35665 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35666 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35667 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35668 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35669 * sysdeps/x86_64/dl-irel.h: Likewise.
35671 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35672 * elf/dl-sym.c: Likewise.
35674 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35676 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35677 need to dereference resplen2.
35679 2011-06-14 Andreas Schwab <schwab@redhat.com>
35681 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35683 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35685 * Makeconfig: Define vardbdir and inst_vardbdir.
35686 * nss/Makefile: Add rules to install db-Makefile.
35688 * nss/nss_db/db-XXX.c: Cleanup.
35690 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35691 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35693 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35694 * nss/makedb.c: Implement -g option to specify that value strings
35695 are generated and should not be added to table iterated over for
35697 * nss/nss_db/db-initgroups.c: New file.
35699 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35702 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35703 (internal_getgrouplist): Adjust to name change.
35704 Update use_initgroups_entry if this is not the first call.
35705 * nss/databases.def: Add initgroups entry.
35707 * nss/makedb.c (compute_tables): Check result of multiple hash table
35708 sizes to minimize maximum chain length.
35710 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35712 * Versions.def: Add entry for libnss_db.
35713 * shlib-versions: Likewise.
35714 * nss/Makefile: Add rules to build libnss_db.
35715 * nss/Versions: Add libnss_db information. Organize libnss_files
35717 * nss/db-Makefile: Add gshadow support. Change rules for the new
35718 makedb progra. Some minor improvements to generate smaller files.
35719 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35721 * nss/makedb.c: ...here.
35722 Improve database format to be smaller and require less memory at
35724 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35726 * nss/nss_db/db-netgrp.c: Likewise.
35727 * nss/nss_db/db-open.c: Likewise.
35728 * nss/nss_files/flies-XXX.x: Adjust comments.
35729 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35730 * nss/nss_files/files-grp.c: Likewise.
35731 * nss/nss_files/files-hosts.c: Likewise.
35732 * nss/nss_files/files-network.c: Likewise.
35733 * nss/nss_files/files-proto.c: Likewise.
35734 * nss/nss_files/files-pwd.c: Likewise.
35735 * nss/nss_files/files-rpc.c: Likewise.
35736 * nss/nss_files/files-service.c: Likewise.
35737 * nss/nss_files/files-sgrp.c: Likewise.
35738 * nss/nss_files/files-spwd.c: Likewise.
35739 * nss/nss_db/db-alias.c: Removed.
35740 * nss/nss_db/dummy-db.h: Removed.
35742 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35744 * nss/makedb.c: Rewritten to not use database library.
35745 * nss/Makefile: Update to build new makedb program.
35747 2011-06-14 Andreas Jaeger <aj@suse.de>
35749 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35750 memset declaration.
35752 2011-06-10 Andreas Schwab <schwab@redhat.com>
35754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35757 2011-06-10 Roland McGrath <roland@hack.frob.com>
35759 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35760 * elf/Makefile ($(objpfx)ld.so): Likewise.
35762 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35763 Don't list ld.so twice in dependencies.
35765 * posix/bug-regex31.c: Include <stdlib.h>.
35767 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35769 * nis/nss_compat/compat-spwd.c
35770 (getspent_next_nss_netgr): Remove unused variable.
35771 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35773 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35774 nonmembers" output to use the right array.
35776 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35778 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35780 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35781 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35782 * catgets/gencat.c (read_input_file): Likewise.
35783 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35785 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35786 variable definition inside #if's controlling its use.
35788 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35790 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35792 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35794 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35797 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35799 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35800 * configure: Regenerated.
35802 * Makerules: Revert last change.
35803 * elf/Makefile: Likewise.
35805 2011-06-09 Roland McGrath <roland@hack.frob.com>
35807 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35808 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35809 (reloc-link): Likewise.
35811 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35813 * elf/Makefile: Add rules to build pldd.
35814 * elf/pldd.c: New file.
35815 * elf/pldd-xx.c: New file.
35817 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35819 * version.h: Update for 2.15 development version.
35821 2011-06-07 David S. Miller <davem@davemloft.net>
35823 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35826 elf_machine_lazy_rel): Likewise.
35827 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35829 elf_machine_lazy_rel): Likewise.
35830 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35831 dl_hwcap via passed in argument.
35832 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35835 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35837 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35839 2011-06-06 Roland McGrath <roland@hack.frob.com>
35842 * manual/fdl-1.1.texi: New file, verbatim from:
35843 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35844 * manual/lgpl-2.1.texi: New file, verbatim from:
35845 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35846 * manual/Makefile (licenses): New variable, list those new file names.
35848 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35850 * manual/fdl.texi: File removed.
35851 * manual/lesser.texi: File removed.
35852 * manual/libc.texinfo (Copying, Documentation License):
35853 Use new @include file names, put @appendix directive before @include.
35855 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35858 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35859 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35860 (mq_open): Add __NTH.
35862 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35865 Assume Intel Core i3/i5/i7 processor if AVX is available.
35867 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35872 2011-05-31 Andreas Schwab <schwab@redhat.com>
35874 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35875 memory. Use alloca_account. Fix memory leak when retrying.
35877 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35879 * version.h (RELEASE): Bump for 2.14 release.
35880 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35882 * config.make.in (RANLIB): Remove entry.
35884 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35886 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35887 (libc.pot): Work around missing support for .ksh extension in xgettext.
35890 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35891 if both request failed.
35892 (send_dg): In case of server errors clear resplen or *resplen2.
35895 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35896 when there are multiple maps.
35897 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35898 (_dl_fini): Remove test here.
35900 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35902 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35905 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35906 bit from old_res_options.
35907 (gaih_inet): Likewise.
35910 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35913 * resolv/res_init.c (res_setoptions): Make the code more compact.
35916 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35920 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35922 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35925 * malloc/malloc.h: Declare malloc hook variables as volatile.
35927 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35931 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35932 raise in the comment.
35933 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35934 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35935 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35937 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35940 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35941 grow the buffers more if it already has to be sufficient.
35942 (build_wcs_upper_buffer): Likewise.
35943 * posix/regexec.c (check_matching): Likewise.
35944 (clean_state_log_if_needed): Likewise.
35945 (extend_buffers): Don't enlarge buffers beyond size of the input
35947 Patches mostly by Emil Wojak <emil@wojak.eu>.
35948 * posix/bug-regex32.c: New file.
35949 * posix/Makefile (tests): Add bug-regex32.
35951 * locale/findlocale.c (_nl_find_locale): Return right away if
35952 _nl_explode_name failed.
35953 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35955 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35957 * debug/xtrace.sh: Unify messages.
35958 * malloc/memusage.sh: Likewise.
35961 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35962 time symbol from vDSO. Substitute with vsyscall if not available.
35963 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35966 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35967 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35968 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35969 Add sendmmsg and internal_sendmmsg.
35970 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35971 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35972 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35974 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35975 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35976 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35978 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35981 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35982 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35984 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35988 * iconvdata/Makefile (tests): Add bug-iconv9.
35989 * iconvdata/bug-iconv9.c: New file.
35991 2011-05-27 Andreas Schwab <schwab@redhat.com>
35994 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35996 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35999 (struct user_regs_struct): Change intcs field back to cs.
36001 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36003 * po/ja.po: Update from translation team.
36005 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36008 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36009 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36011 2011-05-20 Andreas Schwab <schwab@redhat.com>
36013 * stdlib/longlong.h: Update from GCC.
36015 2011-05-23 Andreas Schwab <schwab@redhat.com>
36017 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36019 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36020 Add parameter name.
36021 (__sysconf): Pass it down.
36023 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36026 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36028 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36029 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36030 add in in __libc_use_alloca calls. Adjust callers.
36031 (glob): Use malloc in some situations.
36033 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36034 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36037 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36039 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36040 and CLOCK_BOOTTIME_ALARM.
36043 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36046 * string/_strerror.c (__strerror_r): Print negative errors as signed
36050 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36051 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36052 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36054 * configure.in: Fix typo in redirection and correct removal of test
36055 files in two cases.
36058 * locale/setlocale.c (new_composite_name): Fix test to check for
36059 identical name of all categories.
36062 * libio/filedoalloc.c (local_isatty): New function.
36063 (_IO_file_doallocate): Use local_isatty.
36064 * stdio-common/perror.c (perror): In case a new stream is used
36065 forward the stream error.
36066 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36069 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36074 * include/alloca.h (extend_alloca_account): Define.
36077 * posix/regex.h: Fix comments with documentation of user-accessible
36078 fields after compilation and describe correct free'ing of pattern
36079 after re_compile_pattern.
36080 Patch by Reuben Thomas <rrt@sc3d.org>.
36082 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36084 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36085 and -mno-altivec to prevent the compiler from using Altivec and/or
36086 VSX instructions when the corresponding registers are not available.
36088 2011-05-19 Andreas Schwab <schwab@redhat.com>
36090 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36092 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36094 * libio/freopen.c (freopen): Use __dup2, not dup2.
36095 * libio/freopen64.c (freopen64): Likewise.
36097 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36100 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36101 * math/Makefile (tests): Add test-powl.
36102 (CFLAGS-test-powl.c): Define.
36103 * math/test-powl.c: New file.
36105 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36107 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36109 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36112 * iconvdata/gb18030.c: Update to GB18020-2005.
36114 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36116 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36117 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36118 Patch by Aharon Robbins <arnold@skeeve.com>.
36121 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36125 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36126 through underflows.
36129 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36130 point to strings before performing equality test for error_one_per_line
36134 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36138 (struct user_fpregs_struct): Avoid __uint*_t types.
36141 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36142 symbol info. Use it instead of calling _dl_addr locally.
36143 (lock_and_info): New function.
36144 (tr_freehook): Call lock_and_info and pass symbol info as additional
36145 parameter to tr_where.
36146 (tr_mallochook): Likewise.
36147 (tr_reallochook): Likewise.
36148 (tr_memalignhook): Likewise.
36150 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36151 used and couldn't be at all thread-safe.
36153 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36155 * libio/freopen.c (freopen): Don't close old file descriptor
36156 before the new one is opened. Instead dup the new file descriptor
36157 to the old one after the new stream is created.
36158 * libio/freopen64.c (freopen64): Likewise.
36159 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36160 * libio/fileops.c (_IO_new_file_close_it): Handle new
36161 _IO_FLAGS2_NOCLOSE flag.
36162 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36163 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36164 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36165 _IO_FLAGS2_NOCLOSE flag.
36166 * include/unistd.h: Add hidden_proto for dup3.
36167 Define __have_dup3.
36168 * io/dup3.c: Define hidden symbol.
36169 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36172 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36173 when an incomplete long option is used.
36174 * posix/tst-getopt_long1.c: New file.
36175 * posix/Makefile (tests): Add tst-getopt_long1.
36178 * scripts/config.guess: Update from autoconf-2.68.
36179 * scripts/config.sub: Likewise.
36182 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36184 (has_cpuclock): ...this. New function.
36185 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36186 macro here based on has_cpuclock code.
36189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36190 First byte (not low byte) is now always NUL.
36191 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36193 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36194 Use non-cancelable interfaces.
36197 * locale/iso-639.def: Add entry for Sorani.
36200 * include/stdlib.h: Move include protection to the right place.
36201 Define abort_msg_s. Declare __abort_msg with it.
36202 * stdlib/abort.c (__abort_msg): Adjust type.
36203 * assert/assert.c (__assert_fail_base): New function. Majority
36204 of code from __assert_fail. Allocate memory for __abort_msg with
36206 (__assert_fail): Now call __assert_fail_base.
36207 * assert/assert-perr.c: Remove bulk of implementation. Use
36208 __assert_fail_base.
36209 * include/assert.hL Declare __assert_fail_base.
36210 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36212 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36214 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36218 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36219 until all modules are registered in the DTV.
36220 * elf/Makefile: Add rules to build and run tst-tls19.
36221 * elf/tst-tls19.c: New file.
36222 * elf/tst-tls19mod1.c: New file.
36223 * elf/tst-tls19mod2.c: New file.
36224 * elf/tst-tls19mod3.c: New file.
36225 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36228 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36232 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36233 two-byte sequence errors.
36234 * iconvdata/Makefile (tests): Add bug-iconv8.
36235 * iconvdata/bug-iconv8.c: New file.
36238 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36241 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36244 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36245 (dummy_getcfa): New function.
36246 (init): Get _Unwind_GetCFA address, use dummy if not found.
36247 (backtrace_helper): In recursion check, also check whether CFA changes.
36248 (__backtrace): Completely initialize arg.
36250 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36251 storing incomplete byte sequence in state object. Avoid testing for
36252 guaranteed too small input if we know there is enough data available.
36254 2011-05-11 Andreas Schwab <schwab@redhat.com>
36256 * Makeconfig (+link-pie): Indent.
36257 * Rules (binaries-pie): Define if $(have-fpie) and
36259 (binaries-shared): Also filter out $(binaries-pie).
36260 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36261 * nscd/Makefile (others-pie): Add nscd.
36262 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36263 ($(objpfx)nscd): Remove command override.
36264 * login/Makefile (others-pie): Add pt_chown.
36265 ($(objpfx)pt_chown): Remove command override.
36266 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36267 remove command overrides.
36269 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36271 * libio/tst_putwc.c: Fix error messages.
36274 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36275 currently writing and seek to current position when not.
36276 * libio/Makefile (tests): Add bug-fclose1.
36277 * libio/bug-fclose1.c: New file.
36279 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36282 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36283 don't set DF_1_NODELETE here.
36284 (do_lookup_x): When entering new entry test for copy relocation
36285 and if necessary set DF_1_NODELETE flag.
36286 * elf/tst-unique4.cc: New file.
36287 * elf/tst-unique4.h: New file.
36288 * elf/tst-unique4lib.cc: New file.
36289 * elf/Makefile: Add rules to build and run tst-unique4.
36290 Patch by Piotr Bury <pbury@goahead.com>.
36292 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36295 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36298 * misc/mntent_r.c (addmntent): Flush the stream after the output
36301 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36302 (is_trusted_path_normalize): Skip initial colon. Append slash
36303 to empty buffer. Duplicate is_trusted_path code but allow
36304 constructed patch to be prefix.
36305 (is_dst): Allow $ORIGIN followed by /.
36306 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36307 Correct testing of result of is_trusted_path_normalize
36308 (decompose_rpath): Fix warning.
36310 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36313 * grp/initgroups.c (internal_getgrouplist): When we found the service
36314 list through the initgroups entry in nsswitch.conf do not always
36315 continue on a successful lookup. Don't always use the
36316 __nss_group_database value if it is set.
36317 * nss/nsswitch.conf (initgroups): Change action for successful db
36318 lookup to continue for compatibility.
36320 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36323 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36325 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36327 * iconvdata/tst-tables.sh: Likewise.
36328 * iconvdata/cp770.c: New file.
36329 * iconvdata/cp771.c: New file.
36330 * iconvdata/cp772.c: New file.
36331 * iconvdata/cp773.c: New file.
36332 * iconvdata/cp774.c: New file.
36333 * iconvdata/testdata/CP770: New file.
36334 * iconvdata/testdata/CP770..UTF8: New file.
36335 * iconvdata/testdata/CP771: New file.
36336 * iconvdata/testdata/CP771..UTF8: New file.
36337 * iconvdata/testdata/CP772: New file.
36338 * iconvdata/testdata/CP772..UTF8: New file.
36339 * iconvdata/testdata/CP773: New file.
36340 * iconvdata/testdata/CP773..UTF8: New file.
36341 * iconvdata/testdata/CP774: New file.
36342 * iconvdata/testdata/CP774..UTF8: New file.
36344 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36346 * iconvdata/gen-8bit-gap.sh: Likewise.
36347 * iconvdata/gen-8bit.sh: Likewise.
36349 * locale/iso-639.def: Add ary entry.
36352 * locale/C-translit.h.in: Add U20A1 transliteration.
36355 * locale/iso-639.def: Add wae entry.
36356 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36359 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36363 * locale/C-translit.h.in: Add entry for U20B9.
36364 Patch by pravin.d.s@gmail.com.
36366 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36369 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36370 ENAMETOOLONG use generic getcwd.
36371 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36372 in rtld. Use *stat64.
36373 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36374 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36375 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36376 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36377 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36378 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36379 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36380 __fstatat64 macros.
36381 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36382 * dirent/rewinddir.c: Add libc_hidden_def.
36383 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36384 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36386 * include/dirent.h (__alloc_dir): Add flags parameter.
36387 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36388 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36390 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36391 from fdopendir if O_CLOEXEC is already set.
36393 2011-03-15 Alan Modra <amodra@gmail.com>
36395 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36396 l_tls_firstbyte_offset non-zero. Save padding offset in
36397 l_tls_firstbyte_offset for later use.
36398 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36399 freeing static tls block.
36401 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36403 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36404 where #ifdef was intended. The intent is to prevent ARG_MAX from
36405 being defined by the kernel headers.
36407 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36410 * resolv/resolv.h: Define RES_NOTLDQUERY.
36411 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36412 no-tld-query and set RES_NOTLDQUERY.
36413 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36414 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36415 modern BIND to search name as TLD unless forbidden.
36417 2011-05-07 Petr Baudis <pasky@suse.cz>
36418 Ulrich Drepper <drepper@gmail.com>
36421 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36422 (is_trusted_path): ...to here.
36423 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36424 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36425 using is_trusted_path_normalize() in setuid scripts.
36427 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36429 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36430 __BEGIN/__END_DECLS.
36432 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36435 NSS_STATUS_NOTFOUND if no record was found.
36437 2011-05-05 Andreas Schwab <schwab@redhat.com>
36439 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36440 (headers-not-in-tirpc): Remove rpc/netdb.h
36441 * resolv/netdb.h: Revert last change.
36443 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36445 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36446 circular dependency between libgcc.a and libc.a.
36448 2011-05-05 Andreas Schwab <schwab@redhat.com>
36450 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36451 * nis/Makefile: Don't install rpcsvc/*.
36452 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36453 instead of <rpc/types.h>.
36454 (MAXHOSTNAMELEN): Define.
36456 2011-05-03 Andreas Schwab <schwab@redhat.com>
36458 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36460 2011-04-28 Maciej Babinski <mbabinski@google.com>
36463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36464 gethostbyname4_r when IPv6 results are possible.
36466 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36469 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36470 _PC_PIPE_BUF handling.
36472 2011-04-30 Bruno Haible <bruno@clisp.org>
36475 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36476 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36478 * inet/getnameinfo.c (getnameinfo): Likewise.
36480 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36482 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36483 to groups setting in database lookup.
36484 * nss/nsswitch.conf: Add initgroups entry.
36486 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36489 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36491 Patch by Eric Blake <eblake@redhat.com>.
36493 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36495 * sunrpc/Makefile (need-export-routines): Add svc_run.
36496 (routines): Remove svc_run.
36497 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36498 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36499 * sunrpc/svc_run.c (svc_run): Likewise.
36500 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36502 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36504 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36505 problem in reallocation in last patch.
36507 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36509 * sunrpc/Makefile: Move inclusion of Rules.
36511 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36513 * nss/nss_files/files-initgroups.c: New file.
36514 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36515 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36516 _nss_files_initgroups_dyn.
36518 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36520 * elf/elf.h (R_ARM_IRELATIVE): Define.
36522 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36524 * po/ru.po: Update from translation team.
36526 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36528 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36531 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36534 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36535 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36536 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36538 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36540 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36542 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36544 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36546 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36548 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36551 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36553 * stdlib/bug-getcontext.c: New file.
36554 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36556 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36558 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36559 instructions into .machine "z9-109".
36560 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36561 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36563 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36565 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36566 between environment variables and auxiliary vector.
36568 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36570 * Makefile: Add rules to build linkobj/libc.so.
36571 * include/libc-symbols.h: Define libc_hidden_nolink.
36572 * include/rpc/auth.h: Mark functions which are to be hidden.
36573 * include/rpc/auth_des.h: Likewise.
36574 * include/rpc/auth_unix.h: Likewise.
36575 * include/rpc/clnt.h: Likewise.
36576 * include/rpc/des_crypt.h: Likewise.
36577 * include/rpc/key_prot.h: Likewise.
36578 * include/rpc/pmap_clnt.h: Likewise.
36579 * include/rpc/pmap_prot.h: Likewise.
36580 * include/rpc/pmap_rmt.h: Likewise.
36581 * include/rpc/rpc_msg.h: Likewise.
36582 * include/rpc/svc.h: Likewise.
36583 * include/rpc/svc_auth.h: Likewise.
36584 * include/rpc/xdr.h: Likewise.
36585 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36586 * nss/Makefile: Likewise.
36587 * sunrpc/Makefile: Don't install headers. Build library with normal
36588 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36589 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36590 for the compat linking library. Remove use of INTDEF/INTUSE.
36591 * sunrpc/auth_none.c: Likewise.
36592 * sunrpc/auth_unix.c: Likewise.
36593 * sunrpc/authdes_prot.c: Likewise.
36594 * sunrpc/authuxprot.c: Likewise.
36595 * sunrpc/clnt_gen.c: Likewise.
36596 * sunrpc/clnt_perr.c: Likewise.
36597 * sunrpc/clnt_raw.c: Likewise.
36598 * sunrpc/clnt_simp.c: Likewise.
36599 * sunrpc/clnt_tcp.c: Likewise.
36600 * sunrpc/clnt_udp.c: Likewise.
36601 * sunrpc/clnt_unix.c: Likewise.
36602 * sunrpc/des_crypt.c: Likewise.
36603 * sunrpc/des_soft.c: Likewise.
36604 * sunrpc/get_myaddr.c: Likewise.
36605 * sunrpc/key_call.c: Likewise.
36606 * sunrpc/key_prot.c: Likewise.
36607 * sunrpc/netname.c: Likewise.
36608 * sunrpc/pm_getmaps.c: Likewise.
36609 * sunrpc/pm_getport.c: Likewise.
36610 * sunrpc/pmap_clnt.c: Likewise.
36611 * sunrpc/pmap_prot.c: Likewise.
36612 * sunrpc/pmap_prot2.c: Likewise.
36613 * sunrpc/pmap_rmt.c: Likewise.
36614 * sunrpc/publickey.c: Likewise.
36615 * sunrpc/rpc_cmsg.c: Likewise.
36616 * sunrpc/rpc_common.c: Likewise.
36617 * sunrpc/rpc_dtable.c: Likewise.
36618 * sunrpc/rpc_prot.c: Likewise.
36619 * sunrpc/rpc_thread.c: Likewise.
36620 * sunrpc/rtime.c: Likewise.
36621 * sunrpc/svc.c: Likewise.
36622 * sunrpc/svc_auth.c: Likewise.
36623 * sunrpc/svc_authux.c: Likewise.
36624 * sunrpc/svc_raw.c: Likewise.
36625 * sunrpc/svc_run.c: Likewise.
36626 * sunrpc/svc_simple.c: Likewise.
36627 * sunrpc/svc_tcp.c: Likewise.
36628 * sunrpc/svc_udp.c: Likewise.
36629 * sunrpc/svc_unix.c: Likewise.
36630 * sunrpc/svcauth_des.c: Likewise.
36631 * sunrpc/xcrypt.c: Likewise.
36632 * sunrpc/xdr.c: Likewise.
36633 * sunrpc/xdr_array.c: Likewise.
36634 * sunrpc/xdr_float.c: Likewise.
36635 * sunrpc/xdr_intXX_t.c: Likewise.
36636 * sunrpc/xdr_mem.c: Likewise.
36637 * sunrpc/xdr_rec.c: Likewise.
36638 * sunrpc/xdr_ref.c: Likewise.
36639 * sunrpc/xdr_sizeof.c: Likewise.
36640 * sunrpc/xdr_stdio.c: Likewise.
36642 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36645 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36646 * sysdeps/ia64/dl-tls.h: Likewise.
36647 * sysdeps/powerpc/dl-tls.h: Likewise.
36648 * sysdeps/s390/dl-tls.h: Likewise.
36649 * sysdeps/sh/dl-tls.h: Likewise.
36650 * sysdeps/sparc/dl-tls.h: Likewise.
36651 * sysdeps/x86_64/dl-tls.h: Likewise.
36652 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36654 2011-03-14 Andreas Schwab <schwab@redhat.com>
36656 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36657 rpath element also skip the following colon.
36658 (expand_dynamic_string_token): Add is_path parameter and pass
36659 down to DL_DST_REQUIRED and _dl_dst_substitute.
36660 (decompose_rpath): Call expand_dynamic_string_token with
36661 non-zero is_path. Ignore empty rpaths.
36662 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36665 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36670 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36673 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36674 Patch by Filipe David Manana <fdmanana@apache.org>.
36676 2011-04-07 Andreas Schwab <schwab@redhat.com>
36678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36679 Maintain aligned stack.
36680 (CHECK_RSP): Remove unused macro.
36682 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36684 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36685 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36687 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36689 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36691 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36693 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36696 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36697 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36698 * sysdeps/x86_64/memmove.c: New file.
36699 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36700 (memcpy): Renamed to ...
36701 (__new_memcpy): This.
36702 (memcpy): Provide GLIBC_2_14 memcpy.
36703 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36704 (memcpy): Provide GLIBC_2_2_5 memcpy.
36706 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36709 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36711 2011-03-30 Andreas Schwab <schwab@redhat.com>
36713 * misc/syncfs.c: New file.
36714 * misc/Makefile (routines): Add syncfs.
36715 * posix/unistd.h: Declare syncfs.
36716 * sysdeps/unix/syscalls.list: Add syncfs.
36718 2011-04-01 Andreas Schwab <schwab@redhat.com>
36720 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36722 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36723 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36727 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36728 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36730 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36732 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36733 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36734 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36736 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36738 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36740 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36741 sync_file_range.c with -fexceptions.
36742 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36743 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36744 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36745 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36746 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36747 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36749 sync_file_range as cancellation point
36750 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36751 now a wrapper around __call_sync_file_range with cancellation handling.
36752 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36753 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36754 function name to __call_sync_file_range.
36755 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36756 Add call_sync_file_range.
36758 2011-04-01 Andreas Schwab <schwab@redhat.com>
36760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36763 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36765 * iconv/iconv.h: Fix typo in comment.
36766 * io/fcntl.h: Likewise.
36767 * libio/stdio.h: Likewise.
36768 * posix/spawn.h: Likewise.
36769 * posix/unistd.h: Likewise.
36770 * stdlib/stdlib.h: Likewise.
36771 * time/time.h: Likewise.
36772 * wcsmbs/wchar.h: Likewise.
36774 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36775 open_by_handle): Add.
36776 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36777 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36778 Augment a few comments.
36779 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36783 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36784 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36787 * io/fcntl.h (AT_EMPTY_PATH): Define.
36789 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36791 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36792 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36793 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36795 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36796 * Versions.def: Add GLIBC_2.14.
36797 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36800 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36802 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36804 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36806 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36809 * string/test-strncmp.c (do_page_test): New function.
36810 (check2): Likewise.
36811 (test_main): Call check2.
36812 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36814 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36817 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36818 Handle cache information in CPU leaf 4.
36819 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36821 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36824 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36825 character representation.
36826 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36828 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36830 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36831 END(__isnan) to END(__isnanf) to match function entry point/label
36832 EALIGN(__isnanf,...).
36834 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36836 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36838 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36841 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36842 copy from the symbol referenced in the relocation to initialize the
36844 Patch by Piotr Bury <pbury@goahead.com>.
36845 * elf/Makefile: Add rules to build and tst-unique3.
36846 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36847 * elf/tst-unique3.cc: New file.
36848 * elf/tst-unique3.h: New file.
36849 * elf/tst-unique3lib.cc: New file.
36850 * elf/tst-unique3lib2.cc: New file.
36852 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36854 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36856 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36857 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36860 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36862 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36863 to-be-loaded object along a path to loader is ld.so.
36865 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36866 Ulrich Drepper <drepper@gmail.com>
36868 * sysdeps/x86_64/memset.S: After aligning destination, code
36869 branches to different locations depending on the value of
36870 misalignment, when multiarch is enabled. Fix this.
36872 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36874 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36875 Set _x86_64_preferred_memory_instruction for AMD processsors.
36876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36877 Set bit_Prefer_SSE_for_memop for AMD processors.
36879 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36881 * libio/fmemopen.c (fmemopen): Optimize a bit.
36883 2011-03-03 Andreas Schwab <schwab@redhat.com>
36885 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36887 2011-03-03 Roland McGrath <roland@redhat.com>
36889 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36891 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36893 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36894 __bzero_ultra1 instead of __memset_ultra1.
36896 2011-02-23 Andreas Schwab <schwab@redhat.com>
36897 Ulrich Drepper <drepper@gmail.com>
36900 * include/link.h (struct link_map): Add l_orig_initfini.
36901 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36902 returning unsuccessfully.
36903 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36904 close of a file loaded at startup, restore the original l_initfini
36906 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36907 list, store the pointer.
36908 * elf/Makefile ($(objpfx)noload-mem): New rule.
36909 (noload-ENV): Define.
36910 (tests): Add $(objpfx)noload-mem.
36911 * elf/noload.c: Include <memcheck.h>.
36912 (main): Call mtrace. Close all opened handles.
36914 2011-02-17 Andreas Schwab <schwab@redhat.com>
36917 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36918 dependencies are missing.
36920 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36922 Fix __if_freereq crash: Unlike the generic version which uses free,
36924 * sysdeps/mach/hurd/ifreq.h: New file.
36926 2011-01-27 Petr Baudis <pasky@suse.cz>
36927 Ulrich Drepper <drepper@gmail.com>
36930 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36931 to extend_alloca().
36932 * stdio-common/bug23.c: New file.
36933 * stdio-common/Makefile (tests): Add bug23.
36935 2010-09-28 Andreas Schwab <schwab@redhat.com>
36936 Ulrich Drepper <drepper@gmail.com>
36939 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36940 before performing relro protection. At old place add assertion
36941 to make sure nothing changed.
36943 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36944 Glauber de Oliveira Costa <glommer@gmail.com>
36946 * elf/elf.h: Add new ARM TLS relocs.
36948 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36951 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36953 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36955 * sysdeps/wordsize-64/tst-writev.c: New file.
36957 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36959 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36960 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36961 insns in _dl_start to prevent a TOC reference before relocs are
36964 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36967 * Makeconfig: Remove RANLIB definition.
36968 * Makerules: Don't use RANLIB.
36969 * aclocal.m4: Remove ranlib test.
36970 * configure.in: No need to check for ranlib.
36971 * elf/rtld-Rules: Don't use RANLIB.
36973 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36975 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36977 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36978 inclusion protection macro.
36980 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36981 SIGRTMIN and SIGRTMAX and print information in that case only when
36982 SIGRTMIN is defined.
36984 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36986 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36987 arginfo fn returning -1.
36989 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36990 and thousands string is zero terminated.
36992 2011-02-03 Andreas Schwab <schwab@redhat.com>
36994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36995 sysdeps/unix/sysv/linux/bits/socket.h.
36997 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36999 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37000 (__CPU_COUNT): Remove old macros.
37001 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37002 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37003 (__CPU_ALLOC, __CPU_FREE): Add macros.
37004 (__sched_cpualloc, __sched_cpufree): Add declarations.
37006 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37008 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37009 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37010 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37011 (readdhstai): Return value of addhstaiX call.
37012 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37013 (addgrbyX): Return value returned by cache_addgr.
37014 (readdgrbyname): Return value returned by addgrbyX.
37015 (readdgrbygid): Likewise.
37016 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37017 (addpwbyX): Return value returned by cache_addpw.
37018 (readdpwbyname): Return value returned by addhstbyX.
37019 (readdpwbyuid): Likewise.
37020 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37021 (addservbyX): Return value returned by cache_addserv.
37022 (readdservbyname): Return value returned by addservbyX:
37023 (readdservbyport): Likewise.
37024 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37025 (addhstbyX): Return value returned by cache_addhst.
37026 (readdhstbyname): Return value returned by addhstbyX.
37027 (readdhstbyaddr): Likewise.
37028 (readdhstbynamev6): Likewise.
37029 (readdhstbyaddrv6): Likewise.
37030 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37031 (readdinitgroups): Return value returned by addinitgroupsX.
37032 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37033 (prune_cache): Keep track of timeout value of re-added entries.
37034 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37035 * nscd/nscd.h: Adjust prototypes of readd* functions.
37037 2011-02-04 Roland McGrath <roland@redhat.com>
37039 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37040 (nis_stats): Likewise.
37041 * nis/nis_modify.c (nis_modify): Likewise.
37042 * nis/nis_remove.c (nis_remove): Likewise.
37043 * nis/nis_add.c (nis_add): Likewise.
37045 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37047 * posix/fnmatch_loop.c: Add some consts.
37049 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37051 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37054 * config.make.in (config-cflags-novzeroupper): Define.
37055 * configure.in: Substitute libc_cv_cc_novzeroupper.
37056 * elf/Makefile (AVX-CFLAGS): Define.
37057 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37058 (CFLAGS-tst-auditmod4a.c): Likewise.
37059 (CFLAGS-tst-auditmod4b.c): Likewise.
37060 (CFLAGS-tst-auditmod6b.c): Likewise.
37061 (CFLAGS-tst-auditmod6c.c): Likewise.
37062 (CFLAGS-tst-auditmod7b.c): Likewise.
37063 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37065 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37067 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37068 function to the callback.
37069 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37071 2011-02-02 Andreas Schwab <schwab@redhat.com>
37073 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37076 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37079 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37081 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37083 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37086 * elf/Makefile: Add rules to build and run new test.
37087 * elf/tst-initorder.c: New file.
37088 * elf/tst-initorder.exp: New file.
37089 * elf/tst-initordera1.c: New file.
37090 * elf/tst-initordera2.c: New file.
37091 * elf/tst-initordera3.c: New file.
37092 * elf/tst-initordera4.c: New file.
37093 * elf/tst-initorderb1.c: New file.
37094 * elf/tst-initorderb2.c: New file.
37095 * elf/tst-order-a1.c: New file.
37096 * elf/tst-order-a2.c: New file.
37097 * elf/tst-order-a3.c: New file.
37098 * elf/tst-order-a4.c: New file.
37099 * elf/tst-order-b1.c: New file.
37100 * elf/tst-order-b2.c: New file.
37101 * elf/tst-order-main.c: New file.
37102 New test case by George Gensure <werkt0@gmail.com>.
37104 2010-10-01 Andreas Schwab <schwab@redhat.com>
37106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37107 decoding ACE if AI_CANONIDN.
37109 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37111 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37113 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37115 * version.h (RELEASE): Bump for 2.13 release.
37116 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37118 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37120 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37122 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37127 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37129 * posix/getconf.c: Update copyright year.
37130 * catgets/gencat.c: Likewise.
37131 * csu/version.c: Likewise.
37132 * debug/catchsegv.sh: Likewise.
37133 * debug/xtrace.sh: Likewise.
37134 * elf/ldconfig.c: Likewise.
37135 * elf/ldd.bash.in: Likewise.
37136 * elf/sprof.c (print_version): Likewise.
37137 * iconv/iconv_prog.c: Likewise.
37138 * iconv/iconvconfig.c: Likewise.
37139 * locale/programs/locale.c: Likewise.
37140 * locale/programs/localedef.c: Likewise.
37141 * malloc/memusage.sh: Likewise.
37142 * malloc/mtrace.pl: Likewise.
37143 * nscd/nscd.c (print_version): Likewise.
37144 * nss/getent.c: Likewise.
37146 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37147 PF_CAIF, and PF_ALG.
37148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37150 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37152 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37153 (modules-names): Use them.
37154 (ifunc-test-modules, ifunc-pie-tests): Define.
37155 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37156 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37157 (test-extras): Likewise.
37158 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37159 $(compile-command.c).
37160 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37161 (all-built-dso): Define.
37162 (check-textrel.out, check-execstack.out): Depend on it.
37164 * configure.in: Don't override --enable-multi-arch.
37166 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37169 * nscd/hstcache.c (tryagain): Define.
37170 (cache_addhst): Return tryagain not notfound for temporary errors.
37171 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37174 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37177 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37178 to make the syscall.
37179 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37182 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37183 and fall back to matching as normal character if the string ends before
37184 the matching ']' is found. This is what POSIX requires.
37185 * posix/testfnm.c: Adjust test result.
37186 * posix/globtest.sh: Adjust test result. Add new test.
37187 * posix/tst-fnmatch.input: Likewise.
37188 * posix/tst-fnmatch2.c: Add new test.
37190 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37192 * elf/Makefile (check-execstack): Revert last change. Depend on
37194 (check-execstack.h): New target.
37195 (generated): Add check-execstack.h.
37196 * elf/check-execstack.c: Include "check-execstack.h".
37197 (main): Revert last change.
37198 (handle_file): Return zero if GNU_STACK is absent and
37199 DEFAULT_STACK_PERMS doesn't include PF_X.
37201 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37203 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37204 in child fails because the descriptor is already closed.
37205 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37206 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37207 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37210 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37214 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37215 temporary buffer used to handle multi lookups locally.
37216 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37218 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37220 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37223 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37225 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37226 alignment for SSE2.
37228 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37231 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37232 characters. When rounding increased number of integer digits recompute
37234 * stdio-common/tst-grouping.c: New file.
37235 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37237 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37239 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37240 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37242 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37244 * bits/select.h: Likewise.
37246 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37248 * po/ja.po: Update from translation team.
37250 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37253 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37254 implementation just like for lxstat, fxstatat, et al.
37256 2010-12-27 Jim Meyering <meyering@redhat.com>
37259 * posix/regexec.c (build_trtable): Return failure indication upon
37260 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37262 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37265 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37266 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37267 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37268 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37271 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37274 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37275 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37277 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37279 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37280 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37281 script has SORT_BY_INIT_PRIORITY.
37282 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37283 NO_CTORS_DTORS_SECTIONS is defined.
37284 * elf/soinit.c: Likewise.
37285 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37286 NO_CTORS_DTORS_SECTIONS is defined.
37287 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37288 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37289 * sysdeps/sh/init-first.c: Likewise.
37290 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37292 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37294 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37295 always use the slow path.
37297 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37299 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37300 similar rule which adds the sysdep directories to the header search in
37301 order to pick up the correct platform stackinfo.h.
37302 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37303 perform test if it is, otherwise return successfully without testing.
37304 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37305 DEFAULT_STACK_PERMS define in stackinfo.h.
37306 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37307 defined in stackinfo.h.
37308 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37309 DEFAULT_STACK_PERMS defined in stackinfo.h.
37310 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37311 * sysdeps/ia64/stackinfo.h: Likewise.
37312 * sysdeps/s390/stackinfo.h: Likewise.
37313 * sysdeps/sh/stackinfo.h: Likewise.
37314 * sysdeps/sparc/stackinfo.h: Likewise.
37315 * sysdeps/x86_64/stackinfo.h: Likewise.
37316 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37317 PF_X for powerpc64. Retain PF_X for powerpc32.
37319 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37321 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37323 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37324 GETDENTS_64BIT_ALIGNED.
37326 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37328 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37330 2010-12-10 Andreas Schwab <schwab@redhat.com>
37332 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37335 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37336 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37338 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37339 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37341 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37344 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37347 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37349 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37351 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37353 * po/it.po: Update from translation team.
37355 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37360 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37362 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37364 2010-11-24 Andreas Schwab <schwab@redhat.com>
37366 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37368 (gaih_getanswer_slice): Likewise.
37370 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37374 2010-05-31 Petr Baudis <pasky@suse.cz>
37377 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37378 silently even in the chroot mode.
37380 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37382 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37383 last patch a bit. Pretty printing
37385 2010-05-31 Petr Baudis <pasky@suse.cz>
37388 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37389 initialization of skip_initgroups_dyn.
37391 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37393 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37394 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37396 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37398 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37400 2010-11-11 Andreas Schwab <schwab@redhat.com>
37402 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37403 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37404 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37405 ($(objpfx)tst-fnmatch-mem): New rule.
37406 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37407 * posix/tst-fnmatch.c (main): Call mtrace.
37409 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37412 Support Intel processor model 6 and model 0x2c.
37414 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37416 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37419 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37422 * string/test-strncasecmp.c (check_result): New function.
37423 (do_one_test): Use it.
37424 (check1): New function.
37425 (test_main): Use it.
37426 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37427 Support strcasecmp and strncasecmp.
37429 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37432 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37433 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37435 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37437 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37441 * sysdeps/x86_64/multiarch/bzero.S: New file.
37442 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37443 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37444 * sysdeps/x86_64/multiarch/memset.S: New file.
37445 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37447 Set bit_Prefer_SSE_for_memop for Intel processors.
37448 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37450 (index_Prefer_SSE_for_memop): Define.
37451 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37453 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37455 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37456 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37458 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37461 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37462 (__x86_64_raw_data_cache_size_half): Likewise.
37463 (__x86_64_raw_shared_cache_size): Likewise.
37464 (__x86_64_raw_shared_cache_size_half): Likewise.
37466 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37467 (__x86_64_raw_data_cache_size_half): Likewise.
37468 (__x86_64_raw_shared_cache_size): Likewise.
37469 (__x86_64_raw_shared_cache_size_half): Likewise.
37470 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37471 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37472 and __x86_64_raw_shared_cache_size_half. Round
37473 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37474 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37475 to multiple of 256 bytes.
37477 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37480 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37481 of inacessible symlinks. Verify result of symlink before returning it.
37482 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37483 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37485 2010-10-28 Erich Ritz <erichritz@gmail.com>
37487 * math/math.h (isinf): Fix typo in comment.
37489 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37491 * po/da.po: Update from translation team.
37493 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37495 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37496 is added to the list.
37498 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37499 Ulrich Drepper <drepper@gmail.com>
37501 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37502 the global list here. Move code to...
37503 (_dl_add_to_namespace_list): ...here. New function.
37504 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37505 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37506 * elf/dl-load.c (lose): Don't remove the element from the list.
37507 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37508 (_dl_map_object): Likewise.
37510 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37513 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37514 into all bytes of SSE register.
37515 Patch by Richard Li <richardpku@gmail.com>.
37517 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37520 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37523 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37525 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37526 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37527 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37528 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37533 2010-10-22 Andreas Schwab <schwab@redhat.com>
37535 * include/dlfcn.h (__RTLD_SECURE): Define.
37536 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37537 mode & __RTLD_SECURE instead.
37538 (open_path): Rename preloaded parameter to secure.
37539 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37540 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37541 * elf/dl-deps.c (openaux): Likewise.
37542 * elf/rtld.c (struct map_args): Remove is_preloaded.
37543 (map_doit): Don't use it.
37544 (dl_main): Likewise.
37545 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37546 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37548 2010-09-09 Andreas Schwab <schwab@redhat.com>
37550 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37551 (sysd-rules-targets): Remove duplicates.
37552 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37553 rtld-%.$o dependency.
37555 2010-10-18 Andreas Schwab <schwab@redhat.com>
37557 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37558 _dl_map_object do it.
37560 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37562 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37563 fast fma builtins, define the macros in the C99 standard.
37564 (FP_FAST_FMAF): Likewise.
37565 (FP_FAST_FMAL): Likewise.
37566 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37568 * bits/mathdef.h: Update copyright year.
37569 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37571 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37573 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37574 builtins, define the macros in the C99 standard.
37575 (FP_FAST_FMAF): Likewise.
37576 (FP_FAST_FMAL): Likewise.
37577 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37579 (FP_FAST_FMAF): Likewise.
37581 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37584 * math/libm-test.inc (fma_test): Some new testcases.
37585 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37586 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37587 y and infinite z. Do multiplication by C already in long double.
37588 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37590 y and infinite z. Do bitwise or of inexact bit into u.d.
37591 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37592 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37593 * sysdeps/i386/fpu/s_fma.S: Removed.
37594 * sysdeps/i386/fpu/s_fmal.S: Removed.
37596 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37599 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37600 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37601 computation is not scheduled after fetestexcept. Fix value
37602 of minimum denormal long double.
37604 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37607 * math/libm-test.inc (fma_test): Add some more tests.
37608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37611 2010-10-15 Andreas Schwab <schwab@redhat.com>
37613 * scripts/data/localplt-s390-linux-gnu.data: New file.
37614 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37616 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37619 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37620 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37622 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37624 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37626 if one of x and y is very large and the other is subnormal.
37627 * sysdeps/s390/fpu/s_fmaf.c: New file.
37628 * sysdeps/s390/fpu/s_fma.c: New file.
37629 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37630 * sysdeps/powerpc/fpu/s_fma.S: New file.
37631 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37632 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37633 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37635 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37638 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37640 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37641 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37642 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37643 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37644 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37645 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37646 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37648 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37651 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37652 * posix/bug-regex31.input: Add test case.
37654 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37656 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37657 * posix/bug-regex31.input: New file.
37660 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37661 (parse_sub_exp): Fix last change, use postorder.
37663 * posix/bug-regex31.c: New file.
37664 * posix/Makefile: Add rules to build and run bug-regex31.
37666 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37669 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37672 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37673 to have entries in sys_siglist.
37676 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37679 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37682 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37683 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37684 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37685 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37686 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37687 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37688 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37689 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37690 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37691 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37692 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37693 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37694 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37695 * math/ftestexcept.c (fetestexcept): Likewise.
37696 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37697 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37698 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37699 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37700 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37701 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37702 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37704 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37707 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37710 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37712 * string/bug-strstr1.c: New file.
37713 * string/Makefile: Add rules to build and run bug-strstr1.
37715 2010-10-05 Eric Blake <eblake@redhat.com>
37718 * string/str-two-way.h (two_way_long_needle): Always clear memory
37719 when skipping input due to the shift table.
37721 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37724 * malloc/mcheck.c: Handle large requests.
37727 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37728 for strncmp and strncasecmp.
37729 * string/stratcliff.c: Add tests for strcmp and strncmp.
37730 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37732 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37734 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37737 2010-09-30 Andreas Jaeger <aj@suse.de>
37739 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37740 (CGROUP_SUPER_MAGIC): Define.
37741 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37742 Handle btrfs and cgroup file systems.
37743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37746 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37748 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37749 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37751 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37754 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37755 trying to locate the ELF header.
37757 2010-09-27 Andreas Schwab <schwab@redhat.com>
37760 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37761 Mask out sign-bit copies when constructing f_fsid.
37763 2010-09-24 Petr Baudis <pasky@suse.cz>
37765 * debug/stack_chk_fail_local.c: Add missing licence exception.
37766 * debug/warning-nop.c: Likewise.
37768 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37770 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37771 implementing getdents64 using getdents syscall, set d_type if
37772 __ASSUME_GETDENTS32_D_TYPE.
37774 2010-09-16 Andreas Schwab <schwab@redhat.com>
37776 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37777 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37779 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37782 * posix/unistd.h: Undo change of feature selection for ftruncate from
37785 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37787 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37790 2010-09-20 Andreas Schwab <schwab@redhat.com>
37792 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37794 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37796 2010-09-14 Andreas Schwab <schwab@redhat.com>
37798 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37799 variables after CHECK_SP call.
37800 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37802 2010-09-13 Andreas Schwab <schwab@redhat.com>
37803 Ulrich Drepper <drepper@redhat.com>
37805 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37806 re-relocationg ld.so.
37807 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37808 _dl_init_paths call.
37809 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37812 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37814 * resolv/res_init.c (__res_vinit): Count the default server we added.
37816 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37817 Ulrich Drepper <drepper@redhat.com>
37820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37821 (____longjmp_chk): Use %ebx for saving value across system call.
37824 2010-09-06 Andreas Schwab <schwab@redhat.com>
37826 * manual/Makefile: Don't mix pattern rules with normal rules.
37828 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37830 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37832 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37833 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37834 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37835 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37836 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37839 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37842 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37843 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37845 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37847 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37848 * sysdeps/x86_64/addmul_1.S: Likewise.
37849 * sysdeps/x86_64/lshift.S: Likewise.
37850 * sysdeps/x86_64/mul_1.S: Likewise.
37851 * sysdeps/x86_64/rshift.S: Likewise.
37852 * sysdeps/x86_64/sub_n.S: Likewise.
37853 * sysdeps/x86_64/submul_1.S: Likewise.
37855 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37857 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37858 Define __sched_param instead of SCHED_* and sched_param when
37859 <bits/sched.h> is included with __need_schedparam defined.
37860 * bits/sched.h [__need_schedparam]
37861 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37862 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37863 (__defined_schedparam): Define to 1.
37864 (__sched_param): New structure, identical to sched_param.
37865 (__need_schedparam): Undefine.
37867 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37869 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37870 (epoll_create1): Declare.
37872 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37874 2010-08-31 Andreas Schwab <schwab@redhat.com>
37877 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37878 shifting retval into place.
37880 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37882 * nis/rpcsvc/nis.h: Update copyright notice.
37883 * nis/rpcsvc/nis.x: Likewise.
37884 * nis/rpcsvc/nis_callback.h: Likewise.
37885 * nis/rpcsvc/nis_callback.x: Likewise.
37886 * nis/rpcsvc/nis_object.x: Likewise.
37887 * nis/rpcsvc/nis_tags.h: Likewise.
37888 * nis/rpcsvc/yp.h: Likewise.
37889 * nis/rpcsvc/yp.x: Likewise.
37890 * nis/rpcsvc/ypupd.h: Likewise.
37891 * nis/yp_xdr.c: Likewise.
37892 * nis/ypupdate_xdr.c: Likewise.
37894 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37895 mainly the body of pmap_getport. Add parameters to specify timeouts.
37896 (pmap_getport): Use __libc_rpc_getport.
37897 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37898 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37899 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37901 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37906 2010-08-27 Roland McGrath <roland@redhat.com>
37908 * sysdeps/i386/i686/multiarch/Makefile
37909 (CFLAGS-varshift.c): New variable.
37911 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37913 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37914 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37916 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37918 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37920 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37922 * sysdeps/x86_64/strlen.S: Unroll the loop.
37923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37924 strlen-sse2 strlen-sse2-bsf.
37925 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37926 __strlen_no_bsf if bit_Slow_BSF is set.
37927 (__strlen_sse42): Removed.
37928 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37929 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37931 2010-08-25 Roland McGrath <roland@redhat.com>
37933 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37934 * sysdeps/x86_64/multiarch/varshift.c: New file.
37935 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37936 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37937 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37938 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37940 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37943 strlen-sse2 strlen-sse2-bsf.
37944 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37945 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37946 (__strlen_sse2): Removed.
37947 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37950 bit_Slow_BSF for Atom.
37951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37952 (index_Slow_BSF): Define.
37953 (HAS_SLOW_BSF): Define.
37955 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37958 * resolv/res_init.c (__res_vinit): When no server address at all
37959 is given default to loopback.
37961 2010-08-24 Roland McGrath <roland@redhat.com>
37963 * configure.in: Remove config-name.h generation.
37964 * configure: Regenerated.
37965 * config-name.in: File removed.
37966 * scripts/config-uname.sh: New file.
37967 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37968 ($(objdir)config-name.h): New target.
37970 * sunrpc/rpc_parse.h: Avoid nested comment.
37972 2010-08-24 Richard Henderson <rth@redhat.com>
37973 Ulrich Drepper <drepper@redhat.com>
37974 H.J. Lu <hongjiu.lu@intel.com>
37976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37978 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37979 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37980 _mm_alignr_epi8 with _mm_loadu_si128.
37981 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37982 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37983 (__m128i_shift_right): Removed.
37984 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37985 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37986 * sysdeps/x86_64/multiarch/varshift.h: New file.
37987 * sysdeps/x86_64/multiarch/varshift.S: New file.
37989 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37991 * configure.in: Move assembler checks to before sysdep dir checking.
37993 2010-08-20 Petr Baudis <pasky@suse.cz>
37995 * LICENSES: Sync the sunrpc license.
37997 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37999 * sunrpc/auth_des.c: Update copyright notice once again.
38000 * sunrpc/auth_none.c: Likewise.
38001 * sunrpc/auth_unix.c: Likewise.
38002 * sunrpc/authdes_prot.c: Likewise.
38003 * sunrpc/authuxprot.c: Likewise.
38004 * sunrpc/bindrsvprt.c: Likewise.
38005 * sunrpc/clnt_gen.c: Likewise.
38006 * sunrpc/clnt_perr.c: Likewise.
38007 * sunrpc/clnt_raw.c: Likewise.
38008 * sunrpc/clnt_simp.c: Likewise.
38009 * sunrpc/clnt_tcp.c: Likewise.
38010 * sunrpc/clnt_udp.c: Likewise.
38011 * sunrpc/clnt_unix.c: Likewise.
38012 * sunrpc/des_crypt.c: Likewise.
38013 * sunrpc/des_soft.c: Likewise.
38014 * sunrpc/get_myaddr.c: Likewise.
38015 * sunrpc/getrpcport.c: Likewise.
38016 * sunrpc/key_call.c: Likewise.
38017 * sunrpc/key_prot.c: Likewise.
38018 * sunrpc/openchild.c: Likewise.
38019 * sunrpc/pm_getmaps.c: Likewise.
38020 * sunrpc/pm_getport.c: Likewise.
38021 * sunrpc/pmap_clnt.c: Likewise.
38022 * sunrpc/pmap_prot.c: Likewise.
38023 * sunrpc/pmap_prot2.c: Likewise.
38024 * sunrpc/pmap_rmt.c: Likewise.
38025 * sunrpc/rpc/auth.h: Likewise.
38026 * sunrpc/rpc/auth_unix.h: Likewise.
38027 * sunrpc/rpc/clnt.h: Likewise.
38028 * sunrpc/rpc/des_crypt.h: Likewise.
38029 * sunrpc/rpc/key_prot.h: Likewise.
38030 * sunrpc/rpc/netdb.h: Likewise.
38031 * sunrpc/rpc/pmap_clnt.h: Likewise.
38032 * sunrpc/rpc/pmap_prot.h: Likewise.
38033 * sunrpc/rpc/pmap_rmt.h: Likewise.
38034 * sunrpc/rpc/rpc.h: Likewise.
38035 * sunrpc/rpc/rpc_des.h: Likewise.
38036 * sunrpc/rpc/rpc_msg.h: Likewise.
38037 * sunrpc/rpc/svc.h: Likewise.
38038 * sunrpc/rpc/svc_auth.h: Likewise.
38039 * sunrpc/rpc/types.h: Likewise.
38040 * sunrpc/rpc/xdr.h: Likewise.
38041 * sunrpc/rpc_clntout.c: Likewise.
38042 * sunrpc/rpc_cmsg.c: Likewise.
38043 * sunrpc/rpc_common.c: Likewise.
38044 * sunrpc/rpc_cout.c: Likewise.
38045 * sunrpc/rpc_dtable.c: Likewise.
38046 * sunrpc/rpc_hout.c: Likewise.
38047 * sunrpc/rpc_main.c: Likewise.
38048 * sunrpc/rpc_parse.c: Likewise.
38049 * sunrpc/rpc_parse.h: Likewise.
38050 * sunrpc/rpc_prot.c: Likewise.
38051 * sunrpc/rpc_sample.c: Likewise.
38052 * sunrpc/rpc_scan.c: Likewise.
38053 * sunrpc/rpc_scan.h: Likewise.
38054 * sunrpc/rpc_svcout.c: Likewise.
38055 * sunrpc/rpc_tblout.c: Likewise.
38056 * sunrpc/rpc_util.c: Likewise.
38057 * sunrpc/rpc_util.h: Likewise.
38058 * sunrpc/rpcinfo.c: Likewise.
38059 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38060 * sunrpc/rpcsvc/key_prot.x: Likewise.
38061 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38062 * sunrpc/rpcsvc/mount.x: Likewise.
38063 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38064 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38065 * sunrpc/rpcsvc/rex.x: Likewise.
38066 * sunrpc/rpcsvc/rstat.x: Likewise.
38067 * sunrpc/rpcsvc/rusers.x: Likewise.
38068 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38069 * sunrpc/rpcsvc/spray.x: Likewise.
38070 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38071 * sunrpc/rtime.c: Likewise.
38072 * sunrpc/svc.c: Likewise.
38073 * sunrpc/svc_auth.c: Likewise.
38074 * sunrpc/svc_authux.c: Likewise.
38075 * sunrpc/svc_raw.c: Likewise.
38076 * sunrpc/svc_run.c: Likewise.
38077 * sunrpc/svc_simple.c: Likewise.
38078 * sunrpc/svc_tcp.c: Likewise.
38079 * sunrpc/svc_udp.c: Likewise.
38080 * sunrpc/svc_unix.c: Likewise.
38081 * sunrpc/svcauth_des.c: Likewise.
38082 * sunrpc/xcrypt.c: Likewise.
38083 * sunrpc/xdr.c: Likewise.
38084 * sunrpc/xdr_array.c: Likewise.
38085 * sunrpc/xdr_float.c: Likewise.
38086 * sunrpc/xdr_mem.c: Likewise.
38087 * sunrpc/xdr_rec.c: Likewise.
38088 * sunrpc/xdr_ref.c: Likewise.
38089 * sunrpc/xdr_sizeof.c: Likewise.
38090 * sunrpc/xdr_stdio.c: Likewise.
38092 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38095 2010-08-19 Andreas Schwab <schwab@redhat.com>
38097 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38099 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38101 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38102 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38103 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38104 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38105 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38106 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38107 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38108 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38109 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38110 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38111 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38112 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38113 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38114 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38116 2010-07-26 Anton Blanchard <anton@samba.org>
38118 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38119 * malloc/arena.c (heap_trim): Likewise.
38121 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38123 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38126 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38128 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38130 * sysdeps/i386/elf/Makefile: New file.
38132 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38134 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38135 from fanotify_init.
38136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38139 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38141 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38143 * sysdeps/multiarch/strcmp.S: Likewise.
38145 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38147 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38148 strncase_l-nonascii.
38149 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38150 Add strncase_l-ssse3.
38151 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38152 * sysdeps/x86_64/strcmp.S: Likewise.
38153 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38154 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38155 * sysdeps/x86_64/strncase.S: New file.
38156 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38157 * sysdeps/x86_64/strncase_l.S: New file.
38158 * string/Makefile (strop-tests): Add strncasecmp.
38159 * string/test-strncasecmp.c: New file.
38161 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38164 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38165 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38167 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38169 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38171 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38173 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38174 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38175 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38177 2010-05-01 Alan Modra <amodra@gmail.com>
38179 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38180 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38181 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38182 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38183 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38184 tidying. Don't tail-call __sigjmp_save for static lib.
38185 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38187 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38188 (CALL_MCOUNT): Add eh info, and nop after bl.
38189 (TAIL_CALL_SYSCALL_ERROR): New macro.
38190 (PSEUDO_RET): Use it.
38191 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38192 Correct save location of integer regs and cr.
38193 (_dl_profile_resolve): Correct cr save location. Delete nops
38194 after bl when SHARED. Reduce cfi size a little by better
38195 placement of cfi directives.
38196 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38197 make a stack frame. Instead use parm save area as a temp.
38198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38199 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38201 Don't make a stack frame for parent, use parm save area.
38202 Increase child stack frame to 112 bytes. Don't save unused reg,
38203 and adjust reg usage. Set up cfi on error recovery and
38204 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38206 (__makecontext): Add dummy nop after jump to exit.
38207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38208 Use correct parm save area and cr save, reduce stack frame.
38209 Correct cfi for possible PSEUDO_RET frame setup.
38210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38211 Branch to local label emitted by PSEUDO_RET rather than
38214 2010-08-12 Andreas Schwab <schwab@redhat.com>
38217 * locale/programs/locale.c (print_assignment): New function.
38218 (show_locale_vars): Use it.
38220 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38222 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38224 (struct statfs64): Likewise.
38225 (_STATFS_F_FLAGS): Define.
38226 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38228 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38229 (ST_VALID): Define locally.
38230 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38231 __statvfs_getflags, use the provided value.
38232 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38233 __ASSUME_STATFS_F_FLAGS.
38235 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38237 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38238 Add sys/fanotify.h.
38239 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38240 fanotify_mask for GLIBC_2.13.
38241 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38242 fanotify_init and fanotify_mark.
38243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38244 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38246 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38248 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38249 prlimit64 for GLIBC_2.13.
38250 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38252 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38255 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38256 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38257 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38258 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38260 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38263 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38264 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38266 * nss/Makefile: Add rules to build and run tst-nss-test1.
38267 * shlib-versions: Add entry for libnss_test1.
38268 * nss/nss_test1.c: New file.
38269 * nss/tst-nss-test1.c: New file.
38271 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38272 (__nss_configure_lookup): Set appropriate entry in
38273 __nss_configure_lookup to true.
38274 * nss/nsswitch.h: Define enum with indeces of databases in
38275 databases and __nss_database_custom arrays. Declare
38276 __nss_database_custom.
38277 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38278 to avoid using nscd when custom rules are installed.
38279 * nss/getXXbyYY_r.c: Likewise.
38280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38282 * nss/nss_files/files-parse.c: Whitespace fixes.
38284 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38287 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38288 * posix/fnmatch_loop.c: Likewise.
38290 2010-07-17 Andi Kleen <ak@linux.intel.com>
38292 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38293 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38294 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38295 * Versions.def [GLIBC_2.13]: Add.
38297 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38299 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38300 Also fail if tpwd after pwuid call is NULL.
38302 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38304 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38305 when converting to ms.
38307 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38309 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38310 EOPNOTSUPP errors with ENOTTY.
38311 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38312 EOPNOTSUPP errors with ENOTTY.
38314 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38316 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38317 Add strcasecmp_l-ssse3.
38318 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38320 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38321 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38322 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38324 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38326 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38328 * string/Makefile (strop-tests): Add strcasecmp.
38329 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38330 strcasecmp_l-nonascii.
38331 (gen-as-const-headers): Add locale-defines.sym.
38332 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38333 * sysdeps/x86_64/strcasecmp.S: New file.
38334 * sysdeps/x86_64/strcasecmp_l.S: New file.
38335 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38336 * sysdeps/x86_64/locale-defines.sym: New file.
38337 * string/test-strcasecmp.c: New file.
38339 * string/test-strcasestr.c: Test both ends of the range of characters.
38340 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38342 2010-07-29 Roland McGrath <roland@redhat.com>
38345 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38347 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38349 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38352 2010-07-27 Andreas Schwab <schwab@redhat.com>
38354 * manual/memory.texi (Malloc Tunable Parameters): Document
38357 2010-07-26 Roland McGrath <roland@redhat.com>
38360 * configure.in (-fgnu89-inline check): Set and substitute
38361 gnu89_inline, not libc_cv_gnu89_inline.
38362 * configure: Regenerated.
38363 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38365 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38367 * string/test-strnlen.c: New file.
38368 * string/Makefile (strop-tests): Add strnlen.
38369 * string/tester.c (test_strnlen): Add a few more test cases.
38370 * string/tst-strlen.c: Better error reporting.
38372 * sysdeps/x86_64/strnlen.S: New file.
38374 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38376 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38377 lower-latency instructions.
38379 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38381 * string/test-strcasestr.c: New file.
38382 * string/test-strstr.c: New file.
38383 * string/Makefile (strop-tests): Add strstr and strcasestr.
38384 * string/str-two-way.h: Don't undefine MAX.
38385 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38387 2010-07-21 Andreas Schwab <schwab@redhat.com>
38389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38390 strcasestr-nonascii.
38391 (CFLAGS-strcasestr-nonascii.c): Define.
38392 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38394 Remove unused attribute.
38396 2010-07-20 Roland McGrath <roland@redhat.com>
38398 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38399 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38400 ld.so.cache was broken. With it, there is no way to disable dsocaps
38401 like LD_HWCAP_MASK can disable hwcaps.
38403 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38405 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38407 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38409 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38410 call in strcasestr.
38411 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38412 __strcasestr_sse42_nonascii.
38413 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38414 strcasestr-nonascii.c.
38415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38417 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38419 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38421 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38424 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38426 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38429 2010-07-06 Andreas Schwab <schwab@redhat.com>
38432 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38435 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38437 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38438 _PC_PIPE_BUF using F_GETPIPE_SZ.
38440 2010-07-05 Roland McGrath <roland@redhat.com>
38442 * manual/arith.texi (Rounding Functions): Fix rint description
38443 implicit in round description.
38445 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38447 * elf/Makefile: Fix linking for a few tests to make recent linker
38450 2010-06-30 Andreas Schwab <schwab@redhat.com>
38452 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38453 $(common-objpfx)libc_nonshared.a.
38455 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38457 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38458 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38459 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38460 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38461 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38462 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38463 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38464 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38479 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38480 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38481 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38482 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38483 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38484 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38485 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38486 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38487 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38488 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38489 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38490 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38506 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38508 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38509 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38510 * string/memmove.c (memmove): Renamed to ...
38511 (MEMMOVE): ...this. Default to memmove.
38512 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38513 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38516 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38517 mempcpy-ssse3-back memmove-ssse3-back.
38518 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38519 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38521 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38522 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38523 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38524 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38525 * sysdeps/x86_64/multiarch/memmove.c: New file.
38526 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38527 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38528 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38529 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38530 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38531 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38533 (index_Fast_Copy_Backward): Define.
38534 (HAS_ARCH_FEATURE): Define.
38535 (HAS_FAST_REP_STRING): Define.
38536 (HAS_FAST_COPY_BACKWARD): Define.
38538 2010-06-21 Andreas Schwab <schwab@redhat.com>
38540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38541 Restore proper fallback handling.
38543 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38546 * posix/group_member.c (__group_member): Correct checking loop.
38548 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38549 OOM in getpwuid_r correctly. Return error number when the caller
38550 should return, otherwise -1.
38551 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38552 call returning > 0 value.
38553 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38555 2010-06-07 Andreas Schwab <schwab@redhat.com>
38557 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38558 libc_nonshared.a from targets in modules-names.
38560 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38562 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38565 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38567 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38568 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38569 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38570 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38572 2010-06-02 Andreas Schwab <schwab@redhat.com>
38574 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38576 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38578 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38585 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38587 2010-06-14 Roland McGrath <roland@redhat.com>
38589 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38591 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38593 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38594 __REDIRECT followed by __THROW.
38595 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38596 * posix/getopt.h (getopt): Likewise.
38598 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38600 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38601 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38602 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38604 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38605 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38607 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38609 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38611 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38615 Properly check family and model.
38617 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38619 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38621 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38623 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38625 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38627 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38630 2010-05-19 Andreas Schwab <schwab@redhat.com>
38632 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38635 2010-05-21 Andreas Schwab <schwab@redhat.com>
38637 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38638 and internal_recvmmsg.
38639 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38640 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38641 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38642 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38644 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38645 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38646 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38648 2010-05-20 Andreas Schwab <schwab@redhat.com>
38650 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38652 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38654 POWER7 optimizations.
38655 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38656 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38658 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38660 * version.h: Update for 2.13 development version.
38662 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38664 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38665 exceptions. Return 0.
38667 2010-05-07 Roland McGrath <roland@redhat.com>
38669 * elf/ldconfig.c (main): Add a const.
38671 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38673 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38674 (args_options): Add no-idn option.
38675 (ahosts_keys_int): Add idn_flags to ai_flags.
38676 (parse_option): Handle 'i' option to clear idn_flags.
38678 * malloc/malloc.c (_int_free): Possible race in the most recently
38679 added check. Only act on the data if no current modification
38682 See ChangeLog.17 for earlier changes.