1 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
3 * manual/process.texi: Document MTASC-safety properties.
5 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
7 * manual/platform.texi: Document MTASC-safety properties.
9 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11 * manual/pipe.texi: Document MTASC-safety properties.
13 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15 * manual/pattern.texi: Document MTASC-safety properties.
17 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19 * manual/message.texi: Document MTASC-safety properties.
21 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
24 * manual/memory.texi: Document MTASC-safety properties.
26 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
28 * manual/math.texi: Document MTASC-safety properties.
30 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
32 * manual/locale.texi: Document MTASC-safety properties.
34 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
36 * manual/llio.texi: Document MTASC-safety properties.
38 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
40 * manual/libdl.texi: New.
42 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
44 * manual/lang.texi: Document MTASC-safety properties.
46 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
48 * manual/job.texi: Document MTASC-safety properties.
50 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
52 * manual/getopt.texi: Document MTASC-safety properties.
54 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
56 * manual/ctype.texi: Document MTASC-safety properties.
58 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
61 * csu/libc-tls.c (static_map): Remove variable.
62 (__libc_setup_tls): Use main executable's link map for TLS data.
63 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
64 casing for LM_ID_BASE and GL(dl_nns).
65 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
66 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
67 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
68 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
69 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
71 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
74 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
76 * manual/debug.texi: Document MTASC-safety properties.
78 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
81 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
82 of __x86_64__ when disabling x87 inline functions.
84 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
86 * manual/charset.texi: Document MTASC-safety properties.
88 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
90 * manual/crypt.texi: Document MTASC-safety properties.
92 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
94 * manual/conf.texi: Document MTASC-safety properties.
96 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
98 * manual/arith.texi: Document MTASC-safety properties.
100 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
102 * manual/argp.texi: Document MTASC-safety properties.
104 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
106 * manual/macros.texi: Introduce macros to document multi
107 thread, asynchronous signal and asynchronous cancellation
109 * manual/intro.texi: Introduce the properties themselves.
111 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
113 * sysdeps/sh/sh4/Makefile: New file.
115 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
117 * math/gen-libm-test.pl ($srcdir): New variable.
118 ($auto_input): Use it.
120 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
123 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
124 access beyond array bounds when parsing netgroups file.
126 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
127 the old buffer before realloc.
129 2014-01-27 Allan McRae <allan@archlinux.org>
131 * po/fr.po: Update French translation from translation project.
133 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
135 * sysdeps/sh/libm-test-ulps: Regenerate.
137 2014-01-24 David S. Miller <davem@davemloft.net>
139 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
141 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
143 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
144 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
146 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
149 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
150 string pointers after reallocation.
152 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
154 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
155 __SH4A__ instead of __SH_FPU_ANY__.
157 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
159 * sysdeps/sh/fpu_control.h: New file.
160 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
161 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
162 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
163 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
164 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
165 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
166 * sysdeps/sh/sys/ucontext.h: Remove.
167 * sysdeps/sh/sys: Remove directory.
169 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
171 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
173 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
174 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
176 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
179 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
181 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
184 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
185 Adjust the vDSO correctly for internal calls.
186 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
188 2014-01-20 Allan McRae <allan@archlinux.org>
190 * po/ca.po: Update Catalan translation from translation project.
192 2014-01-16 Mike Frysinger <vapier@gentoo.org>
194 * sysdeps/s390/sotruss-lib.c: New file.
196 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
199 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
200 (__GI___gettimeofday): Alias for a different internal symbol to avoid
201 local calls issues by not having a PLT stub required for IFUNC calls.
202 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
204 2014-01-16 Joseph Myers <joseph@codesourcery.com>
206 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
207 * math/test-fpucw-static.c: Likewise.
209 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
212 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
214 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
216 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
217 implementation for powerpc.
219 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
222 * sysdeps/posix/system.c (__libc_system): Do not enable
223 asynchronous cancellation.
225 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
228 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
229 handling only for numbers special also in the IEEE case.
231 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
233 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
235 2014-01-11 Allan McRae <allan@archlinux.org>
237 * po/bg.po: Update Bulgarian translation from translation project.
239 * po/de.po: Update German translation from translation project.
241 2014-01-10 Roland McGrath <roland@hack.frob.com>
243 * sysdeps/generic/gcc-compat.h: New file.
245 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
247 * benchtests/asin-inputs: Correct slow inputs.
248 * benchtests/acos-inputs: Likewise.
250 2014-01-10 Allan McRae <allan@archlinux.org>
252 * po:sv.po: Update Swedish translation from translation project.
254 * po/vi.po: Update Vietnamese translation from translation project.
256 * po/eo.po: Update Esperanto translation from translation project.
258 * po/cs.po: Update Czech translation from translation project.
260 * po/nl.po: Update Dutch translation from translation project.
262 * po/pl.po: Update Polish translation from translation project.
264 * po/ru.po: Update Russian translation from translation project.
266 * po/uk.po: Update Ukrainian translation from translation project.
268 2014-01-08 Brooks Moses <bmoses@google.com>
270 * elf/dl-load.c: Fix comment typo.
272 2014-01-08 Carlos O'Donell <carlos@redhat.com>
274 * po/header.pot: Rename to...
275 * po/pot.header: ... this.
276 * po/Makefile: Use pot.header.
278 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
279 Maxim Kuvyrkov <maxim@kugelworks.com>
282 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
283 SRC and DEST against LEN.
285 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
288 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
290 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
292 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
296 2014-01-08 Joseph Myers <joseph@codesourcery.com>
299 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
300 for large positive arguments.
302 2014-01-07 Joseph Myers <joseph@codesourcery.com>
304 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
306 * math/auto-libm-test-in: Mark various tests with
307 xfail-rounding:ldbl-128ibm.
308 * math/auto-libm-test-out: Regenerated.
311 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
312 Increase overflow threshold.
314 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
317 * stdio-common/vfprintf.c: Check for integer overflow.
319 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
321 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
322 the first argument and return value of __tls_get_addr_internal.
324 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
326 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
327 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
329 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
331 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
332 * sysdeps/s390/rtld-global-offsets.sym: New file.
333 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
335 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
336 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
337 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
339 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
340 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
346 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
347 halfs of GPRs for high_gprs contexts.
348 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
349 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
351 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
353 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
355 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
356 for high GPRs (uc_high_gprs) and for future extensions
358 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
359 for future extensions (__reserved).
360 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
362 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
363 SC_HIGHGPRS offset definition.
364 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
365 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
367 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
369 * Versions.def: Add GLIBC_2.19 for libpthread.
370 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
371 siglongjmp for libpthread with GLIBC_2.19 symver.
372 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
373 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
374 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
375 * sysdeps/s390/__longjmp.c: New file.
376 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
377 * sysdeps/s390/longjmp.c: New file.
378 * sysdeps/s390/setjmp.S: New file.
379 * sysdeps/s390/sigjmp.S: New file.
380 * sysdeps/s390/v1-longjmp.c: New file.
381 * sysdeps/s390/v1-setjmp.h: New file.
382 * sysdeps/s390/v1-sigjmp.c: New file.
383 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
384 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
386 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
387 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
388 versioned symbols for ____longjmp_chk.
389 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
399 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
400 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
401 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
402 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
403 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
404 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
405 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
406 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
407 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
408 * sysdeps/s390/rtld-__longjmp.c: New file.
409 * sysdeps/s390/rtld-setjmp.S: New file.
411 2014-01-06 Joseph Myers <joseph@codesourcery.com>
414 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
415 Return -__logl (x) for small positive arguments without evaluating
418 2014-01-06 Mike Frysinger <vapier@gentoo.org>
420 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
422 (__ptrace_peeksiginfo_args): ... this.
423 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
424 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
425 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
427 2014-01-06 Allan McRae <allan@archlinux.org>
429 * inet/netinet/in.h: Fix typo in comment.
431 2014-01-05 Andreas Jaeger <aj@suse.de>
433 * sysdeps/i386/fpu/libm-test-ulps: Update.
435 2014-01-05 Allan McRae <allan@archlinux.org>
437 * po/libc.pot: Regenerated.
439 * malloc/memusagestat.c: Fix gettext call formatting.
441 2014-01-04 Sami Kerola <kerolasa@iki.fi>
443 * nscd/nscd.c: Improve usage() output.
445 2014-01-04 Mike Frysinger <vapier@gentoo.org>
447 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
448 * sysdeps/unix/sysv/linux/configure: Regenerated.
449 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
450 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
452 2014-01-03 Joseph Myers <joseph@codesourcery.com>
455 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
456 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
458 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
460 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
461 extra tokens at end of #undef directive.
462 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
463 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
464 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
466 2014-01-03 Andrew Hunter <ahh@google.com>
468 * elf/dl-open.c (dl_open_worker): New comment.
469 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
470 atomic_compare_and_exchange_bool_acq
471 (_dl_allocate_static_tls): Block signals.
472 * elf/dl-tls.c (allocate_and_init): Return void.
473 (_dl_update_slotinfo): Block signals, use atomic update.
475 2014-01-03 Joseph Myers <joseph@codesourcery.com>
477 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
479 * math/auto-libm-test-in: Mark various tests with
480 xfail-rounding:ldbl-128ibm.
481 * math/auto-libm-test-out: Regenerated.
483 2014-01-02 Joseph Myers <joseph@codesourcery.com>
486 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
487 numbers with subnormal high part when calculating exponent.
490 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
494 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
496 (__ieee754_acoshl): Use __log1pl not __log1p.
498 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
500 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
501 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
502 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
503 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
504 Convert to GNU style.
505 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
506 mem2mem_check, mem2chunk_check, top_check, realloc_check,
507 memalign_check, __malloc_set_state): Likewise.
508 * malloc/mallocbug.c (main): Likewise.
509 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
510 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
511 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
512 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
513 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
514 * malloc/malloc.h: Likewise.
515 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
516 memalignhook, reallochook, mabort): Likewise.
517 * malloc/mcheck.h: Likewise.
518 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
519 mmap64, mremap, munmap, dest): Likewise.
520 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
521 * malloc/morecore.c (__default_morecore): Likewise.
522 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
523 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
524 _obstack_allocated_p, obstack_free, _obstack_memory_used,
525 print_and_abort): Likewise.
526 * malloc/obstack.h: Likewise.
527 * malloc/set-freeres.c (__libc_freeres): Likewise.
528 * malloc/tst-mallocstate.c (main): Likewise.
529 * malloc/tst-mtrace.c (main): Likewise.
530 * malloc/tst-realloc.c (do_test): Likewise.
532 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
535 * nscd/netgroupcache.c (do_notfound): New function.
536 (addgetnetgrentX): Use it.
539 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
542 2014-01-01 Joseph Myers <joseph@codesourcery.com>
544 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
547 2014-01-01 Allan McRae <allan@archlinux.org>
549 * scripts/update-copyrights: Update configure input file suffix.
551 * NEWS: Update copyright year.
552 * catgets/gencat.c: Likewise.
553 * csu/version.c: Likewise.
554 * debug/catchsegv.sh: Likewise.
555 * debug/pcprofiledump.c: Likewise.
556 * debug/xtrace.sh: Likewise.
557 * elf/ldconfig.c: Likewise.
558 * elf/ldd.bash.in: Likewise.
559 * elf/pldd.c: Likewise.
560 * elf/sotruss.ksh: Likewise.
561 * elf/sprof.c: Likewise.
562 * iconv/iconv_prog.c: Likewise.
563 * iconv/iconvconfig.c: Likewise.
564 * locale/programs/locale.c: Likewise.
565 * locale/programs/localedef.c: Likewise.
566 * login/programs/pt_chown.c: Likewise.
567 * malloc/memusage.sh: Likewise.
568 * malloc/memusagestat.c: Likewise.
569 * malloc/mtrace.pl: Likewise.
570 * manual/libc.texinfo: Likewise.
571 * nscd/nscd.c: Likewise.
572 * nss/getent.c: Likewise.
573 * nss/makedb.c: Likewise.
574 * posix/getconf.c: Likewise.
575 * scripts/test-installation.pl: Likewise.
577 * All files with FSF copyright notices: Update copyright dates
578 using scripts/update-copyrights.
579 * intl/plural.c: Regenerated.
580 * locale/programs/charmap-kw.h: Likewise.
581 * locale/programs/locfile-kw.h: Likewise.
583 2013-12-31 Mike Frysinger <vapier@gentoo.org>
585 * sysdeps/unix/sysv/linux/configure: Regenerated.
586 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
587 the linux/fanotify.h header.
588 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
589 HAVE_LINUX_FANOTIFY_H is defined.
591 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
593 * benchtests/cos-inputs: New inputs.
594 * benchtests/sin-inputs: Likewise.
596 * benchtests/atan-inputs: New inputs. Fix name of multiple
597 precision fallback inputs.
599 * benchtests/atanh-inputs: New inputs.
600 * benchtests/tanh-inputs: Likewise.
602 * benchtests/acosh-inputs: New inputs.
603 * benchtests/asinh-inputs: Likewise.
605 * benchtests/cosh-inputs: New inputs.
606 * benchtests/sinh-inputs: Likewise.
608 * benchtests/acos-inputs: Add more inputs.
609 * benchtests/asin-inputs: Likewise.
611 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
614 * manual/arith.texi: Fix spelling.
615 * manual/charset.texi: Likewise.
616 * manual/errno.texi: Likewise.
617 * manual/filesys.texi: Likewise.
618 * manual/lang.texi: Likewise.
619 * manual/llio.texi: Likewise.
620 * manual/locale.texi: Likewise.
621 * manual/message.texi: Likewise.
622 * manual/resource.texi: Likewise.
623 * manual/search.texi: Likewise.
624 * manual/setjmp.texi: Likewise.
625 * manual/stdio.texi: Likewise.
626 * manual/string.texi: Likewise.
627 * manual/sysinfo.texi: Likewise.
628 * manual/time.texi: Likewise.
630 2013-12-27 Carlos O'Donell <carlos@redhat.com>
632 * po/sl.po: New file.
634 2013-12-27 Mike Frysinger <vapier@gentoo.org>
636 * .gitignore: Add core/.gdbinit/.gdb_history.
638 2013-12-27 Allan McRae <allan@archlinux.org>
641 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
642 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
644 2013-12-24 Brooks Moses <bmoses@google.com>
646 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
647 all compilers that claim C++98 compliance, not just GCC.
648 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
651 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
653 * NEWS: Restore accidentally deleted bug-fix entries.
655 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
656 Ondřej Bílka <neleai@seznam.cz>
659 * malloc/malloc.c (_int_free): Perform sanity check only if we
662 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
665 * manual/stdio.texi (String Input Conversions): Clarify that character
666 classes are not supported.
668 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
672 2013-12-22 Joseph Myers <joseph@codesourcery.com>
675 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
676 Calculate results for small negative arguments directly rather
677 than using reflection formula with special underflow handling.
679 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
680 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
681 sysdeps/unix/bsd/bsd4.4/syscalls.list.
682 (fchflags): Likewise.
684 (setlogin): Likewise.
685 (sigaltstack): Likewise.
688 (sigsetmask): Likewise.
691 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
692 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
694 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
695 * sysdeps/unix/bsd/Makefile: ... here.
696 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
697 * sysdeps/unix/bsd/Versions: ... here.
698 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
699 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
700 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
701 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
702 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
703 * sysdeps/unix/bsd/sigblock.c: ... here.
704 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
705 * sysdeps/unix/bsd/sigsetmask.c: ... here.
706 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
707 * sysdeps/unix/bsd/sigvec.c: ... here.
708 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
709 * sysdeps/unix/bsd/tcdrain.c: ... here.
710 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
711 * sysdeps/unix/bsd/tcgetattr.c: ... here.
712 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
713 * sysdeps/unix/bsd/tcsetattr.c: ... here.
714 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
715 * sysdeps/unix/bsd/wait.c: ... here.
716 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
717 * sysdeps/unix/bsd/wait3.c: ... here.
718 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
719 * sysdeps/unix/bsd/waitpid.c: ... here.
721 2013-12-21 Joseph Myers <joseph@codesourcery.com>
724 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
725 round-to-nearest for [!USE_AS_EXPM1L].
726 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
727 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
728 more tests of exp and exp10. Expect some exp10 tests to miss
729 exceptions or fail in directed rounding modes.
730 * math/auto-libm-test-out: Regenerated.
731 * math/libm-test.inc (exp10_tonearest_test_data): New array.
732 (exp10_test_tonearest): New function.
733 (exp10_towardzero_test_data): New array.
734 (exp10_test_towardzero): New function.
735 (exp10_downward_test_data): New array.
736 (exp10_test_downward): New function.
737 (exp10_upward_test_data): New array.
738 (exp10_test_upward): New function.
739 (main): Call the new functions.
740 * sysdeps/i386/fpu/libm-test-ulps: Update.
741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
743 2013-12-20 Joseph Myers <joseph@codesourcery.com>
745 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
746 asinh, atan, atan2, atanh, cbrt, cos and cosh.
747 * math/auto-libm-test-out: Regenerated.
748 * math/libm-test.inc (acosh_test_data): Add more tests.
749 (atanh_test_data): Likewise.
750 (ceil_test_data): Likewise.
751 (copysign_test_data): Likewise.
752 * sysdeps/i386/fpu/libm-test-ulps: Update.
753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
755 * timezone/checktab.awk: Update from tzcode 2013i.
756 * timezone/private.h: Likewise.
757 * timezone/scheck.c: Likewise.
758 * timezone/tzfile.h: Likewise.
759 * timezone/tzselect.ksh: Likewise.
760 * timezone/zdump.c: Likewise.
761 * timezone/zic.c: Likewise.
763 * math/auto-libm-test-in: Add tests of cpow.
764 * math/auto-libm-test-out: Regenerated.
765 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
766 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
768 (func_calc_desc): Add mpc_cc_c union field.
769 (test_functions): Add cpow.
770 (special_fill_2pi): New function.
771 (special_real_inputs): Add 2pi.
772 (calc_generic_results): Handle mpc_cc_c.
773 * sysdeps/i386/fpu/libm-test-ulps: Update.
774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
776 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
777 csqrt, ctan and ctanh.
778 * math/auto-libm-test-out: Regenerated.
779 * math/libm-test.inc (TEST_COND_x86_64): New macro.
780 (TEST_COND_x86): Likewise.
781 (ccos_test_data): Use AUTO_TESTS_c_c.
782 (ccosh_test_data): Likewise.
783 (cexp_test_data): Likewise.
784 (clog_test_data): Likewise.
785 (csqrt_test_data): Likewise.
786 (ctan_test_data): Likewise.
787 (ctan_tonearest_test_data): Likewise.
788 (ctan_towardzero_test_data): Likewise.
789 (ctan_downward_test_data): Likewise.
790 (ctan_upward_test_data): Likewise.
791 (ctanh_test_data): Likewise.
792 (ctanh_tonearest_test_data): Likewise.
793 (ctanh_towardzero_test_data): Likewise.
794 (ctanh_downward_test_data): Likewise.
795 (ctanh_upward_test_data): Likewise.
796 * math/gen-auto-libm-tests.c (func_calc_method): Add value
798 (func_calc_desc): Add mpc_c_c union field.
799 (FUNC_mpc_c_c): New macro.
800 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
801 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
803 (special_fill_min_subnorm_p120): New function.
804 (special_real_inputs): Add min_subnorm_p120.
805 (calc_generic_results): Handle mpc_c_c.
806 * sysdeps/i386/fpu/libm-test-ulps: Update.
807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
809 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
811 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
812 do_sin_slow): New functions.
813 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
814 cslow2, csloww1, csloww2): Use the new functions.
816 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
817 Use M to change sign of result instead of X. Assume X is
823 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
828 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
830 (sloww1): Don't adjust sign of DX.
832 (sloww2): Use X directly and don't adjust sign of DX.
835 2013-12-19 Joseph Myers <joseph@codesourcery.com>
837 * math/auto-libm-test-in: Add tests of cabs and carg.
838 * math/auto-libm-test-out: Regenerated.
839 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
840 (carg_test_data): Likewise.
841 * math/gen-auto-libm-tests.c (func_calc_method): Add value
843 (func_calc_desc): Add mpc_c_f union field.
844 (test_functions): Add cabs and carg.
845 (calc_generic_results): Handle mpc_c_f.
847 * sysdeps/powerpc/powerpc32/libgcc-compat.S
848 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
849 as a macro and a compat symbol.
850 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
851 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
852 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
853 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
854 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
855 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
857 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
859 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
861 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
863 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
865 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
867 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
868 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
871 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
875 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
877 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
878 (__signal_safe_memalign, __signal_safe_free): Use it.
879 (__signal_safe_realloc): Likewise.
881 2013-12-19 Joseph Myers <joseph@codesourcery.com>
883 * manual/texinfo.tex: Update to version 2013-11-26.10 with
884 trailing whitespace removed.
885 * scripts/config.guess: Update to version 2013-11-29.
886 * scripts/config.sub: Update to version 2013-10-01.
888 * math/auto-libm-test-in: Add tests of sincos.
889 * math/auto-libm-test-out: Regenerated.
890 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
893 (func_calc_desc): Add mpfr_f_11 union field.
894 (test_functions): Add sincos.
895 (calc_generic_results): Handle mpfr_f_11.
896 * sysdeps/i386/fpu/libm-test-ulps: Update.
897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
899 2013-12-19 Andreas Schwab <schwab@suse.de>
901 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
903 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
904 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
905 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
907 2013-12-19 Joseph Myers <joseph@codesourcery.com>
909 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
910 * sysdeps/i386/fpu/libm-test-ulps: Update.
911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
914 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
915 round-to-nearest mode when using frndint.
916 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
917 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
920 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
922 * math/auto-libm-test-out: Regenerated.
923 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
924 (TEST_COND_x86): Likewise.
925 (expm1_tonearest_test_data): New array.
926 (expm1_test_tonearest): New function.
927 (expm1_towardzero_test_data): New array.
928 (expm1_test_towardzero): New function.
929 (expm1_downward_test_data): New array.
930 (expm1_test_downward): New function.
931 (expm1_upward_test_data): New array.
932 (expm1_test_upward): New function.
933 (main): Run the new test functions.
934 * sysdeps/i386/fpu/libm-test-ulps: Update.
935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
937 * include/features.h: Update comment documenting feature test
938 macros. Mention _DEFAULT_SOURCE in comment.
939 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
940 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
941 _BSD_SOURCE and _SVID_SOURCE.
942 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
943 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
944 !_SVID_SOURCE]: Likewise.
945 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
946 (__USE_POSIX_IMPLICITLY): Define.
947 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
948 (_POSIX_SOURCE): Undefine and redefine.
949 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
950 (_POSIX_C_SOURCE): Likewise.
951 * manual/creature.texi (_DEFAULT_SOURCE): Document.
952 (Feature Test Macros): Update documentation of default features.
954 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
956 * benchtests/Makefile: Add bench-strtok.
957 * benchtests/bench-strtok.c: New file: strtok benchtest.
959 2013-12-19 Allan McRae <allan@archlinux.org>
961 * manual/install.texi: Suppress menu for plain text output.
962 * INSTALL: Regenerated.
964 2013-12-18 Andrew Hunter <ahh@google.com>
966 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
967 (__signal_safe_malloc, __signal_safe_free): Likewise.
968 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
969 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
970 (__signal_safe_memalign, __signal_safe_malloc): New function.
971 (__signal_safe_free, __signal_safe_realloc): Likewise.
972 (__signal_safe_calloc): Likewise.
973 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
975 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
977 2013-12-18 Andrew Hunter <ahh@google.com>
979 * elf/Versions (ld): Add _dl_clear_dtv.
980 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
981 * elf/dl-tls.c (_dl_clear_dtv): New function.
982 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
984 2013-12-18 Andrew Hunter <ahh@google.com>
986 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
987 (_dl_unmask_signals): Likewise.
988 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
989 (_dl_unmask_all_signals): Likewise.
990 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
991 (_dl_unmask_all_signals): Likewise.
992 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
993 (_dl_unmask_signals): Likewise.
995 2013-12-18 Brooks Moses <bmoses@google.com>
998 * misc/getauxval.c: Include errno.h.
999 (__getauxval): Set errno to ENOENT if the requested type is not
1001 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1002 don't declare with __attribute_const__.
1003 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1004 * manual/startup.texi: Document that getauxval sets errno.
1006 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1008 * math/auto-libm-test-in: Add tests of jn and yn.
1009 * math/auto-libm-test-out: Regenerated.
1010 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1011 (yn_test_data): Likewise.
1012 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1014 (func_calc_desc): Add mpfr_if_f union field.
1015 (FUNC_mpfr_if_f): New macro.
1016 (test_functions): Add jn and yn.
1017 (calc_generic_results): Assert type of second input for
1018 mpfr_ff_f. Handle mpfr_if_f.
1019 (output_for_one_input_case): Disable all checking for arguments
1020 fitting floating-point types in case of an integer argument.
1021 * sysdeps/i386/fpu/libm-test-ulps: Update.
1022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1025 Don't expect fegetround reference in libm.so.
1027 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1029 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1030 $(config-cflags-nofma).
1032 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1034 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1035 * math/auto-libm-test-out: Regenerated.
1038 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1039 to determine exponent and adjust argument to have exponent of -1.
1040 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1042 * math/auto-libm-test-out: Regenerated.
1043 * sysdeps/i386/fpu/libm-test-ulps: Update.
1044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1046 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1048 * manual/probes.texi: Remove cases when per-thread arenas are
1051 2013-12-18 Andreas Schwab <schwab@suse.de>
1053 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1054 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1055 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1056 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1057 * sysdeps/i386/i686/multiarch/Makefile: Update.
1058 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1060 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1062 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1063 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1065 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1067 Support TZ transition times < 00:00:00.
1068 This is needed for version-3 tz-format files; it supports time
1069 stamps past 2037 for America/Godthab (the only entry in the tz
1070 database for which this change is relevant).
1071 * manual/time.texi (TZ Variable): Document transition times
1072 from -167:59:59 through -00:00:01.
1073 * time/tzset.c (tz_rule): Time of day is now signed.
1074 (__tzset_parse_tz): Parse negative time of day.
1076 Document TZ transition times >= 25:00:00.
1077 * manual/time.texi (TZ Variable): Document transition times from
1078 25:00:00 through 167:59:59. These are already supported, and this
1079 support will help with version-3 tz-format files.
1081 * manual/time.texi (TZ Variable): Modernize North America example
1082 to reflect current (i.e., 2007-and-later) daylight saving rules.
1084 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1086 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1088 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1089 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1092 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1093 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1094 * sysdeps/unix/bsd/clock.c: Likewise.
1095 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1096 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1097 * sysdeps/unix/bsd/init-posix.c: Likewise.
1098 * sysdeps/unix/bsd/poll.c: Likewise.
1099 * sysdeps/unix/bsd/ptsname.c: Likewise.
1100 * sysdeps/unix/bsd/seekdir.c: Likewise.
1101 * sysdeps/unix/bsd/setegid.c: Likewise.
1102 * sysdeps/unix/bsd/seteuid.c: Likewise.
1103 * sysdeps/unix/bsd/setgid.c: Likewise.
1104 * sysdeps/unix/bsd/setrgid.c: Likewise.
1105 * sysdeps/unix/bsd/setruid.c: Likewise.
1106 * sysdeps/unix/bsd/setsid.c: Likewise.
1107 * sysdeps/unix/bsd/setuid.c: Likewise.
1108 * sysdeps/unix/bsd/sigaction.c: Likewise.
1109 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1110 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1111 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1112 * sysdeps/unix/bsd/telldir.c: Likewise.
1113 * sysdeps/unix/bsd/times.c: Likewise.
1114 * sysdeps/unix/bsd/usleep.c: Likewise.
1116 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1117 ($(objpfx)libbsd-compat.a): Remove rule.
1119 * include/features.h (__FAVOR_BSD): Do not define.
1120 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1121 features conflicting with POSIX.
1122 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1123 (_BSD_SOURCE): Remove description of not being a subset of other
1124 feature test macros.
1125 * manual/job.texi (getpgrp): Do not document BSD version.
1126 (getpgid): Do not document by reference to BSD getpgrp.
1127 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1128 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1129 * signal/signal.h [__FAVOR_BSD]: Likewise.
1130 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1131 instead of making contents conditional on [__FAVOR_BSD].
1132 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1134 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1138 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1141 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1142 values below 2**-450, not 2**-500.
1143 * math/auto-libm-test-in: Don't allow spurious underflow from
1145 * math/auto-libm-test-out: Regenerated.
1149 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1150 values of ha and hb and sort them after adjusting subnormal
1152 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1154 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1155 values of ea and eb and sort them after adjusting subnormal
1157 * math/auto-libm-test-in: Do not expect some hypot tests of
1158 subnormals to fail. Add more hypot tests.
1159 * math/auto-libm-test-out: Regenerated.
1161 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1164 * sysdeps/sh/s_fma.c: New file.
1165 * sysdeps/sh/s_fmaf.c: New file.
1166 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1168 * sysdeps/sh/Implies: Add sh/soft-fp.
1170 2013-12-16 Roland McGrath <roland@hack.frob.com>
1172 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1173 level of indirection to members `objname', `errstring', `malloced'.
1174 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1175 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1176 it as the __longjmp argument (just pass 1 instead).
1177 (_dl_catch_error): Initialize C with argument pointers and address of
1178 volatile local ERRCODE rather than copying values out of C at return.
1180 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1182 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1183 * math/auto-libm-test-out: Regenerated.
1184 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1185 (hypot_test_data): Likewise.
1186 (pow_test_data): Likewise.
1187 (pow_tonearest_test_data): Likewise.
1188 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1190 (func_calc_desc): Add mpfr_ff_f union field.
1191 (FUNC_mpfr_ff_f): New macro.
1192 (test_functions): Add atan2, hypot and pow.
1193 (special_fill_min): New function.
1194 (special_fill_minus_min): Likewise.
1195 (special_fill_min_subnorm): Likewise.
1196 (special_fill_minus_min_subnorm): Likewise.
1197 (special_real_inputs): Add min, -min, min_subnorm and
1199 (calc_generic_results): Handle mpfr_ff_f.
1200 * sysdeps/i386/fpu/libm-test-ulps: Update.
1201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1203 2013-12-16 Will Newton <will.newton@linaro.org>
1205 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1206 (Aligned Memory Blocks): Add documentation for aligned_alloc
1207 and suggest it as an alternative to posix_memalign.
1208 (Hooks for Malloc): Document __memalign_hook is also called
1209 for aligned_alloc. (Summary of Malloc): Add summary for
1210 aligned alloc. Document __memalign_hook is also called
1213 2013-12-16 Will Newton <will.newton@linaro.org>
1215 * manual/memory.texi (Malloc Examples): Clarify default
1216 alignment documentation. Suggest posix_memalign rather
1217 than memalign or valloc.
1218 (Aligned Memory Blocks): Remove suggestion to use memalign
1219 or valloc. Remove obsolete comment about BSD.
1220 Document memalign errno values and mark the function obsolete.
1221 Document posix_memalign returned error codes. Mark valloc
1222 as obsolete. (Hooks for Malloc): __memalign_hook is also
1223 called for posix_memalign and valloc.
1224 (Summary of Malloc): Add posix_memalign to function summary.
1225 __memalign_hook is also called for posix_memalign and valloc.
1227 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1229 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1233 (sloww): Use mynumber union. Expand ternary operator into
1235 (cslow): use mynumber union.
1237 2013-12-16 Allan McRae <allan@archlinux.org>
1239 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1240 * configure: Regenerated.
1242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1245 * configure.ac: Added --enable-maintainer-mode. Check for
1246 autoconf when enabled.
1247 * configure: Regenerated.
1249 * nscd/nscd.service: New file.
1250 * nscd/nscd.tmpfiles: New file.
1252 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1255 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1256 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1257 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1258 (strstr): Add __strstr_sse2_unaligned ifunc.
1259 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1260 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1261 (strcasestr): Remove __strcasestr_sse42 ifunc.
1262 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1266 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1268 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1269 * sysdeps/sh/bits/fenv.h: ... here.
1270 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1272 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1274 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1276 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1278 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1279 hypotf multiarch implementations.
1280 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1281 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1283 multiarch hypot for PPC64.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1287 multiarch hypotf for PPC64.
1289 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1292 modff multiarch implementations.
1293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1296 multiarch modf for PPC64.
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1300 multiarch modff for PPC64.
1302 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1305 and logl multiarch implementations.
1306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1309 multiarch logb for PPC64.
1310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1313 multiarch logb for PPC64.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1317 multiarch logb for PPC64.
1319 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1321 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1322 isinff multiarch implementation.
1323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1327 multiarch isinf for PPC64.
1328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1331 multiarch isinff for PPC64.
1333 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1336 finitef multiarch implementation.
1337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1341 multiarch finite for PPC64.
1342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1345 multiarch finitef for PPC64.
1347 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1350 lrint multiarch implementation.
1351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1355 multiarch llrint for PPC64.
1356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1357 multiarch lrint for PPC64.
1359 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1362 copysignf multiarch implementation.
1363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1368 multiarch copysign for PPC64.
1369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1370 multiarch copysignf for PPC64.
1372 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1375 multiarch implementation.
1376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1384 multiarch llround for PPC64.
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1386 multiarch trunc for PPC64.
1387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1388 multiarch truncf for PPC64.
1390 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1393 multiarch implementation.
1394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1402 multiarch llround for PPC64.
1403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1404 multiarch round for PPC64.
1405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1406 multiarch roundf for PPC64.
1408 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1411 multiarch implementation.
1412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1420 multiarch llround for PPC64.
1421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1422 multiarch floor for PPC64.
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1424 multiarch floorf for PPC64.
1426 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1429 multiarch implementation.
1430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1438 multiarch llround for PPC64.
1439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1440 multiarch ceil for PPC64.
1441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1442 multiarch ceilf for PPC64.
1444 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1447 multiarch implementation.
1448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1455 multiarch llround for PPC64.
1456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1457 multiarch lround for PPC64.
1459 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1462 multiarch implementation.
1463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1470 multiarch isnan for PPC64.
1471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1472 multiarch isnanf for PPC64.
1474 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1477 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1478 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1479 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1480 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1483 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1485 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1486 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1487 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1490 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1493 multiarch implementations.
1494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1495 (__libc_ifunc_impl_list): Likewise.
1496 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1497 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1498 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1499 multiarch stpcpy for PPC64.
1501 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1504 multiarch implementations.
1505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1506 (__libc_ifunc_impl_list): Likewise.
1507 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1508 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1509 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1510 multiarch strcpy for PPC64.
1512 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1514 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1515 redefine function name.
1516 (_wordcopy_fwd_dest_aligned): Likewise.
1517 (_wordcopy_bwd_aligned): Likewise.
1518 (_wordcopy_bwd_dest_aligned): Likewise.
1519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1520 multiarch implementations.
1521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1522 (__libc_ifunc_impl_list): Likewise.
1523 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1524 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1525 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1526 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1527 multiarch wcscpy for PPC64.
1529 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1532 multiarch implementations.
1533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1534 (__libc_ifunc_impl_list): Likewise.
1535 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1536 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1537 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1538 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1539 multiarch wcscpy for PPC64.
1541 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1544 multiarch implementations.
1545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1546 (__libc_ifunc_impl_list): Likewise.
1547 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1548 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1549 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1550 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1551 multiarch wcsrchr for PPC64.
1553 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1556 multiarch implementations.
1557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1558 (__libc_ifunc_impl_list): Likewise.
1559 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1560 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1561 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1562 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1563 multiarch wcschr for PPC64.
1565 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1568 multiarch implementations.
1569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1570 (__libc_ifunc_impl_list): Likewise.
1571 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1572 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1573 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1574 multiarch strchrnul for PPC64.
1576 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1581 (__libc_ifunc_impl_list): Likewise.
1582 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1583 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1584 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1585 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1588 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1593 (__libc_ifunc_impl_list): Likewise.
1594 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1595 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1596 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1597 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1600 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1603 multiarch implementations.
1604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1605 (__libc_ifunc_impl_list): Likewise.
1606 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1607 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1608 strncasecmp for PPC64.
1609 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1610 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1611 multiarch strncasecmp_l for PPC64.
1613 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1616 multiarch implementations.
1617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1618 (__libc_ifunc_impl_list): Likewise.
1619 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1620 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1621 multiarch strcasecmp for PPC64.
1622 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1624 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1625 multiarch strcasecmp_l for PPC64.
1627 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1632 (__libc_ifunc_impl_list): Likewise.
1633 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1634 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1635 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1638 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1643 (__libc_ifunc_impl_list): Likewise.
1644 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1645 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1646 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1649 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1654 (__libc_ifunc_impl_list): Likewise.
1655 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1656 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1657 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1658 rawmemrchr for PPC64.
1660 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1665 (__libc_ifunc_impl_list): Likewise.
1666 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1667 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1668 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1671 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1676 (__libc_ifunc_impl_list): Likewise.
1677 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1678 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1679 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1682 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1687 (__libc_ifunc_impl_list): Likewise.
1688 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1689 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1690 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1693 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1695 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1696 avoid cretion of __bzero symbol.
1697 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1699 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1701 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1704 multiarch implementations.
1705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1706 (__libc_ifunc_impl_list): Likewise.
1707 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1708 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1710 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1712 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1713 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1714 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1715 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1716 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1718 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1720 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1726 (__libc_ifunc_impl_list): Likewise.
1727 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1728 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1729 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1730 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1733 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1736 multiarch for POWER/PPC64.
1737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1738 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1745 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1748 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1750 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1751 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1752 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1753 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1754 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1755 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1756 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1757 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1758 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1759 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1760 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1761 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1762 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1763 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1764 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1773 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1775 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1777 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1779 * benchtests/Makefile (bench): Add exp2 and log2.
1780 (LDLIBS-bench-exp2): Add -lm.
1781 (LDLIBS-bench-log2): Likewise.
1782 * benchtests/exp2-inputs: New inputs file.
1783 * benchtests/log2-inputs: New inputs file.
1784 * benchtests/log-inputs: Add new inputs.
1785 * benchtests/tan-inputs: Likewise.
1787 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1789 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1791 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1792 csloww1, csloww2): ... from here.
1794 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1795 instead of structures.
1796 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1797 (POLYNOMIAL): Likewise.
1798 (TAYLOR_SLOW): Likewise.
1806 (bsloww1): Likewise.
1807 (bsloww2): Likewise.
1810 (csloww1): Likewise.
1811 (csloww2): Likewise.
1813 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1815 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1816 (__malloc_assert, __libc_realloc, __libc_calloc,
1817 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1819 * malloc/hooks.c (realloc_check): Likewise.
1821 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1823 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1824 * malloc/arena.c: Remove PER_THREAD conditional.
1825 [!PER_THREAD]: Remove code.
1826 (ptmalloc_unlock_all2): Likewise.
1827 (ptmalloc_init): Likewise.
1828 (_int_new_arena): Likewise.
1829 (arena_get2): Likewise.
1830 * malloc/hooks.c (__malloc_get_state): Likewise.
1831 (__malloc_set_state): Likewise.
1832 * malloc/malloc.c: Likewise.
1833 (struct malloc_state): Likewise.
1834 (struct malloc_par): Likewise.
1835 (__libc_realloc): Likewise.
1836 (__libc_mallopt): Likewise.
1838 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1840 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1842 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1844 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1845 macro to a function. Check for zero perturb_byte.
1846 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1848 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1850 * malloc/malloc.c: (force_reg): Remove.
1851 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1852 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1853 force_reg by atomic_forced_read.
1854 * malloc/arena.c (ptmalloc_init): Likewise.
1855 * malloc/hooks.c (top_check): Likewise.
1857 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1861 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1865 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1867 * math/auto-libm-test-in: Add tests of lgamma.
1868 * math/auto-libm-test-out: Regenerated.
1869 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1870 (M_LOG_2_SQRT_PIl): Likewise.
1871 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1872 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1874 (func_calc_desc): Add mpfr_f_f1 union field.
1883 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1884 (test_functions): Add lgamma.
1885 (calc_generic_results): Handle mpfr_f_f1.
1886 * sysdeps/i386/fpu/libm-test-ulps: Update.
1887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1889 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1891 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1892 __mpn_add_n for PowerPC64/POWER7.
1893 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1894 __mpn_sub_n for PowerPC64/POWER7.
1896 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1898 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1899 __mpn_addmul_1 for PowerPC64.
1900 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1901 __mpn_submul_1 for PowerPC64.
1902 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1904 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1907 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1910 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1912 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1914 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1916 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1918 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1919 add multiarch folders.
1920 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1921 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1922 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1923 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1924 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1925 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1926 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1927 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1928 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1929 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1930 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1938 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1941 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1947 multiarch __ieee754_hypot for PowerPC32.
1948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1953 multiarch __ieee754_hypotf for PowerPC32.
1955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1957 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1958 long_double_symbol only if __logbl is defined.
1959 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1960 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1962 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1964 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1965 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1966 path for implementation.
1967 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1968 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1970 logb, and logbl multiarch implementations for PowerPC32.
1971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1976 multiarch logb for PowerPC32.
1977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1982 multiarch logbf for PowerPC32.
1983 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1987 multiarch logbl implementation for PowerPC32.
1989 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1992 and modff multiarch implementations.
1993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1998 multiarch modf for PowerPC32.
1999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2004 multiarch modff for PowerPC32.
2006 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2009 and lrintf multiarch implementations.
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2015 multiarch lrint for PowerPC32.
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2017 file: multiarch lrintf for PowerPC32.
2019 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2022 and lroundf multiarch implementations.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2030 multiarch lround for PowerPC32.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2032 file: multiarch lroundf for PowerPC32.
2034 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2037 copysign and copysignf multiarch implementations.
2038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2043 file: multiarch copysign for PowerPC32.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2045 file: multiarch copysignf for PowerPC32.
2047 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2050 and truncf multiarch implementations.
2051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2056 multiarch trunc for PowerPC32.
2057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2062 multiarch truncf for PowerPC32.
2064 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2067 and roundf multiarch implementations.
2068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2073 multiarch round for PowerPC32.
2074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2079 multiarch roundf for PowerPC32.
2081 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2084 and floorf multiarch implementations.
2085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2090 multiarch floor for PowerPC32.
2091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2096 multiarch floorf for PowerPC32.
2098 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2101 and ceilf multiarch implementations.
2102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2107 multiarch ceil for PowerPC32.
2108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2113 multiarch ceilf for PowerPC32.
2115 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2117 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2119 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2122 and finitef multiarch implementations.
2123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2128 multiarch finite for PowerPC32.
2129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2132 file: multiarch finitef for PowerPC32.
2134 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2137 and isinff multiarch implementations.
2138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2143 multiarch isinf for PowerPC32.
2144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2147 multiarch isinff for PowerPC32.
2149 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2151 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2152 alias when __isnan is defined.
2153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2154 and isnanf multiarch implementations.
2155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2164 multiarch isnan for PowerPC32.
2165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2170 multiarch isnanf for PowerPC32.
2172 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2175 and sqrtf multiarch implementations.
2176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2181 multiarch sqrt for PowerPC32.
2182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2187 multiarch sqrtf for PowerPC32.
2189 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2192 and llroundf multiarch implementations.
2193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2200 file: multiarch llround for PowerPC32.
2201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2202 file: multiarch llroundf for PowerPC32.
2204 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2207 multiarch PowerPC32 fpu implementations.
2208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2213 multiarch llrint for PowerPC32.
2214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2221 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2225 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2227 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2229 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2231 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2233 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2234 multiarch wordcopy for PPC32.
2235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2238 (__libc_ifunc_impl_list): Likewise.
2239 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2240 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2241 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2242 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2243 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2244 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2246 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2248 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2256 multiarch wcscpy for PPC32.
2257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2260 (__libc_ifunc_impl_list): Likewise.
2261 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2262 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2263 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2264 sysdeps/powerpc/power6/wcscpy.c.
2266 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2271 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2276 multiarch wcsrchr for PPC32.
2277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2280 (__libc_ifunc_impl_list): Likewise.
2281 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2282 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2283 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2284 sysdeps/powerpc/power6/wcsrchr.c.
2286 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2293 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2294 multiarch wcschr for PPc32.
2295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2298 (__libc_ifunc_impl_list): Likewise.
2299 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2300 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2301 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2302 sysdeps/powerpc/power6/wcschr.c.
2304 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2306 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2307 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2309 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2310 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2311 file: multiarch strchr for PPC32.
2312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2315 (__libc_ifunc_impl_list): Likewise.
2317 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2319 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2321 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2323 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2325 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2326 multiarch strchrnul for PPC32.
2327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2330 (__libc_ifunc_impl_list): Likewise.
2332 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2336 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2337 multiarch strncasecmp for PPC32.
2338 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2341 multiarch strncasecmp_l for PPC32.
2342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2343 strncasecmp multiarch objects.
2344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2345 (__libc_ifunc_impl_list): Likewise.
2347 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2352 multiarch strncasecmp for PPC32.
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2356 multiarch strcasecmp_l for PPC32.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2360 (__libc_ifunc_impl_list): Likewise.
2362 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2369 multiarch strncmp for PPC32.
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2373 (__libc_ifunc_impl_list): Likewise.
2375 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2377 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2378 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2380 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2381 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2385 (__libc_ifunc_impl_list): Likewise.
2387 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2389 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2391 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2393 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2394 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2396 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2397 (__libc_ifunc_impl_list): Likewise.
2399 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2401 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2403 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2405 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2406 multiarch rawmemchr for PPC32.
2407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2410 (__libc_ifunc_impl_list): Likewise.
2412 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2414 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2416 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2418 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2419 file: memrchr multiarch for PPC32.
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2423 (__libc_ifunc_impl_list): Likewise.
2425 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2427 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2428 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2430 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2431 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2432 multiarch memchr for PPC32.
2433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2436 (__libc_ifunc_impl_list): Likewise.
2438 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2440 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2441 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2443 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2445 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2446 file: multiarch mempcpy for PPC32.
2447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
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/bzero-power6.S: New file.
2455 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2456 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2457 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2458 multiarch bzero for PPC32.
2459 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2461 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2464 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2465 file: multiarch memset for PPC32.
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2468 memset multiarch objects.
2469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2470 (__libc_ifunc_impl_list): Likewise.
2472 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2474 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2476 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2479 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2483 (__libc_ifunc_impl_list): Likewise.
2485 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2488 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2491 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2495 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2496 multiarch memcpy for PPC32.
2497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2500 (__libc_ifunc_impl_list): Likewise.
2502 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2504 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2505 support multiarch for POWER/PPC32.
2506 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2508 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2510 Implies file to make multiarch folder appers before the fpu and
2511 default folder for power4 configuration.
2513 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2515 * scripts/bench.pl: Append volatile keyword to type.
2517 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2519 * sysdeps/sh/sotruss-lib.c: New file.
2520 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2522 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2526 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2529 * math/w_tgamma.c: Include <errno.h>.
2530 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2531 * math/w_tgammaf.c: Include <errno.h>.
2532 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2533 * math/w_tgammal.c: Include <errno.h>.
2534 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2535 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2536 underflow. Add more tgamma tests.
2537 * math/auto-libm-test-out: Regenerated.
2538 * sysdeps/i386/fpu/libm-test-ulps: Update.
2539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2541 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2542 sin, sinh, tan, tanh, tgamma, y0 and y1.
2543 * math/auto-libm-test-out: Regenerated.
2544 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2545 (TEST_COND_x86): Likewise.
2546 (M_E2l): Remove macro.
2548 (M_2_SQRT_PIl): Likewise.
2549 (M_SQRT_PIl): Likewise.
2550 (M_1_DIV_El): Likewise.
2551 (log_test_data): Use AUTO_TESTS_f_f.
2552 (log10_test_data): Likewise.
2553 (log1p_test_data): Likewise.
2554 (log2_test_data): Likewise.
2555 (sin_test_data): Likewise.
2556 (sin_tonearest_test_data): Likewise.
2557 (sin_towardzero_test_data): Likewise.
2558 (sin_downward_test_data): Likewise.
2559 (sin_upward_test_data): Likewise.
2560 (sinh_test_data): Likewise.
2561 (sinh_tonearest_test_data): Likewise.
2562 (sinh_towardzero_test_data): Likewise.
2563 (sinh_downward_test_data): Likewise.
2564 (sinh_upward_test_data): Likewise.
2565 (tan_test_data): Likewise.
2566 (tan_tonearest_test_data): Likewise.
2567 (tan_towardzero_test_data): Likewise.
2568 (tan_downward_test_data): Likewise.
2569 (tan_upward_test_data): Likewise.
2570 (tanh_test_data): Likewise.
2571 (tgamma_test_data): Likewise.
2572 (y0_test_data): Likewise.
2573 (y1_test_data): Likewise.
2574 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2575 (special_real_inputs): Add pi/4.
2576 * sysdeps/i386/fpu/libm-test-ulps: Update.
2577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2579 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2581 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2582 "longjmp_target" static probes.
2583 (__longjmp): Rename to __longjmp_symbol.
2584 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2585 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2586 on which longjmp to generate.
2587 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2588 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2590 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2591 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2592 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2594 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2595 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2597 __longjmp_symbol based on which __longjmp to generate.
2598 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2600 (setjmp): Rename to setjmp_symbol.
2601 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2602 (_setjmp): Rename to _setjmp_symbol.
2603 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2604 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2605 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2606 which setjmp to generate.
2607 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2608 "longjmp_target" static probes.
2610 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2612 * benchtests/README: Add note about output arguments.
2613 * benchtests/bench-sincos.c: Remove file.
2614 * benchtests/sincos-inputs: New file.
2615 * scripts/bench.pl: Identify output arguments and define
2616 static variables for them.
2618 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2621 * Makefile (INSTALL): Add install-plain.texi as the primary
2623 * manual/install-plain.texi: New file.
2624 * manual/install.texi: Include node directive only for
2625 non-plaintext output.
2627 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2629 * stdlib/longlong.h: Update from GCC.
2633 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2634 * math/w_j0f.c (y0f): Likewise.
2635 * math/w_j0l.c (__y0l): Likewise.
2636 * math/w_j1.c (y1): Likewise.
2637 * math/w_j1f.c (y1f): Likewise.
2638 * math/w_j1l.c (__y1l): Likewise
2639 * math/w_jn.c (yn): Likewise.
2640 * math/w_jnf.c (ynf): Likewise.
2641 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2642 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2643 value for Bessel function domain errors outside _SVID_ mode.
2644 Adjust sign of return value for yn (negative integer, 0).
2645 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2646 by zero in return for negative x and set sign appropriately for
2648 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2649 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2650 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2651 expectations in error cases.
2652 (y1_test_data): Likewise.
2653 (yn_test_data): Likewise.
2654 * sysdeps/i386/fpu/libm-test-ulps: Update.
2655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2657 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2659 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2660 "64" to "64-v1". Add "64-v2".
2661 (abi-64-options): Rename to ...
2662 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2663 (abi-64-condition): Rename to ...
2664 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2665 (abi-64-ld-soname): Rename to ...
2666 (abi-64-v1-ld-soname): ... this.
2667 (abi-64-v2-options): Define.
2668 (abi-64-v2-condition): Likewise.
2669 (abi-64-v2-ld-soname): Likewise.
2670 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2671 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2676 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2677 Alan Modra <amodra@gmail.com>
2679 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2680 New versions for use with the ELFv2 ABI.
2681 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2682 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2684 (struct La_ppc64v2_retval): Likewise.
2685 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2686 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2687 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2688 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2689 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2690 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2691 Do not save or restore CR.
2692 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2693 (_dl_profile_resolve): Do no save or restore CR. Support extended
2694 return values for ELFv2 ABI. Fix location of FPR return registers.
2695 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2696 updated values for _CALL_ELF == 2.
2697 (La_regs, La_retval, int_retval): Likewise.
2699 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2701 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2702 (FRAME_MIN_SIZE_PARM): Likewise.
2703 (FRAME_BACKCHAIN): Likewise.
2704 (FRAME_CR_SAVE): Likewise.
2705 (FRAME_LR_SAVE): Likewise.
2706 (FRAME_TOC_SAVE): Likewise.
2707 (FRAME_PARM_SAVE): Likewise.
2708 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2709 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2710 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2711 (call_mcount_parm_offset): New macro.
2712 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2713 (PROF): Use symbolic stack frame offsets.
2714 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2715 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2716 Redefine in terms of FRAME_MIN_SIZE.
2717 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2718 (_dl_profile_resolve): Likewise. Update comment.
2719 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2720 symbols stack frame offsets.
2721 (__sigsetjmp): Likewise.
2722 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2723 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2724 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2725 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2728 (FRAME_BACKCHAIN): Remove.
2729 (FRAME_CR_SAVE): Likewise.
2730 (FRAME_LR_SAVE): Likewise.
2731 (FRAME_COMPILER_DW): Likewise.
2732 (FRAME_LINKER_DW): Likewise.
2733 (FRAME_TOC_SAVE): Likewise.
2734 (FRAME_PARM_SAVE): Likewise.
2735 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2736 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2737 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2739 (CHECK_SP): Use symbolic stack frame offsets.
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2741 zone" instead of caller's parameter save area for temp storage.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2743 Likewise. Also, use symbolic stack frame offsets.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2745 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2746 our own stack frame instead of the caller's.
2747 (__socket): Use symbolic stack frame offsets.
2749 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2750 Alan Modra <amodra@gmail.com>
2752 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2754 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2755 PPC64_LOCAL_ENTRY_OFFSET): Define.
2756 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2758 (elf_machine_fixup_plt): Call it.
2759 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2761 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2762 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2763 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2764 r2 before calling target.
2766 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2767 Alan Modra <amodra@gmail.com>
2769 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2770 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2771 versions of macros to support ELFv2 ABI.
2772 (LOCALENTRY): New macro.
2773 (ENTRY, EALIGN): Use it.
2774 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2775 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2776 fall through into ENTRY entry point.
2777 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2778 Only define if _CALL_ELF != 2.
2780 (elf_machine_matches_host): Verify ABI version matches.
2781 (RTLD_START): Use LOCALENTRY.
2782 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2783 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2784 (PLT_ENTRY_WORDS): New macro.
2785 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2786 (elf_machine_runtime_setup): Support ELFv2 ABI.
2787 (elf_machine_fixup_plt): Likewise.
2788 (elf_machine_plt_conflict): Likewise.
2789 (resolve_ifunc): Likewise.
2790 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2791 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2794 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2796 (makecontext): Support ELFv2 ABI.
2797 * elf/elf.h (EF_PPC64_ABI): Define.
2799 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2801 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2802 New assembler macro.
2803 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2804 [ASSEMBLER] (ENTRY): ... but instead here ...
2805 [ASSEMBLER] (EALIGN): ... and here.
2806 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2807 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2808 [!ASSEMBLER] (ENTRY_2): Use it.
2809 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2810 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2811 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2812 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2813 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2815 Use PPC64_LOAD_FUNCPTR.
2817 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2819 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2821 2013-12-04 Alan Modra <amodra@gmail.com>
2823 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2824 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2825 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2826 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2829 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2830 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2831 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2832 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2833 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2835 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2838 (__makecontext): Fix incorrect CFI when backtracing out of
2839 context created via makecontext.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2841 (__setcontext): Fix incorrect CFI during switch to new context.
2842 (__novec_setcontext): Likewise.
2844 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2847 * time/strptime_l.c (__strptime_internal): Allow modifiers
2849 * time/tst-strptime.c (day_tests): Add testcase.
2852 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2854 * scripts/bench.pl: Skip over blank lines.
2856 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2859 * manual/time.texi (Calendar Time): Clarify what timezone functions
2862 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2866 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2868 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2870 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2871 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2872 * debug/memset_chk.c (__memset_chk): Likewise.
2873 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2874 * debug/strncpy_chk.c: Likewise.
2876 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2880 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2881 (__ieee754_exp): For possibly underflowing results, check size of
2882 result and force underflow exception if required.
2883 * math/auto-libm-test-in: Add more tests of exp.
2884 * math/auto-libm-test-out: Regenerated.
2885 * sysdeps/i386/fpu/libm-test-ulps: Update.
2886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2889 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2890 * math/w_exp2f.c (__exp2f): Likewise.
2891 * math/w_exp2l.c (__exp2l): Likewise.
2892 * math/auto-libm-test-in: Do not allow missing errno on exp2
2894 * math/auto-libm-test-out: Regenerated.
2896 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2899 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2900 handle filename validation.
2901 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2904 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2907 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2908 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2909 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2911 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2912 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2913 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2914 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2915 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2916 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2917 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2918 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2919 Add more erfc tests.
2920 * math/auto-libm-test-out: Regenerated.
2921 * sysdeps/i386/fpu/libm-test-ulps: Update.
2922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2924 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2925 exp2, expm1, j0 and j1.
2926 * math/auto-libm-test-out: Regenerated.
2927 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2928 (erfc_test_data): Likewise.
2929 (exp_test_data): Likewise.
2930 (exp_tonearest_test_data): Likewise.
2931 (exp_towardzero_test_data): Likewise.
2932 (exp_downward_test_data): Likewise.
2933 (exp_upward_test_data): Likewise.
2934 (exp10_test_data): Likewise.
2935 (exp2_test_data): Likewise.
2936 (expm1_test_data): Likewise.
2937 (j0_test_data): Likewise.
2938 (j1_test_data): Likewise.
2939 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2940 (input_flag_type): Add flag_xfail_rounding.
2941 (input_flags): Add xfail-rounding.
2942 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2943 (output_for_one_input_case): Handle flag_xfail_rounding.
2944 * sysdeps/i386/fpu/libm-test-ulps: Update.
2945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2947 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2950 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2953 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2956 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2957 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2958 (STAP_PROBE0): New macro.
2959 (STAP_PROBE1): Likewise.
2960 (STAP_PROBE2): Likewise.
2961 (STAP_PROBE3): Likewise.
2962 (STAP_PROBE4): Likewise.
2964 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2966 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2968 2013-12-02 Steve Ellcey <sellcey@mips.com>
2970 * benchtests/Makefile (bench): Add sqrt.
2971 (LDLIBS-bench-sqrt): New.
2972 * benchtests/sqrt-input: New.
2974 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2976 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2977 (GAIH_EAI): Likewise.
2978 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2979 (gaih_inet): Likewise.
2980 (getaddrinfo): Don't use GAIH_EAI.
2982 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2983 (struct gaih): Remove definition.
2985 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2987 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2988 Use HERRNOP directly.
2990 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2994 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2996 * math/gen-auto-libm-tests.c (test_functions): Add more
2997 single-argument functions.
2998 (special_fill_pi_2): New function.
2999 (special_fill_minus_pi_2): Likewise.
3000 (special_fill_pi_6): Likewise.
3001 (special_fill_minus_pi_6): Likewise.
3002 (special_fill_pi_3): Likewise.
3003 (special_fill_2pi_3): Likewise.
3004 (special_fill_e): Likewise.
3005 (special_fill_1_e): Likewise.
3006 (special_fill_e_minus_1): Likewise.
3007 (special_real_inputs): Add more special inputs.
3008 (output_for_one_input_case): Do not require ERANGE on underflow to
3009 zero if round-to-nearest result does not underflow to zero, unless
3010 exact results required.
3011 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3012 atan, atanh, cbrt, cos and cosh.
3013 * math/auto-libm-test-out: Regenerated.
3014 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3015 (acos_tonearest_test_data): Likewise.
3016 (acos_towardzero_test_data): Likewise.
3017 (acos_downward_test_data): Likewise.
3018 (acos_upward_test_data): Likewise.
3019 (acosh_test_data): Likewise.
3020 (asin_test_data): Likewise.
3021 (asin_tonearest_test_data): Likewise.
3022 (asin_towardzero_test_data): Likewise.
3023 (asin_upward_test_data): Likewise.
3024 (asinh_test_data): Likewise.
3025 (atan_test_data): Likewise.
3026 (atanh_test_data): Likewise.
3027 (cbrt_test_data): Likewise.
3028 (cos_test_data): Likewise.
3029 (cos_tonearest_test_data): Likewise.
3030 (cos_towardzero_test_data): Likewise.
3031 (cos_downward_test_data): Likewise.
3032 (cos_upward_test_data): Likewise.
3033 (cosh_test_data): Likewise.
3034 (cosh_tonearest_test_data): Likewise.
3035 (cosh_towardzero_test_data): Likewise.
3036 (cosh_downward_test_data): Likewise.
3037 (cosh_upward_test_data): Likewise.
3038 * sysdeps/i386/fpu/libm-test-ulps: Update.
3039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3041 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3044 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3045 * math/w_exp10f.c (__exp10f): Likewise.
3046 * math/w_exp10l.c (__exp10l): Likewise.
3047 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3048 errno settings in existing tests.
3051 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3052 precision control set to double precision.
3053 * sysdeps/i386/fpu/w_sqrt.c: New file.
3054 * math/auto-libm-test-in: Add more tests.
3055 * math/auto-libm-test-out: Update.
3057 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3058 (sqrt_test_tonearest): New function.
3059 (sqrt_towardzero_test_data): New variable.
3060 (sqrt_test_towardzero): New function.
3061 (sqrt_downward_test_data): New variable.
3062 (sqrt_test_downward): New function.
3063 (sqrt_upward_test_data): New variable.
3064 (sqrt_test_upward): New function.
3065 (main): Call the new functions.
3067 * math/gen-auto-libm-tests.c: New file.
3068 * math/auto-libm-test-in: Likewise.
3069 * math/auto-libm-test-out: New generated file.
3070 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3072 (%beautify): Add generated representations of zero.
3073 (top level): Set $auto_input and call parse_auto_input.
3074 (beautify): Remove trailing "f" from hex float constants.
3075 (parse_args): Handle XFAIL_TEST.
3076 (convert_condition): New function.
3077 (or_value): Likewise.
3078 (or_cond_value): Likewise.
3079 (generate_testfile): Handle AUTO_TESTS_* lines.
3080 (parse_auto_input): New function.
3081 * math/libm-test.inc (XFAIL_TEST): New macro.
3082 (ERRNO_UNCHANGED): Update value.
3083 (ERRNO_EDOM): Likewise.
3084 (ERRNO_ERANGE): Likewise.
3085 (IGNORE_RESULT): Likewise.
3086 (TEST_COND_flt_32): New macro.
3087 (TEST_COND_dbl_64): Likewise.
3088 (TEST_COND_ldbl_96_intel): Likewise.
3089 (TEST_COND_ldbl_96_m68k): Likewise.
3090 (TEST_COND_ldbl_128): Likewise.
3091 (TEST_COND_ldbl_128ibm): Likewise.
3092 (TEST_COND_long32): Likewise.
3093 (TEST_COND_long64): Likewise.
3094 (TEST_COND_before_rounding): Likewise.
3095 (TEST_COND_after_rounding): Likewise.
3096 (enable_test): Handle XFAIL_TEST flag.
3097 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3098 with finite results.
3099 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3102 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3103 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3106 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3107 __tls_get_addr_internal instead of __tls_get_offset in order to
3108 avoid GOT pointer dependency. Make rtld export
3109 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3110 __tls_get_addr since we are a __tls_get_offset platform.
3111 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3112 GOT pointer being set up before.
3113 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3115 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3117 * manual/math.texi (Errors in Math Functions): Document accuracy
3121 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3122 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3123 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3125 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3127 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3128 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3130 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3133 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3134 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3138 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3139 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3140 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3141 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3142 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3144 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3146 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3148 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3149 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3150 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3151 atomic-feupdateenv and flt-rounds.
3152 * sysdeps/powerpc/nofpu/Versions (libc): Add
3153 __atomic_feholdexcept, __atomic_feclearexcept,
3154 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3155 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3156 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3157 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3158 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3163 * manual/arith.texi (FP Exceptions): Document that exceptions may
3164 not be raised when matherr is used.
3165 (Math Error Reporting): Document overflow in directed rounding
3166 modes. Document that errno may not be set when finite values are
3167 returned on overflow. Document intent to set errno on underflow
3168 only for underflow to zero.
3171 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3172 round-to-nearest then adjust result for other rounding modes.
3173 * include/fenv.h (fegetround): Use libm_hidden_proto.
3174 * math/fegetround.c (fegetround): Use libm_hidden_def.
3175 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3176 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3177 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3178 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3180 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3181 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3182 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3183 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3185 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3188 * nss/Versions (libnss_files): Add
3189 _nss_files_gethostbyname3_r.
3190 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3192 (HOST_DB_LOOKUP): Remove macro.
3193 (_nss_files_gethostbyname_r): Implement function without the
3194 HOST_DB_LOOKUP macro.
3195 (_nss_files_gethostbyname2_r): Likewise.
3197 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3199 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3201 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3203 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3204 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3207 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3209 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3210 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3211 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3212 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3213 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3214 __fe_nomask_env_priv and attribute_hidden.
3215 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3216 (libc_feupdateenv_test_ppc): Likewise.
3217 (libc_feresetround_ppc): Likewise.
3218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3219 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3220 compat_symbol macro.
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3222 (__fe_nomask_env): Likewise.
3223 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3225 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3227 * string/Makefile: Remove ifunc tests.
3228 * string/test-string.h: Define TEST_IFUNC.
3229 * string/test-bcopy-ifunc.c: Remove.
3230 * string/test-bzero-ifunc.c: Likewise.
3231 * string/test-memccpy-ifunc.c: Likewise.
3232 * string/test-memchr-ifunc.c: Likewise.
3233 * string/test-memcmp-ifunc.c: Likewise.
3234 * string/test-memcpy-ifunc.c: Likewise.
3235 * string/test-memmem-ifunc.c: Likewise.
3236 * string/test-memmove-ifunc.c: Likewise.
3237 * string/test-mempcpy-ifunc.c: Likewise.
3238 * string/test-memrchr-ifunc.c: Likewise.
3239 * string/test-memset-ifunc.c: Likewise.
3240 * string/test-rawmemchr-ifunc.c: Likewise.
3241 * string/test-stpcpy-ifunc.c: Likewise.
3242 * string/test-stpncpy-ifunc.c: Likewise.
3243 * string/test-strcasecmp-ifunc.c: Likewise.
3244 * string/test-strcasestr-ifunc.c: Likewise.
3245 * string/test-strcat-ifunc.c: Likewise.
3246 * string/test-strchr-ifunc.c: Likewise.
3247 * string/test-strchrnul-ifunc.c: Likewise.
3248 * string/test-strcmp-ifunc.c: Likewise.
3249 * string/test-strcpy-ifunc.c: Likewise.
3250 * string/test-strcspn-ifunc.c: Likewise.
3251 * string/test-strlen-ifunc.c: Likewise.
3252 * string/test-strncasecmp-ifunc.c: Likewise.
3253 * string/test-strncat-ifunc.c: Likewise.
3254 * string/test-strncmp-ifunc.c: Likewise.
3255 * string/test-strncpy-ifunc.c: Likewise.
3256 * string/test-strnlen-ifunc.c: Likewise.
3257 * string/test-strpbrk-ifunc.c: Likewise.
3258 * string/test-strrchr-ifunc.c: Likewise.
3259 * string/test-strspn-ifunc.c: Likewise.
3260 * string/test-strstr-ifunc.c: Likewise.
3262 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3264 * benchtests/Makefile: Remove ifunc tests.
3265 * benchtests/bench-string.h: Define TEST_IFUNC.
3266 * benchtests/bench-bcopy-ifunc.c: Remove.
3267 * benchtests/bench-bzero-ifunc.c: Likewise.
3268 * benchtests/bench-memccpy-ifunc.c: Likewise.
3269 * benchtests/bench-memchr-ifunc.c: Likewise.
3270 * benchtests/bench-memcmp-ifunc.c: Likewise.
3271 * benchtests/bench-memcpy-ifunc.c: Likewise.
3272 * benchtests/bench-memmem-ifunc.c: Likewise.
3273 * benchtests/bench-memmove-ifunc.c: Likewise.
3274 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3275 * benchtests/bench-memrchr-ifunc.c: Likewise.
3276 * benchtests/bench-memset-ifunc.c: Likewise.
3277 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3278 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3279 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3280 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3281 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3282 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3283 * benchtests/bench-strcat-ifunc.c: Likewise.
3284 * benchtests/bench-strchr-ifunc.c: Likewise.
3285 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3286 * benchtests/bench-strcmp-ifunc.c: Likewise.
3287 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3288 * benchtests/bench-strcpy-ifunc.c: Likewise.
3289 * benchtests/bench-strcspn-ifunc.c: Likewise.
3290 * benchtests/bench-strlen-ifunc.c: Likewise.
3291 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3292 * benchtests/bench-strncat-ifunc.c: Likewise.
3293 * benchtests/bench-strncmp-ifunc.c: Likewise.
3294 * benchtests/bench-strncpy-ifunc.c: Likewise.
3295 * benchtests/bench-strnlen-ifunc.c: Likewise.
3296 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3297 * benchtests/bench-strrchr-ifunc.c: Likewise.
3298 * benchtests/bench-strsep-ifunc.c: Likewise.
3299 * benchtests/bench-strspn-ifunc.c: Likewise.
3300 * benchtests/bench-strstr-ifunc.c: Likewise.
3302 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3304 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3306 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3308 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3309 * rt/aio.h: Likewise.
3310 * sysdeps/gnu/bits/utmp.h: Likewise.
3311 * sysdeps/gnu/bits/utmpx.h: Likewise.
3312 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3313 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3314 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3315 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3316 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3317 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3318 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3319 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3320 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3321 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3322 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3323 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3324 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3326 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3327 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3328 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3329 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3330 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3331 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3332 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3333 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3334 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3335 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3336 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3338 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3339 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3341 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3342 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3343 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3344 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3345 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3346 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3347 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3348 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3349 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3350 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3351 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3352 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3353 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3355 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3358 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3359 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3361 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3363 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3364 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3367 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3370 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3371 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3372 (__fesetround): Remove define.
3373 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3374 rounding and exceptions handling.
3375 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3376 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3377 (__fe_nomask_env): Likewise.
3378 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3379 __fegetround instead of fegetround.
3380 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3381 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3383 2013-11-21 Roland McGrath <roland@hack.frob.com>
3385 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3388 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3390 2013-11-21 Meador Inge <meadori@codesourcery.com>
3393 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3394 (encrypt_r): Likewise.
3395 * malloc/obstack.h (obstack_free): Likewise.
3396 * posix/unistd.h (encrypt): Likewise.
3398 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3400 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3401 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3402 DL_CALL_DT_FINI() that call the functions directly.
3403 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3404 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3405 * elf/dl-fini.c: Likewise.
3407 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3409 * malloc/hooks.c (memalign_check): Add alignment rounding.
3410 * malloc/malloc.c (_mid_memalign): New function.
3411 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3412 Implement by calling _mid_memalign.
3413 * manual/probes.texi (Memory Allocation Probes): Remove
3414 memory_valloc_retry and memory_pvalloc_retry.
3416 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3418 * locale/programs/locarchive.c (open_archive): Add const
3419 qualifier to ARCHIVEFNAME and copy default fname to
3423 * libio/tst-widetext.input: Rename Oriya to Odia.
3424 * locale/iso-639.def: Likewise.
3426 * manual/probes.texi (Mathematical Function Probes): Add
3427 documentation for sin, cos, asin and acos probes.
3428 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3429 (__sin32): Add slowasin probe.
3430 (__cos32): Add slowacos probe.
3431 (__mpsin): Add slowsin probe.
3432 (__mpcos): Add slowcos probe.
3434 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3437 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3438 thread-local __sim_exceptions_thread and global
3439 __sim_exceptions_global.
3440 (__sim_disabled_exceptions): Change to thread-local
3441 __sim_disabled_exceptions_thread and global
3442 __sim_disabled_exceptions_global.
3443 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3444 and global __sim_round_mode_global.
3445 (__simulate_exceptions): Use thread-local floating-point state and
3446 set global state from it as needed.
3447 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3448 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3449 __sim_round_mode_thread.
3450 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3451 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3452 and global __sim_exceptions_global.
3453 (__sim_disabled_exceptions): Change to thread-local
3454 __sim_disabled_exceptions_thread and global
3455 __sim_disabled_exceptions_global.
3456 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3457 and global __sim_round_mode_global.
3458 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3459 (SIM_SET_GLOBAL): Likewise.
3460 * sysdeps/powerpc/soft-fp/sfp-machine.h
3461 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3462 __sim_round_mode_thread.
3463 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3464 __sim_disabled_exceptions_thread.
3465 (__sim_exceptions): Change to __sim_exceptions_thread.
3466 (__sim_disabled_exceptions): Change to
3467 __sim_disabled_exceptions_thread.
3468 (__sim_round_mode): Change to __sim_round_mode_thread.
3469 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3470 thread-local floating-point state and set global state from it as
3472 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3473 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3474 (__sim_disabled_exceptions): Remove extern declaration.
3475 (feenableexcept): Use thread-local floating-point state and set
3476 global state from it as needed.
3477 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3479 (__sim_disabled_exceptions): Likewise.
3480 (__sim_round_mode): Likewise.
3481 (__fegetenv): Use thread-local floating-point state.
3482 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3483 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3484 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3485 floating-point state and set global state from it as needed.
3486 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3487 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3488 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3490 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3491 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3493 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3494 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3495 Use __sim_round_mode_thread.
3496 * math/test-fenv-tls.c: New file.
3497 * math/Makefile (tests): Add test-fenv-tls.
3498 ($(objpfx)test-fenv-tls): Depend on
3499 $(common-objpfx)nptl/libpthread.so.
3501 2013-11-19 Andreas Schwab <schwab@suse.de>
3503 * locale/programs/locale.c (show_info): Decode wordarray elements.
3504 * locale/categories.def (LC_MONETARY): Add element for
3505 _NL_MONETARY_CRNCYSTR.
3506 * locale/C-monetary.c (conversion_rate): New variable.
3507 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3510 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3512 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3513 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3515 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3517 * elf/Makefile (tst-auxv): New test.
3518 * elf/tst-auxv.c: New
3519 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3521 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3523 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3524 (hidden_proto): Caller changed.
3525 (hidden_tls_proto): New macro.
3526 (libc_hidden_tls_proto): Likewise.
3527 (rtld_hidden_tls_proto): Likewise.
3528 (libm_hidden_tls_proto): Likewise.
3529 (libresolv_hidden_tls_proto): Likewise.
3530 (librt_hidden_tls_proto): Likewise.
3531 (libdl_hidden_tls_proto): Likewise.
3532 (libnss_files_hidden_tls_proto): Likewise.
3533 (libnsl_hidden_tls_proto): Likewise.
3534 (libnss_nisplus_hidden_tls_proto): Likewise.
3535 (libutil_hidden_tls_proto): Likewise.
3537 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3540 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3541 (decompose_rpath): Defer expansion to fillin_rpath.
3542 (_dl_init_paths): Pass linkmap to fillin_rpath.
3544 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3546 * benchtests/Makefile: Add strsep.
3547 * benchtests/bench-strsep.c: New file: strsep benchtest.
3548 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3550 2013-11-18 Andreas Schwab <schwab@suse.de>
3552 * locale/programs/locale.c (show_info) [case byte]: Check for
3553 '\377' instead of '\177'.
3554 * locale/C-monetary.c (not_available): Always use "\377".
3555 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3556 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3557 detect unavailable sign_posn locale elements.
3558 * locale/localeconv.c (__localeconv): For grouping and
3559 mon_grouping handle "\177" and "\377" like no grouping.
3560 (INT_ELEM): New macro. Use it to set all numeric members.
3561 * locale/programs/ld-monetary.c (monetary_read)
3562 <tok_mon_grouping>: Normalize single -1 to the empty string.
3563 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3566 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3570 when we match (nil).
3571 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3573 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3575 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3576 (NO_TEST_INLINE): Update value.
3577 (ERRNO_UNCHANGED): Likewise.
3578 (ERRNO_EDOM): Likewise.
3579 (ERRNO_ERANGE): Likewise.
3580 (IGNORE_RESULT): Likewise.
3581 (check_float_internal): Check signs of NaN results if
3583 (check_complex): Pass TEST_NAN_SIGN flag through to second
3584 check_float_internal call.
3585 (copysign_test_data): Add tests with quiet NaNs as second
3586 argument. Use TEST_NAN_SIGN.
3587 (fabs_test_data): Add test of negative quiet NaN argument. Use
3589 (signbit_test_data): Add tests of quiet NaN argument.
3590 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3592 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3594 (parse_args): Handle function results specified as IGNORE.
3595 * math/libm-test.inc (IGNORE_RESULT): New macro.
3596 (check_float_internal): Do not check numerical result if flag
3598 (check_complex): Pass through IGNORE_RESULT to second
3599 check_float_internal call.
3600 (check_int): Do not check numerical result if flag IGNORE_RESULT
3602 (check_long): Likewise.
3603 (check_bool): Likewise.
3604 (check_longlong): Likewise.
3605 (lrint_test_data): Add tests of infinite and NaN arguments.
3606 (lrint_tonearest_test_data): Likewise.
3607 (lrint_towardzero_test_data): Likewise.
3608 (lrint_downward_test_data): Likewise.
3609 (lrint_upward_test_data): Likewise.
3610 (llrint_test_data): Likewise.
3611 (llrint_tonearest_test_data): Likewise.
3612 (llrint_towardzero_test_data): Likewise.
3613 (llrint_downward_test_data): Likewise.
3614 (llrint_upward_test_data): Likewise.
3615 (lround_test_data): Likewise.
3616 (llround_test_data): Likewise.
3618 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3619 (ERRNO_UNCHANGED): Update value.
3620 (ERRNO_EDOM): Likewise.
3621 (ERRNO_ERANGE): Likewise.
3622 (NO_TEST_INLINE_FLOAT): New macro.
3623 (NO_TEST_INLINE_DOUBLE): Likewise.
3624 (enable_test): New function.
3625 (RUN_TEST_f_f): Check enable_test before running test.
3626 (RUN_TEST_2_f): Likewise.
3627 (RUN_TEST_fff_f): Likewise.
3628 (RUN_TEST_c_f): Likewise.
3629 (RUN_TEST_f_f1): Likewise.
3630 (RUN_TEST_fF_f1): Likewise.
3631 (RUN_TEST_fI_f1): Likewise.
3632 (RUN_TEST_ffI_f1): Likewise.
3633 (RUN_TEST_c_c): Likewise.
3634 (RUN_TEST_cc_c): Likewise.
3635 (RUN_TEST_f_i): Likewise.
3636 (RUN_TEST_f_i_tg): Likewise.
3637 (RUN_TEST_ff_i_tg): Likewise.
3638 (RUN_TEST_f_b): Likewise.
3639 (RUN_TEST_f_b_tg): Likewise.
3640 (RUN_TEST_f_l): Likewise.
3641 (RUN_TEST_f_L): Likewise.
3642 (RUN_TEST_fFF_11): Likewise.
3643 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3645 (cosh_test_data): Likewise.
3646 (exp_test_data): Likewise.
3647 (expm1_test_data): Likewise.
3648 (hypot_test_data): Likewise.
3649 (pow_test_data): Likewise.
3650 (sinh_test_data): Likewise.
3651 (tanh_test_data): Likewise.
3652 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3655 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3656 tests with quiet NaN input and output.
3657 (acosh_test_data): Likewise.
3658 (asin_test_data): Likewise.
3659 (asinh_test_data): Likewise.
3660 (atan_test_data): Likewise.
3661 (atanh_test_data): Likewise.
3662 (atan2_test_data): Likewise.
3663 (cbrt_test_data): Likewise.
3664 (cos_test_data): Likewise.
3665 (cosh_test_data): Likewise.
3666 (erf_test_data): Likewise.
3667 (erfc_test_data): Likewise.
3668 (exp_test_data): Likewise.
3669 (exp10_test_data): Likewise.
3670 (exp2_test_data): Likewise.
3671 (expm1_test_data): Likewise.
3672 (hypot_test_data): Likewise.
3673 (j0_test_data): Likewise.
3674 (j1_test_data): Likewise.
3675 (jn_test_data): Likewise.
3676 (lgamma_test_data): Likewise.
3677 (log_test_data): Likewise.
3678 (log10_test_data): Likewise.
3679 (log1p_test_data): Likewise.
3680 (log2_test_data): Likewise.
3681 (pow_test_data): Likewise.
3682 (scalb_test_data): Likewise.
3683 (sin_test_data): Likewise.
3684 (sincos_test_data): Likewise.
3685 (sinh_test_data): Likewise.
3686 (tan_test_data): Likewise.
3687 (tanh_test_data): Likewise.
3688 (tgamma_test_data): Likewise.
3689 (y0_test_data): Likewise.
3690 (y1_test_data): Likewise.
3691 (yn_test_data): Likewise.
3694 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3695 argument being NaN and avoid computations with second argument in
3697 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3698 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3699 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3701 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3703 * locale/iso-639.def: Add Chitwani Tharu (the).
3705 2013-11-14 Andreas Schwab <schwab@suse.de>
3707 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3708 word instead of empty string.
3710 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3713 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3715 (__fe_nomask_env): Likewise.
3717 2013-11-13 Steve Ellcey <sellcey@mips.com>
3719 * benchtests/bench-timing.h: Include time.h.
3721 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3724 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3726 * sysdeps/unix/sysv/linux/configure: Regenerated.
3728 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3731 * stdlib/strtod_l.c (round_and_return): Do not consider
3732 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3733 exponent one less than half the least subnormal exponent.
3734 * stdlib/test-strtod-round-data: Add more tests.
3735 * stdlib/tst-strtod-round.c (tests): Regenerated.
3737 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3740 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3741 (__fe_mask_env): Likewise.
3742 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3743 libm_hidden_proto and add function prototype.
3744 (__fe_mask_env): Add function prototype.
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3746 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3748 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3750 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3752 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3754 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3755 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3757 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3759 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3760 of htab_find_slot().
3762 2013-11-11 David S. Miller <davem@davemloft.net>
3765 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3766 symbol in the non-vis3 case in static builds.
3767 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3768 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3769 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3770 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3772 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3775 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3778 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3780 * benchtests/Makefile: Add bench-strtod.
3781 * benchtests/bench-strtod.c: New file: strtod benchtest
3783 2013-11-11 Andreas Schwab <schwab@suse.de>
3786 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3787 terminating NUL in key length.
3789 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3791 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3792 Add artificial ODP entry for vDSO symbol for PPC64.
3793 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3794 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3796 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3799 * nss/getent.c (services_keys): Recognize services starting with digit.
3801 2013-11-06 David S. Miller <davem@davemloft.net>
3804 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3805 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3807 2013-11-06 Will Newton <will.newton@linaro.org>
3809 * manual/memory.texi (Malloc Examples): Remove register
3810 keyword from examples.
3812 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3814 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3816 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3818 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3819 depending on [__GCC_IEC_559 > 0].
3820 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3821 depending on [__GCC_IEC_559_COMPLEX > 0].
3823 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3825 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3828 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3830 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3832 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3835 * malloc/malloc (malloc_info): Do not handle first bin as
3838 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3840 * locale/iso-639.def: Add Central Nahuatl (nhn).
3842 2013-11-01 Bruno Haible <bruno@clisp.org>
3845 * manual/math.texi (BSD Random): Specify range upper bound as
3848 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3850 * locale/iso-639.def: Add Meadow Mari (mhr).
3852 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3854 [BZ #14752], [BZ #15763]
3855 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3857 * rt/tst_shm.c: Add test for escaping directory.
3859 2013-10-31 Andreas Schwab <schwab@suse.de>
3862 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3863 followed by 'x' as part of digit sequence.
3864 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3866 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3869 * configure.ac: allow GNU Make 4.0 and greater.
3870 * configure: Regenerated.
3872 2013-10-30 Will Newton <will.newton@linaro.org>
3875 * malloc/hooks.c (memalign_check): Limit alignment to the
3876 maximum representable power of two.
3877 * malloc/malloc.c (__libc_memalign): Likewise.
3878 * malloc/tst-memalign.c (do_test): Add test for very
3879 large alignment values.
3880 * malloc/tst-posix_memalign.c (do_test): Likewise.
3882 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3885 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3886 (munmap_chunk): Likewise.
3887 (mremap_chunk): Likewise.
3889 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3892 * stdlib/div.c (div): Remove obsolete code.
3893 * stdlib/ldiv.c (ldiv): Likewise.
3894 * stdlib/lldiv.c (lldiv): Likewise.
3896 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3899 * nss/nss_files/files-XXX.c (get_contents_ret): New
3901 (get_contents): New function.
3902 (internal_getent): Use it. Expand size of LINEBUFLEN.
3904 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3906 * configure.in: Moved to ...
3907 * configure.ac: ... here. Change reference to configure.in
3909 * sysdeps/arm/preconfigure.ac: ... here.
3910 configure.in to configure.ac.
3911 * sysdeps/gnu/configure.in: Moved to ...
3912 * sysdeps/gnu/configure.ac: ... here.
3913 * sysdeps/i386/configure.in: Moved to ...
3914 * sysdeps/i386/configure.ac: ... here.
3915 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3916 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3917 * sysdeps/mach/configure.in: Moved to ...
3918 * sysdeps/mach/configure.ac: ... here.
3919 * sysdeps/mach/hurd/configure.in: Moved to ...
3920 * sysdeps/mach/hurd/configure.ac: ... here.
3921 * sysdeps/powerpc/configure.in: Moved to ...
3922 * sysdeps/powerpc/configure.ac: ... here.
3923 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3924 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3925 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3926 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3927 * sysdeps/s390/s390-32/configure.in: Moved to ...
3928 * sysdeps/s390/s390-32/configure.ac: ... here.
3929 * sysdeps/s390/s390-64/configure.in: Moved to ...
3930 * sysdeps/s390/s390-64/configure.ac: ... here.
3931 * sysdeps/sh/configure.in: Moved to ...
3932 * sysdeps/sh/configure.ac: ... here.
3933 * sysdeps/sparc/configure.in: Moved to ...
3934 * sysdeps/sparc/configure.ac: ... here.
3935 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3936 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3937 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3938 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3939 * sysdeps/x86_64/configure.in: Moved to ...
3940 * sysdeps/x86_64/configure.ac: ... here.
3941 * sysdeps/x86_64/preconfigure.in: Moved to ...
3942 * sysdeps/x86_64/preconfigure.ac: ... here.
3943 * aclocal.m4: Change reference to configure.in to configure.ac.
3944 * config.h.in: Likewise.
3945 * manual/install.texi: Likewise.
3946 * manual/maint.texi: Likewise.
3947 * Makefile: Likewise.
3948 * malloc/Makefile: Likewise.
3949 * nscd/Makefile: Likewise.
3950 * Makeconfig: Change reference to configure.in and
3951 preconfigure.in to configure.ac and preconfigure.ac
3953 * INSTALL: Regenerated.
3954 * configure: Likewise.
3955 * sysdeps/gnu/configure: Likewise.
3956 * sysdeps/i386/configure: Likewise.
3957 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3958 * sysdeps/mach/configure: Likewise.
3959 * sysdeps/mach/hurd/configure: Likewise.
3960 * sysdeps/powerpc/configure: Likewise.
3961 * sysdeps/powerpc/powerpc32/configure: Likewise.
3962 * sysdeps/powerpc/powerpc64/configure: Likewise.
3963 * sysdeps/s390/s390-32/configure: Likewise.
3964 * sysdeps/s390/s390-64/configure: Likewise.
3965 * sysdeps/sh/configure: Likewise.
3966 * sysdeps/sparc/configure: Likewise.
3967 * sysdeps/unix/sysv/linux/configure: Likewise.
3968 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3969 * sysdeps/x86_64/configure: Likewise.
3970 * sysdeps/x86_64/preconfigure: Likewise.
3972 2013-10-29 Andreas Schwab <schwab@suse.de>
3974 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3976 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3978 * benchtests/pow-inputs: Add new inputs.
3980 * benchtests/exp-inputs: Add new inputs.
3982 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3983 conditional check for return value.
3984 (__cos32): Likewise.
3986 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3988 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3989 to provide a boost for large inputs with word alignment.
3990 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3991 implementation based on optimized PPC64 strcpy.
3992 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3993 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3994 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3995 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3997 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4000 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4002 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4005 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4006 * time/tst-strptime.c (day_tests): Add testcase.
4008 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4011 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4013 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4016 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4017 MAP_FAILED on error.
4019 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4022 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4023 heap for large requests.
4025 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4028 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4029 result if the result has no associated interface.
4030 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4031 interface for all 127.X.Y.Z addresses.
4033 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4035 * locale/iso-639.def: Add Ligurian (lij)
4037 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4040 * sunrpc/rpc_main.c: Document rpcgen -5.
4042 2013-10-19 Michael Stahl <mstahl@redhat.com>
4044 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4046 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4049 * posix/glob.c: Match only directories when trailing slash is present.
4050 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4051 (main): Add testcase.
4053 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4056 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4058 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4060 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4061 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4062 AUTH_DES and cindex for FIPS 140-2.
4063 (DES Encryption): Add cindex FIPS 46-3.
4065 * locale/locarchive.h (struct locarhandle): Add fname.
4066 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4067 if an optional argument was specified to --list-archive,
4069 * locale/programs/locarchive.c (show_archive_content): Take new
4070 argument fname and pass it via ah.fname to open_archive.
4071 * locale/programs/localedef.h: Update decl.
4072 (open_archive): If AH->fname is non-null, open that file
4073 rather than the default file name, and don't ignore ENOENT.
4074 (create_archive): Set AH.fname to NULL.
4075 (delete_locales_from_archive): Likewise.
4076 (add_locales_to_archive): Likewise.
4077 * locale/programs/locfile.c (write_all_categories): Likewise.
4079 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4080 Aldy Hernandez <aldyh@redhat.com>
4082 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4083 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4084 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4085 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4086 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4087 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4088 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4089 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4090 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4091 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4092 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4093 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4094 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4095 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4096 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4098 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4100 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4102 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4104 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4105 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4107 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4108 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4109 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4110 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4112 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4113 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4114 * sysdeps/powerpc/preconfigure: Likewise.
4115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4117 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4118 Replace contents of file by #include of <fenv_libc.h>.
4119 * sysdeps/powerpc/soft-fp/sfp-machine.h
4120 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4122 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4129 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4135 Allow copysignl PLT reference to be missing.
4137 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4138 Joseph Myers <joseph@codesourcery.com
4141 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4143 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4145 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4147 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4148 * elf/tst-tls1.c: Likewise.
4149 * elf/tst-tls10.h: Likewise.
4150 * elf/tst-tls14.c: Likewise.
4151 * elf/tst-tls2.c: Likewise.
4152 * elf/tst-tls3.c: Likewise.
4153 * elf/tst-tls4.c: Likewise.
4154 * elf/tst-tls5.c: Likewise.
4155 * elf/tst-tls6.c: Likewise.
4156 * elf/tst-tls7.c: Likewise.
4157 * elf/tst-tls8.c: Likewise.
4158 * elf/tst-tls9.c: Likewise.
4159 * elf/tst-tlsmod1.c: Likewise.
4160 * elf/tst-tlsmod13.c: Likewise.
4161 * elf/tst-tlsmod13a.c: Likewise.
4162 * elf/tst-tlsmod14a.c: Likewise.
4163 * elf/tst-tlsmod16a.c: Likewise.
4164 * elf/tst-tlsmod16b.c: Likewise.
4165 * elf/tst-tlsmod2.c: Likewise.
4166 * elf/tst-tlsmod3.c: Likewise.
4167 * elf/tst-tlsmod4.c: Likewise.
4168 * elf/tst-tlsmod5.c: Likewise.
4169 * elf/tst-tlsmod6.c: Likewise.
4171 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4174 * malloc/malloc.c: remove checks for statistics.
4176 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4179 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4180 * inet/tst-network.c: Add testcase.
4182 2013-10-17 Andreas Schwab <schwab@suse.de>
4185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4186 to determine canonical name.
4188 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4190 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4191 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4192 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4214 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4215 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4220 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4249 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4252 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4253 make result into a quiet NaN.
4255 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4257 * soft-fp/adddf3.c: Fix horizontal whitespace.
4258 * soft-fp/addsf3.c: Likewise.
4259 * soft-fp/addtf3.c: Likewise.
4260 * soft-fp/divdf3.c: Likewise.
4261 * soft-fp/divsf3.c: Likewise.
4262 * soft-fp/divtf3.c: Likewise.
4263 * soft-fp/double.h: Likewise.
4264 * soft-fp/eqdf2.c: Likewise.
4265 * soft-fp/eqsf2.c: Likewise.
4266 * soft-fp/eqtf2.c: Likewise.
4267 * soft-fp/extenddftf2.c: Likewise.
4268 * soft-fp/extended.h: Likewise.
4269 * soft-fp/extendsfdf2.c: Likewise.
4270 * soft-fp/extendsftf2.c: Likewise.
4271 * soft-fp/extendxftf2.c: Likewise.
4272 * soft-fp/fixdfdi.c: Likewise.
4273 * soft-fp/fixdfsi.c: Likewise.
4274 * soft-fp/fixdfti.c: Likewise.
4275 * soft-fp/fixsfdi.c: Likewise.
4276 * soft-fp/fixsfsi.c: Likewise.
4277 * soft-fp/fixsfti.c: Likewise.
4278 * soft-fp/fixtfdi.c: Likewise.
4279 * soft-fp/fixtfsi.c: Likewise.
4280 * soft-fp/fixtfti.c: Likewise.
4281 * soft-fp/fixunsdfdi.c: Likewise.
4282 * soft-fp/fixunsdfsi.c: Likewise.
4283 * soft-fp/fixunsdfti.c: Likewise.
4284 * soft-fp/fixunssfdi.c: Likewise.
4285 * soft-fp/fixunssfsi.c: Likewise.
4286 * soft-fp/fixunssfti.c: Likewise.
4287 * soft-fp/fixunstfdi.c: Likewise.
4288 * soft-fp/fixunstfsi.c: Likewise.
4289 * soft-fp/fixunstfti.c: Likewise.
4290 * soft-fp/floatdidf.c: Likewise.
4291 * soft-fp/floatdisf.c: Likewise.
4292 * soft-fp/floatditf.c: Likewise.
4293 * soft-fp/floatsidf.c: Likewise.
4294 * soft-fp/floatsisf.c: Likewise.
4295 * soft-fp/floatsitf.c: Likewise.
4296 * soft-fp/floattidf.c: Likewise.
4297 * soft-fp/floattisf.c: Likewise.
4298 * soft-fp/floattitf.c: Likewise.
4299 * soft-fp/floatundidf.c: Likewise.
4300 * soft-fp/floatundisf.c: Likewise.
4301 * soft-fp/floatunditf.c: Likewise.
4302 * soft-fp/floatunsidf.c: Likewise.
4303 * soft-fp/floatunsisf.c: Likewise.
4304 * soft-fp/floatunsitf.c: Likewise.
4305 * soft-fp/floatuntidf.c: Likewise.
4306 * soft-fp/floatuntisf.c: Likewise.
4307 * soft-fp/floatuntitf.c: Likewise.
4308 * soft-fp/fmadf4.c: Likewise.
4309 * soft-fp/fmasf4.c: Likewise.
4310 * soft-fp/fmatf4.c: Likewise.
4311 * soft-fp/gedf2.c: Likewise.
4312 * soft-fp/gesf2.c: Likewise.
4313 * soft-fp/getf2.c: Likewise.
4314 * soft-fp/ledf2.c: Likewise.
4315 * soft-fp/lesf2.c: Likewise.
4316 * soft-fp/letf2.c: Likewise.
4317 * soft-fp/muldf3.c: Likewise.
4318 * soft-fp/mulsf3.c: Likewise.
4319 * soft-fp/multf3.c: Likewise.
4320 * soft-fp/negdf2.c: Likewise.
4321 * soft-fp/negsf2.c: Likewise.
4322 * soft-fp/negtf2.c: Likewise.
4323 * soft-fp/op-1.h: Likewise.
4324 * soft-fp/op-2.h: Likewise.
4325 * soft-fp/op-4.h: Likewise.
4326 * soft-fp/op-8.h: Likewise.
4327 * soft-fp/op-common.h: Likewise.
4328 * soft-fp/quad.h: Likewise.
4329 * soft-fp/single.h: Likewise.
4330 * soft-fp/soft-fp.h: Likewise.
4331 * soft-fp/sqrtdf2.c: Likewise.
4332 * soft-fp/sqrtsf2.c: Likewise.
4333 * soft-fp/sqrttf2.c: Likewise.
4334 * soft-fp/subdf3.c: Likewise.
4335 * soft-fp/subsf3.c: Likewise.
4336 * soft-fp/subtf3.c: Likewise.
4337 * soft-fp/truncdfsf2.c: Likewise.
4338 * soft-fp/trunctfdf2.c: Likewise.
4339 * soft-fp/trunctfsf2.c: Likewise.
4340 * soft-fp/trunctfxf2.c: Likewise.
4341 * soft-fp/unorddf2.c: Likewise.
4342 * soft-fp/unordsf2.c: Likewise.
4343 * soft-fp/unordtf2.c: Likewise.
4345 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4347 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4348 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4350 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4352 * elf/dl-libc.c: Clear initfini list after freeing.
4354 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4356 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4357 * soft-fp/addsf3.c: Likewise.
4358 * soft-fp/addtf3.c: Likewise.
4359 * soft-fp/divdf3.c: Likewise.
4360 * soft-fp/divsf3.c: Likewise.
4361 * soft-fp/divtf3.c: Likewise.
4362 * soft-fp/double.h: Likewise.
4363 * soft-fp/eqdf2.c: Likewise.
4364 * soft-fp/eqsf2.c: Likewise.
4365 * soft-fp/eqtf2.c: Likewise.
4366 * soft-fp/extenddftf2.c: Likewise.
4367 * soft-fp/extended.h: Likewise.
4368 * soft-fp/extendsfdf2.c: Likewise.
4369 * soft-fp/extendsftf2.c: Likewise.
4370 * soft-fp/extendxftf2.c: Likewise.
4371 * soft-fp/fixdfdi.c: Likewise.
4372 * soft-fp/fixdfsi.c: Likewise.
4373 * soft-fp/fixdfti.c: Likewise.
4374 * soft-fp/fixsfdi.c: Likewise.
4375 * soft-fp/fixsfsi.c: Likewise.
4376 * soft-fp/fixsfti.c: Likewise.
4377 * soft-fp/fixtfdi.c: Likewise.
4378 * soft-fp/fixtfsi.c: Likewise.
4379 * soft-fp/fixtfti.c: Likewise.
4380 * soft-fp/fixunsdfdi.c: Likewise.
4381 * soft-fp/fixunsdfsi.c: Likewise.
4382 * soft-fp/fixunsdfti.c: Likewise.
4383 * soft-fp/fixunssfdi.c: Likewise.
4384 * soft-fp/fixunssfsi.c: Likewise.
4385 * soft-fp/fixunssfti.c: Likewise.
4386 * soft-fp/fixunstfdi.c: Likewise.
4387 * soft-fp/fixunstfsi.c: Likewise.
4388 * soft-fp/fixunstfti.c: Likewise.
4389 * soft-fp/floatdidf.c: Likewise.
4390 * soft-fp/floatdisf.c: Likewise.
4391 * soft-fp/floatditf.c: Likewise.
4392 * soft-fp/floatsidf.c: Likewise.
4393 * soft-fp/floatsisf.c: Likewise.
4394 * soft-fp/floatsitf.c: Likewise.
4395 * soft-fp/floattidf.c: Likewise.
4396 * soft-fp/floattisf.c: Likewise.
4397 * soft-fp/floattitf.c: Likewise.
4398 * soft-fp/floatundidf.c: Likewise.
4399 * soft-fp/floatundisf.c: Likewise.
4400 * soft-fp/floatunsidf.c: Likewise.
4401 * soft-fp/floatunsisf.c: Likewise.
4402 * soft-fp/floatuntidf.c: Likewise.
4403 * soft-fp/floatuntisf.c: Likewise.
4404 * soft-fp/floatuntitf.c: Likewise.
4405 * soft-fp/fmadf4.c: Likewise.
4406 * soft-fp/fmasf4.c: Likewise.
4407 * soft-fp/fmatf4.c: Likewise.
4408 * soft-fp/gedf2.c: Likewise.
4409 * soft-fp/gesf2.c: Likewise.
4410 * soft-fp/getf2.c: Likewise.
4411 * soft-fp/ledf2.c: Likewise.
4412 * soft-fp/lesf2.c: Likewise.
4413 * soft-fp/letf2.c: Likewise.
4414 * soft-fp/muldf3.c: Likewise.
4415 * soft-fp/mulsf3.c: Likewise.
4416 * soft-fp/multf3.c: Likewise.
4417 * soft-fp/negdf2.c: Likewise.
4418 * soft-fp/negsf2.c: Likewise.
4419 * soft-fp/negtf2.c: Likewise.
4420 * soft-fp/op-1.h: Likewise.
4421 * soft-fp/op-2.h: Likewise.
4422 * soft-fp/op-4.h: Likewise.
4423 * soft-fp/op-8.h: Likewise.
4424 * soft-fp/op-common.h: Likewise.
4425 * soft-fp/quad.h: Likewise.
4426 * soft-fp/single.h: Likewise.
4427 * soft-fp/soft-fp.h: Likewise.
4428 * soft-fp/sqrtdf2.c: Likewise.
4429 * soft-fp/sqrtsf2.c: Likewise.
4430 * soft-fp/sqrttf2.c: Likewise.
4431 * soft-fp/subdf3.c: Likewise.
4432 * soft-fp/subsf3.c: Likewise.
4433 * soft-fp/subtf3.c: Likewise.
4434 * soft-fp/truncdfsf2.c: Likewise.
4435 * soft-fp/trunctfdf2.c: Likewise.
4436 * soft-fp/trunctfsf2.c: Likewise.
4437 * soft-fp/trunctfxf2.c: Likewise.
4438 * soft-fp/unorddf2.c: Likewise.
4439 * soft-fp/unordsf2.c: Likewise.
4440 * soft-fp/unordtf2.c: Likewise.
4442 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4445 * misc/error.c (error_tail): Fix possible buffer overflow.
4447 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4450 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4453 2013-10-14 P. J. McDermott <pj@pehjota.net>
4456 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4457 testing pipefail option.
4459 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4461 * soft-fp/double.h: Indent preprocessor directives inside #if.
4462 * soft-fp/extended.h: Likewise.
4463 * soft-fp/op-2.h: Likewise.
4464 * soft-fp/op-4.h: Likewise.
4465 * soft-fp/op-common.h: Likewise.
4466 * soft-fp/quad.h: Likewise.
4467 * soft-fp/single.h: Likewise.
4468 * soft-fp/soft-fp.h: Likewise.
4470 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4472 * iconv/iconv_prog.c: Fix typos.
4473 * stdio-common/psiginfo-data.h: Likewise.
4475 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4478 * locale/setlocale.c: Fix typo.
4480 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4483 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4484 signaling NaN arguments.
4485 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4486 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4489 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4491 * soft-fp/gesf2.c (__gesf2): Likewise.
4492 * soft-fp/getf2.c (__getf2): Likewise.
4493 * soft-fp/ledf2.c (__ledf2): Likewise.
4494 * soft-fp/lesf2.c (__lesf2): Likewise.
4495 * soft-fp/letf2.c (__letf2): Likewise.
4497 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4498 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4499 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4500 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4501 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4502 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4503 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4504 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4505 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4506 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4507 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4508 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4509 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4510 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4511 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4512 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4513 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4514 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4515 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4516 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4517 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4518 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4519 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4520 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4521 * soft-fp/floattidf.c (__floattidf): Likewise.
4522 * soft-fp/floattisf.c (__floattisf): Likewise.
4523 * soft-fp/floattitf.c (__floattitf): Likewise.
4524 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4525 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4526 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4527 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4528 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4529 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4530 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4531 * soft-fp/gesf2.c (__gesf2): Likewise.
4532 * soft-fp/getf2.c (__getf2): Likewise.
4533 * soft-fp/ledf2.c (__ledf2): Likewise.
4534 * soft-fp/lesf2.c (__lesf2): Likewise.
4535 * soft-fp/letf2.c (__letf2): Likewise.
4537 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4538 Undefine and redefine.
4539 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4540 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4541 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4542 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4543 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4544 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4545 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4546 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4547 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4548 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4549 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4550 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4551 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4552 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4553 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4556 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4557 without decrementing exponent if mantissa >= that for the
4559 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4560 denominator, not >. Decrement exponent in < case instead of
4561 incrementing in >= case.
4562 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4563 without decrementing exponent if mantissa >= that for the
4566 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4567 computing saturated result for unsigned overflow.
4569 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4570 Jeff Law <law@redhat.com>
4572 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4573 (atan2Mp): Add systemtap probe marker.
4574 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4575 (__ieee754_log): Add systemtap probe marker.
4576 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4577 (atanMp): Add systemtap probe marker.
4578 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4579 (tanMp): Add systemtap probe marker.
4580 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4581 (__slowexp): Add systemtap probe marker.
4582 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4583 (__slowpow): Add systemtap probe marker.
4584 * manual/probes.texi: Document probes.
4586 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4589 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4591 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4593 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4594 written to buffer but not flushed.
4595 * libio/iofwrite_u.c: Likewise.
4596 * libio/iopadn.c: Return bytes returned even if EOF was
4598 * libio/iowpadn.c: Likewise.
4599 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4600 if _IO_padn does not write the whole buffer.
4601 [!COMPILE_WPRINTF] (PAD): Likewise.
4603 2013-10-10 David S. Miller <davem@davemloft.net>
4605 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4608 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4610 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4611 instead of FSF address.
4612 * soft-fp/fixdfti.c: Likewise.
4613 * soft-fp/fixsfti.c: Likewise.
4614 * soft-fp/fixtfti.c: Likewise.
4615 * soft-fp/fixunsdfti.c: Likewise.
4616 * soft-fp/fixunssfti.c: Likewise.
4617 * soft-fp/fixunstfti.c: Likewise.
4618 * soft-fp/floattidf.c: Likewise.
4619 * soft-fp/floattisf.c: Likewise.
4620 * soft-fp/floattitf.c: Likewise.
4621 * soft-fp/floatuntidf.c: Likewise.
4622 * soft-fp/floatuntisf.c: Likewise.
4623 * soft-fp/floatuntitf.c: Likewise.
4624 * soft-fp/trunctfxf2.c: Likewise.
4626 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4627 * soft-fp/fixdfti.c: Likewise.
4628 * soft-fp/fixsfti.c: Likewise.
4629 * soft-fp/fixtfti.c: Likewise.
4630 * soft-fp/fixunsdfti.c: Likewise.
4631 * soft-fp/fixunssfti.c: Likewise.
4632 * soft-fp/fixunstfti.c: Likewise.
4633 * soft-fp/floattidf.c: Likewise.
4634 * soft-fp/floattisf.c: Likewise.
4635 * soft-fp/floattitf.c: Likewise.
4636 * soft-fp/floatuntidf.c: Likewise.
4637 * soft-fp/floatuntisf.c: Likewise.
4638 * soft-fp/floatuntitf.c: Likewise.
4639 * soft-fp/trunctfxf2.c: Likewise.
4641 2013-10-10 David S. Miller <davem@davemloft.net>
4643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4645 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4647 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4648 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4649 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4650 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4651 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4652 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4653 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4655 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4656 for NaNs before doing comparisons on argument.
4657 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4660 2013-10-10 Will Newton <will.newton@linaro.org>
4662 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4663 passed to _int_memalign does not overflow.
4665 2013-10-10 Torvald Riegel <triegel@redhat.com>
4667 * scripts/bench.pl: Add include-sources directive.
4668 * benchtests/README: Update documentation.
4670 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4672 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4673 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4674 instead of FP_INIT_ROUNDMODE.
4675 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4676 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4679 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4680 copy class of input value.
4681 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4682 not handle exceptions.
4683 * soft-fp/negsf2.c (__negsf2): Likewise.
4684 * soft-fp/negtf2.c (__negtf2): Likewise.
4685 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4687 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4689 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4690 semicolon. From Linux kernel.
4692 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4694 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4696 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4699 * manual/socket.texi: Added statement about buffer
4700 for gethostbyname2_r.
4702 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4704 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4705 Use .p2align directive instead, throughout.
4706 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4707 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4708 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4709 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4710 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4711 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4712 * sysdeps/x86_64/strchr.S: Likewise.
4713 * sysdeps/x86_64/strrchr.S: Likewise.
4715 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4717 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4719 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4721 * sysdeps/generic/math_private.h (__mpsin1): Remove
4723 (__mpcos1): Likewise.
4724 (__mpsin): New argument __range_reduce.
4725 (__mpcos): Likewise.
4726 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4727 (slow): Use __mpsin and __mpcos.
4734 (bsloww1): Likewise.
4735 (bsloww2): Likewise.
4738 (csloww1): Likewise.
4739 (csloww2): Likewise.
4740 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4741 range_reduce. Merge in __mpsin1.
4742 (__mpcos): Likewise.
4744 (__mpcos1): Likewise.
4746 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4748 * locale/loadlocale.c (_nl_intern_locale_data): Use
4750 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4751 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4752 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4753 obstack data is appropriately aligned.
4754 (obstack_int32_grow_fast): Likewise.
4755 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4756 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4757 (add_locale_uint32_array): Likewise.
4759 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4761 * benchtests/Makefile: Remove ARGLIST and RET variables.
4762 ($(objpfx)bench-%.c): Pass only function name to the script.
4763 * benchtests/README: Update documentation.
4764 * benchtests/acos-inputs: Add new directives.
4765 * benchtests/acosh-inputs: Likewise.
4766 * benchtests/asin-inputs: Likewise.
4767 * benchtests/asinh-inputs: Likewise.
4768 * benchtests/atan-inputs: Likewise.
4769 * benchtests/atanh-inputs: Likewise.
4770 * benchtests/cos-inputs: Likewise.
4771 * benchtests/cosh-inputs: Likewise.
4772 * benchtests/exp-inputs: Likewise.
4773 * benchtests/log-inputs: Likewise.
4774 * benchtests/pow-inputs: Likewise.
4775 * benchtests/rint-inputs: Likewise.
4776 * benchtests/sin-inputs: Likewise.
4777 * benchtests/sinh-inputs: Likewise.
4778 * benchtests/tan-inputs: Likewise.
4779 * benchtests/tanh-inputs: Likewise.
4780 * scripts/bench.pl: Add support for new directives.
4782 2013-10-07 Alan Modra <amodra@gmail.com>
4784 * README: Fix careless merge.
4786 2013-10-05 Alan Modra <amodra@gmail.com>
4788 * NEWS: Mention powerpc64le support and bugs fixed.
4789 * README: Both big-endian and little-endian powerpc64 supported.
4791 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4793 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4794 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4795 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4796 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4798 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4800 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4803 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4805 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4806 Move -mhard-float appending from
4807 ports/sysdeps/powerpc/powerpc32/Makefile.
4808 [$(with-fp) = yes] (ASFLAGS): Likewise.
4809 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4810 * sysdeps/powerpc/nofpu: Move directory from
4811 ports/sysdeps/powerpc/nofpu.
4812 * sysdeps/powerpc/soft-fp: Move directory from
4813 ports/sysdeps/powerpc/soft-fp.
4814 * sysdeps/powerpc/powerpc32/405: Move directory from
4815 ports/sysdeps/powerpc/powerpc32/405.
4816 * sysdeps/powerpc/powerpc32/440: Move directory from
4817 ports/sysdeps/powerpc/powerpc32/440.
4818 * sysdeps/powerpc/powerpc32/464: Move directory from
4819 ports/sysdeps/powerpc/powerpc32/464.
4820 * sysdeps/powerpc/powerpc32/476: Move directory from
4821 ports/sysdeps/powerpc/powerpc32/476.
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4823 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4825 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4827 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4829 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4831 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4832 * README: Update for powerpc-*-linux-gnu software floating point
4835 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4836 case to powerpc/powerpc32*.
4837 * sysdeps/unix/sysv/linux/configure: Regenerated.
4839 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4840 (_FPU_MASK_OM): Define as 0x04.
4841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4849 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4852 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4855 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4856 and setcontext_e500.
4858 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4860 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4862 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4864 * manual/threads.texi (Default Thread Attributes): Fix typo.
4866 2013-10-04 Will Newton <will.newton@linaro.org>
4868 * malloc/Makefile: Add tst-memalign.
4869 * malloc/tst-memalign.c: New file.
4871 * malloc/tst-posix_memalign.c: Add comments.
4872 (do_test): Add comments and call free on all potentially
4873 allocated pointers. Add space after cast.
4875 * malloc/tst-pvalloc.c: Add comments.
4876 (do_test): Add comments and call free on all potentially
4877 allocated pointers. Remove duplicate check for NULL pointer.
4878 Add space after cast.
4880 * malloc/tst-valloc.c: Add comments.
4881 (do_test): Add comments and call free on all potentially
4882 allocated pointers. Remove duplicate check for NULL pointer.
4883 Add space after cast.
4885 2013-10-04 Alan Modra <amodra@gmail.com>
4887 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4888 Use stdint types in rather than __attribute__((mode())).
4889 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4891 2013-10-04 Alan Modra <amodra@gmail.com>
4893 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4894 Correct handling of unaligned relocs for little-endian.
4895 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4897 2013-10-04 Alan Modra <amodra@gmail.com>
4899 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4900 * configure: Regenerate.
4901 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4902 * shlib-versions: Likewise.
4904 2013-10-04 Alan Modra <amodra@gmail.com>
4906 * string/tester.c (test_memrchr): Increment reported test cycle.
4908 2013-10-04 Alan Modra <amodra@gmail.com>
4910 * string/test-memcpy.c (do_one_test): When reporting errors, print
4911 string address and don't overrun end of string.
4913 2013-10-04 Alan Modra <amodra@gmail.com>
4915 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4916 insrdi. Make better use of reg selection to speed exit slightly.
4917 Schedule entry path a little better. Remove useless "are we done"
4918 checks on entry to main loop. Handle wrapping around zero address.
4919 Correct main loop count. Handle single left-over word from main
4920 loop inline rather than by using loop_small. Remove extra word
4921 case in loop_small caused by wrong loop count. Add little-endian
4923 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4924 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4926 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4927 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4928 support. Avoid rlwimi.
4929 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4931 2013-10-04 Alan Modra <amodra@gmail.com>
4933 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4935 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4936 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4937 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4938 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4939 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4940 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4942 2013-10-04 Alan Modra <amodra@gmail.com>
4944 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4945 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4946 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4947 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4948 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4949 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4950 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4951 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4952 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4953 use of regs. Use power7 mtocrf. Tidy function tails.
4955 2013-10-04 Alan Modra <amodra@gmail.com>
4957 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4958 Formatting. Consistently use rXXX register defines or rN defines.
4959 Use early exit labels that avoid restoring unused non-volatile regs.
4960 Make cr field use more consistent with rWORDn compares. Rename
4961 regs used as shift registers for unaligned loop, using rN defines
4962 for short lifetime/multiple use regs.
4963 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4964 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4965 addi 1,1,64 to pop stack frame. Simplify return value code.
4966 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4968 2013-10-04 Alan Modra <amodra@gmail.com>
4970 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4971 support. Correct typos, formatting. Optimize tail. Use insrdi
4973 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4974 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4975 little-endian support. Correct typos.
4976 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4978 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4979 in loop and entry code to keep "and." results.
4980 (strchr): Add little-endian support. Comment. Move cntlzd
4982 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4984 2013-10-04 Alan Modra <amodra@gmail.com>
4986 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4987 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4988 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4989 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4991 2013-10-04 Alan Modra <amodra@gmail.com>
4993 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4994 (rTMP): Define as r11.
4995 (strcmp): Add little-endian support. Optimise tail.
4996 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4997 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4998 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4999 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5000 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5001 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5004 2013-10-04 Alan Modra <amodra@gmail.com>
5006 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5007 little-endian support. Remove unnecessary "are we done" tests.
5008 Handle "s" wrapping around zero and extremely large "size".
5009 Correct main loop count. Handle single left-over word from main
5010 loop inline rather than by using small_loop. Correct comments.
5011 Delete "zero" tail, use "end_max" instead.
5012 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5014 2013-10-04 Alan Modra <amodra@gmail.com>
5016 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5017 support. Don't branch over align.
5018 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5019 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5020 support. Rearrange tmp reg use to suit. Comment.
5021 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5023 2013-10-04 Alan Modra <amodra@gmail.com>
5025 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5027 2013-10-04 Alan Modra <amodra@gmail.com>
5029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5030 conditional form of branch and link when obtaining pc.
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5033 2013-10-04 Alan Modra <amodra@gmail.com>
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5040 2013-10-04 Alan Modra <amodra@gmail.com>
5042 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5043 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5044 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5045 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5046 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5047 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5048 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5049 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5050 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5051 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5053 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5054 Alistair Popple <alistair@ozlabs.au.ibm.com>
5055 Alan Modra <amodra@gmail.com>
5058 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5059 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5060 _dl_hwcap access for little-endian.
5061 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5062 destroy vmx regs when saving unaligned.
5063 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5064 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5065 destroy vmx regs when saving unaligned.
5067 2013-10-04 Alan Modra <amodra@gmail.com>
5069 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5070 Don't use a union to pack hi/low value.
5072 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5074 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5076 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5077 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5078 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5079 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5080 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5082 2013-10-04 Alan Modra <amodra@gmail.com>
5084 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5085 constants to usual value for .cst8 section, and remove redundant
5087 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5088 constant for 0x1p52. Load little-endian words of double from
5089 correct stack offsets.
5091 2013-10-04 Alan Modra <amodra@gmail.com>
5093 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5094 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5095 words of double from correct stack offsets.
5096 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5097 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5098 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5099 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5100 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5101 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5102 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5103 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5104 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5105 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5106 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5107 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5108 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5109 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5110 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5111 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5112 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5114 2013-10-04 Alan Modra <amodra@gmail.com>
5116 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5117 64-bit int/double union.
5118 (_FPU_SETCW): Likewise.
5119 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5120 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5122 2013-10-04 Alan Modra <amodra@gmail.com>
5124 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5125 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5127 2013-10-04 Alan Modra <amodra@gmail.com>
5129 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5130 use vector int constants.
5131 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5133 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5135 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5136 array with long long.
5137 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5138 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5139 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5140 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5141 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5142 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5143 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5144 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5145 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5146 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5147 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5148 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5149 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5151 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5153 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5154 (__signbit): Likewise. Correct for little-endian.
5155 (__signbitl): Call __signbit.
5156 (lrint): Correct for little-endian.
5157 (lrintf): Call lrint.
5159 2013-10-04 Alan Modra <amodra@gmail.com>
5161 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5162 union 32-bit int array member with 64-bit int array.
5163 (t515, tm256): Double rather than long double.
5164 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5166 2013-10-04 Alan Modra <amodra@gmail.com>
5168 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5170 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5171 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5172 version of math_ldbl.h.
5174 2013-10-04 Alan Modra <amodra@gmail.com>
5176 [BZ #15734], [BZ #15735]
5177 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5178 all uses of ieee875 long double macros and unions. Simplify test
5179 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5180 ldbl_extract_mantissa value for ix,iy exponents. Properly
5181 normalize after ldbl_extract_mantissa, and don't add hidden bit
5182 already handled. Don't treat low word of ieee854 mantissa like
5183 low word of IBM long double and mask off bit when testing for
5185 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5186 all uses of ieee875 long double macros and unions. Simplify tests
5187 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5188 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5189 two1022, instead use their values. Recognise that tests for large
5190 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5191 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5192 Rewrite all uses of ieee875 long double macros and unions. Simplify
5193 test for 0.0L and nan. Correct negation.
5194 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5195 ieee875 long double macros and unions. Correct output for large
5196 magnitude x. Correct absolute value calculation.
5197 (__erfcl): Likewise.
5198 * math/libm-test.inc: Add tests for errors discovered in IBM long
5199 double versions of fmodl, remainderl, erfl and erfcl.
5201 2013-10-04 Alan Modra <amodra@gmail.com>
5203 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5204 all uses of ieee854 long double macros and unions. Simplify tests
5205 for long doubles that are fully specified by the high double.
5206 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5208 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5209 Remove dead code too.
5210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5211 (__ieee754_ynl): Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5214 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5215 Remove dead code too.
5216 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5217 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5226 Comment on variable precision.
5227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5230 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5234 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5236 2013-10-04 Alan Modra <amodra@gmail.com>
5238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5239 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5240 all uses of ieee854 long double macros and unions.
5241 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5242 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5243 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5244 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5245 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5246 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5248 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5249 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5250 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5253 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5254 Simplify sign and nan test too.
5255 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5256 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5257 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5258 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5260 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5261 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5264 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5265 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5266 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5268 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5270 2013-10-04 Alan Modra <amodra@gmail.com>
5272 * stdio-common/printf_size.c (__printf_size): Don't use
5273 union ieee854_long_double in fpnum union.
5274 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5275 signbit macro to retrieve sign from long double.
5276 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5277 retrieve sign from long double.
5278 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5279 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5280 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5281 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5282 * math/test-misc.c (main): Don't use union ieee854_long_double.
5284 2013-10-04 Alan Modra <amodra@gmail.com>
5287 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5288 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5289 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5290 calculation. Remove unnecessary test for denormal exponent.
5291 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5292 Correct handling of denormals. Avoid undefined shift behaviour.
5293 Correct normalisation of low mantissa when low double is denormal.
5294 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5295 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5296 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5297 Correct normalisation of low mantissa. Test for overflow of high
5298 mantissa and normalise.
5299 (ldbl_nearbyint): Use more readable constant for two52.
5300 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5301 (__mpn_construct_long_double): Fix test for overflow of high
5302 mantissa and correct normalisation. Avoid undefined shift.
5304 2013-10-04 Alan Modra <amodra@gmail.com>
5306 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5307 (union ibm_extended_long_double): Define as an array of ieee754_double.
5308 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5309 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5310 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5311 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5314 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5315 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5318 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5320 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5322 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5323 page size instead of calling getpagesize.
5325 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5326 (LOCFILE_ALIGN_MASK): Likewise.
5327 (LOCFILE_ALIGN_UP): Likewise.
5328 (LOCFILE_ALIGNED_P): Likewise.
5329 * locale/programs/ld-collate.c (collate_output): Use the new
5330 macros instead of __alignof__ (int32_t).
5331 * locale/weight.h (findidx): Likewise.
5333 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5336 * manual/string.texi: Fix strncat and wcsncat.
5338 2013-10-03 Brooks Moses <bmoses@google.com>
5341 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5342 * Makerules: ...here, and adjust associated comments.
5344 2013-10-02 Will Newton <will.newton@linaro.org>
5346 * malloc/Makefile: Add tst-pvalloc.
5347 * malloc/tst-pvalloc.c: New file.
5349 2013-10-02 Will Newton <will.newton@linaro.org>
5351 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5352 improve test coverage.
5354 2013-10-02 Will Newton <will.newton@linaro.org>
5356 * malloc/Makefile: Add tst-posix_memalign.
5357 * malloc/tst-posix_memalign.c: New file.
5359 2013-10-01 Eric Blake <eblake@redhat.com>
5361 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5362 Use __THROWNL rather than __THROW on static functions.
5364 2013-09-30 Petr Machata <pmachata@redhat.com>
5366 * elf/elf.h (R_AARCH64_ABS16): New macro.
5367 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5368 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5369 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5370 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5371 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5372 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5373 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5374 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5375 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5376 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5377 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5378 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5379 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5380 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5381 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5382 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5383 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5384 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5385 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5386 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5387 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5388 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5389 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5390 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5391 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5392 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5393 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5394 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5395 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5396 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5397 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5398 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5399 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5400 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5401 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5402 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5403 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5404 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5405 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5406 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5407 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5408 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5409 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5410 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5411 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5412 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5413 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5414 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5415 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5416 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5417 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5418 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5419 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5420 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5421 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5422 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5423 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5424 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5425 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5426 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5427 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5428 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5429 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5430 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5431 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5432 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5433 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5434 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5435 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5436 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5437 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5438 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5439 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5440 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5441 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5442 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5443 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5444 (R_AARCH64_TLSDESC_LDR): Likewise.
5445 (R_AARCH64_TLSDESC_ADD): Likewise.
5446 (R_AARCH64_TLSDESC_CALL): Likewise.
5448 2013-09-30 Andreas Schwab <schwab@suse.de>
5451 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5452 the nss database lookup.
5453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5456 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5458 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5460 2013-09-28 P. J. McDermott <pj@pehjota.net>
5462 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5463 ${Bash-specific parameter/pattern/string} parameter expansion.
5464 * sysdeps/unix/make-syscalls.sh: Likewise.
5466 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5468 * sysdeps/sh/stackguard-macros.h: New file.
5470 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5473 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5474 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5475 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5476 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5477 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5479 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5482 Fix thread ID register.
5484 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5486 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5487 [POSIX || UNIX98]: Require rather than permitting all symbols from
5489 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5490 element of struct sched_param.
5491 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5492 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5493 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5494 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5497 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5499 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5500 argument calculation.
5502 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5504 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5506 [POSIX] (pthread_attr_t): Do not require type.
5507 [POSIX] (pthread_cond_t): Likewise.
5508 [POSIX] (pthread_condattr_t): Likewise.
5509 [POSIX] (pthread_key_t): Likewise.
5510 [POSIX] (pthread_mutex_t): Likewise.
5511 [POSIX] (pthread_mutexattr_t): Likewise.
5512 [POSIX] (pthread_once_t): Likewise.
5513 [POSIX] (pthread_t): Likewise.
5514 [POSIX-based standards] (pthread_atfork): Expect function.
5516 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5517 Richard Sandiford <richard@codesourcery.com>
5519 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5520 (swap_endianness_p): New extern variable.
5521 (set_big_endian): New inline function.
5522 (maybe_swap_uint32): Likewise.
5523 (maybe_swap_uint32_array): Likewise.
5524 (maybe_swap_uint32_obstack): Likewise.
5525 * locale/programs/locfile.c: Include <stdbool.h>.
5526 (swap_endianness_p): New variable.
5527 (add_locale_uint32): Call maybe_swap_uint32.
5528 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5529 (write_locale_data): Call maybe_swap_uint32_array.
5530 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5532 (obstack_int32_grow_fast): Likewise.
5533 (output_weightwc): Call maybe_swap_uint32_obstack.
5534 (collate_output): Likewise.
5535 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5536 (OPT_LITTLE_ENDIAN): Likewise.
5537 (options): Add --little-endian and --big-endian options.
5538 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5539 * locale/programs/locarchive.c: Include "locfile.h".
5543 (create_archive): Use the new macros to access fields of
5544 structures directly mapped from or written to locale archives.
5545 (oldlocrecentcmp): Likewise.
5546 (enlarge_archive): Likewise.
5547 (insert_name): Likewise.
5548 (add_alias): Likewise.
5549 (add_locale): Likewise.
5550 (delete_locales_from_archive): Likewise.
5551 (show_archive_content): Likewise.
5552 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5555 2013-09-24 Roland McGrath <roland@hack.frob.com>
5557 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5558 http://www.gnu.org/doc/freemanuals.texi.
5559 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5561 2013-09-24 Will Newton <will.newton@linaro.org>
5563 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5566 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5568 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5571 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5573 * manual/threads.texi (POSIX Threads): Fix a typo.
5575 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5578 * string/tst-strcoll-overflow.c: New test case.
5579 * string/Makefile (xtests): Add tst-strcoll-overflow.
5580 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5581 cache if string sizes may cause integer overflow.
5584 * string/strcoll_l.c (coll_seq): New members rule, idx,
5585 save_idx and back_us.
5586 (get_next_seq_nocache): New function.
5587 (do_compare_nocache): New function.
5588 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5591 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5594 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5595 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5596 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5599 * elf/Makefile (tests): Add tst-ptrguard1.
5600 (tests-static): Add tst-ptrguard1-static.
5601 (tst-ptrguard1-ARGS): Define.
5602 (tst-ptrguard1-static-ARGS): Define.
5603 * elf/tst-ptrguard1.c: New file.
5604 * elf/tst-ptrguard1-static.c: New file.
5605 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5606 * sysdeps/i386/stackguard-macros.h: Likewise.
5607 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5608 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5609 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5610 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5611 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5612 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5614 2013-09-23 Hector Marco <hecmargi@upv.es>
5615 Ismael Ripoll <iripoll@disca.upv.es>
5616 Carlos O'Donell <carlos@redhat.com>
5619 * sysdeps/generic/stackguard-macros.h: Define
5620 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5621 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5622 Define __pointer_chk_guard_local.
5623 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5624 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5626 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5629 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5631 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5633 * include/string.h (__ffs): Declare as hidden.
5634 * string/ffs.c (__ffs): Define as hidden.
5635 * sysdeps/i386/ffs.c (__ffs): Likewise.
5636 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5637 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5638 * sysdeps/s390/ffs.c (__ffs): Likewise.
5639 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5641 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5643 * NEWS: Mention malloc probes.
5645 * malloc/arena.c (new_heap): New memory_heap_new probe.
5646 (grow_heap): New memory_heap_more probe.
5647 (shrink_heap): New memory_heap_less probe.
5648 (heap_trim): New memory_heap_free probe.
5649 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5650 (systrim): New memory_sbrk_less probe.
5651 * manual/probes.texi: Document them.
5653 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5654 * manual/probes.texi: Document it.
5656 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5657 (__libc_realloc): Add memory_realloc_retry probe.
5658 (__libc_memalign): Add memory_memalign_retry probe.
5659 (__libc_valloc): Add memory_valloc_retry probe.
5660 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5661 (__libc_calloc): Add memory_calloc_retry probe.
5662 * manual/probes.texi: Document them.
5664 * malloc/arena.c (get_free_list): Add probe
5665 memory_arena_reuse_free_list.
5666 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5667 and memory_arena_reuse.
5668 (arena_get2) [!PER_THREAD]: Likewise.
5669 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5670 memory_arena_reuse_realloc.
5671 * manual/probes.texi: Document them.
5673 * malloc/malloc.c (__libc_free): Add
5674 memory_mallopt_free_dyn_thresholds probe.
5675 (__libc_mallopt): Add multiple memory_mallopt probes.
5676 * manual/probes.texi: Document them.
5678 * malloc/malloc.c: Include stap-probe.h.
5679 (__libc_mallopt): Add memory_mallopt probe.
5680 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5681 * manual/probes.texi: New.
5682 * manual/Makefile (chapters): Add probes.
5683 * manual/threads.texi: Set next node.
5685 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5688 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5689 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5690 Add `Chinese' to `nan' entry name.
5692 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5694 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5695 (POLYNOMIAL): Likewise.
5696 (TAYLOR_SINCOS): Likewise.
5697 (TAYLOR_SLOW): Likewise.
5698 (__sin): Use TAYLOR_SINCOS.
5700 (slow): Use TAYLOR_SLOW.
5705 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5707 * stdlib/strtod_l.c: Fix buffer overrun.
5709 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5711 * benchtests/Makefile (bench): Add sincos.
5712 * benchtests/bench-sincos.c: New file.
5714 * math/libm-test.inc (cos_test_data): New test inputs.
5715 (sin_test_data): Likewise.
5717 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5725 (bsloww1): Likewise.
5726 (bsloww2): Likewise.
5728 (csloww1): Likewise.
5729 (csloww2): Likewise.
5731 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5736 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5740 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5742 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5743 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5744 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5745 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5746 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5747 * elf/cache.c (print_entry): Handle the new cache flags.
5749 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5750 Aldy Hernandez <aldyh@redhat.com>
5752 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5753 Change condition to [_SOFT_FLOAT].
5754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5766 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5769 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5772 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5774 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5775 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5776 (__longjmp): Use LOAD_GP to load saved GPRs.
5777 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5778 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5779 (__sigsetjmp): Use SAVE_GP to save GPRs.
5781 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5782 Do not append -msoft-float.
5783 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5785 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5787 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5789 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5792 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5793 (_FPU_GETCW): Use initial "__" on variable and field names but not
5794 on macro parameter name.
5795 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5796 parentheses around reference to macro parameter.
5798 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5800 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5802 (ctype_startup): Use uint32_t in cast and sizeof for
5805 2013-09-11 Jia Liu <proljc@gmail.com>
5807 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5809 [__FreeBSD__]: Likewise.
5811 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5814 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5815 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5816 (strchr): Remove __strchr_sse42 ifunc selection.
5817 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5818 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5820 2013-09-11 Will Newton <will.newton@linaro.org>
5822 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5823 parameter to RES. Remove hardcoded 1000 value.
5824 * benchtests/bench-skeleton.c (main): Pass RES parameter
5825 to TIMING_INIT and multiply result by 1000.
5827 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5831 2013-09-11 Andreas Schwab <schwab@suse.de>
5833 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5835 (O_TMPFILE) [__USE_GNU]: Define.
5836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5839 2013-09-11 Will Newton <will.newton@linaro.org>
5842 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5845 2013-09-11 Will Newton <will.newton@linaro.org>
5848 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5851 2013-09-11 Will Newton <will.newton@linaro.org>
5854 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5857 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5859 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5860 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5861 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5862 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5863 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5865 2013-09-10 Allan McRae <allan@archlinux.org>
5868 * manual/arith.texi (Parsing of Floats): Clarify
5872 * manual/install.texi (Running make install): Mention
5874 * INSTALL: Regenerated.
5876 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5878 * csu/init-first.c (_init): Remove the !SHARED condition around
5879 FPU control word initialization.
5880 * elf/dl-support.c (_dl_fpu_control): New variable.
5881 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5882 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5883 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5884 * math/test-fpucw-static.c: New file.
5885 * math/test-fpucw-ieee.c: New file.
5886 * math/test-fpucw-ieee-static.c: New file.
5887 * math/Makefile (tests): Add `test-fpucw-ieee' and
5889 (tests-static): New variable.
5890 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5892 [($(build-shared),yes)]
5893 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5895 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5898 2013-09-09 Allan McRae <allan@archlinux.org>
5901 * manual/string.texi (Collation Functions): Fix typo in
5903 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5906 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5909 * libio/memstream.c (open_memstream): Fix memory leak.
5910 * libio/wmemstream.c (open_wmemstream): Likewise.
5913 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5915 2013-09-09 Will Newton <will.newton@linaro.org>
5917 * malloc/Makefile: Add tst-realloc to tests.
5918 * malloc/tst-realloc.c: New file.
5920 2013-09-09 Allan McRae <allan@archlinux.org>
5923 * COPYING: Update from GNU website to fix FSF address.
5924 * COPYING.LIB: Likewise.
5926 2013-09-06 David S. Miller <davem@davemloft.net>
5928 * po/zh_TW.po: Update Chinese (traditional) translation from
5929 translation project.
5931 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5932 Joseph Myers <joseph@codesourcery.com>
5934 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5936 (obstack_chunk_alloc): New macro.
5937 (obstack_chunk_free): Likewise.
5938 (record_offset): New function.
5939 (init_locale_data): Likewise.
5940 (align_locale_data): Likewise.
5941 (add_locale_empty): Likewise.
5942 (add_locale_raw_data): Likewise.
5943 (add_locale_raw_obstack): Likewise.
5944 (add_locale_string): Likewise.
5945 (add_locale_wstring): Likewise.
5946 (add_locale_uint32): Likewise.
5947 (add_locale_uint32_array): Likewise.
5948 (add_locale_char): Likewise.
5949 (start_locale_structure): Likewise.
5950 (end_locale_structure): Likewise.
5951 (start_locale_prelude): Likewise.
5952 (end_locale_prelude): Likewise.
5953 (write_locale_data): Take locale_file structure rather than an
5955 * locale/programs/locfile.h: Include "obstack.h".
5956 (struct locale_file): Change to store locale file contents instead
5958 (init_locale_data): New prototype.
5959 (align_locale_data): Likewise.
5960 (add_locale_empty): Likewise.
5961 (add_locale_raw_data): Likewise.
5962 (add_locale_raw_obstack): Likewise.
5963 (add_locale_string): Likewise.
5964 (add_locale_wstring): Likewise.
5965 (add_locale_uint32): Likewise.
5966 (add_locale_uint32_array): Likewise.
5967 (add_locale_char): Likewise.
5968 (start_locale_structure): Likewise.
5969 (end_locale_structure): Likewise.
5970 (start_locale_prelude): Likewise.
5971 (end_locale_prelude): Likewise.
5972 (write_locale_data): Update prototype.
5973 * locale/programs/3level.h (struct TABLE): Remove result field.
5974 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5975 Use new locale_file interface.
5976 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5977 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5978 * locale/programs/ld-address.c (address_output): Use new
5979 locale_file interface.
5980 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5982 (collate_finish): Don't call collseq_table_finalize.
5983 (collate_output): Use new locale_file interface.
5984 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5986 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5987 (TABLE): Move defines earlier in file.
5988 (ELEMENT): Likewise.
5989 (DEFAULT): Likewise.
5990 (wctrans_table_add): Move macro and inline function earlier in
5992 (struct wctype_table): Move type earlier in file.
5993 (add_locale_wctype_table): New static prototype.
5994 (struct locale_ctype_t): Use logical types instead of struct iovec
5995 pointers for members.
5996 (ctype_output): Use new locale_file interface.
5997 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5998 new locale_file interface.
5999 (allocate_arrays): Update for use of new locale_file interface.
6000 * locale/programs/ld-identification.c (identification_output): Use
6001 new locale_file interface.
6002 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6003 * locale/programs/ld-messages.c (messages_output): Likewise.
6004 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6005 * locale/programs/ld-name.c (name_output): Likewise.
6006 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6007 * locale/programs/ld-paper.c (paper_output): Likewise.
6008 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6009 * locale/programs/ld-time.c (time_output): Likewise.
6011 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6013 * benchtests/Makefile: Add memrchr benchmark.
6014 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6015 benchmark as memrchr.
6016 * benchtests/bench-memrchr-ifunc.c: New file.
6017 * benchtests/bench-memrchr.c: New file.
6019 2013-09-06 Will Newton <will.newton@linaro.org>
6021 * benchtests/Makefile (string-bench): Add memcpy.
6023 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6024 Cong Wang <amwang@redhat.com>
6027 * sysdeps/unix/sysv/linux/bits/in.h
6028 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6029 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6030 before __USE_KERNEL_IPV6_DEFS uses.
6031 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6033 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6034 sockaddr_in6, or ipv6_mreq.
6036 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6038 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6039 memory access for final bytes in some large inputs.
6040 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6042 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6044 * string/test-memrchr.c: New file.
6045 * string/test-memrchr-ifunc.c: New file.
6046 * string/Makefile: Add new memrchr testcase.
6048 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6050 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6051 fanotify_init returns EPERM.
6053 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6055 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6057 (top level): Treat second token from macro or constant entries for
6058 allowed headers as allowed.
6059 * include/complex.h: Condition internal declarations on
6061 * include/fenv.h: Condition include of <stdbool.h> and internal
6062 declarations on [!_ISOMAC].
6064 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6067 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6069 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6071 * configure.in (--enable-versioning): Remove configure option.
6072 (libc_cv_asm_symver_directive): Remove configure test.
6073 (libc_cv_ld_version_script_option): Likewise.
6074 (VERSIONING): Remove variable and AC_SUBST.
6075 (DO_VERSIONING): Remove AC_DEFINE.
6076 * configure: Regenerated.
6077 * config.h.in (DO_VERSIONING): Remove macro.
6078 * Makerules [$(versioning) = yes]: Change conditionals to
6079 [$(build-shared) = yes].
6080 * config.make.in (versioning): Remove variable.
6081 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6082 [$(build-shared) = yes].
6083 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6084 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6085 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6086 [$(build-shared) = yes].
6087 * extra-lib.mk [$(versioning) = yes]: Likewise.
6088 * hurd/Makefile [$(versioning) = yes]: Likewise.
6089 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6091 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6093 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6094 [SHARED && !NO_HIDDEN].
6095 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6097 [SHARED && DO_VERSIONING]: Likewise..
6098 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6099 [$(build-shared) = yes].
6100 * manual/install.texi (--disable-versioning): Remove
6102 * INSTALL: Regenerated.
6103 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6105 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6106 [$(build-shared) = yes].
6107 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6108 * sysdeps/i386/i686/multiarch/strstr-c.c
6109 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6110 [SHARED && !NO_HIDDEN].
6111 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6112 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6113 * sysdeps/powerpc/powerpc32/dl-machine.c
6114 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6115 * sysdeps/powerpc/powerpc32/sysdep.h
6116 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6117 to [SHARED && PIC && !NO_HIDDEN].
6118 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6119 conditional to [SHARED].
6121 2013-09-04 Will Newton <will.newton@linaro.org>
6123 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6124 * benchtests/bench-string.h: Include bench-timing.h instead
6125 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6126 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6127 call to HP_TIMING_DIFF_INIT.
6128 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6129 instead of hp-timing.h macros.
6130 * benchtests/bench-memchr.c: Likewise.
6131 * benchtests/bench-memcmp.c: Likewise.
6132 * benchtests/bench-memcpy.c: Likewise.
6133 * benchtests/bench-memmem.c: Likewise.
6134 * benchtests/bench-memmove.c: Likewise.
6135 * benchtests/bench-memset.c: Likewise.
6136 * benchtests/bench-rawmemchr.c: Likewise.
6137 * benchtests/bench-strcasecmp.c: Likewise.
6138 * benchtests/bench-strcasestr.c: Likewise.
6139 * benchtests/bench-strcat.c: Likewise.
6140 * benchtests/bench-strchr.c: Likewise.
6141 * benchtests/bench-strcmp.c: Likewise.
6142 * benchtests/bench-strcpy.c: Likewise.
6143 * benchtests/bench-strcpy_chk.c: Likewise.
6144 * benchtests/bench-strlen.c: Likewise.
6145 * benchtests/bench-strncasecmp.c: Likewise.
6146 * benchtests/bench-strncat.c: Likewise.
6147 * benchtests/bench-strncmp.c: Likewise.
6148 * benchtests/bench-strncpy.c: Likewise.
6149 * benchtests/bench-strnlen.c: Likewise.
6150 * benchtests/bench-strpbrk.c: Likewise.
6151 * benchtests/bench-strrchr.c: Likewise.
6152 * benchtests/bench-strspn.c: Likewise.
6153 * benchtests/bench-strstr.c: Likewise.
6155 2013-09-04 Will Newton <will.newton@linaro.org>
6157 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6159 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6162 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6163 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6164 * math/libm-test.inc (lgamma_test_data): Add more tests.
6165 * sysdeps/i386/fpu/libm-test-ulps: Update.
6166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6168 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6170 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6174 Add strcmp-sse2-unaligned
6175 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6177 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6179 * Versions.def (libc): Add GLIBC_2.19.
6181 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6183 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6184 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6186 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6189 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6190 intermediate calculations in recurrence.
6191 (__ieee754_ynf): Likewise.
6192 * math/libm-test.inc (jn_test_data): Do not allow spurious
6193 underflow exception. Add more tests.
6194 (yn_test_data): Add more tests.
6195 * sysdeps/i386/fpu/libm-test-ulps: Update.
6196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6198 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6200 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6202 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6204 * csu/init-first.c: Fix then/than typos.
6205 * locale/programs/ld-collate.c: Likewise.
6206 * locale/programs/linereader.h: Likewise.
6207 * manual/charset.texi: Likewise.
6208 * manual/filesys.texi: Likewise.
6209 * manual/stdio.texi: Likewise.
6210 * manual/string.texi: Likewise.
6211 * stdlib/fmtmsg.c: Likewise.
6212 * sysdeps/i386/stpncpy.S: Likewise.
6213 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6214 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6215 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6216 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6218 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6220 * elf/dl-open.c: Fix typos.
6221 * iconvdata/gbbig5.c: Likewise.
6222 * iconvdata/iso-2022-jp.c: Likewise.
6223 * iconv/gconv_int.h: Likewise.
6224 * iconv/loop.c: Likewise.
6225 * nis/rpcsvc/nis.h: Likewise.
6226 * resolv/ns_name.c: Likewise.
6227 * stdio-common/vfscanf.c: Likewise.
6228 * streams/stropts.h: Likewise.
6229 * sunrpc/rpc_thread.c: Likewise.
6230 * sysdeps/i386/strpbrk.S: Likewise.
6231 * sysdeps/ieee754/k_standard.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6233 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6234 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6235 * sysdeps/mach/hurd/profil.c: Likewise.
6236 * sysdeps/s390/dl-procinfo.h: Likewise.
6237 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6238 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6239 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6240 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6241 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6243 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6245 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6248 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6250 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6252 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6253 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6254 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6255 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6256 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6257 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6258 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6259 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6261 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6262 Roland McGrath <roland@hack.frob.com>
6264 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6265 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6267 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6269 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6270 __executable_start symbol instead of _start.
6272 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6274 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6275 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6277 * sysdeps/gnu/ldsodefs.h: ... this new file.
6279 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6280 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6281 instead of ELFOSABI_LINUX.
6283 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6284 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6285 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6286 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6288 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6289 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6290 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6292 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6293 (ibm_extended_long_double): Add ieee_nan member.
6294 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6295 (do_test): New function.
6297 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6299 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6300 functions, renamed from truncdfsf_test, trunctfsf_test,
6302 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6304 (do_test): Run all these.
6306 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6308 * argp/argp-help.c: Fix typos.
6309 * argp/argp-parse.c: Likewise.
6310 * debug/backtracesyms.c: Likewise.
6311 * elf/elf.h: Likewise.
6312 * malloc/malloc.c: Likewise.
6313 * nis/nis_print.c: Likewise.
6314 * resolv/res_comp.c: Likewise.
6315 * stdlib/stdlib.h: Likewise.
6316 * sunrpc/clnt_tcp.c: Likewise.
6317 * sunrpc/clnt_udp.c: Likewise.
6318 * sunrpc/clnt_unix.c: Likewise.
6319 * sysdeps/unix/bsd/ptsname.c: Likewise.
6320 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6321 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6328 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6330 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6332 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6335 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6338 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6339 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6340 ($(objpfx)bug-dl-leaf): New rule.
6341 ($(objpfx)bug-dl-leaf.so): Likewise.
6342 ($(objpfx)bug-dl-leaf.out): Likewise.
6343 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6344 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6345 * dlfcn/bug-dl-leaf.c: New test.
6346 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6347 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6348 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6349 (dlclose): Likewise.
6350 (dlmopen): Likewise.
6352 2013-08-27 Roland McGrath <roland@hack.frob.com>
6354 * include/netdb.h [!_ISOMAC]:
6355 Don't include <tls.h>.
6356 (h_errno, __libc_h_errno): Move declaration and macros out of
6359 * include/resolv.h [_RESOLV_H_]:
6360 Don't include <tls.h>.
6361 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6362 * resolv/res_libc.c: Don't include <tls.h>.
6363 (_res): Use __attribute__ ((nocommon)) in place of
6364 __attribute__ ((section (".bss"))).
6366 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6367 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6369 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6371 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6372 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6374 * resolv/res_mkquery.c: Include <sys/time.h>.
6376 * inet/ifreq.c: Moved to ...
6377 * sysdeps/unix/ifreq.c: ... here.
6378 * inet/ifreq.c: New file, true stub version.
6380 * socket/sa_len.c: New file.
6381 * socket/Makefile (aux): Add it.
6382 * sysdeps/unix/sysv/linux/Makefile
6383 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6384 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6385 and #include <socket/sa_len.c>.
6386 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6387 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6389 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6390 * bits/socket.h: ... here.
6392 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6393 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6394 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6396 2013-08-27 Andreas Schwab <schwab@suse.de>
6399 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6400 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6401 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6402 * string/test-strcasecmp.c (test_main): Run tests in several
6404 * string/test-strncasecmp.c (test_main): Likewise.
6406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6407 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6408 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6409 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6410 (__strncasecmp_ssse3) [PIC]: Likewise.
6412 2013-08-26 Roland McGrath <roland@hack.frob.com>
6414 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6416 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6417 instead of explicitly declaring xdecrypt.
6418 * nis/nss_nis/nis-publickey.c: Likewise.
6420 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6423 * nscd/aicache.c: Include res_hconf.h.
6424 (addhstaiX): Initialize res_hconf.
6426 2013-08-26 Andreas Schwab <schwab@suse.de>
6428 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6429 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6431 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6433 * nscd/aicache.c (addhstaiX): Fix indentation.
6435 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6437 * configure.ac: Quote $build_pt_chown test.
6438 * configure: Regenerated.
6440 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6443 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6444 * math/s_cexpf.c (__cexpf): Likewise.
6445 * math/s_cexpl.c (__cexpl): Likewise.
6446 * math/libm-test.inc (cexp_test_data): Correct expected return
6447 value for NaN + i0. Add another test.
6449 2013-08-22 David S. Miller <davem@davemloft.net>
6451 * po/ca.po: Update Catalan translation from translation project.
6452 * po/uk.po: Add Ukrainian translations from translation project.
6454 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6457 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6458 is infinite, not alongside NaN test.
6459 * math/s_fdimf.c (__fdimf): Likewise.
6460 * math/s_fdiml.c (__fdiml): Likewise.
6461 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6464 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6466 * argp/argp-help.c: Fix typos.
6467 * crypt/speeds.c: Likewise.
6468 * csu/check_fds.c: Likewise.
6469 * elf/dl-load.c: Likewise.
6470 * elf/dl-open.c: Likewise.
6471 * elf/reldep3.c: Likewise.
6472 * elf/reldep.c: Likewise.
6473 * elf/sprof.c: Likewise.
6474 * iconv/iconv_charmap.c: Likewise.
6475 * iconv/skeleton.c: Likewise.
6476 * iconv/strtab.c: Likewise.
6477 * io/lockf64.c: Likewise.
6478 * libio/libioP.h: Likewise.
6479 * resolv/gai_notify.c: Likewise.
6480 * resolv/ns_name.c: Likewise.
6481 * resolv/ns_samedomain.c: Likewise.
6482 * resolv/res_send.c: Likewise.
6483 * stdlib/random.c: Likewise.
6484 * sunrpc/rpc/xdr.h: Likewise.
6485 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6487 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6488 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6489 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6490 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6491 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6493 * sysdeps/mach/hurd/check_fds.c: Likewise.
6494 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6495 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6496 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6497 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6498 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6499 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6500 * sysdeps/pthread/aio_notify.c: Likewise.
6501 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6502 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6503 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6504 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6505 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6507 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6509 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6510 version if bit_Slow_SSE4_2 is set.
6511 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6512 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6514 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6517 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6518 trampoline stack frame information.
6519 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6520 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6521 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6522 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6523 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6524 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6525 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6526 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6528 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6529 interrupting a syscall and set with option SA_SIGINFO.
6531 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6534 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6535 argument is infinite.
6536 * math/s_cprojf.c (__cprojf): Likewise.
6537 * math/s_cprojl.c (__cprojl): Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6539 * math/libm-test.inc (cproj_test_data): Add more tests.
6541 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6543 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6544 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6545 size. Use __ffs to determine corresponding shift.
6547 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6548 Roland McGrath <roland@hack.frob.com>
6550 * Makefile (INSTALL): Remove trailing blank lines from output of
6553 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6555 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6556 Align 32 bit compat elf_greg to 8 bytes.
6558 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6560 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6562 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6564 * string/strcoll_l.c (coll_seq): New structure.
6565 (get_next_seq_cached): New function.
6566 (get_next_seq): New function.
6567 (do_compare): New function.
6568 (STRCOLL): Use GNU style definition. Simplify implementation
6569 by using get_next_seq, get_next_seq_cached and do_compare.
6571 2013-08-16 Florian Weimer <fweimer@redhat.com>
6575 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6577 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6579 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6580 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6581 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6583 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6584 GETDENTS_64BIT_ALIGNED.
6585 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6586 * manual/filesys.texi (Reading/Closing Directory): Document
6587 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6589 * manual/conf.texi (Limits for Files): Add portability note to
6591 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6593 2013-08-13 Andreas Schwab <schwab@suse.de>
6596 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6598 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6599 LDBL_MAX_EXP >= 16384]: Add tests for it.
6601 2013-08-12 David S. Miller <davem@davemloft.net>
6603 * version.h (RELEASE): Set to "development".
6604 (VERSION): Set to "2.18.90".
6605 * NEWS: Add 2.19 section.
6607 2013-08-03 David S. Miller <davem@davemloft.net>
6609 * po/ko.po: Update Korean translation from translation project.
6611 2013-08-01 David S. Miller <davem@davemloft.net>
6613 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6614 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6617 2013-07-30 David S. Miller <davem@davemloft.net>
6619 * po/fr.po: Update French translation from translation project.
6621 2013-07-28 David S. Miller <davem@davemloft.net>
6623 * po/cs.po: Update Czech translation from translation project.
6625 * po/sv.po: Update Swedish translation from translation project.
6627 2013-07-27 David S. Miller <davem@davemloft.net>
6629 * po/eo.po: Update Esperanto translation from translation project.
6631 * po/vi.po: Update Vietnamese translation from translation project.
6633 * po/de.po: Update German translation from translation project.
6635 2013-07-26 David S. Miller <davem@davemloft.net>
6637 * po/bg.po: Update Bulgarian translation from translation project.
6639 * po/nl.po: Update Dutch translation from translation project.
6640 * po/pl.po: Update Polish translation from translation project.
6641 * po/ru.po: Update Russian translation from translation project.
6643 2013-07-24 David S. Miller <davem@davemloft.net>
6645 * po/libc.pot: Update.
6647 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6649 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6651 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6652 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6653 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6655 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6657 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6659 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6660 Andreas Schwab <schwab@suse.de>
6661 Roland McGrath <roland@hack.frob.com>
6662 Joseph Myers <joseph@codesourcery.com>
6663 Carlos O'Donell <carlos@redhat.com>
6666 * config.h.in: Define HAVE_PT_CHOWN.
6667 * config.make.in (build-pt-chown): New variable.
6668 * configure.in (--enable-pt_chown): New configure option.
6669 * configure: Regenerate.
6670 * login/Makefile: Include Makeconfig. Build pt_chown only if
6671 build-pt-chown is enabled.
6672 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6673 pt_chown to fix pty ownership.
6674 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6676 * manual/install.texi (Configuring and compiling): Mention
6677 --enable-pt_chown. Add @findex for grantpt.
6678 * INSTALL: Regenerate.
6680 2013-07-20 David S. Miller <davem@davemloft.net>
6682 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6683 difference between 32-bit and 64-bit.
6685 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6688 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6689 Avoid system header dependency with -ffreestanding.
6690 ($(objpfx)bits/syscall%d): Likewise.
6692 2013-07-13 David S. Miller <davem@davemloft.net>
6694 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6695 underflows from atanl/atan2l due to bug 15319.
6696 (casinh_test_data): Likewise.
6698 2013-07-07 David S. Miller <davem@davemloft.net>
6700 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6702 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6704 * sysdeps/i386/fpu/libm-test-ulps: Update.
6705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6707 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6709 * configure.in (--enable-lock-elision): Fix message text.
6710 * INSTALL: Regenerate.
6711 * configure: Regenerate.
6713 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6717 2013-07-03 Andreas Jaeger <aj@suse.de>
6719 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6721 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6722 (ptrace_peeksiginfo_args): Add.
6723 (__ptrace_peeksiginfo_flags): Add.
6724 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6725 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6726 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6728 2013-07-03 Allan McRae <allan@archlinux.org>
6730 * sysdeps/i386/fpu/libm-test-ulps: Update.
6732 2013-07-02 David S. Miller <davem@davemloft.net>
6734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6736 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6740 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6742 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6745 2013-07-02 Andi Kleen <ak@linux.intel.com>
6747 * config.h.in (ENABLE_LOCK_ELISION): Add.
6748 * configure.in (--enable-lock-elision): Add option.
6749 * manual/install.texi: Document --enable lock elision.
6750 * configure: Regenerate
6751 * INSTALL: Regenerate.
6753 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6755 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6756 SSE4.2 strcasecmp for libc.a.
6757 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6759 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6762 * soft-fp/op-common.h (_FP_FMA): New macro.
6763 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6764 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6765 (_FP_MUL_MEAT_1_imm): ... here.
6766 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6767 (_FP_MUL_MEAT_1_wide): ... here.
6768 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6769 (_FP_MUL_MEAT_1_hard): ... here.
6770 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6771 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6772 (_FP_MUL_MEAT_2_wide): ... here.
6773 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6774 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6775 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6776 (_FP_MUL_MEAT_2_gmp): ... here.
6777 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6778 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6779 (_FP_MUL_MEAT_4_wide): ... here.
6780 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6781 (_FP_MUL_MEAT_4_gmp): ... here.
6782 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6783 (_FP_WFRACBITS_DW_S): Likewise.
6784 (_FP_WFRACXBITS_DW_S): Likewise.
6785 (_FP_HIGHBIT_DW_S): Likewise.
6786 (FP_FMA_S): Likewise.
6787 (_FP_FRAC_HIGH_DW_S): Likewise.
6788 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6789 (_FP_WFRACBITS_DW_D): Likewise.
6790 (_FP_WFRACXBITS_DW_D): Likewise.
6791 (_FP_HIGHBIT_DW_D): Likewise.
6792 (FP_FMA_D): Likewise.
6793 (_FP_FRAC_HIGH_DW_D): Likewise.
6794 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6795 (_FP_WFRACBITS_DW_E): Likewise.
6796 (_FP_WFRACXBITS_DW_E): Likewise.
6797 (_FP_HIGHBIT_DW_E): Likewise.
6798 (FP_FMA_E): Likewise.
6799 (_FP_FRAC_HIGH_DW_E): Likewise.
6800 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6801 (_FP_WFRACBITS_DW_Q): Likewise.
6802 (_FP_WFRACXBITS_DW_Q): Likewise.
6803 (_FP_HIGHBIT_DW_Q): Likewise.
6804 (FP_FMA_Q): Likewise.
6805 (_FP_FRAC_HIGH_DW_Q): Likewise.
6806 * soft-fp/fmasf4.c: New file.
6807 * soft-fp/fmadf4.c: Likewise.
6808 * soft-fp/fmatf4.c: Likewise.
6810 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6813 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6815 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6817 (index_Slow_SSE4_2): Likewise.
6818 (index_Prefer_PMINUB_for_stringop): Likewise.
6819 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6820 bit_Slow_SSE4_2 is set.
6821 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6822 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6824 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6826 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6827 rtld_global._dl_hwcap2.
6828 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6830 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6831 POWER8 feature descriptions defined in _dl_hwcap2.
6832 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6833 string handling for POWER8 feature bits.
6834 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6835 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6836 _dl_powerpc_cap_flags.
6837 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6838 * sysdeps/powerpc/rtld-global-offsets.sym
6839 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6840 _dl_hwcap2 in the rtld_global_ro structure.
6842 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6844 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6845 hardware capabilities in support of AT_HWCAP2.
6846 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6847 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6849 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6850 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6851 explicitly the unknown a_type display mechanism is used.
6852 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6853 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6855 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6856 to macro prototype for AT_HWCAP2 support.
6857 * sysdeps/i386/dl-procinfo.h: Likewise.
6858 * sysdeps/s390/dl-procinfo.h: Likewise.
6859 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6860 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6861 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6862 return -1 for unknown a_type display fallback.
6863 * sysdeps/sparc/dl-procinfo.h: Likewise.
6864 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6865 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6867 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6869 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6870 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6872 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6875 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6876 mprotect making __stack_prot writable.
6878 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6879 Joseph Myers <joseph@codesourcery.com>
6881 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6882 as being properly aligned.
6884 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6886 * dlfcn/modstatic5.c: New file.
6887 * dlfcn/tststatic5.c: New file.
6888 * dlfcn/Makefile (tests): Add tststatic5.
6889 (tests-static): Likewise.
6890 (modules-names): Add modstatic5.
6891 (tststatic5-ENV): New variable.
6892 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6895 * elf/dl-support.c (_dl_main_map): New variable.
6896 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6897 (_dl_nns, _dl_load_adds): Set to 1.
6898 (_dl_initial_searchlist): Refer to _dl_main_map.
6899 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6900 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6901 call to _dl_get_origin.
6902 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6904 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6905 * dlfcn/modstatic3.c: New file.
6906 * dlfcn/tststatic3.c: New file.
6907 * dlfcn/tststatic4.c: New file.
6908 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6909 (tests-static): Likewise.
6910 (modules-names): Add modstatic3.
6911 (tststatic3-ENV, tststatic4-ENV): New variables.
6912 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6913 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6915 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6917 * configure.in (CC): Require GCC version 4.4 or later.
6918 * configure: Regenerated.
6919 * manual/install.texi (Tools for Compilation): Update GCC version
6921 * INSTALL: Regenerated.
6923 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6926 * string/test-memcmp.c (check2): New.
6927 (main): Call check2.
6929 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6931 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6934 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6936 (dl_open_worker) [!SHARED]: ... here.
6938 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6940 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6942 2013-06-25 Richard Henderson <rth@redhat.com>
6944 * locale/programs/locarchive.c: Include <libc-internal.h>
6946 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6948 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6949 trailing whitespace removed.
6951 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6954 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6955 * locale/programs/locarchive.c: Include libc-mmap.h.
6956 (prepare_address_space): Take two new outputs (the mmap base and len).
6957 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6959 (create_archive): Declare new mmap base and len values for
6960 prepare_address_space, and store the result in ah.
6961 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6962 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6963 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6964 Declare new mmap base and len values for
6965 prepare_address_space, and store the result in new_ah.
6966 (open_archive): Declare new mmap base and len values for
6967 prepare_address_space, and store the result in ah.
6968 (close_archive): If ah->mmap_base is not NULL, use that and
6969 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6970 * sysdeps/generic/libc-mmap.h: New file.
6972 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6974 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6975 (ALIGN_UP): Likewise.
6976 (PTR_ALIGN_DOWN): Likewise.
6977 (PTR_ALIGN_UP): Likewise.
6979 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6981 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6982 entry mapped to PPC_PLATFORM_POWER8.
6983 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6985 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6986 (_dl_string_platform): Add case for exporting platform position for
6988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6989 search path to sysdeps/powerpc/powerpc32/power8 directory.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6991 search path to sysdeps/powerpc/powerpc64/power8 directory.
6992 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6994 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6997 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6999 * INSTALL: Regenerate.
7001 * nscd/connections.c (nscd_init): Fix comment.
7003 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7005 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7008 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7009 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7011 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7013 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7015 (DL_DST_REQ_STATIC): Remove macro.
7017 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7020 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7021 with a shift of 0 bits.
7023 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7025 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7028 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7031 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7033 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7035 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7036 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7037 accepts -fno-tree-loop-distribute-patterns.
7038 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7039 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7041 * string/memset.c (memset): Likewise.
7042 * string/test-memmove.c (simple_memmove): Disable loop transformation
7044 * string/test-memset.c (simple_memset): Likewise.
7045 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7046 * benchtests/bench-memset.c (simple_memset): Likewise.
7047 * configure: Regenerated.
7049 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7051 * math/test-misc.c (main): Ignore fesetround failure when failures
7052 of subsequent rounding tests would be ignored.
7055 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7056 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7057 * math/fegetenv.c (__fegetenv): Return 0.
7058 * math/fegetexcept.c (fegetexcept): Return 0.
7059 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7061 * math/feholdexcpt.c (feholdexcept): Return 0.
7062 * math/fesetenv.c (__fesetenv): Return 0.
7063 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7064 argument FE_TONEAREST.
7065 * math/feupdateenv.c (__feupdateenv): Return 0.
7066 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7068 2013-06-18 Roland McGrath <roland@hack.frob.com>
7070 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7071 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7072 ($(objpfx)rtld-%.os rules): Use them.
7074 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7076 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7079 2013-06-17 Roland McGrath <roland@hack.frob.com>
7081 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7082 length of target pattern, then descending length of dependency pattern.
7083 * configure.in (AWK): Require gawk 3.1.2 or newer.
7084 * manual/install.texi (Tools for Compilation): Say that we do.
7085 * configure: Regenerated.
7087 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7088 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7089 * scripts/sysd-rules.awk: ... this new script.
7090 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7091 than a glob-style pattern.
7093 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7095 * math/test-misc.c (main): Do not treat incorrectly rounded
7096 conversions as failure unless ROUNDING_TESTS passes.
7098 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7101 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7102 restore exception state around main square root computation, then
7103 check for inexactness explicitly.
7105 * math/libm-test.inc (fma_test_data): Add another test.
7107 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7109 * manual/threads.texi (Non-POSIX Extensions): New document
7110 node. Document pthread_getattr_default_np and
7111 pthread_setattr_default_np.
7113 * Versions.def (libpthread): Add GLIBC_2.18.
7114 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7123 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7134 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7137 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7139 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7140 H.J. Lu <hjl.tools@gmail.com>
7143 * sysdeps/x86_64/rtld-memset.c: Remove file.
7144 * sysdeps/x86_64/rtld-memset.S: New file.
7146 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7148 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7149 (test_in_one_mode): Take arguments for whether the rounding mode
7150 is supported for each floating-point type.
7151 (do_test): Pass new arguments to test_in_one_mode using
7154 2013-06-13 Roland McGrath <roland@hack.frob.com>
7156 * posix/tst-waitid.c (do_test): Distinguish different instances of
7157 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7158 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7159 before entering the kernel for waitpid.
7161 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7163 * NEWS: Fix note on clock function precision. Text by Roland
7166 2013-06-13 Roland McGrath <roland@hack.frob.com>
7168 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7169 it into place only when and if the sanity check passes.
7171 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7173 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7174 output for whether conversion result is exact. Take argument
7175 indicating whether type is IBM long double.
7176 (round_for_all): Change need_exact field to ibm_ld.
7177 * stdlib/tst-strtod-round.c (struct exactness): New type.
7178 (struct test): Change bool ld_ok field to struct exactness exact.
7179 (TEST): Update all definitions for change to field.
7180 (tests): Regenerate array contents.
7181 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7182 field value. Check for IBM long double here.
7183 (do_test): Update calls to test_in_one_mode.
7185 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7188 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7189 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7191 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7194 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7195 generated by the compiler on loop optimizations.
7196 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7197 general definitions.
7199 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7201 * math/bug-nextafter.c: Include <math-tests.h>.
7202 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7204 * math/bug-nexttoward.c: Include <math-tests.h>.
7205 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7207 * math/test-misc.c: Include <math-tests.h>.
7208 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7211 2013-06-12 Andreas Jaeger <aj@suse.de>
7213 * po/ia.po: Update Interlingua translation from translation
7216 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7218 * include/fenv.h: Include stdbool.h.
7219 (struct rm_ctx): New structure.
7220 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7222 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7223 (SET_RESTORE_ROUNDF): Likewise.
7224 (SET_RESTORE_ROUNDL): Likewise.
7225 (SET_RESTORE_ROUND_NOEX): Likewise.
7226 (SET_RESTORE_ROUND_NOEXF): Likewise.
7227 (SET_RESTORE_ROUND_NOEXL): Likewise.
7228 (SET_RESTORE_ROUND_53BIT): Likewise.
7229 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7230 (libc_feresetround_noexf_ctx): Likewise.
7231 (libc_feresetround_noexl_ctx): Likewise.
7232 (libc_feholdsetround_53bit_ctx): Likewise.
7233 (libc_feresetround_53bit_ctx): Likewise.
7234 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7235 (libc_feholdexcept_setround_sse_ctx): New function.
7236 (libc_fesetenv_sse_ctx): Likewise.
7237 (libc_feupdateenv_sse_ctx): Likewise.
7238 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7239 (libc_feholdexcept_setround_387_ctx): Likewise.
7240 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7241 (libc_feholdsetround_387_prec_ctx): Likewise.
7242 (libc_feholdsetround_387_ctx): Likewise.
7243 (libc_feholdsetround_387_53bit_ctx): Likewise.
7244 (libc_feholdsetround_sse_ctx): Likewise.
7245 (libc_feresetround_sse_ctx): Likewise.
7246 (libc_feresetround_387_ctx): Likewise.
7247 (libc_feupdateenv_387_ctx): Likewise.
7248 (libc_feholdexcept_setroundf_ctx): Define macro.
7249 (libc_fesetenvf_ctx): Likewise.
7250 (libc_feupdateenvf_ctx): Likewise.
7251 (libc_feholdsetroundf_ctx): Likewise.
7252 (libc_feresetroundf_ctx): Likewise.
7253 (libc_feholdexcept_setround_ctx): Likewise.
7254 (libc_fesetenv_ctx): Likewise.
7255 (libc_feupdateenv_ctx): Likewise.
7256 (libc_feholdsetround_ctx): Likewise.
7257 (libc_feresetround_ctx): Likewise.
7258 (libc_feholdexcept_setroundl_ctx): Likewise.
7259 (libc_feupdateenvl_ctx): Likewise.
7260 (libc_feholdsetroundl_ctx): Likewise.
7261 (libc_feresetroundl_ctx): Likewise.
7262 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7263 (libc_feresetround_53bit_ctx): Likewise.
7265 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7267 * locale/iso-639.def: Convert to UTF-8.
7269 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7271 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7272 (EXCEPTION_TESTS_double): Likewise.
7273 (EXCEPTION_TESTS_long_double): Likewise.
7274 (EXCEPTION_TESTS): Likewise.
7275 * math/libm-test.inc (test_exceptions): Only test exceptions if
7276 EXCEPTION_TESTS (FLOAT).
7278 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7280 * benchtests/Makefile (string-bench): Add strcpy_chk and
7282 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7283 * benchtests/bench-stpcpy_chk.c: New file.
7284 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7285 * benchtests/bench-strcpy_chk.c: New file.
7286 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7288 (do_test): Likewise.
7290 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7292 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7293 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7294 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7295 with tabs where appropriate.
7296 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7298 [PPC_PLATFORM_PPC440]: Likewise.
7299 [PPC_PLATFORM_PPC464]: Likewise.
7300 [PPC_PLATFORM_PPC476]: Likewise.
7301 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7302 ppc464, and ppc476 platform strings merging from ports/
7305 2013-06-11 Andreas Schwab <schwab@suse.de>
7308 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7309 (from_ucs4_idx): Regenerate.
7310 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7311 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7312 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7313 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7314 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7315 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7316 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7317 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7318 from FROM_LOOP and TO_LOOP specific macros.
7319 (BODY): Handle combining characters.
7320 * iconvdata/BIG5HKSCS.irreversible: Update.
7321 * iconvdata/BIG5HKSCS.precomposed: New file.
7322 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7324 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7326 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7328 * include/sys/time.h: Fix indentation and add copyright header.
7330 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7331 (do_test): Likewise.
7332 * string/test-memchr.c (do_one_test): Likewise.
7333 (do_test): Likewise.
7334 * string/test-memcmp.c (do_one_test): Likewise.
7335 (do_test): Likewise.
7336 * string/test-memcpy.c (do_one_test): Likewise.
7337 (do_test): Likewise.
7338 * string/test-memmem.c (do_one_test): Likewise.
7339 (do_test): Likewise.
7340 (do_random_tests): Likewise.
7341 * string/test-memmove.c (do_one_test): Likewise.
7342 (do_test): Likewise.
7343 * string/test-memset.c (do_one_test): Likewise.
7344 (do_test): Likewise.
7345 * string/test-rawmemchr.c (do_one_test): Likewise.
7346 (do_test): Likewise.
7347 * string/test-strcasecmp.c (do_one_test): Likewise.
7348 (do_test): Likewise.
7349 * string/test-strcasestr.c (do_one_test): Likewise.
7350 (do_test): Likewise.
7351 * string/test-strcat.c (do_one_test): Likewise.
7352 (do_test): Likewise.
7353 * string/test-strchr.c (do_one_test): Likewise.
7354 (do_test): Likewise.
7355 * string/test-strcmp.c (do_one_test): Likewise.
7356 (do_test): Likewise.
7357 * string/test-strcpy.c (do_one_test): Likewise.
7358 (do_test): Likewise.
7359 * string/test-string.h: Likewise.
7360 (test_init): Likewise.
7361 * string/test-strlen.c (do_one_test): Likewise.
7362 (do_test): Likewise.
7363 * string/test-strncasecmp.c (do_one_test): Likewise.
7364 (do_test): Likewise.
7365 * string/test-strncat.c (do_one_test): Likewise.
7366 (do_test): Likewise.
7367 * string/test-strncmp.c (do_one_test): Likewise.
7368 (do_test_limit): Likewise.
7369 (do_test): Likewise.
7370 * string/test-strncpy.c (do_one_test): Likewise.
7371 (do_test): Likewise.
7372 * string/test-strnlen.c (do_one_test): Likewise.
7373 (do_test): Likewise.
7374 * string/test-strpbrk.c (do_one_test): Likewise.
7375 (do_test): Likewise.
7376 * string/test-strrchr.c (do_one_test): Likewise.
7377 (do_test): Likewise.
7378 * string/test-strspn.c (do_one_test): Likewise.
7379 (do_test): Likewise.
7380 * string/test-strstr.c (do_one_test): Likewise.
7381 (do_test): Likewise.
7383 * benchtests/Makefile (string-bench): Add string benchmarks.
7384 * benchtests/bench-bcopy-ifunc.c: New file.
7385 * benchtests/bench-bcopy.c: New file.
7386 * benchtests/bench-bzero-ifunc.c: New file.
7387 * benchtests/bench-bzero.c: New file.
7388 * benchtests/bench-memccpy-ifunc.c: New file.
7389 * benchtests/bench-memccpy.c: New file.
7390 * benchtests/bench-memchr-ifunc.c: New file.
7391 * benchtests/bench-memchr.c: New file.
7392 * benchtests/bench-memcmp-ifunc.c: New file.
7393 * benchtests/bench-memcmp.c: New file.
7394 * benchtests/bench-memmem-ifunc.c: New file.
7395 * benchtests/bench-memmem.c: New file.
7396 * benchtests/bench-memmove-ifunc.c: New file.
7397 * benchtests/bench-memmove.c: New file.
7398 * benchtests/bench-mempcpy-ifunc.c: New file.
7399 * benchtests/bench-mempcpy.c: New file.
7400 * benchtests/bench-memset-ifunc.c: New file.
7401 * benchtests/bench-memset.c: New file.
7402 * benchtests/bench-rawmemchr-ifunc.c: New file.
7403 * benchtests/bench-rawmemchr.c: New file.
7404 * benchtests/bench-stpcpy-ifunc.c: New file.
7405 * benchtests/bench-stpcpy.c: New file.
7406 * benchtests/bench-stpncpy-ifunc.c: New file.
7407 * benchtests/bench-stpncpy.c: New file.
7408 * benchtests/bench-strcasecmp-ifunc.c: New file.
7409 * benchtests/bench-strcasecmp.c: New file.
7410 * benchtests/bench-strcasestr-ifunc.c: New file.
7411 * benchtests/bench-strcasestr.c: New file.
7412 * benchtests/bench-strcat-ifunc.c: New file.
7413 * benchtests/bench-strcat.c: New file.
7414 * benchtests/bench-strchr-ifunc.c: New file.
7415 * benchtests/bench-strchr.c: New file.
7416 * benchtests/bench-strchrnul-ifunc.c: New file.
7417 * benchtests/bench-strchrnul.c: New file.
7418 * benchtests/bench-strcmp-ifunc.c: New file.
7419 * benchtests/bench-strcmp.c: New file.
7420 * benchtests/bench-strcpy-ifunc.c: New file.
7421 * benchtests/bench-strcpy.c: New file.
7422 * benchtests/bench-strcspn-ifunc.c: New file.
7423 * benchtests/bench-strcspn.c: New file.
7424 * benchtests/bench-strlen-ifunc.c: New file.
7425 * benchtests/bench-strlen.c: New file.
7426 * benchtests/bench-strncasecmp-ifunc.c: New file.
7427 * benchtests/bench-strncasecmp.c: New file.
7428 * benchtests/bench-strncat-ifunc.c: New file.
7429 * benchtests/bench-strncat.c: New file.
7430 * benchtests/bench-strncmp-ifunc.c: New file.
7431 * benchtests/bench-strncmp.c: New file.
7432 * benchtests/bench-strncpy-ifunc.c: New file.
7433 * benchtests/bench-strncpy.c: New file.
7434 * benchtests/bench-strnlen-ifunc.c: New file.
7435 * benchtests/bench-strnlen.c: New file.
7436 * benchtests/bench-strpbrk-ifunc.c: New file.
7437 * benchtests/bench-strpbrk.c: New file.
7438 * benchtests/bench-strrchr-ifunc.c: New file.
7439 * benchtests/bench-strrchr.c: New file.
7440 * benchtests/bench-strspn-ifunc.c: New file.
7441 * benchtests/bench-strspn.c: New file.
7442 * benchtests/bench-strstr-ifunc.c: New file.
7443 * benchtests/bench-strstr.c: New file.
7445 * benchtests/Makefile: Disable parallel execution of targets.
7446 (string-bench): Add memcpy.
7447 (benchset): New variable to store a list of benchmark sets.
7448 (bench-func): Renamed from bench.
7449 (bench-set): New target.
7450 (bench): Depend on bench-func and bench-set.
7451 * benchtests/README: Add section on benchmark sets.
7452 * benchtests/bench-memcpy-ifunc.c: New file.
7453 * benchtests/bench-memcpy.c: New file.
7454 * benchtests/bench-string.h: New file.
7456 2013-06-11 Andreas Schwab <schwab@suse.de>
7459 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7460 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7461 values in the triple.
7462 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7463 terminator in the group key.
7465 2013-06-11 Andreas Jaeger <aj@suse.de>
7467 * po/zh_TW.po: Update Chinese (traditional) translation from
7468 translation project.
7470 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7472 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7473 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7474 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7475 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7476 (clock_getcpuclockid): Likewise.
7477 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7478 Add weak_alias and libc_hidden_def.
7479 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7480 * rt/clock_gettime.c (clock_gettime): Rename to
7481 __clock_gettime. Add weak_alias and libc_hidden_def.
7482 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7483 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7484 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7485 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7486 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7488 * rt/clock_settime.c (clock_settime): Rename to
7489 __clock_settime. Add weak_alias and libc_hidden_def.
7490 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7492 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7494 * mach/err_boot.sub: Remove trailing whitespace.
7495 * mach/err_ipc.sub: Likewise.
7496 * mach/err_mach.sub: Likewise.
7498 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7499 (ROUNDING_TESTS_double): Likewise.
7500 (ROUNDING_TESTS_long_double): Likewise.
7501 (ROUNDING_TESTS): Likewise.
7502 * math/libm-test.inc: Include <math-tests.h>.
7503 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7504 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7505 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7506 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7508 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7510 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7513 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7515 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7516 otherwise empty TRANS lines.
7517 * sysdeps/gnu/errlist.c: Regenerated.
7519 * catgets/gencat.c (error_print): Use (void) in function
7521 * crypt/crypt_util.c (__init_des): Likewise.
7522 * crypt/speeds.c (Stop): Likewise.
7524 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7525 * inet/ruserpass.c (token): Likewise.
7526 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7527 * intl/localealias.c (extend_alias_table): Likewise.
7528 * intl/plural-exp.c (init_germanic_plural): Likewise.
7529 * libio/fcloseall.c (__fcloseall): Likewise.
7530 * libio/genops.c (_IO_flush_all): Likewise.
7531 (_IO_flush_all_linebuffered): Likewise.
7532 (_IO_cleanup): Likewise.
7533 (_IO_iter_begin): Likewise.
7534 (_IO_iter_end): Likewise.
7535 (_IO_list_lock): Likewise.
7536 (_IO_list_unlock): Likewise.
7537 (_IO_list_resetlock): Likewise.
7538 * libio/getchar.c (getchar): Likewise.
7539 * libio/getchar_u.c (getchar_unlocked): Likewise.
7540 * libio/getwchar.c (getwchar): Likewise.
7541 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7542 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7543 * login/getpt.c (__getpt): Likewise.
7544 * login/tst-utmp.c (main): Likewise.
7545 * malloc/hooks.c (__malloc_check_init): Likewise.
7546 * malloc/malloc.c (__malloc_stats): Likewise.
7547 * malloc/mtrace.c (tr_break): Likewise.
7549 (muntrace): Likewise.
7550 * misc/fstab.c (endfsent): Likewise.
7551 * misc/getclktck.c (__getclktck): Likewise.
7552 * misc/getdtsz.c (__getdtablesize): Likewise.
7553 * misc/gethostid.c (gethostid): Likewise.
7554 * misc/getpagesize.c (__getpagesize): Likewise.
7555 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7556 (__get_nprocs): Likewise.
7557 (__get_phys_pages): Likewise.
7558 (__get_avphys_pages): Likewise.
7559 * misc/getttyent.c (getttyent): Likewise.
7560 (setttyent): Likewise.
7561 (endttyent): Likewise.
7562 * misc/getusershell.c (getusershell): Likewise.
7563 (endusershell): Likewise.
7564 (setusershell): Likewise.
7565 (initshells): Likewise.
7566 * misc/hsearch.c (__hdestroy): Likewise.
7567 * misc/sync.c (sync): Likewise.
7568 * misc/syslog.c (closelog_internal): Likewise.
7569 (closelog): Likewise.
7570 * misc/ttyslot.c (ttyslot): Likewise.
7571 * misc/vhangup.c (vhangup): Likewise.
7572 * posix/fork.c (__fork): Likewise.
7573 * posix/getegid.c (__getegid): Likewise.
7574 * posix/geteuid.c (__geteuid): Likewise.
7575 * posix/getgid.c (__getgid): Likewise.
7576 * posix/getpid.c (__getpid): Likewise.
7577 * posix/getppid.c (__getppid): Likewise.
7578 * posix/getuid.c (__getuid): Likewise.
7579 * posix/pause.c (pause): Likewise.
7580 * posix/setpgrp.c (setpgrp): Likewise.
7581 * posix/setsid.c (__setsid): Likewise.
7582 * posix/test-vfork.c (noop): Likewise.
7583 * resolv/gethnamaddr.c (_endhtent): Likewise.
7584 (_gethtent): Likewise.
7585 (ht_endhostent): Likewise.
7586 (gethostent): Likewise.
7587 (dns_service): Likewise.
7588 * stdlib/drand48.c (drand48): Likewise.
7589 * stdlib/lrand48.c (lrand48): Likewise.
7590 * stdlib/mrand48.c (mrand48): Likewise.
7591 * stdlib/rand.c (rand): Likewise.
7592 * stdlib/random.c (__random): Likewise.
7593 * stdlib/setenv.c (clearenv): Likewise.
7594 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7595 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7596 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7597 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7598 (__get_nprocs): Likewise.
7599 (__get_phys_pages): Likewise.
7600 (__get_avphys_pages): Likewise.
7601 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7602 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7603 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7604 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7605 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7606 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7607 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7608 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7609 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7610 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7611 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7612 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7613 * sysdeps/posix/clock.c (clock): Likewise.
7614 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7615 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7616 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7617 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7618 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7619 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7620 (__get_nprocs_conf): Likewise.
7621 (__get_phys_pages): Likewise.
7622 (__get_avphys_pages): Likewise.
7623 * time/clock.c (clock): Likewise.
7624 * time/tzset.c (__tzname_max): Likewise.
7626 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7628 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7629 (__bswap_32): Do not use "register".
7630 * crypt/crypt.c (_ufc_doit_r): Likewise.
7631 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7632 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7633 * gmon/gmon.c (__monstartup): Likewise.
7634 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7635 * hurd/hurdmalloc.c (more_memory): Likewise.
7638 (realloc): Likewise.
7639 (malloc_fork_prepare): Likewise.
7640 (malloc_fork_parent): Likewise.
7641 (malloc_fork_child): Likewise.
7642 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7643 (_svcauth_des): Likewise.
7644 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7645 * inet/inet_net.c (inet_network): Likewise.
7646 * inet/inet_netof.c (inet_netof): Likewise.
7647 * inet/rcmd.c (__validuser2_sa): Likewise.
7648 * io/fts.c (fts_open): Likewise.
7649 (fts_load): Likewise.
7650 (fts_close): Likewise.
7651 (fts_read): Likewise.
7652 (fts_children): Likewise.
7653 (fts_build): Likewise.
7654 (fts_stat): Likewise.
7655 (fts_sort): Likewise.
7656 (fts_alloc): Likewise.
7657 (fts_lfree): Likewise.
7658 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7659 (_IO_file_xsgetn): Likewise.
7660 (_IO_file_xsgetn_mmap): Likewise.
7661 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7662 (_IO_cookie_write): Likewise.
7663 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7664 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7665 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7666 * malloc/obstack.c (_obstack_begin): Likewise.
7667 (_obstack_begin_1): Likewise.
7668 (_obstack_newchunk): Likewise.
7669 (_obstack_allocated_p): Likewise.
7670 (obstack_free): Likewise.
7671 (_obstack_memory_used): Likewise.
7672 * misc/getttyent.c (getttynam): Likewise.
7673 (getttyent): Likewise.
7676 * misc/getusershell.c (initshells): Likewise.
7677 * misc/syslog.c (__vsyslog_chk): Likewise.
7678 * misc/ttyslot.c (ttyslot): Likewise.
7679 * nis/nis_hash.c (__nis_hash): Likewise.
7680 * posix/fnmatch_loop.c (FCT): Likewise.
7681 * posix/getconf.c (print_all): Likewise.
7683 * posix/getopt.c (exchange): Likewise.
7684 * posix/glob.c (globfree): Likewise.
7685 (prefix_array): Likewise.
7686 (__glob_pattern_type): Likewise.
7687 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7688 (NS_GET32): Likewise.
7689 (NS_PUT16): Likewise.
7690 (NS_PUT32): Likewise.
7691 * resolv/gethnamaddr.c (getanswer): Likewise.
7692 (gethostbyname2): Likewise.
7693 (gethostbyaddr): Likewise.
7694 (_gethtent): Likewise.
7695 (_gethtbyname2): Likewise.
7696 (_gethtbyaddr): Likewise.
7697 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7698 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7699 * resolv/res_init.c (__res_vinit): Likewise.
7700 (net_mask): Likewise.
7701 * resolv/res_mkquery.c (outchar): Likewise.
7703 * stdio-common/printf_fp.c (outchar): Likewise.
7705 * stdio-common/printf_fphex.c (outchar): Likewise.
7707 * stdio-common/printf_size.c (outchar): Likewise.
7709 * stdio-common/test_rdwr.c (main): Likewise.
7710 * stdio-common/tfformat.c (matches): Likewise.
7711 * stdio-common/vfprintf.c (outchar): Likewise.
7712 (printf_unknown): Likewise.
7713 (buffered_vfprintf): Likewise.
7714 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7715 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7716 (ReadFile): Likewise.
7717 * stdlib/qsort.c (SWAP): Likewise.
7718 (_quicksort): Likewise.
7719 * stdlib/setenv.c (__add_to_environ): Likewise.
7720 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7721 * stdlib/strtol_l.c (__strtol_l): Likewise.
7722 * stdlib/tst-strtod.c (main): Likewise.
7723 * stdlib/tst-strtol.c (main): Likewise.
7724 * stdlib/tst-strtoll.c (main): Likewise.
7725 * string/bits/string2.h (__strcmp_cc): Likewise.
7726 (__strcmp_cg): Likewise.
7727 (__strcspn_c1): Likewise.
7728 (__strcspn_c2): Likewise.
7729 (__strcspn_c3): Likewise.
7730 (__strspn_c1): Likewise.
7731 (__strspn_c2): Likewise.
7732 (__strspn_c3): Likewise.
7733 (__strsep_1c): Likewise.
7734 (__strsep_2c): Likewise.
7735 (__strsep_3c): Likewise.
7736 * string/memccpy.c (__memccpy): Likewise.
7737 * string/stpcpy.c (__stpcpy): Likewise.
7738 * string/strcmp.c (strcmp): Likewise.
7739 * string/strrchr.c (strrchr): Likewise.
7740 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7742 * sysdeps/mach/hurd/getcwd.c
7743 (_hurd_canonicalize_directory_name_internal): Likewise.
7744 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7745 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7746 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7747 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7748 Likewise, in both definitions.
7749 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7751 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7752 64] (__bswap_64): Likewise.
7753 * time/test_time.c (main): Likewise.
7754 * time/tzfile.c (__tzfile_read): Likewise.
7755 (__tzfile_compute): Likewise.
7756 * time/tzset.c (__tzset_parse_tz): Likewise.
7757 (tzset_internal): Likewise.
7758 (compute_change): Likewise.
7759 * wcsmbs/wcscat.c (__wcscat): Likewise.
7760 * wcsmbs/wcschr.c (wcschr): Likewise.
7761 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7762 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7763 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7764 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7765 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7766 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7767 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7768 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7769 * wcsmbs/wmemset.c (wmemset): Likewise.
7771 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7773 * scripts/config.guess: Update to version 2013-05-16.
7774 * scripts/config.sub: Update to version 2013-04-24.
7775 * scripts/install-sh: Update to version 2011-11-20.07.
7776 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7777 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7779 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7781 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7782 * elf/sln.c: Likewise.
7783 * hurd/hurd/ioctl.h: Likewise.
7784 * hurd/hurdmalloc.c: Likewise.
7785 * hurd/xattr.c: Likewise.
7786 * include/shlib-compat.h: Likewise.
7787 * inet/ruserpass.c: Likewise.
7788 * libio/iofgets_u.c: Likewise.
7789 * libio/iofgetws_u.c: Likewise.
7790 * locale/programs/ld-identification.c: Likewise.
7791 * locale/programs/ld-time.c: Likewise.
7792 * mach/msg-destroy.c: Likewise.
7793 * nss/nss_files/files-netgrp.c: Likewise.
7794 * resolv/res_data.c: Likewise.
7795 * soft-fp/op-1.h: Likewise.
7796 * soft-fp/op-2.h: Likewise.
7797 * soft-fp/op-4.h: Likewise.
7798 * soft-fp/op-common.h: Likewise.
7799 * stdio-common/printf_fphex.c: Likewise.
7800 * stdlib/strtod_l.c: Likewise.
7801 * sunrpc/rpc/clnt.h: Likewise.
7802 * sysdeps/generic/framestate.c: Likewise.
7803 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7804 * sysdeps/i386/bsd-setjmp.S: Likewise.
7805 * sysdeps/i386/__longjmp.S: Likewise.
7806 * sysdeps/i386/setjmp.S: Likewise.
7807 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7808 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7809 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7810 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7811 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7817 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7820 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7821 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7825 * sysdeps/ieee754/support.c: Likewise.
7826 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7827 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7828 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7829 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7830 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7831 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7832 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7833 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7834 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7835 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7836 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7837 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7838 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7839 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7840 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7841 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7842 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7845 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7847 * posix/transbug.c: Remove executable mode.
7849 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7851 * crypt/speeds.c: Remove trailing whitespace.
7852 * dlfcn/default.c: Likewise.
7853 * elf/ifuncdep2.c: Likewise.
7854 * elf/ifuncmain1.c: Likewise.
7855 * elf/ifuncmain1vis.c: Likewise.
7856 * elf/testobj.h: Likewise.
7857 * elf/tst-stackguard1.c: Likewise.
7858 * gmon/sys/gmon.h: Likewise.
7859 * hurd/hurdmsg.c: Likewise.
7860 * hurd/new-fd.c: Likewise.
7861 * hurd/ports-get.c: Likewise.
7862 * iconvdata/ibm1008_420.c: Likewise.
7863 * inet/tst-getni1.c: Likewise.
7864 * inet/tst-getni2.c: Likewise.
7865 * libio/ioungetc.c: Likewise.
7866 * libio/wfiledoalloc.c: Likewise.
7867 * manual/libm-err-tab.pl: Likewise.
7868 * math/w_dremf.c: Likewise.
7869 * misc/ftruncate.c: Likewise.
7870 * posix/bug-glob2.c: Likewise.
7871 * posix/tst-pcre.c: Likewise.
7872 * posix/wait4.c: Likewise.
7873 * resolv/README: Likewise.
7874 * resolv/res_debug.h: Likewise.
7875 * resolv/tst-inet_ntop.c: Likewise.
7876 * setjmp/bug269-setjmp.c: Likewise.
7877 * soft-fp/extended.h: Likewise.
7878 * soft-fp/op-1.h: Likewise.
7879 * soft-fp/op-2.h: Likewise.
7880 * soft-fp/op-4.h: Likewise.
7881 * soft-fp/op-8.h: Likewise.
7882 * soft-fp/testit.c: Likewise.
7883 * stdio-common/bug16.c: Likewise.
7884 * stdlib/random.c: Likewise.
7885 * sunrpc/rpcsvc/rquota.x: Likewise.
7886 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7887 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7888 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7889 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7890 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7891 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7892 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7893 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7894 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7895 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7896 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7897 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7902 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7904 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7905 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7913 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7915 * sysdeps/ieee754/s_lib_version.c: Likewise.
7916 * sysdeps/mach/hurd/check_fds.c: Likewise.
7917 * sysdeps/mach/hurd/getsockname.c: Likewise.
7918 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7919 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7920 * sysdeps/powerpc/bits/link.h: Likewise.
7921 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7922 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7923 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7924 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7925 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7926 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7927 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7928 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7929 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7930 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7931 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7932 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7933 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7934 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7935 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7936 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7937 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7939 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7940 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7941 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7942 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7943 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7944 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7945 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7946 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7947 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7948 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7949 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7950 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7951 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7952 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7953 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7954 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7955 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7956 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7957 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7958 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7959 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7960 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7961 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7962 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7963 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7964 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7965 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7966 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7967 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7968 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7969 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7970 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7971 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7972 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7973 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7974 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7975 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7976 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7977 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7978 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7979 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7980 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7981 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7982 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7983 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7984 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7985 * sysdeps/powerpc/sysdep.h: Likewise.
7986 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7987 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7988 * sysdeps/sh/dl-trampoline.S: Likewise.
7989 * sysdeps/sh/memset.S: Likewise.
7990 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7991 * sysdeps/sh/strlen.S: Likewise.
7992 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7993 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7994 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7995 * sysdeps/sparc/sparc32/rem.S: Likewise.
7996 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7997 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7998 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7999 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8000 * sysdeps/sparc/sparc32/urem.S: Likewise.
8001 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8002 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8003 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8004 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8005 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8006 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8007 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8008 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8009 * sysdeps/unix/bsd/times.c: Likewise.
8010 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8011 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8015 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8016 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8017 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8018 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8019 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8020 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8021 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8022 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8023 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8024 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8025 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8026 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8027 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8028 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8029 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8030 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8031 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8032 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8033 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8034 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8035 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8036 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8037 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8038 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8039 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8040 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8041 * sysdeps/x86_64/strcspn.S: Likewise.
8043 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8045 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8046 generated file. Regenerate properly from gen-translit.pl.
8047 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8048 locale/C-translit.h.
8050 2013-06-05 Andreas Schwab <schwab@suse.de>
8053 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8054 week as 6 instead of -1.
8055 * time/tst-strptime.c (day_tests): Add test case.
8057 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8059 * sysdeps/generic/math_private.h
8060 (libc_feholdexcept_setround_53bit): Replace with
8061 libc_feholdsetround_53bit.
8062 (libc_feupdateenv_53bit): Replace with
8063 libc_feresetround_53bit.
8064 (SET_RESTORE_ROUND_53BIT): Adjust.
8066 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8068 * string/test-strchrnul.c: Add copyright header.
8070 * posix/tst-getaddrinfo4.c: Increase test timeout.
8072 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8075 * math/libm-test.inc (MAX_EXP): Remove
8077 (ulp): Use MIN_EXP - MANT_DIG.
8078 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8080 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8082 * po/be.po: Revert last change.
8083 * po/zh_CN.po: Likewise.
8084 * po/header.pot: Likewise.
8086 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8088 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8089 link-libc-deps to empty as target-specific variable.
8090 * Makerules (link-libc-args): New variable.
8091 (libc-for-link): Likewise.
8092 (link-libc-deps): Likewise.
8093 (lib%.so): Depend on $(link-libc-deps). Link with
8095 (build-module): Link with $(link-libc-args).
8096 (build-module-asneeded): Likewise.
8097 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8099 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8100 target-specific variable.
8101 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8102 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8103 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8105 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8107 ($(objpfx)libpcprofile.so): Likewise.
8108 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8110 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8111 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8112 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8114 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8115 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8116 * login/Makefile ($(objpfx)libutil.so): Likewise.
8117 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8118 * math/Makefile ($(objpfx)libm.so): Likewise.
8119 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8120 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8121 variable instead of depending directly on libc.
8122 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8123 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8125 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8127 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8128 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8129 ($(objpfx)libanl.so): Likewise.
8130 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8132 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8134 * sysdeps/i386/fpu/Makefile: Remove file.
8135 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8136 ($(objpfx)libm.so): Remove dependency on ld.so.
8138 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8141 * nis/yp_xdr.c (XDRMAXNAME): Define.
8142 (XDRMAXRECORD): Define.
8143 (xdr_domainname): Use XDRMAXNAME.
8144 (xdr_mapname): Likewise.
8145 (xdr_peername): Likewise.
8146 (xdr_keydat): Use XDRMAXRECORD.
8147 (xdr_valdat): Likewise.
8149 2013-05-30 Jeff Law <law@redhat.com>
8152 * manual/errno.texi (ESTALE): Update to account for more than
8153 just NFS file systems.
8154 * sysdeps/gnu/errlist.c: Regenerated.
8156 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8159 * elf/Makefile (tests): Add tst-null-argv.
8160 (modules-names): Add tst-null-argv-lib.
8161 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8162 (tst-null-argv-ENV): Set environment for tst-null-argv.
8163 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8164 (RTLD_PROGNAME): New macro.
8165 * elf/tst-null-argv.c: New test case.
8166 * elf/tst-null-argv-lib.c: Library for test case.
8167 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8168 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8169 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8170 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8171 * elf/dl-init.c (call_init): Likewise.
8172 (_dl_init): Likewise.
8173 * elf/dl-load.c (print_search_path): Likewise.
8174 (_dl_map_object): Likewise.
8175 * elf/dl-lookup.c (do_lookup_x): Likewise.
8176 (add_dependency): Likewise.
8177 (_dl_lookup_symbol_x): Likewise.
8178 (_dl_debug_bindings): Likewise.
8179 * elf/dl-open.c (_dl_show_scope): Likewise.
8180 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8181 * elf/dl-version.c (match_symbol): Likewise.
8182 (_dl_check_map_versions): Likewise.
8183 * elf/rtld.c (dl_main): Likewise.
8184 (print_unresolved): Use RTLD_PROGNAME.
8185 (print_missing_version): Likewise.
8186 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8187 (elf_machine_rela): Likewise.
8188 * sysdeps/powerpc/powerpc32/dl-machine.c
8189 (__process_machine_rela): Likewise.
8190 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8192 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8194 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8196 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8197 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8199 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8203 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8205 * po/be.po: Add descriptive title.
8206 * po/zh_CN.po: Likewise.
8207 * po/header.pot: Likewise.
8209 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8211 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8213 (enlarge_archive): Likewise.
8215 2013-05-28 Ben North <ben@redfrontdoor.org>
8217 * manual/arith.texi (frexp): It is the magnitude of the return
8218 value which lies in [0.5, 1), not the return value itself.
8220 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8224 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8226 * stdio-common/bug26.c (main): Correct fscanf template.
8228 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8229 declare _dl_skip_args.
8231 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8234 * manual/platform.texi: Add missing @end deftypefun.
8236 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8239 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8240 bit of mantissa of 2^16382.
8241 * math/libm-test.inc (hypot_test_data): Add more tests.
8243 * math/libm-test.inc: Add drem and pow10 to list of tested
8245 (pow10_test): New function.
8246 (drem_test): Likewise.
8247 (drem_test_tonearest): Likewise.
8248 (drem_test_towardzero): Likewise.
8249 (drem_test_downward): Likewise.
8250 (drem_test_upward): Likewise.
8251 (main): Call the new functions.
8253 * math/libm-test.inc (finite_test_data): Remove.
8254 (finite_test): Run tests from isfinite_test_data.
8255 (gamma_test_data): Remove.
8256 (gamma_test): Run tests from lgamma_test_data.
8257 * sysdeps/i386/fpu/libm-test-ulps: Update.
8258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8260 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8262 * manual/platform.texi: Add PowerPC PPR function set documentation.
8263 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8266 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8268 * math/libm-test.inc (MAX_EXP): Define.
8270 (ulp): New function.
8271 (check_float_internal): Use ULPDIFF.
8272 (cpow_test): Disable failing test.
8273 (check_ulp): Test ulp() implemetnation.
8274 (main): Call check_ulp before starting tests.
8276 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8278 * math/gen-libm-test.pl (generate_testfile): Do not handle
8279 START_DATA and END_DATA.
8280 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8282 (acos_tonearest_test_data): Likewise.
8283 (acos_towardzero_test_data): Likewise.
8284 (acos_downward_test_data): Likewise.
8285 (acos_upward_test_data): Likewise.
8286 (acosh_test_data): Likewise.
8287 (asin_test_data): Likewise.
8288 (asin_tonearest_test_data): Likewise.
8289 (asin_towardzero_test_data): Likewise.
8290 (asin_downward_test_data): Likewise.
8291 (asin_upward_test_data): Likewise.
8292 (asinh_test_data): Likewise.
8293 (atan_test_data): Likewise.
8294 (atanh_test_data): Likewise.
8295 (atan2_test_data): Likewise.
8296 (cabs_test_data): Likewise.
8297 (cacos_test_data): Likewise.
8298 (cacosh_test_data): Likewise.
8299 (carg_test_data): Likewise.
8300 (casin_test_data): Likewise.
8301 (casinh_test_data): Likewise.
8302 (catan_test_data): Likewise.
8303 (catanh_test_data): Likewise.
8304 (cbrt_test_data): Likewise.
8305 (ccos_test_data): Likewise.
8306 (ccosh_test_data): Likewise.
8307 (ceil_test_data): Likewise.
8308 (cexp_test_data): Likewise.
8309 (cimag_test_data): Likewise.
8310 (clog_test_data): Likewise.
8311 (clog10_test_data): Likewise.
8312 (conj_test_data): Likewise.
8313 (copysign_test_data): Likewise.
8314 (cos_test_data): Likewise.
8315 (cos_tonearest_test_data): Likewise.
8316 (cos_towardzero_test_data): Likewise.
8317 (cos_downward_test_data): Likewise.
8318 (cos_upward_test_data): Likewise.
8319 (cosh_test_data): Likewise.
8320 (cosh_tonearest_test_data): Likewise.
8321 (cosh_towardzero_test_data): Likewise.
8322 (cosh_downward_test_data): Likewise.
8323 (cosh_upward_test_data): Likewise.
8324 (cpow_test_data): Likewise.
8325 (cproj_test_data): Likewise.
8326 (creal_test_data): Likewise.
8327 (csin_test_data): Likewise.
8328 (csinh_test_data): Likewise.
8329 (csqrt_test_data): Likewise.
8330 (ctan_test_data): Likewise.
8331 (ctan_tonearest_test_data): Likewise.
8332 (ctan_towardzero_test_data): Likewise.
8333 (ctan_downward_test_data): Likewise.
8334 (ctan_upward_test_data): Likewise.
8335 (ctanh_test_data): Likewise.
8336 (ctanh_tonearest_test_data): Likewise.
8337 (ctanh_towardzero_test_data): Likewise.
8338 (ctanh_downward_test_data): Likewise.
8339 (ctanh_upward_test_data): Likewise.
8340 (erf_test_data): Likewise.
8341 (erfc_test_data): Likewise.
8342 (exp_test_data): Likewise.
8343 (exp_tonearest_test_data): Likewise.
8344 (exp_towardzero_test_data): Likewise.
8345 (exp_downward_test_data): Likewise.
8346 (exp_upward_test_data): Likewise.
8347 (exp10_test_data): Likewise.
8348 (exp2_test_data): Likewise.
8349 (expm1_test_data): Likewise.
8350 (fabs_test_data): Likewise.
8351 (fdim_test_data): Likewise.
8352 (finite_test_data): Likewise.
8353 (floor_test_data): Likewise.
8354 (fma_test_data): Likewise.
8355 (fma_towardzero_test_data): Likewise.
8356 (fma_downward_test_data): Likewise.
8357 (fma_upward_test_data): Likewise.
8358 (fmax_test_data): Likewise.
8359 (fmin_test_data): Likewise.
8360 (fmod_test_data): Likewise.
8361 (fpclassify_test_data): Likewise.
8362 (frexp_test_data): Likewise.
8363 (gamma_test_data): Likewise.
8364 (hypot_test_data): Likewise.
8365 (ilogb_test_data): Likewise.
8366 (isfinite_test_data): Likewise.
8367 (isgreater_test_data): Likewise.
8368 (isgreaterequal_test_data): Likewise.
8369 (isinf_test_data): Likewise.
8370 (isless_test_data): Likewise.
8371 (islessequal_test_data): Likewise.
8372 (islessgreater_test_data): Likewise.
8373 (isnan_test_data): Likewise.
8374 (isnormal_test_data): Likewise.
8375 (issignaling_test_data): Likewise.
8376 (isunordered_test_data): Likewise.
8377 (j0_test_data): Likewise.
8378 (j1_test_data): Likewise.
8379 (jn_test_data): Likewise.
8380 (ldexp_test_data): Likewise.
8381 (lgamma_test_data): Likewise.
8382 (lrint_test_data): Likewise.
8383 (lrint_tonearest_test_data): Likewise.
8384 (lrint_towardzero_test_data): Likewise.
8385 (lrint_downward_test_data): Likewise.
8386 (lrint_upward_test_data): Likewise.
8387 (llrint_test_data): Likewise.
8388 (llrint_tonearest_test_data): Likewise.
8389 (llrint_towardzero_test_data): Likewise.
8390 (llrint_downward_test_data): Likewise.
8391 (llrint_upward_test_data): Likewise.
8392 (log_test_data): Likewise.
8393 (log10_test_data): Likewise.
8394 (log1p_test_data): Likewise.
8395 (log2_test_data): Likewise.
8396 (logb_test_data): Likewise.
8397 (logb_downward_test_data): Likewise.
8398 (lround_test_data): Likewise.
8399 (llround_test_data): Likewise.
8400 (modf_test_data): Likewise.
8401 (nearbyint_test_data): Likewise.
8402 (nextafter_test_data): Likewise.
8403 (nexttoward_test_data): Likewise.
8404 (pow_test_data): Likewise.
8405 (pow_tonearest_test_data): Likewise.
8406 (pow_towardzero_test_data): Likewise.
8407 (pow_downward_test_data): Likewise.
8408 (pow_upward_test_data): Likewise.
8409 (remainder_test_data): Likewise.
8410 (remainder_tonearest_test_data): Likewise.
8411 (remainder_towardzero_test_data): Likewise.
8412 (remainder_downward_test_data): Likewise.
8413 (remainder_upward_test_data): Likewise.
8414 (remquo_test_data): Likewise.
8415 (rint_test_data): Likewise.
8416 (rint_tonearest_test_data): Likewise.
8417 (rint_towardzero_test_data): Likewise.
8418 (rint_downward_test_data): Likewise.
8419 (rint_upward_test_data): Likewise.
8420 (round_test_data): Likewise.
8421 (scalb_test_data): Likewise.
8422 (scalbn_test_data): Likewise.
8423 (scalbln_test_data): Likewise.
8424 (signbit_test_data): Likewise.
8425 (sin_test_data): Likewise.
8426 (sin_tonearest_test_data): Likewise.
8427 (sin_towardzero_test_data): Likewise.
8428 (sin_downward_test_data): Likewise.
8429 (sin_upward_test_data): Likewise.
8430 (sincos_test_data): Likewise.
8431 (sinh_test_data): Likewise.
8432 (sinh_tonearest_test_data): Likewise.
8433 (sinh_towardzero_test_data): Likewise.
8434 (sinh_downward_test_data): Likewise.
8435 (sinh_upward_test_data): Likewise.
8436 (sqrt_test_data): Likewise.
8437 (tan_test_data): Likewise.
8438 (tan_tonearest_test_data): Likewise.
8439 (tan_towardzero_test_data): Likewise.
8440 (tan_downward_test_data): Likewise.
8441 (tan_upward_test_data): Likewise.
8442 (tanh_test_data): Likewise.
8443 (tgamma_test_data): Likewise.
8444 (trunc_test_data): Likewise.
8445 (y0_test_data): Likewise.
8446 (y1_test_data): Likewise.
8447 (yn_test_data): Likewise.
8448 (significand_test_data): Likewise.
8450 * math/gen-libm-test.pl (@functions): Remove variable.
8451 (generate_testfile): Don't handle START and END lines.
8452 * math/libm-test.inc (START): New macro.
8454 (END_COMPLEX): Likewise.
8455 (acos_test): Use END macro without arguments.
8456 (acos_test_tonearest): Likewise.
8457 (acos_test_towardzero): Likewise.
8458 (acos_test_downward): Likewise.
8459 (acos_test_upward): Likewise.
8460 (acosh_test): Likewise.
8461 (asin_test): Likewise.
8462 (asin_test_tonearest): Likewise.
8463 (asin_test_towardzero): Likewise.
8464 (asin_test_downward): Likewise.
8465 (asin_test_upward): Likewise.
8466 (asinh_test): Likewise.
8467 (atan_test): Likewise.
8468 (atanh_test): Likewise.
8469 (atan2_test): Likewise.
8470 (cabs_test): Likewise.
8471 (cacos_test): Use END_COMPLEX macro without arguments.
8472 (cacosh_test): Likewise.
8473 (carg_test): Use END macro without arguments.
8474 (casin_test): Use END_COMPLEX macro without arguments.
8475 (casinh_test): Likewise.
8476 (catan_test): Likewise.
8477 (catanh_test): Likewise.
8478 (cbrt_test): Use END macro without arguments.
8479 (ccos_test): Use END_COMPLEX macro without arguments.
8480 (ccosh_test): Likewise.
8481 (ceil_test): Use END macro without arguments.
8482 (cexp_test): Use END_COMPLEX macro without arguments.
8483 (cimag_test): Use END macro without arguments.
8484 (clog_test): Use END_COMPLEX macro without arguments.
8485 (clog10_test): Likewise.
8486 (conj_test): Likewise.
8487 (copysign_test): Use END macro without arguments.
8488 (cos_test): Likewise.
8489 (cos_test_tonearest): Likewise.
8490 (cos_test_towardzero): Likewise.
8491 (cos_test_downward): Likewise.
8492 (cos_test_upward): Likewise.
8493 (cosh_test): Likewise.
8494 (cosh_test_tonearest): Likewise.
8495 (cosh_test_towardzero): Likewise.
8496 (cosh_test_downward): Likewise.
8497 (cosh_test_upward): Likewise.
8498 (cpow_test): Use END_COMPLEX macro without arguments.
8499 (cproj_test): Likewise.
8500 (creal_test): Use END macro without arguments.
8501 (csin_test): Use END_COMPLEX macro without arguments.
8502 (csinh_test): Likewise.
8503 (csqrt_test): Likewise.
8504 (ctan_test): Likewise.
8505 (ctan_test_tonearest): Likewise.
8506 (ctan_test_towardzero): Likewise.
8507 (ctan_test_downward): Likewise.
8508 (ctan_test_upward): Likewise.
8509 (ctanh_test): Likewise.
8510 (ctanh_test_tonearest): Likewise.
8511 (ctanh_test_towardzero): Likewise.
8512 (ctanh_test_downward): Likewise.
8513 (ctanh_test_upward): Likewise.
8514 (erf_test): Use END macro without arguments.
8515 (erfc_test): Likewise.
8516 (exp_test): Likewise.
8517 (exp_test_tonearest): Likewise.
8518 (exp_test_towardzero): Likewise.
8519 (exp_test_downward): Likewise.
8520 (exp_test_upward): Likewise.
8521 (exp10_test): Likewise.
8522 (exp2_test): Likewise.
8523 (expm1_test): Likewise.
8524 (fabs_test): Likewise.
8525 (fdim_test): Likewise.
8526 (finite_test): Likewise.
8527 (floor_test): Likewise.
8528 (fma_test): Likewise.
8529 (fma_test_towardzero): Likewise.
8530 (fma_test_downward): Likewise.
8531 (fma_test_upward): Likewise.
8532 (fmax_test): Likewise.
8533 (fmin_test): Likewise.
8534 (fmod_test): Likewise.
8535 (fpclassify_test): Likewise.
8536 (frexp_test): Likewise.
8537 (gamma_test): Likewise.
8538 (hypot_test): Likewise.
8539 (ilogb_test): Likewise.
8540 (isfinite_test): Likewise.
8541 (isgreater_test): Likewise.
8542 (isgreaterequal_test): Likewise.
8543 (isinf_test): Likewise.
8544 (isless_test): Likewise.
8545 (islessequal_test): Likewise.
8546 (islessgreater_test): Likewise.
8547 (isnan_test): Likewise.
8548 (isnormal_test): Likewise.
8549 (issignaling_test): Likewise.
8550 (isunordered_test): Likewise.
8551 (j0_test): Likewise.
8552 (j1_test): Likewise.
8553 (jn_test): Likewise.
8554 (ldexp_test): Likewise.
8555 (lgamma_test): Likewise.
8556 (lrint_test): Likewise.
8557 (lrint_test_tonearest): Likewise.
8558 (lrint_test_towardzero): Likewise.
8559 (lrint_test_downward): Likewise.
8560 (lrint_test_upward): Likewise.
8561 (llrint_test): Likewise.
8562 (llrint_test_tonearest): Likewise.
8563 (llrint_test_towardzero): Likewise.
8564 (llrint_test_downward): Likewise.
8565 (llrint_test_upward): Likewise.
8566 (log_test): Likewise.
8567 (log10_test): Likewise.
8568 (log1p_test): Likewise.
8569 (log2_test): Likewise.
8570 (logb_test): Likewise.
8571 (logb_test_downward): Likewise.
8572 (lround_test): Likewise.
8573 (llround_test): Likewise.
8574 (modf_test): Likewise.
8575 (nearbyint_test): Likewise.
8576 (nextafter_test): Likewise.
8577 (nexttoward_test): Likewise.
8578 (pow_test): Likewise.
8579 (pow_test_tonearest): Likewise.
8580 (pow_test_towardzero): Likewise.
8581 (pow_test_downward): Likewise.
8582 (pow_test_upward): Likewise.
8583 (remainder_test): Likewise.
8584 (remainder_test_tonearest): Likewise.
8585 (remainder_test_towardzero): Likewise.
8586 (remainder_test_downward): Likewise.
8587 (remainder_test_upward): Likewise.
8588 (remquo_test): Likewise.
8589 (rint_test): Likewise.
8590 (rint_test_tonearest): Likewise.
8591 (rint_test_towardzero): Likewise.
8592 (rint_test_downward): Likewise.
8593 (rint_test_upward): Likewise.
8594 (round_test): Likewise.
8595 (scalb_test): Likewise.
8596 (scalbn_test): Likewise.
8597 (scalbln_test): Likewise.
8598 (signbit_test): Likewise.
8599 (sin_test): Likewise.
8600 (sin_test_tonearest): Likewise.
8601 (sin_test_towardzero): Likewise.
8602 (sin_test_downward): Likewise.
8603 (sin_test_upward): Likewise.
8604 (sincos_test): Likewise.
8605 (sinh_test): Likewise.
8606 (sinh_test_tonearest): Likewise.
8607 (sinh_test_towardzero): Likewise.
8608 (sinh_test_downward): Likewise.
8609 (sinh_test_upward): Likewise.
8610 (sqrt_test): Likewise.
8611 (tan_test): Likewise.
8612 (tan_test_tonearest): Likewise.
8613 (tan_test_towardzero): Likewise.
8614 (tan_test_downward): Likewise.
8615 (tan_test_upward): Likewise.
8616 (tanh_test): Likewise.
8617 (tgamma_test): Likewise.
8618 (trunc_test): Likewise.
8619 (y0_test): Likewise.
8620 (y1_test): Likewise.
8621 (yn_test): Likewise.
8622 (significand_test): Likewise.
8624 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8627 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8629 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8632 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8633 __ppc_mdoio and __ppc_mdoom.
8634 * manual/platform.texi: Document new functions __ppc_yield,
8635 __ppc_mdoio and __ppc_mdoom.
8637 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8639 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8640 (main): Mention "tls" pseudo-hwcap is legacy.
8641 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8643 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8645 * math/gen-libm-test.pl (parse_args): Output only string of
8646 arguments as text for test name, not full call or descriptions of
8647 tests for extra outputs.
8648 (generate_testfile): Do not pass function name to parse_args.
8649 Generate this_func variable from START.
8650 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8652 (struct test_ff_f_data): Likewise.
8653 (test_ff_f_data_nexttoward): Likewise.
8654 (struct test_fi_f_data): Likewise.
8655 (struct test_fl_f_data): Likewise.
8656 (struct test_if_f_data): Likewise.
8657 (struct test_fff_f_data): Likewise.
8658 (struct test_c_f_data): Likewise.
8659 (struct test_f_f1_data): Likewise. Remove field extra_name.
8660 (struct test_fF_f1_data): Likewise.
8661 (struct test_ffI_f1_data): Likewise.
8662 (struct test_c_c_data): Rename test_name field to arg_str.
8663 (struct test_cc_c_data): Likewise.
8664 (struct test_f_i_data): Likewise.
8665 (struct test_ff_i_data): Likewise.
8666 (struct test_f_l_data): Likewise.
8667 (struct test_f_L_data): Likewise.
8668 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8670 (COMMON_TEST_SETUP): New macro.
8671 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8672 (COMMON_TEST_CLEANUP): Likewise.
8673 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8674 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8676 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8677 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8679 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8680 (RUN_TEST_fff_f): Take argument string. Call new setup and
8682 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8683 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8685 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8686 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8688 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8689 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8691 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8692 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8694 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8695 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8697 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8698 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8700 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8701 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8703 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8704 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8706 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8707 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8709 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8710 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8712 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8713 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8715 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8716 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8718 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8719 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8721 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8722 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8724 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8725 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8727 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8729 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8731 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8732 to _sifields.sigfault.
8733 (si_addr_lsb): Define new macro.
8734 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8735 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8736 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8738 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8741 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8743 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8745 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8748 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8750 * math/gen-libm-test.pl (parse_args): Do not include expected
8751 result in test name.
8752 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8753 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8754 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8755 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8756 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8759 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8761 * benchtests/Makefile: Sort function entries.
8763 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8764 tanh, asinh, acosh, atanh.
8765 * benchtests/acos-inputs: New file.
8766 * benchtests/acosh-inputs: New file.
8767 * benchtests/asin-inputs: New file.
8768 * benchtests/asinh-inputs: New file.
8769 * benchtests/atanh-inputs: New file.
8770 * benchtests/cosh-inputs: New file.
8771 * benchtests/log-inputs: New file.
8772 * benchtests/sinh-inputs: New file.
8773 * benchtests/tanh-inputs: New file.
8775 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8778 * posix/tst-getaddrinfo4.c: New test.
8779 * posix/Makefile (tests): Add it.
8781 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8784 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8785 when no services were used.
8786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8787 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8789 2013-05-21 Andreas Schwab <schwab@suse.de>
8792 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8793 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8795 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8796 redundant variable declarations and reallocation of buffer when
8797 parsing as IPv6 address. Always set NSS status when called from
8798 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8799 buffer too small. Correct computation of needed size.
8800 * nss/Makefile (tests): Add test-digits-dots.
8801 * nss/test-digits-dots.c: New test.
8803 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8805 * benchtests/Makefile: Remove instructions for adding
8807 * benchtests/README: New file to explain how to execute and
8808 enhance the benchmark tests.
8810 2013-05-21 Andreas Schwab <schwab@suse.de>
8813 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8814 * setjmp/tst-sigsetjmp.c: New test.
8816 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8818 * sysdeps/x86_64/memset.S (memset): New implementation.
8819 (__bzero): Likewise.
8820 (__memset_tail): New function.
8822 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8824 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8825 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8826 __memcpy_sse2_unaligned ifunc selection.
8827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8828 Add memcpy-sse2-unaligned.S.
8829 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8830 Add: __memcpy_sse2_unaligned.
8832 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8835 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8836 math_force_eval before restoring floating-point envrionment.
8837 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8838 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8840 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8842 (__nearbyintl): Use math_force_eval before restoring
8843 floating-point environment.
8844 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8846 * math/gen-libm-test.pl (special_functions): Remove.
8847 (parse_args): Don't handle TEST_extra. Handle functions with no
8849 * math/libm-test.inc (struct test_sincos_data): Replace with
8850 struct test_fFF_11_data.
8851 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8852 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8853 (sincos_test_data): Change element type to struct
8854 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8855 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8856 RUN_TEST_LOOP_sincos.
8857 * math/README.libm-test: Don't mention special handling of
8858 individual functions.
8859 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8860 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8861 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8862 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8863 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8866 * math/gen-libm-test.pl (get_variable): Remove function.
8867 (parse_args): Don't show pointer parameters to call in test
8868 names. Use "extra output N" in test names for extra outputs
8869 rather than naming variables.
8871 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8874 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8875 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8876 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8878 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8880 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8883 * math/gen-libm-test.pl (@tests): Remove variable.
8885 (new_test): Remove function.
8886 (show_exceptions): New function.
8887 (special_functions): Use show_exceptions instead of new_test.
8888 (parse_args): Likewise.
8889 (generate_testfile): Pass only function name in generated call to
8890 print_max_error or print_complex_max_error.
8891 (get_ulps): Do not handle complex tests specially.
8892 (output_test): Rename to ...
8893 (get_all_ulps_for_test): ... this. Return a string rather than
8894 printing to a file. Require ulps to be present.
8895 (output_ulps): Generate arrays rather than #defines.
8896 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8897 (struct ulp_data): New type.
8898 (BUILD_COMPLEX_ULP): Remove macro.
8899 (compare_ulp_data): New function.
8900 (find_ulps): Likewise.
8901 (find_test_ulps): Likewise.
8902 (find_function_ulps): Likewise.
8903 (find_complex_function_ulps): Likewise.
8904 (print_max_error): Determine allowed ulps using
8906 (print_complex_max_error): Determine allowed ulps using
8907 find_complex_function_ulps.
8908 (check_float_internal): Determine max ulps using find_test_ulps.
8909 (check_float): Do not take max_ulp parameter. Update call to
8910 check_float_internal.
8911 (check_complex): Likewise.
8912 (check_int): Do not take max_ulp parameter.
8913 (check_long): Likewise.
8914 (check_bool): Likewise.
8915 (check_longlong): Likewise.
8916 (struct test_f_f_data): Remove max_ulp field.
8917 (struct test_ff_f_data): Likewise.
8918 (struct test_ff_f_data_nexttoward): Likewise.
8919 (struct test_fi_f_data): Likewise.
8920 (struct test_fl_f_data): Likewise.
8921 (struct test_if_f_data): Likewise.
8922 (struct test_fff_f_data): Likewise.
8923 (struct test_c_f_data): Likewise.
8924 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8925 (struct test_fF_f1_data): Likewise.
8926 (struct test_ffI_f1_data): Likewise.
8927 (struct test_c_c_data): Remove max_ulp field.
8928 (struct test_cc_c_data): Likewise.
8929 (struct test_f_i_data): Likewise.
8930 (struct test_ff_i_data): Likewise.
8931 (struct test_f_l_data): Likewise.
8932 (struct test_f_L_data): Likewise.
8933 (struct test_sincos_data): Likewise.
8934 (RUN_TEST_f_f): Do not handle ulps.
8935 (RUN_TEST_LOOP_f_f): Likewise.
8936 (RUN_TEST_2_f): Likewise.
8937 (RUN_TEST_LOOP_2_f): Likewise.
8938 (RUN_TEST_fff_f): Likewise.
8939 (RUN_TEST_LOOP_fff_f): Likewise.
8940 (RUN_TEST_c_f): Likewise.
8941 (RUN_TEST_LOOP_c_f): Likewise.
8942 (RUN_TEST_f_f1): Likewise.
8943 (RUN_TEST_LOOP_f_f1): Likewise.
8944 (RUN_TEST_fF_f1): Likewise.
8945 (RUN_TEST_LOOP_fF_f1): Likewise.
8946 (RUN_TEST_fI_f1): Likewise.
8947 (RUN_TEST_LOOP_fI_f1): Likewise.
8948 (RUN_TEST_ffI_f1): Likewise.
8949 (RUN_TEST_LOOP_ffI_f1): Likewise.
8950 (RUN_TEST_c_c): Likewise.
8951 (RUN_TEST_LOOP_c_c): Likewise.
8952 (RUN_TEST_cc_c): Likewise.
8953 (RUN_TEST_LOOP_cc_c): Likewise.
8954 (RUN_TEST_f_i): Likewise.
8955 (RUN_TEST_LOOP_f_i): Likewise.
8956 (RUN_TEST_f_i_tg): Likewise.
8957 (RUN_TEST_LOOP_f_i_tg): Likewise.
8958 (RUN_TEST_ff_i_tg): Likewise.
8959 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8960 (RUN_TEST_f_b): Likewise.
8961 (RUN_TEST_LOOP_f_b): Likewise.
8962 (RUN_TEST_f_b_tg): Likewise.
8963 (RUN_TEST_LOOP_f_b_tg): Likewise.
8964 (RUN_TEST_f_l): Likewise.
8965 (RUN_TEST_LOOP_f_l): Likewise.
8966 (RUN_TEST_f_L): Likewise.
8967 (RUN_TEST_LOOP_f_L): Likewise.
8968 (RUN_TEST_sincos): Likewise.
8969 (RUN_TEST_LOOP_sincos): Likewise.
8971 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8975 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8976 main case of finite arguments, set rounding mode to FE_TONEAREST
8977 and discard exceptions.
8978 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8980 (remainder_tonearest_test_data): New variable.
8981 (remainder_test_tonearest): New function.
8982 (remainder_towardzero_test_data): New variable.
8983 (remainder_test_towardzero): New function.
8984 (remainder_downward_test_data): New variable.
8985 (remainder_test_downward): New function.
8986 (remainder_upward_test_data): New variable.
8987 (remainder_test_upward): New function.
8988 (main): Call the new test functions.
8990 * math/libm-test.inc (struct test_f_f1_data): Remove field
8992 (struct test_fF_f1_data): Likewise.
8993 (struct test_ffI_f1_data): Likewise.
8994 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8995 based on value of EXTRA_EXPECTED.
8996 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8997 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8998 EXTRA_VAR based on value of EXTRA_EXPECTED.
8999 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9000 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9001 EXTRA_VAR based on value of EXTRA_EXPECTED.
9002 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9003 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9004 EXTRA_VAR based on value of EXTRA_EXPECTED.
9005 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9006 * math/gen-libm-test.pl (parse_args): Don't output initializers
9007 for extra output values.
9009 * math/libm-test.inc (check_int): Expect result to be exactly
9010 equal to expected value and do not handle ulps.
9011 (check_long): Likewise.
9012 (check_longlong): Likewise.
9014 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9016 (cimag_test_data): Likewise.
9017 (conj_test_data): Likewise.
9018 (copysign_test_data): Likewise.
9019 (cproj_test_data): Likewise.
9020 (creal_test_data): Likewise.
9021 (fabs_test_data): Likewise.
9022 (fdim_test_data): Likewise.
9023 (finite_test_data): Likewise.
9024 (floor_test_data): Likewise.
9025 (fmax_test_data): Likewise.
9026 (fmin_test_data): Likewise.
9027 (fmod_test_data): Likewise.
9028 (fpclassify_test_data): Likewise.
9029 (frexp_test_data): Likewise.
9030 (ilogb_test_data): Likewise.
9031 (isfinite_test_data): Likewise.
9032 (isgreater_test_data): Likewise.
9033 (isgreaterequal_test_data): Likewise.
9034 (isinf_test_data): Likewise.
9035 (isless_test_data): Likewise.
9036 (islessequal_test_data): Likewise.
9037 (islessgreater_test_data): Likewise.
9038 (isnan_test_data): Likewise.
9039 (isnormal_test_data): Likewise.
9040 (issignaling_test_data): Likewise.
9041 (isunordered_test_data): Likewise.
9042 (ldexp_test_data): Likewise.
9043 (lrint_test_data): Likewise.
9044 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9045 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9046 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9047 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9048 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9049 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9051 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9052 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9053 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9054 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9056 (lrint_downward_test_data): Test for "inexact" exceptions.
9057 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9058 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9059 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9061 (lrint_upward_test_data): Test for "inexact" exceptions.
9062 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9064 (llrint_test_data): Test for "inexact" exceptions.
9065 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9066 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9067 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9068 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9069 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9070 (llrint_downward_test_data): Test for "inexact" exceptions.
9071 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9072 (llrint_upward_test_data): Test for "inexact" exceptions.
9073 (logb_test_data): Likewise.
9074 (logb_downward_test_data): Likewise.
9075 (nextafter_test_data): Likewise.
9076 (nexttoward_test_data): Likewise.
9077 (remainder_test_data): Likewise.
9078 (remquo_test_data): Likewise.
9079 (scalbn_test_data): Likewise.
9080 (scalbln_test_data): Likewise.
9081 (signbit_test_data): Likewise.
9082 (sqrt_test_data): Likewise.
9083 (significand_test_data): Likewise.
9085 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9088 * benchtests/bench-modf.c (struct args): Mark arg0 as
9090 * scripts/bench.pl: Mark members of struct args as volatile.
9092 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9095 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9096 negative infinity on POWER6 or lower.
9097 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9099 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9102 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9103 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9104 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9105 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9106 (_FP_SETQNAN): New macro.
9107 (_FP_SETQNAN_SEMIRAW): Likewise.
9108 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9109 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9110 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9111 (FP_EXTEND): Use _FP_FRAC_SNANP.
9112 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9113 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9115 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9117 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9120 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9122 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9123 with DIVIDE_BY_ZERO_EXCEPTION.
9124 (gamma_test_data): Likewise.
9125 (lgamma_test_data): Likewise.
9126 (log_test_data): Likewise.
9127 (log10_test_data): Likewise.
9128 (log2_test_data): Likewise.
9129 (tgamma_test_data): Likewise.
9131 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9132 (acos_test_tonearest): Likewise.
9133 (acos_test_towardzero): Likewise.
9134 (acos_test_downward): Likewise.
9135 (acos_test_upward): Likewise.
9136 (acosh_test): Likewise.
9137 (asin_test): Likewise.
9138 (asin_test_tonearest): Likewise.
9139 (asin_test_towardzero): Likewise.
9140 (asin_test_downward): Likewise.
9141 (asin_test_upward): Likewise.
9142 (asinh_test): Likewise.
9143 (atan_test): Likewise.
9144 (atanh_test): Likewise.
9145 (atan2_test): Likewise.
9146 (cabs_test): Likewise.
9147 (cacos_test): Likewise.
9148 (cacosh_test): Likewise.
9149 (casin_test): Likewise.
9150 (casinh_test): Likewise.
9151 (catan_test): Likewise.
9152 (catanh_test): Likewise.
9153 (cbrt_test): Likewise.
9154 (ccos_test): Likewise.
9155 (ccosh_test): Likewise.
9156 (cexp_test): Likewise.
9157 (clog_test): Likewise.
9158 (clog10_test): Likewise.
9159 (cos_test): Likewise.
9160 (cos_test_tonearest): Likewise.
9161 (cos_test_towardzero): Likewise.
9162 (cos_test_downward): Likewise.
9163 (cos_test_upward): Likewise.
9164 (cosh_test): Likewise.
9165 (cosh_test_tonearest): Likewise.
9166 (cosh_test_towardzero): Likewise.
9167 (cosh_test_downward): Likewise.
9168 (cosh_test_upward): Likewise.
9169 (cpow_test): Likewise.
9170 (csin_test): Likewise.
9171 (csinh_test): Likewise.
9172 (csqrt_test): Likewise.
9173 (ctan_test): Likewise.
9174 (ctan_test_tonearest): Likewise.
9175 (ctan_test_towardzero): Likewise.
9176 (ctan_test_downward): Likewise.
9177 (ctan_test_upward): Likewise.
9178 (ctanh_test): Likewise.
9179 (ctanh_test_tonearest): Likewise.
9180 (ctanh_test_towardzero): Likewise.
9181 (ctanh_test_downward): Likewise.
9182 (ctanh_test_upward): Likewise.
9183 (erf_test): Likewise.
9184 (erfc_test): Likewise.
9185 (exp_test): Likewise.
9186 (exp_test_tonearest): Likewise.
9187 (exp_test_towardzero): Likewise.
9188 (exp_test_downward): Likewise.
9189 (exp_test_upward): Likewise.
9190 (exp10_test): Likewise.
9191 (exp2_test): Likewise.
9192 (expm1_test): Likewise.
9193 (fmod_test): Likewise.
9194 (gamma_test): Likewise.
9195 (hypot_test): Likewise.
9196 (j0_test): Likewise.
9197 (j1_test): Likewise.
9198 (jn_test): Likewise.
9199 (lgamma_test): Likewise.
9200 (log_test): Likewise.
9201 (log10_test): Likewise.
9202 (log1p_test): Likewise.
9203 (log2_test): Likewise.
9204 (logb_test_downward): Likewise.
9205 (pow_test): Likewise.
9206 (pow_test_tonearest): Likewise.
9207 (pow_test_towardzero): Likewise.
9208 (pow_test_downward): Likewise.
9209 (pow_test_upward): Likewise.
9210 (remainder_test): Likewise.
9211 (remquo_test): Likewise.
9212 (sin_test): Likewise.
9213 (sin_test_tonearest): Likewise.
9214 (sin_test_towardzero): Likewise.
9215 (sin_test_downward): Likewise.
9216 (sin_test_upward): Likewise.
9217 (sincos_test): Likewise.
9218 (sinh_test): Likewise.
9219 (sinh_test_tonearest): Likewise.
9220 (sinh_test_towardzero): Likewise.
9221 (sinh_test_downward): Likewise.
9222 (sinh_test_upward): Likewise.
9223 (sqrt_test): Likewise.
9224 (tan_test): Likewise.
9225 (tan_test_tonearest): Likewise.
9226 (tan_test_towardzero): Likewise.
9227 (tan_test_downward): Likewise.
9228 (tan_test_upward): Likewise.
9229 (tanh_test): Likewise.
9230 (tgamma_test): Likewise.
9231 (y0_test): Likewise.
9232 (y1_test): Likewise.
9233 (yn_test): Likewise.
9235 * math/gen-libm-test.pl (adjust_arg): Remove function.
9236 (special_function): Remove argument $in_func. Only handle
9237 generating output for tables of tests, not inside functions.
9238 (parse_args): Likewise.
9239 (generate_testfile): Remove variable $in_func. Update call to
9241 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9242 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9243 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9244 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9245 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9246 (MAX_VALUE_INIT): Rename macro to max_value.
9247 (MIN_VALUE_INIT): Rename macro to min_value.
9248 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9249 (plus_zero): Remove variable.
9250 (minus_zero): Likewise.
9251 (plus_infty): Likewise.
9252 (minus_infty): Likewise.
9253 (qnan_value): Likewise.
9254 (max_value): Likewise.
9255 (min_value): Likewise.
9256 (min_subnorm_value): Likewise.
9258 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9260 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9261 uint64_t or uint32_t usage.
9262 * crypt/sha256-block.c: Likewise.
9263 * crypt/sha256-crypt.c: Likewise.
9264 * crypt/sha256.c: Likewise.
9265 * crypt/sha512-block.c: Likewise.
9266 * crypt/sha512-crypt.c: Likewise.
9267 * crypt/sha512.c: Likewise.
9268 * debug/backtrace-tst.c: Likewise.
9269 * debug/pcprofiledump.c: Likewise.
9270 * elf/cache.c: Likewise.
9271 * elf/dl-cache.c: Likewise.
9272 * elf/dl-misc.c: Likewise.
9273 * elf/dl-profile.c: Likewise.
9274 * elf/dl-support.c: Likewise.
9275 * elf/ldconfig.c: Likewise.
9276 * elf/sprof.c: Likewise.
9277 * iconv/dummy-repertoire.c: Likewise.
9278 * iconv/iconv_charmap.c: Likewise.
9279 * iconv/skeleton.c: Likewise.
9280 * iconvdata/8bit-generic.c: Likewise.
9281 * iconvdata/cp737.h: Likewise.
9282 * iconvdata/cp775.h: Likewise.
9283 * iconvdata/ibm1008.h: Likewise.
9284 * iconvdata/ibm1025.h: Likewise.
9285 * iconvdata/ibm1046.h: Likewise.
9286 * iconvdata/ibm1097.h: Likewise.
9287 * iconvdata/ibm1112.h: Likewise.
9288 * iconvdata/ibm1122.h: Likewise.
9289 * iconvdata/ibm1123.h: Likewise.
9290 * iconvdata/ibm1124.h: Likewise.
9291 * iconvdata/ibm1129.h: Likewise.
9292 * iconvdata/ibm1130.h: Likewise.
9293 * iconvdata/ibm1132.h: Likewise.
9294 * iconvdata/ibm1133.h: Likewise.
9295 * iconvdata/ibm1137.h: Likewise.
9296 * iconvdata/ibm1140.h: Likewise.
9297 * iconvdata/ibm1141.h: Likewise.
9298 * iconvdata/ibm1142.h: Likewise.
9299 * iconvdata/ibm1143.h: Likewise.
9300 * iconvdata/ibm1144.h: Likewise.
9301 * iconvdata/ibm1145.h: Likewise.
9302 * iconvdata/ibm1146.h: Likewise.
9303 * iconvdata/ibm1147.h: Likewise.
9304 * iconvdata/ibm1148.h: Likewise.
9305 * iconvdata/ibm1149.h: Likewise.
9306 * iconvdata/ibm1153.h: Likewise.
9307 * iconvdata/ibm1154.h: Likewise.
9308 * iconvdata/ibm1155.h: Likewise.
9309 * iconvdata/ibm1156.h: Likewise.
9310 * iconvdata/ibm1157.h: Likewise.
9311 * iconvdata/ibm1158.h: Likewise.
9312 * iconvdata/ibm1160.h: Likewise.
9313 * iconvdata/ibm1161.h: Likewise.
9314 * iconvdata/ibm1162.h: Likewise.
9315 * iconvdata/ibm1163.h: Likewise.
9316 * iconvdata/ibm1164.h: Likewise.
9317 * iconvdata/ibm1166.h: Likewise.
9318 * iconvdata/ibm1167.h: Likewise.
9319 * iconvdata/ibm12712.h: Likewise.
9320 * iconvdata/ibm1390.h: Likewise.
9321 * iconvdata/ibm1399.h: Likewise.
9322 * iconvdata/ibm16804.h: Likewise.
9323 * iconvdata/ibm4517.h: Likewise.
9324 * iconvdata/ibm4899.h: Likewise.
9325 * iconvdata/ibm4909.h: Likewise.
9326 * iconvdata/ibm4971.h: Likewise.
9327 * iconvdata/ibm5347.h: Likewise.
9328 * iconvdata/ibm803.h: Likewise.
9329 * iconvdata/ibm856.h: Likewise.
9330 * iconvdata/ibm901.h: Likewise.
9331 * iconvdata/ibm902.h: Likewise.
9332 * iconvdata/ibm9030.h: Likewise.
9333 * iconvdata/ibm9066.h: Likewise.
9334 * iconvdata/ibm921.h: Likewise.
9335 * iconvdata/ibm922.h: Likewise.
9336 * iconvdata/ibm9448.h: Likewise.
9337 * iconvdata/isiri-3342.h: Likewise.
9338 * iconvdata/jis0201.h: Likewise.
9339 * include/link.h: Likewise.
9340 * include/netdb.h: Likewise.
9341 * inet/check_native.c: Likewise.
9342 * inet/check_pf.c: Likewise.
9343 * inet/getipv4sourcefilter.c: Likewise.
9344 * inet/getnameinfo.c: Likewise.
9345 * inet/getsourcefilter.c: Likewise.
9346 * inet/htonl.c: Likewise.
9347 * inet/setipv4sourcefilter.c: Likewise.
9348 * inet/setsourcefilter.c: Likewise.
9349 * inet/test-inet6_opt.c: Likewise.
9350 * inet/tst-network.c: Likewise.
9351 * locale/C-collate.c: Likewise.
9352 * locale/C-ctype.c: Likewise.
9353 * locale/C-time.c: Likewise.
9354 * locale/C-translit.h: Likewise.
9355 * locale/loadarchive.c: Likewise.
9356 * locale/programs/3level.h: Likewise.
9357 * locale/programs/charmap.c: Likewise.
9358 * locale/programs/charmap.h: Likewise.
9359 * locale/programs/ld-address.c: Likewise.
9360 * locale/programs/ld-collate.c: Likewise.
9361 * locale/programs/ld-ctype.c: Likewise.
9362 * locale/programs/ld-identification.c: Likewise.
9363 * locale/programs/ld-measurement.c: Likewise.
9364 * locale/programs/ld-messages.c: Likewise.
9365 * locale/programs/ld-monetary.c: Likewise.
9366 * locale/programs/ld-name.c: Likewise.
9367 * locale/programs/ld-numeric.c: Likewise.
9368 * locale/programs/ld-paper.c: Likewise.
9369 * locale/programs/ld-telephone.c: Likewise.
9370 * locale/programs/ld-time.c: Likewise.
9371 * locale/programs/linereader.c: Likewise.
9372 * locale/programs/locale.c: Likewise.
9373 * locale/programs/locarchive.c: Likewise.
9374 * locale/programs/locfile.h: Likewise.
9375 * locale/programs/repertoire.c: Likewise.
9376 * locale/programs/simple-hash.c: Likewise.
9377 * locale/programs/simple-hash.h: Likewise.
9378 * malloc/memusage.c: Likewise.
9379 * malloc/memusagestat.c: Likewise.
9380 * nis/nis_defaults.c: Likewise.
9381 * nis/nis_hash.c: Likewise.
9382 * nis/nis_print.c: Likewise.
9383 * nis/nis_xdr.c: Likewise.
9384 * nscd/connections.c: Likewise.
9385 * nscd/hstcache.c: Likewise.
9386 * nscd/nscd_gethst_r.c: Likewise.
9387 * nscd/nscd_getserv_r.c: Likewise.
9388 * nscd/nscd_helper.c: Likewise.
9389 * nscd/servicescache.c: Likewise.
9390 * nss/makedb.c: Likewise.
9391 * nss/nss_db/db-XXX.c: Likewise.
9392 * nss/nss_db/db-initgroups.c: Likewise.
9393 * nss/nss_db/db-netgrp.c: Likewise.
9394 * nss/nss_files/files-network.c: Likewise.
9395 * nss/nss_files/files-parse.c: Likewise.
9396 * posix/bug-regex5.c: Likewise.
9397 * posix/fnmatch_loop.c: Likewise.
9398 * posix/regcomp.c: Likewise.
9399 * posix/regexec.c: Likewise.
9400 * posix/tst-rfc3484-2.c: Likewise.
9401 * posix/tst-rfc3484-3.c: Likewise.
9402 * posix/tst-rfc3484.c: Likewise.
9403 * resolv/nss_dns/dns-canon.c: Likewise.
9404 * resolv/nss_dns/dns-network.c: Likewise.
9405 * resolv/res_init.c: Likewise.
9406 * resolv/res_mkquery.c: Likewise.
9407 * resolv/tst-aton.c: Likewise.
9408 * stdlib/cxa_atexit.c: Likewise.
9409 * stdlib/cxa_finalize.c: Likewise.
9410 * stdlib/gen-fpioconst.c: Likewise.
9411 * stdlib/strtol_l.c: Likewise.
9412 * string/tst-endian.c: Likewise.
9413 * sunrpc/auth_des.c: Likewise.
9414 * sunrpc/clnt_udp.c: Likewise.
9415 * sunrpc/rtime.c: Likewise.
9416 * sunrpc/svcauth_des.c: Likewise.
9417 * sunrpc/xdr.c: Likewise.
9418 * sunrpc/xdr_intXX_t.c: Likewise.
9419 * sunrpc/xdr_rec.c: Likewise.
9420 * sysdeps/generic/ldconfig.h: Likewise.
9421 * sysdeps/generic/ldsodefs.h: Likewise.
9422 * sysdeps/generic/memusage.h: Likewise.
9423 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9426 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9432 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9433 * sysdeps/posix/getaddrinfo.c: Likewise.
9434 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9435 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9436 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9437 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9438 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9439 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9440 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9441 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9442 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9443 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9444 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9445 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9446 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9447 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9448 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9449 * sysdeps/x86_64/dl-tls.h: Likewise.
9450 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9451 * time/alt_digit.c: Likewise.
9452 * time/era.c: Likewise.
9453 * wcsmbs/tst-c16c32-1.c: Likewise.
9455 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9457 * math/libm-test.inc (struct test_sincos_data): New type.
9458 (RUN_TEST_LOOP_sincos): New macro.
9459 (sincos_test_data): New variable.
9460 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9462 2013-05-16 Richard Henderson <rth@redhat.com>
9464 * math/atest-exp2.c (LIMB64): New macro.
9465 (CONSTSZ): New macro.
9466 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9468 (print_mpn_fp): ... to function scope.
9469 (read_mpn_hex): Remove.
9471 (exp2_mpn): Use mp_log2.
9472 (main): Use mp_exp1.
9474 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9476 * math/libm-test.inc: Remove comment about not testing "inexact"
9478 (INEXACT_EXCEPTION): New macro.
9479 (NO_INEXACT_EXCEPTION): Likewise.
9480 (INVALID_EXCEPTION_OK): Update value.
9481 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9482 (OVERFLOW_EXCEPTION_OK): Likewise.
9483 (UNDERFLOW_EXCEPTION_OK): Likewise.
9484 (IGNORE_ZERO_INF_SIGN): Likewise.
9485 (ERRNO_UNCHANGED): Likewise.
9486 (ERRNO_EDOM): Likewise.
9487 (ERRNO_ERANGE): Likewise.
9488 (test_exceptions): Handle testing "inexact" exceptions.
9489 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9490 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9491 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9492 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9494 (rint_towardzero_test_data): Likewise.
9495 (rint_downward_test_data): Likewise.
9496 (rint_upward_test_data): Likewise.
9498 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9499 with OVERFLOW_EXCEPTION.
9500 (exp10_test_data): Likewise.
9501 (exp2_test_data): Likewise.
9502 (expm1_test_data): Likewise.
9503 (lgamma_test_data): Likewise.
9504 (pow_test_data): Likewise.
9505 (tgamma_test_data): Likewise.
9506 (yn_test_data): Remove duplicate test of overflow.
9508 * math/libm-test.inc (struct test_cc_c_data): New type.
9509 (RUN_TEST_LOOP_cc_c): New macro.
9510 (cpow_test_data): New variable.
9511 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9513 * math/libm-test.inc (struct test_f_L_data): New type.
9514 (RUN_TEST_LOOP_f_L): New macro.
9515 (llrint_test_data): New variable.
9516 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9517 (llrint_tonearest_test_data): New variable.
9518 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9519 (llrint_towardzero_test_data): New variable.
9520 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9521 (llrint_downward_test_data): New variable.
9522 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9523 (llrint_upward_test_data): New variable.
9524 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9525 (llround_test_data): New variable.
9526 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9528 2013-05-13 Peter Collingbourne <pcc@google.com>
9530 * math/atest-exp2.c (get_log2): Remove const attribute.
9532 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9534 * math/libm-test.inc (struct test_f_l_data): New type.
9535 (RUN_TEST_LOOP_f_l): New macro.
9536 (lrint_test_data): New variable.
9537 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9538 (lrint_tonearest_test_data): New variable.
9539 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9540 (lrint_towardzero_test_data): New variable.
9541 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9542 (lrint_downward_test_data): New variable.
9543 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9544 (lrint_upward_test_data): New variable.
9545 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9546 (lround_test_data): New variable.
9547 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9549 2013-05-15 Peter Collingbourne <pcc@google.com>
9551 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9552 (EXTRACT_WORDS64) Use where appropriate.
9553 (INSERT_WORDS64) Likewise.
9555 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9556 constraints with x constraints.
9557 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9559 * malloc/obstack.c (_obstack_compat): Add initializer.
9561 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9563 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9564 si_trapno and add si_addr_lsb to _sifields.sigfault.
9565 (si_trapno): Remove macro.
9566 (si_addr_lsb): Define new macro.
9567 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9569 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9571 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9572 instead of TEST_f_l.
9573 (llrint_test_tonearest): Likewise.
9574 (llrint_test_towardzero): Likewise.
9575 (llrint_test_downward): Likewise.
9576 (llrint_test_upward): Likewise.
9577 (llround_test): Likewise.
9579 * math/libm-test.inc (struct test_f_i_data): Add comment.
9580 (RUN_TEST_LOOP_f_b): New macro.
9581 (RUN_TEST_LOOP_f_b_tg): Likewise.
9582 (finite_test_data): New variable.
9583 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9584 (isfinite_test_data): New variable.
9585 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9586 (isinf_test_data): New variable.
9587 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9588 (isnan_test_data): New variable.
9589 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9590 (isnormal_test_data): New variable.
9591 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9592 (issignaling_test_data): New variable.
9593 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9594 (signbit_test_data): New variable.
9595 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9597 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9598 with INVALID_EXCEPTION.
9599 (acosh_test_data): Likewise.
9600 (asin_test_data): Likewise.
9601 (atanh_test_data): Likewise.
9602 (fmod_test_data): Likewise.
9603 (log_test_data): Likewise.
9604 (log10_test_data): Likewise.
9605 (log2_test_data): Likewise.
9606 (pow_test_data): Likewise.
9607 (sqrt_test_data): Likewise.
9608 (y0_test_data): Likewise.
9609 (y1_test_data): Likewise.
9610 (yn_test_data): Likewise.
9612 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9615 * math/libm-test.inc (struct test_ff_i_data): New type.
9616 (RUN_TEST_LOOP_ff_i_tg): New macro.
9617 (isgreater_test_data): New variable.
9618 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9619 (isgreaterequal_test_data): New variable.
9620 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9621 (isless_test_data): New variable.
9622 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9623 (islessequal_test_data): New variable.
9624 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9625 (islessgreater_test_data): New variable.
9626 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9627 (isunordered_test_data): New variable.
9628 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9630 2013-05-14 David S. Miller <davem@davemloft.net>
9632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9634 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9636 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9638 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9640 (struct test_f_i_data): Change type of max_ulp to int.
9642 * math/libm-test.inc (test_ffI_f1_data): New type.
9643 (RUN_TEST_LOOP_ffI_f1): New macro.
9644 (remquo_test_data): New variable.
9645 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9647 * setjmp/tst-setjmp-fp.c: New file.
9648 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9649 (link-libm): New variable.
9650 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9652 * math/libm-test.inc (struct test_f_i_data): New type.
9653 (RUN_TEST_LOOP_f_i): New macro.
9654 (RUN_TEST_LOOP_f_i_tg): Likewise.
9655 (fpclassify_test_data): New variable.
9656 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9657 (ilogb_test_data): New variable.
9658 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9660 * math/libm-test.inc (scalbln_test): Correct function name in END
9663 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9664 (RUN_TEST_LOOP_fI_f1): New macro.
9665 (frexp_test_data): New variable.
9666 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9668 * math/libm-test.inc (struct test_fF_f1_data): New type.
9669 (RUN_TEST_LOOP_fF_f1): New macro.
9670 (modf_test_data): New variable.
9671 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9673 * math/libm-test.inc (struct test_f_f1_data): New type.
9674 (RUN_TEST_LOOP_f_f1): New macro.
9675 (gamma_test_data): New variable.
9676 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9677 (lgamma_test_data): New variable.
9678 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9680 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9682 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9683 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9684 (main): Comment "tls" pseudo-hwcap.
9686 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9688 * math/libm-test.inc (struct test_fl_f_data): New type.
9689 (RUN_TEST_LOOP_fl_f): New variable.
9690 (scalbln_test_data): New variable.
9691 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9693 * math/libm-test.inc (struct test_fi_f_data): New type.
9694 (RUN_TEST_LOOP_fi_f): New macro.
9695 (ldexp_test_data): New variable.
9696 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9697 (scalbn_test_data): New variable.
9698 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9700 * math/libm-test.inc (struct test_c_f_data): New type.
9701 (RUN_TEST_LOOP_c_f): New macro.
9702 (cabs_test_data): New variable.
9703 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9704 (carg_test_data): New variable.
9705 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9706 (cimag_test_data): New variable.
9707 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9708 (creal_test_data): New variable.
9709 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9711 * math/libm-test.inc (struct test_if_f_data): New type.
9712 (RUN_TEST_LOOP_if_f): New macro.
9713 (jn_test_data): New variable.
9714 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9715 (yn_test_data): New variable.
9716 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9718 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9720 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9722 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9723 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9725 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9727 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9728 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9729 (bench-deps): Add bench-timing.h.
9730 * benchtests-bench-skeleton.c: Include bench-timing.h.
9731 (main): Use TIMING_* macros instead of clock_gettime.
9732 * benchtests/bench-timing.h: New file.
9735 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9736 Renamed from _LIB_VERSION.
9737 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9739 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9741 * math/libm-test.inc (struct test_fff_f_data): New type.
9742 (RUN_TEST_LOOP_fff_f): New macro.
9743 (fma_test_data): New variable.
9744 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9745 (fma_towardzero_test_data): New variable.
9746 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9747 (fma_downward_test_data): New variable.
9748 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9749 (fma_upward_test_data): New variable.
9750 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9752 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9753 (struct test_c_c_data): New type.
9754 (RUN_TEST_LOOP_c_c): New macro.
9755 (cacos_test_data): New variable.
9756 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9757 (cacosh_test_data): New variable.
9758 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9759 (casin_test_data): New variable.
9760 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9761 (casinh_test_data): New variable.
9762 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9763 (catan_test_data): New variable.
9764 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9765 (catanh_test_data): New variable.
9766 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9767 (ccos_test_data): New variable.
9768 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9769 (ccosh_test_data): New variable.
9770 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9771 (cexp_test_data): New variable.
9772 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9773 (clog_test_data): New variable.
9774 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9775 (clog10_test_data): New variable.
9776 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9777 (conj_test_data): New variable.
9778 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9779 (cproj_test_data): New variable.
9780 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9781 (csin_test_data): New variable.
9782 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9783 (csinh_test_data): New variable.
9784 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9785 (csqrt_test_data): New variable.
9786 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9787 (ctan_test_data): New variable.
9788 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9789 (ctan_tonearest_test_data): New variable.
9790 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9791 (ctan_towardzero_test_data): New variable.
9792 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9793 (ctan_downward_test_data): New variable.
9794 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9795 (ctan_upward_test_data): New variable.
9796 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9797 (ctanh_test_data): New variable.
9798 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9799 (ctanh_tonearest_test_data): New variable.
9800 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9801 (ctanh_towardzero_test_data): New variable.
9802 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9803 (ctanh_downward_test_data): New variable.
9804 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9805 (ctanh_upward_test_data): New variable.
9806 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9807 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9810 * math/libm-test.inc (struct test_ff_f_data): New type.
9811 (struct test_ff_f_data_nexttoward): Likewise.
9812 (RUN_TEST_LOOP_2_f): New macro.
9813 (RUN_TEST_LOOP_ff_f): Likewise.
9814 (atan2_test_data): New variable.
9815 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9816 (copysign_test_data): New variable.
9817 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9818 (fdim_test_data): New variable.
9819 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9820 (fmax_test_data): New variable.
9821 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9822 (fmin_test_data): New variable.
9823 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9824 (fmod_test_data): New variable.
9825 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9826 (hypot_test_data): New variable.
9827 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9828 (nextafter_test_data): New variable.
9829 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9830 (nexttoward_test_data): New variable.
9831 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9832 (pow_test_data): New variable.
9833 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9834 (pow_tonearest_test_data): New variable.
9835 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9836 (pow_towardzero_test_data): New variable.
9837 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9838 (pow_downward_test_data): New variable.
9839 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9840 (pow_upward_test_data): New variable.
9841 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9842 (remainder_test_data): New variable.
9843 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9844 (scalb_test_data): New variable.
9845 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9846 * sysdeps/i386/fpu/libm-test-ulps: Update.
9848 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9850 * math/libm-test.inc (fma_test): Use max_value instead of local
9852 (nextafter_test): Likewise.
9854 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9855 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9856 (acos_downward_test_data): New variable.
9857 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9858 (acos_upward_test_data): New variable.
9859 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9860 (acosh_test_data): New variable.
9861 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9862 (asin_test_data): New variable.
9863 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9864 (asin_tonearest_test_data): New variable.
9865 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9866 (asin_towardzero_test_data): New variable.
9867 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9868 (asin_downward_test_data): New variable.
9869 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9870 (asin_upward_test_data): New variable.
9871 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9872 (asinh_test_data): New variable.
9873 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9874 (atan_test_data): New variable.
9875 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9876 (atanh_test_data): New variable.
9877 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9878 (cbrt_test_data): New variable.
9879 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9880 (ceil_test_data): New variable.
9881 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9882 (cos_test_data): New variable.
9883 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9884 (cos_tonearest_test_data): New variable.
9885 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9886 (cos_towardzero_test_data): New variable.
9887 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9888 (cos_downward_test_data): New variable.
9889 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9890 (cos_upward_test_data): New variable.
9891 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9892 (cosh_test_data): New variable.
9893 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9894 (cosh_tonearest_test_data): New variable.
9895 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9896 (cosh_towardzero_test_data): New variable.
9897 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9898 (cosh_downward_test_data): New variable.
9899 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9900 (cosh_upward_test_data): New variable.
9901 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9902 (erf_test_data): New variable.
9903 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9904 (erfc_test_data): New variable.
9905 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9906 (exp_test_data): New variable.
9907 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9908 (exp_tonearest_test_data): New variable.
9909 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9910 (exp_towardzero_test_data): New variable.
9911 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9912 (exp_downward_test_data): New variable.
9913 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9914 (exp_upward_test_data): New variable.
9915 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9916 (exp10_test_data): New variable.
9917 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9918 (exp2_test_data): New variable.
9919 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9920 (expm1_test_data): New variable.
9921 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9922 (fabs_test_data): New variable.
9923 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9924 (floor_test_data): New variable.
9925 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9926 (j0_test_data): New variable.
9927 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9928 (j1_test_data): New variable.
9929 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9930 (log_test_data): New variable.
9931 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9932 (log10_test_data): New variable.
9933 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9934 (log1p_test_data): New variable.
9935 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9936 (log2_test_data): New variable.
9937 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9938 (logb_test_data): New variable.
9939 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9940 (logb_downward_test_data): New variable.
9941 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9942 (nearbyint_test_data): New variable.
9943 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9944 (rint_test_data): New variable.
9945 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9946 (rint_tonearest_test_data): New variable.
9947 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9948 (rint_towardzero_test_data): New variable.
9949 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9950 (rint_downward_test_data): New variable.
9951 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9952 (rint_upward_test_data): New variable.
9953 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9954 (round_test_data): New variable.
9955 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9956 (sin_test_data): New variable.
9957 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9958 (sin_tonearest_test_data): New variable.
9959 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9960 (sin_towardzero_test_data): New variable.
9961 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9962 (sin_downward_test_data): New variable.
9963 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9964 (sin_upward_test_data): New variable.
9965 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9966 (sinh_test_data): New variable.
9967 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9968 (sinh_tonearest_test_data): New variable.
9969 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9970 (sinh_towardzero_test_data): New variable.
9971 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9972 (sinh_downward_test_data): New variable.
9973 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9974 (sinh_upward_test_data): New variable.
9975 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9976 (sqrt_test_data): New variable.
9977 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9978 (tan_test_data): New variable.
9979 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9980 (tan_tonearest_test_data): New variable.
9981 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9982 (tan_towardzero_test_data): New variable.
9983 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9984 (tan_downward_test_data): New variable.
9985 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9986 (tan_upward_test_data): New variable.
9987 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9988 (tanh_test_data): New variable.
9989 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9990 (tgamma_test_data): New variable.
9991 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9992 (trunc_test_data): New variable.
9993 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9994 (y0_test_data): New variable.
9995 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9996 (y1_test_data): New variable.
9997 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9998 (significand_test_data): New variable.
9999 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10001 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10004 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10006 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10008 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10010 2013-05-10 Andreas Jaeger <aj@suse.de>
10013 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10014 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10016 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10018 * math/gen-libm-test.pl (adjust_arg): New function.
10019 (special_functions): Handle generating output in both functions
10021 (parse_args): Likewise.
10022 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10023 $in_func argument to parse_args.
10024 * math/libm-test.inc (struct test_f_f_data): New type.
10025 (IF_ROUND_INIT_): New macro.
10026 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10027 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10028 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10029 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10030 (ROUND_RESTORE_): Likewise.
10031 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10032 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10033 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10034 (ROUND_RESTORE_FE_UPWARD): Likewise.
10035 (RUN_TEST_LOOP_f_f): New macro.
10036 (acos_test_data): New variable.
10037 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10038 (acos_tonearest_test_data): New variable.
10039 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10041 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10043 * benchtests/bench-skeleton.c (startup): Fix coding style.
10045 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10048 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10049 negative infinity argument.
10050 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10051 negative infinity argument.
10052 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10053 negative infinity argument.
10054 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10057 2013-05-10 Florian Weimer <fweimer@redhat.com>
10059 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10060 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10061 * iconv/iconv_prog.c (main): Likewise.
10062 * locale/programs/charmap-dir.c (charmap_readdir)
10063 (fopen_uncompressed): Likewise.
10064 * locale/programs/locfile.c (siblings_uncached)
10065 (write_locale_data): Use lstat64 instead of lstat.
10066 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10069 2013-05-10 Andreas Jaeger <aj@suse.de>
10072 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10074 Include <locale.h>.
10076 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10078 * elf/dl-close.c (_dl_close_worker): Add comments.
10080 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10083 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10085 (__ieee754_rem_pio2l): Update comments.
10088 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10090 (__ieee754_rem_pio2l): Update comments.
10092 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10093 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10095 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10098 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10099 (M_PI_34_LOG10El): Likewise.
10100 (M_PI2_LOG10El): Likewise.
10101 (M_PI4_LOG10El): Likewise.
10102 (M_PI_LOG10El): Likewise.
10104 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10108 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10110 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10111 (MINUS_ZERO_INIT): Likewise.
10112 (PLUS_INFTY_INIT): Likewise.
10113 (MINUS_INFTY_INIT): Likewise.
10114 (QNAN_VALUE_INIT): Likewise.
10115 (MAX_VALUE_INIT): Likewise.
10116 (MIN_VALUE_INIT): Likewise.
10117 (MIN_SUBNORM_VALUE_INIT): Likewise.
10118 (plus_zero): Initialize with PLUS_ZERO_INIT.
10119 (minus_zero): Initialize with MINUS_ZERO_INIT.
10120 (plus_infty): Initialize with PLUS_INFTY_INIT.
10121 (minus_infty): Initialize with MINUS_INFTY_INIT.
10122 (qnan_value): Initialize with QNAN_VALUE_INIT.
10123 (max_value): Initialize with MAX_VALUE_INIT.
10124 (min_value): Initialize with MIN_VALUE_INIT.
10125 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10127 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10128 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10129 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10130 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10132 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10133 (RUN_TEST_2_f): Likewise.
10134 (RUN_TEST_ff_f): Likewise.
10135 (RUN_TEST_fi_f): Likewise.
10136 (RUN_TEST_fl_f): Likewise.
10137 (RUN_TEST_fff_f): Likewise.
10138 (RUN_TEST_c_f): Likewise.
10139 (RUN_TEST_f_f1): Likewise.
10140 (RUN_TEST_fF_f1): Likewise.
10141 (RUN_TEST_fI_f1): Likewise.
10142 (RUN_TEST_ffI_f1): Likewise.
10143 (RUN_TEST_c_c): Likewise.
10144 (RUN_TEST_cc_c): Likewise.
10145 (RUN_TEST_f_i): Likewise.
10146 (RUN_TEST_f_i_tg): Likewise.
10147 (RUN_TEST_ff_i_tg): Likewise.
10148 (RUN_TEST_f_b): Likewise.
10149 (RUN_TEST_f_b_tg): Likewise.
10150 (RUN_TEST_f_l): Likewise.
10151 (RUN_TEST_f_L): Likewise.
10152 (RUN_TEST_sincos): Likewise.
10153 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10154 whether to show exceptions. Do not include ");\n" in return
10156 (special_functions): Output call to RUN_TEST_sincos instead of
10157 check_float calls. Update calls to new_test.
10158 (parse_args): Output call to single RUN_TEST_* macro instead of
10159 check_* calls and other assignments. Update calls to new_test.
10165 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10166 input to result for tgamma overflow.
10167 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10168 (gamma_coeff): New variable.
10169 (NCOEFF): New macro.
10170 (gamma_positive): New function.
10171 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10172 underflow here. Use gamma_positive instead of exp (lgamma) for
10174 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10175 (gamma_coeff): New variable.
10176 (NCOEFF): New macro.
10177 (gammaf_positive): New function.
10178 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10179 underflow here. Use gamma_positive instead of exp (lgamma) for
10181 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10182 (gamma_coeff): New variable.
10183 (NCOEFF): New macro.
10184 (gammal_positive): New function.
10185 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10186 underflow here. Use gamma_positive instead of exp (lgamma) for
10188 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10189 (gamma_coeff): New variable.
10190 (NCOEFF): New macro.
10191 (gammal_positive): New function.
10192 (__ieee754_gammal_r): Handle positive infinity, overflow and
10193 underflow here. Handle NaN the same as positive infinity. Remove
10194 check x < 0xffffffff for negative integers. Use gamma_positive
10195 instead of exp (lgamma) for other arguments.
10196 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10197 (gamma_coeff): New variable.
10198 (NCOEFF): New macro.
10199 (gammal_positive): New function.
10200 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10201 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10202 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10203 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10205 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10206 * sysdeps/generic/math_private.h (__gamma_productf): New
10208 (__gamma_product): Likewise.
10209 (__gamma_productl): Likewise.
10210 * math/Makefile (libm-calls): Add gamma_product.
10211 * math/libm-test.inc (tgamma_test): Add more tests.
10212 * sysdeps/i386/fpu/libm-test-ulps: Update.
10213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10215 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10217 * benchtests/bench-skeleton.c (main): Preheat CPU.
10219 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10221 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10223 2013-05-07 Roland McGrath <roland@hack.frob.com>
10225 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10226 and _dl_skip_args_internal.
10228 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10230 * manual/message.texi (Message Translation): Talk about users.
10231 Message to key mapping impacts design.
10233 2013-05-06 Roland McGrath <roland@hack.frob.com>
10235 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10237 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10239 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10240 * sysdeps/wordsize-64/glob64.c: ... here.
10242 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10243 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10246 * debug/getlogin_r_chk.c: Moved to ...
10247 * login/getlogin_r_chk.c: ... here.
10248 * debug/Makefile (routines): Move getlogin_r_chk to ...
10249 * login/Makefile (routines): ... here.
10250 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10251 * login/Versions (libc: GLIBC_2.4): ... here.
10253 * io/poll.c (__poll): Renamed from poll.
10254 Add libc_hidden_def.
10255 (poll): Define as weak alias.
10257 * debug/ptsname_r_chk.c: Moved to ...
10258 * login/ptsname_r_chk.c: ... here.
10259 * debug/Makefile (routines): Move ptsname_r_chk to ...
10260 * login/Makefile (routines): ... here.
10261 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10262 * login/Versions (libc: GLIBC_2.4): ... here.
10264 * posix/getlogin.c: Moved to ...
10265 * login/getlogin.c: ... here.
10266 * posix/getlogin_r.c: Moved to ...
10267 * login/getlogin_r.c: ... here.
10268 * posix/getlogin_r.c: Moved to ...
10269 * login/getlogin_r.c: ... here.
10270 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10271 * login/Makefile (routines): ... here.
10272 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10273 * login/Versions (libc: GLIBC_2.0): ... here.
10275 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10276 (setrlimit): Define as weak alias.
10278 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10279 Call __ names for open, ftruncate, and close.
10280 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10281 (truncate): Define as weak alias.
10283 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10285 * math/gen-libm-test.pl (parse_args): Initialize x before each
10286 test of frexp, modf and remquo.
10288 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10289 test signgam value.
10291 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10295 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10297 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10299 2013-05-06 Roland McGrath <roland@hack.frob.com>
10301 * elf/dl-writev.h: New file.
10302 * elf/dl-misc.c: Include it.
10303 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10304 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10306 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10308 * math/libm-test.inc (noXFails): Remove variable.
10309 (noXPasses): Likewise.
10310 (BUILD_COMPLEX_INT): Remove macro.
10311 (print_screen): Remove xfail argument.
10312 (print_screen_max_error): Likewise.
10313 (update_stats): Likewise.
10314 (print_max_error): Likewise. Update calls to other affected
10316 (print_complex_max_error): Likewise.
10317 (test_single_exception): Update calls to print_screen.
10318 (test_single_errno): Likewise.
10319 (check_float_internal): Remove xfail argument. Update calls to
10320 other affected functions.
10321 (check_float): Likewise.
10322 (check_complex): Likewise.
10323 (check_int): Likewise.
10324 (check_long): Likewise.
10325 (check_bool): Likewise.
10326 (check_longlong): Likewise.
10327 (main): Don't print noXFails and noXPasses.
10328 * math/gen-libm-test.pl (top level): Don't mention expected
10329 failure handling in comment.
10330 (new_test): Don't handle expected failures.
10331 (parse_args): Don't mention expected failure handling in comment.
10332 (generate_testfile): Don't handle expected failures.
10333 (parse_ulps): Likewise.
10334 (print_ulps_file): Likewise.
10335 (get_failure): Remove function.
10336 (output_test): Don't handle expected failures.
10337 * make/README.libm-test: Don't mention expected failure handling.
10339 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10340 (minus_zero): Likewise.
10341 (plus_infty): Likewise.
10342 (minus_infty): Likewise.
10343 (qnan_value): Likewise.
10344 (max_value): Likewise.
10345 (min_value): Likewise.
10346 (min_subnorm_value): Likewise.
10347 (initialize): Do not initialize those variables dynamically.
10349 2013-05-03 Roland McGrath <roland@hack.frob.com>
10351 * io/open.c (__open_2): Moved to ...
10352 * io/open_2.c: ... this new file.
10353 * io/open64.c (__open64_2): Moved to ...
10354 * io/open64_2.c: ... this new file.
10355 * io/openat.c (__openat_2): Moved to ...
10356 * io/openat_2.c: ... this new file.
10357 * io/openat64.c (__openat64_2): Moved to ...
10358 * io/openat64_2.c: ... this new file.
10359 * io/Makefile (routines): Add them.
10360 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10361 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10362 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10363 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10364 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10365 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10366 (__openat64): Add hidden_ver.
10367 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10368 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10370 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10371 Separately conditionalize setting of GLRO(dl_sysinfo) so
10372 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10373 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10375 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10377 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10378 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10380 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10381 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10382 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10383 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10384 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10386 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10388 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10389 test signgam value.
10391 * math/libm-test.inc (hypot_test): Do not use
10392 IGNORE_ZERO_INF_SIGN.
10394 2013-05-03 Andreas Jaeger <aj@suse.de>
10396 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10398 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10399 (PF_MAX): Adjust for VSOCK change.
10401 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10405 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10408 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10409 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10410 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10412 2013-05-02 David S. Miller <davem@davemloft.net>
10414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10416 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10418 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10420 2013-05-01 Roland McGrath <roland@hack.frob.com>
10422 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10424 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10427 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10428 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10429 Use __attribute__ ((__gnu_inline__)).
10430 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10431 Don't use __attribute__ ((__gnu_inline__)).
10433 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10436 * math/s_catan.c (__catan): Handle small real or imaginary part of
10437 input specially to avoid spurious underflow.
10438 * math/s_catanf.c (__catanf): Likewise.
10439 * math/s_catanh.c (__catanh): Likewise.
10440 * math/s_catanhf.c (__catanhf): Likewise.
10441 * math/s_catanhl.c (__catanhl): Likewise.
10442 * math/s_catanl.c (__catanl): Likewise.
10443 * math/libm-test.inc (catan_test): Add more tests.
10444 (catanh_test): Likewise.
10445 * sysdeps/i386/fpu/libm-test-ulps: Update.
10446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10448 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10452 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10455 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10456 accurately for denominator in atan2.
10457 * math/s_catanf.c (__catanf): Likewise.
10458 * math/s_catanh.c (__catanh): Likewise.
10459 * math/s_catanhf.c (__catanhf): Likewise.
10460 * math/s_catanhl.c (__catanhl): Likewise.
10461 * math/s_catanl.c (__catanl): Likewise.
10462 * math/libm-test.inc (catan_test): Add more tests.
10463 (catanh_test): Likewise.
10464 * sysdeps/i386/fpu/libm-test-ulps: Update.
10465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10467 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10469 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10471 * benchtests/Makefile (bench): Remove slow benchmarks.
10472 * benchtests/atan-inputs: Add slow benchmark inputs.
10473 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10474 (BENCH_FUNC): Accept variant offset.
10476 * benchtests/bench-skeleton.c (main): Run benchmark for each
10478 * benchtests/cos-inputs: Add slow benchmark inputs.
10479 * benchtests/exp-inputs: Likewise.
10480 * benchtests/pow-inputs: Likewise.
10481 * benchtests/sin-inputs: Likewise.
10482 * benchtests/slowatan-inputs: Remove.
10483 * benchtests/slowatan.c: Remove.
10484 * benchtests/slowcos-inputs: Remove.
10485 * benchtests/slowcos.c: Remove.
10486 * benchtests/slowexp-inputs: Remove.
10487 * benchtests/slowexp.c: Remove.
10488 * benchtests/slowpow-inputs: Remove.
10489 * benchtests/slowpow.c: Remove.
10490 * benchtests/slowsin-inputs: Remove.
10491 * benchtests/slowsin.c: Remove.
10492 * benchtests/slowtan-inputs: Remove.
10493 * benchtests/slowtan.c: Remove.
10494 * benchtests/tan-inputs: Add slow benchmark inputs.
10495 * scripts/bench.pl: Parse comments and directives.
10497 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10499 ($(objpfx)bench-%.c): Remove *-ITER.
10500 * benchtests/bench-modf.c: Remove definition of ITER.
10501 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10502 (main): Loop for DURATION seconds instead of fixed number of
10504 * scripts/bench.pl: Don't expect iterations in parameters.
10506 2013-04-29 Roland McGrath <roland@hack.frob.com>
10508 * io/fchdir.c (__fchdir): Renamed from fchdir.
10509 (fchdir): Define as weak alias.
10511 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10513 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10514 (ERRNO_EDOM): Likewise.
10515 (ERRNO_ERANGE): Likewise.
10516 (noErrnoTests): New variable.
10517 (init_max_error): Set errno to 0.
10518 (test_single_errno): New function.
10519 (test_errno): Likewise.
10520 (check_float_internal): Call test_errno. Set errno to 0.
10521 (check_complex): Refer to errno tests in comment.
10522 (check_int): Call test_errno. Set errno to 0.
10523 (check_long): Likewise.
10524 (check_bool): Likewise.
10525 (check_longlong): Likewise.
10526 (cos_test): Use ERRNO_* flags for errno tests instead of
10528 (expm1_test): Likewise.
10529 (fmod_test): Likewise.
10530 (ilogb_test): Likewise.
10531 (lgamma_test): Likewise.
10532 (pow_test): Likewise.
10533 (remainder_test): Likewise.
10534 (sin_test): Likewise.
10535 (tan_test): Likewise.
10536 (yn_test): Likewise.
10537 (initialize): Set errno to 0.
10538 (main): Print number of errno tests.
10539 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10541 2013-04-29 Andreas Jaeger <aj@suse.de>
10544 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10548 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10549 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10553 * stdlib/random.c (__initstate): Return NULL if
10557 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10558 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10561 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10565 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10567 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10568 of individual tests.
10569 (casin_test): Likewise.
10570 (casinh_test): Likewise.
10572 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10575 * math/s_catan.c (__catan): Handle arguments with large real or
10576 imaginary part separately without squaring.
10577 * math/s_catanf.c (__catanf): Likewise.
10578 * math/s_catanh.c (__catanh): Likewise.
10579 * math/s_catanhf.c (__catanhf): Likewise.
10580 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10582 (__catanhl): Handle arguments with large real or imaginary part
10583 separately without squaring.
10584 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10586 (__catanl): Handle arguments with large real or imaginary part
10587 separately without squaring.
10588 * math/libm-test.inc (catan_test): Add more tests.
10589 (catanh_test): Likewise.
10590 * sysdeps/i386/fpu/libm-test-ulps: Update.
10591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10593 2013-04-27 Andreas Jaeger <aj@suse.de>
10596 * stdlib/stdlib.h: Update guards for qecvt.
10597 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10600 2013-04-27 Allan McRae <allan@archlinux.org>
10602 * sysdeps/i386/fpu/libm-test-ulps: Update.
10604 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10607 * math/s_catan.c: Include <float.h>.
10608 (__catan): Ensure underflow exception occurs for underflowed
10610 * math/s_catanf.c: Include <float.h>.
10611 (__catanf): Ensure underflow exception occurs for underflowed
10613 * math/s_catanh.c: Include <float.h>.
10614 (__catanh): Ensure underflow exception occurs for underflowed
10616 * math/s_catanhf.c: Include <float.h>.
10617 (__catanhf): Ensure underflow exception occurs for underflowed
10619 * math/s_catanhl.c: Include <float.h>.
10620 (__catanhl): Ensure underflow exception occurs for underflowed
10622 * math/s_catanl.c: Include <float.h>.
10623 (__catanl): Ensure underflow exception occurs for underflowed
10625 * math/libm-test.inc (catan_test): Add more tests.
10626 (catanh_test): Likewise.
10629 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10630 underflowed result.
10631 * math/s_ccoshf.c (__ccoshf): Likewise.
10632 * math/s_ccoshl.c (__ccoshl): Likewise.
10633 * math/s_csin.c (__csin): Likewise.
10634 * math/s_csinf.c (__csinf): Likewise.
10635 * math/s_csinh.c (__csinh): Likewise.
10636 * math/s_csinhf.c (__csinhf): Likewise.
10637 * math/s_csinhl.c (__csinhl): Likewise.
10638 * math/s_csinl.c (__csinl): Likewise.
10639 * math/libm-test.inc (ccos_test): Add more tests.
10640 (ccosh_test): Likewise.
10641 (csin_test): Likewise.
10642 (csinh_test): Likewise.
10644 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10646 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10647 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10648 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10649 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10650 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10651 powerpc/power5+/fpu folders.
10652 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10655 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10659 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10661 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10662 additions to variable.
10663 [$(config-machine) = x86_64] (modules-names): Likewise.
10664 ($(objpfx)tst-audit3): Remove dependency.
10665 ($(objpfx)tst-audit3.out): Likewise.
10666 ($(objpfx)tst-audit4): Likewise.
10667 ($(objpfx)tst-audit4.out): Likewise.
10668 ($(objpfx)tst-audit5): Likewise.
10669 ($(objpfx)tst-audit5.out): Likewise.
10670 ($(objpfx)tst-audit6): Likewise.
10671 ($(objpfx)tst-audit6.out): Likewise.
10672 ($(objpfx)tst-audit7): Likewise.
10673 ($(objpfx)tst-audit7.out): Likewise.
10674 (tst-audit3-ENV): Remove variable.
10675 (tst-audit4-ENV): Likewise.
10676 (tst-audit5-ENV): Likewise.
10677 (tst-audit6-ENV): Likewise.
10678 (tst-audit7-ENV): Likewise.
10679 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10680 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10681 addition to variable.
10682 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10683 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10684 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10685 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10686 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10687 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10688 tst-audit3, tst-audit4 and tst-audit5.
10689 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10690 tst-audit6 and tst-audit7.
10691 [$(subdir) = elf] (modules-names): Add audit modules for those
10693 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10694 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10695 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10696 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10697 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10698 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10699 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10700 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10701 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10702 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10703 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10704 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10705 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10706 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10707 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10708 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10710 [$(subdir) = elf && $(config-cflags-avx) = yes]
10711 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10712 [$(subdir) = elf && $(config-cflags-avx) = yes]
10713 (CFLAGS-tst-auditmod4a.c): Likewise.
10714 [$(subdir) = elf && $(config-cflags-avx) = yes]
10715 (CFLAGS-tst-auditmod4b.c): Likewise.
10716 [$(subdir) = elf && $(config-cflags-avx) = yes]
10717 (CFLAGS-tst-auditmod6b.c): Likewise.
10718 [$(subdir) = elf && $(config-cflags-avx) = yes]
10719 (CFLAGS-tst-auditmod6c.c): Likewise.
10720 [$(subdir) = elf && $(config-cflags-avx) = yes]
10721 (CFLAGS-tst-auditmod7b.c): Likewise.
10722 * elf/tst-audit3.c: Move to ...
10723 * sysdeps/x86_64/tst-audit3.c: ... here.
10724 * elf/tst-audit4.c: Move to ...
10725 * sysdeps/x86_64/tst-audit4.c: ... here.
10726 * elf/tst-audit5.c: Move to ...
10727 * sysdeps/x86_64/tst-audit5.c: ... here.
10728 * elf/tst-audit6.c: Move to ...
10729 * sysdeps/x86_64/tst-audit6.c: ... here.
10730 * elf/tst-audit7.c: Move to ...
10731 * sysdeps/x86_64/tst-audit7.c: ... here.
10732 * elf/tst-auditmod3a.c: Move to ...
10733 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10734 * elf/tst-auditmod3b.c: Move to ...
10735 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10736 * elf/tst-auditmod4a.c: Move to ...
10737 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10738 * elf/tst-auditmod4b.c: Move to ...
10739 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10740 * elf/tst-auditmod5a.c: Move to ...
10741 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10742 * elf/tst-auditmod5b.c: Move to ...
10743 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10744 * elf/tst-auditmod6a.c: Move to ...
10745 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10746 * elf/tst-auditmod6b.c: Move to ...
10747 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10748 * elf/tst-auditmod6c.c: Move to ...
10749 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10750 * elf/tst-auditmod7a.c: Move to ...
10751 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10752 * elf/tst-auditmod7b.c: Move to ...
10753 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10755 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10758 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10759 define unconditionally.
10760 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10761 define unconditionally.
10762 (INT8_C, INT16_C, etc.): Likewise.
10764 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10766 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10767 __ehdr_start with hidden visibility.
10769 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10771 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10773 * math/libm-test.inc (cos_test): Use accurate hex constants.
10774 (sincost_test): Likewise.
10776 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10778 * math/libm-test.inc (catan_test): Add more tests.
10779 (catanh_test): Likewise.
10781 * math/s_catanf.c (__catanf): Use suffixed floating-point
10783 * math/s_catanhf.c (__catanhf): Likewise.
10784 * math/s_catanhl.c (__catanhl): Likewise.
10785 * math/s_catanl.c (__catanl): Likewise.
10788 * math/s_catan.c (__catan): Calculate imaginary part of result
10789 with log1p not log unless computing log of number close to 0.
10790 * math/s_catanf.c (__catanf): Likewise.
10791 * math/s_catanl.c (__catanl): Likewise.
10792 * math/s_catanh.c (__catanh): Calculate real part of result with
10793 log1p not log unless computing log of number close to 0.
10794 * math/s_catanhf.c (__catanhf): Likewise.
10795 * math/s_catanhl.c (__catanhl): Likewise.
10796 * math/libm-test.inc (catan_test): Add more tests.
10797 (catanh_test): Likewise.
10798 * sysdeps/i386/fpu/libm-test-ulps: Update.
10799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10801 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10803 * benchtests/Makefile: Mention files in which fast and slow
10804 paths of math functions are implemented.
10806 2013-04-23 Roland McGrath <roland@hack.frob.com>
10808 * sysdeps/posix/timespec_get.c: New file.
10810 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10812 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10814 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10816 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10817 powerpc/power5/fpu folders.
10818 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10819 * benchtests/Makefile: Add modf testcase.
10820 * benchtests/bench-modf.c: New file: Benchmark test for mo
10822 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10825 * time/Makefile (tests): Add tst-strptime-whitespace.
10826 * time/strptime_l.c (get_number): Use ISSPACE.
10827 (__strptime_internal): Likewise.
10828 * time/tst-strptime-whitespace.c: New test case.
10830 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10832 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10834 (_nss_files_init): Set it here.
10836 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10838 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10839 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10842 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10844 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10846 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10848 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10851 2013-04-21 David S. Miller <davem@davemloft.net>
10853 * po/ru.po: Update Russion translation from translation project.
10855 2013-04-17 Adam Conrad <adconrad@0c3.net>
10857 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10860 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10862 * configure.in: Remove i386 configure warning. Remove i386 case.
10863 * configure: Regenerate.
10864 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10865 Add example to error message.
10866 * sysdeps/i386/configure: Regenerate.
10868 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10870 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10872 * benchtests/cos-inputs: New file.
10873 * benchtests/slowcos-inputs: New file.
10874 * benchtests/slowcos.c: New file.
10875 * benchtests/slowtan-inputs: New file.
10876 * benchtests/slowtan.c: New file.
10877 * benchtests/tan-inputs: New file.
10879 2013-04-16 Roland McGrath <roland@hack.frob.com>
10881 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10884 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10886 * benchtests/Makefile: Include cppflags-iterator.mk to add
10887 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10889 * Makefile.in (bench-clean): New target.
10890 * benchtests/Makefile (bench-clean): Likewise.
10892 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10894 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10896 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10898 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10900 2013-04-15 Andreas Schwab <schwab@suse.de>
10902 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10904 * nscd/pwdcache.c (cache_addpw): Likewise.
10905 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10908 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10910 * benchtests/Makefile (bench): Write all output to
10911 bench-out.tmp together.
10913 2013-04-15 Andreas Schwab <schwab@suse.de>
10915 * nscd/nscd.c (main): Don't fork again after closing files.
10917 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10919 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10921 * benchtests/Rules (bench-deps): Collect dependencies into a
10922 single variable. Add Makefile to dependencies.
10923 ($(objpfx)bench-%.c): Depend on bench-deps.
10925 2013-04-12 Roland McGrath <roland@hack.frob.com>
10926 Xavier Roche <roche+kml2@exalead.com>
10929 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10930 just that it's a file descriptor.
10931 * manual/llio.texi (Synchronizing AIO Operations): Update description
10932 for EBADF error from aio_fsync.
10934 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10936 * Rules (bench): Move target definition...
10937 * benchtests/Makefile: ... here.
10939 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10941 * math/libm-test.inc (cos_test): Fix PI/2 test.
10942 (sincos_test): Likewise.
10943 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10944 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10946 2013-04-11 Andreas Schwab <schwab@suse.de>
10949 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10950 accept exponent character only when digits were seen.
10951 * stdio-common/Makefile (tests): Add bug26.
10952 * stdio-common/bug26.c: New file.
10955 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10958 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10960 * Makeconfig (rtld-prefix): Define built linker prefix.
10961 * Rules (run-bench): Use it.
10962 * math/Makefile (run-regen-ulps): Likewise.
10964 * Rules (bench): Remove eval.
10966 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10967 Roland McGrath <roland@hack.frob.com>
10968 Ondrej Bilka <neleai@seznam.cz>
10971 * time/getdate.c: Include ctype.h and alloca.h.
10972 (__getdate_r): Trim leading and trailing spaces of input.
10973 * time/tst-getdate.c (tests): Add tests with leading and
10976 2013-04-08 Roland McGrath <roland@hack.frob.com>
10979 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10980 when computing value.
10982 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10984 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10985 Use testrun.sh to run libm tests.
10988 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10990 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10993 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10995 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10997 * Makefile.in (regen-ulps): New target.
10998 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10999 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11000 [ifneq (no,$(PERL)] (regen-ulps): New target.
11001 [ifeq (no,$(PERL)] (regen-ulps): New target.
11002 * math/libm-test.inc (ulps_file_name): Define.
11003 (output_dir): New variable.
11004 (options): Add "output-dir" option.
11005 (parse_opt): Handle 'o' case.
11006 (main): If output_dir is non-NULL use it as a prefix
11008 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11010 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11012 [BZ #10060, #10062]
11013 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11014 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11015 fail configure if __sync_val_compare_and_swap is not inlined.
11016 * sysdeps/i386/configure: Regenerate.
11017 * configure.in: Build for i686 when configured for i386.
11018 * configure: Regenerate.
11019 * README: Remove i386 reference.
11021 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11023 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11024 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11026 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11028 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11029 (lmsnanval): New variables.
11030 (F): Add conversion tests.
11031 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11032 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11034 * stdio-common/tstdiomisc.c (F): Properly collect individual
11037 [BZ #14686, #15336]
11038 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11039 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11040 Instead, use input NaN values or generate a qNaN by arithmetic
11041 operation. Also fix bugs to comply with the standard.
11042 * math/libm-test.inc (remainder_test): Add more tests.
11044 [BZ #15335, #15342]
11045 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11046 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11047 input NaN values or generate a qNaN by arithmetic operation.
11049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11052 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11055 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11058 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11059 underflowed result.
11060 * math/s_cexpf.c (__cexpf): Likewise.
11061 * math/s_cexpl.c (__cexpl): Likewise.
11062 * math/libm-test.inc (cexp_test): Add more tests.
11064 2013-04-03 Andreas Schwab <schwab@suse.de>
11067 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11068 order arrays from heap if bigger than alloca cutoff.
11070 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11072 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11073 (SNAN_TESTS_double): Refer to GCC PR56831.
11074 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11077 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11079 * Rules (bench): Move bench.out after the run is complete.
11081 * Rules (bench): Echo currently running benchmark.
11083 * benchtests/Makefile (bench): Add atan and slowatan.
11084 * benchtests/atan-inputs: New file.
11085 * benchtests/slowatan-inputs: New file.
11086 * benchtests/slowatan.c: New file.
11088 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11089 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11093 * sysdeps/unix/sysv/linux/kernel-features.h
11094 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11095 __ASSUME_XFS_RESTRICTED_CHOWN.
11096 * sysdeps/unix/sysv/linux/pathconf.c
11097 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11098 Save and restore errno.
11100 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11103 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11104 arguments using __kernel_casinh.
11105 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11106 arguments using __kernel_casinhf.
11107 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11108 arguments using __kernel_casinhl.
11109 * math/libm-test.inc (cacosh_test): Add more tests.
11110 * sysdeps/i386/fpu/libm-test-ulps: Update.
11111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11113 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11115 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11118 * bench/Makefile (bench): Add sin and slowsin.
11119 * benchtests/sin-inputs: New file.
11120 * benchtests/slowsin-inputs: New file.
11121 * benchtests/slowsin.c: New file.
11123 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11124 (bench): Add slowexp and slowpow.
11125 (exp-ITER): Increase iterations.
11126 (pow-ITER): Likewise.
11127 * benchtests/exp-inputs: Change input.
11128 * benchtests/pow-inputs: Likewise.
11129 * benchtests/slowexp-inputs: New file.
11130 * benchtests/slowexp.c: New file.
11131 * benchtests/slowpow-inputs: New file.
11132 * benchtests/slowpow.c: New file.
11134 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11136 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11138 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11139 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11140 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11141 * benchtests/Makefile: Add rint benchtest.
11142 * benchtests/rint-inputs: Input for rint benchtest.
11144 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11146 * Versions.def (libm): Add GLIBC_2.18.
11147 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11148 hidden libm prototypes.
11149 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11150 * math/Makefile (libm-calls): Add s_issignaling.
11151 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11152 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11153 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11155 * math/math.h [__USE_GNU] (issignaling): New macro.
11156 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11157 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11159 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11162 * manual/arith.texi (issignaling): New section.
11163 * manual/libm-err-tab.pl (@all_functions): Update comment.
11164 * math/gen-libm-test.pl (parse_args): Apply special handling for
11166 * math/libm-test.inc (print_float, issignaling_test): New
11168 (check_float_internal): Add issignaling checks.
11169 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11170 default definition.
11171 * sysdeps/powerpc/math-tests.h: New file.
11172 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11174 * math/test-snan.c (TEST_FUNC): Likewise.
11176 2013-03-30 David S. Miller <davem@davemloft.net>
11178 * po/de.po: Update from translation team.
11180 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11183 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11184 imaginary part less than 1.0 and real part less than 0.5
11186 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11187 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11188 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11189 (cacos_test): Add more tests.
11190 (casin_test): Likewise.
11191 (casinh_test): Likewise.
11192 * sysdeps/i386/fpu/libm-test-ulps: Update.
11193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11195 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11197 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11198 ONE with its value.
11200 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11201 (__pow_mp): Replace ONE and MONE with their values.
11202 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11203 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11204 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11205 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11206 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11207 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11209 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11211 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11212 (__pow_mp): Replace ZERO and MZERO with their values.
11213 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11214 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11215 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11217 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11218 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11221 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11223 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11225 2013-03-28 Roland McGrath <roland@hack.frob.com>
11227 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11228 Declare with __attribute__ ((weak)).
11229 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11230 Call __call_tls_dtors only if it's not NULL.
11232 2013-03-28 Roland McGrath <roland@hack.frob.com>
11234 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11235 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11236 magic __ehdr_start linker symbol if it's defined.
11237 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11238 them up here if it was already done.
11240 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11241 (_dl_aux_init): Use const in cast when setting it.
11242 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11243 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11244 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11246 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11248 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11249 * csu/libc-tls.c: Nor here.
11250 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11252 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11253 (__libc_message): Never call vsyslog.
11255 2013-03-28 Alan Modra <amodra@gmail.com>
11257 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11259 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11262 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11265 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11269 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11272 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11273 Don't add gid passed as argument.
11275 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11277 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11280 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11281 imaginary part between 1.0 and 1.5 and real part less than 0.5
11283 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11284 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11285 * math/libm-test.inc (cacos_test): Add more tests.
11286 (casin_test): Likewise.
11287 (casinh_test): Likewise.
11288 * sysdeps/i386/fpu/libm-test-ulps: Update.
11289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11291 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11293 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11296 (denorm): Likewise.
11297 (__dbl_mp): Likewise.
11298 (add_magnitudes): Likewise.
11299 (sub_magnitudes): Likewise.
11307 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11309 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11310 (__dubcos): Likewise.
11311 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11312 (__ieee754_acos): Likewise.
11313 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11314 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11315 (__exp1): Likewise.
11316 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11317 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11319 (my_log2): Likewise.
11320 (checkint): Likewise.
11321 * sysdeps/ieee754/dbl-64/e_remainder.c
11322 (__ieee754_remainder): Likewise.
11323 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11324 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11325 (bsloww): Likewise.
11326 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11328 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11329 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11330 MANTISSA_STORE_T to store computations on mantissa. Use
11331 macros for rounding and division.
11332 (denorm): Likewise.
11333 (__dbl_mp): Likewise.
11334 (add_magnitudes): Likewise.
11335 (sub_magnitudes): Likewise.
11338 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11339 powers of two in terms of TWOPOW macro.
11340 (mp_no): Make type of mantissa as MANTISSA_T.
11341 [!RADIXI]: Define RADIXI.
11342 [!TWO52]: Define TWO52.
11343 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11345 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11347 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11348 llroundl symbol when building for PPC32.
11350 2013-03-24 Mark H Weaver <mhw@netris.org>
11352 * manual/arith.texi (Normalization Functions): Fix prototypes for
11353 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11355 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11359 high value to check if expl overflow.
11360 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11361 to check for underflow and overflow.
11362 * math/libm-test.inc: Add exp test.
11364 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11367 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11370 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11372 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11375 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11377 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11378 wrap blocks consisting of several statements.
11380 * sysdeps/generic/math-tests.h: New file.
11381 * sysdeps/i386/fpu/math-tests.h: Likewise.
11382 * math/test-snan.c: Include it.
11383 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11385 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11388 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11389 (__ieee754_j0l): Do not improve calculations using cos of twice
11390 input for inputs above LDBL_MAX / 2.0L.
11391 (__ieee754_y0l): Likewise.
11392 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11393 (__ieee754_j1l): Do not improve calculations using cos of twice
11394 input for inputs above LDBL_MAX / 2.0L.
11395 (__ieee754_y1l): Likewise.
11396 * math/libm-test.inc (j0_test): Add another test.
11397 (j1_test): Likewise.
11398 (y0_test): Likewise.
11399 (y1_test): Likewise.
11400 * sysdeps/i386/fpu/libm-test-ulps: Update.
11402 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11404 * Rules ($(objpfx)bench-%.c): Include code from a C source
11407 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11410 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11411 imaginary part 1.0 and real part less than 0.5 specially.
11412 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11413 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11414 * math/libm-test.inc (cacos_test): Add more tests.
11415 (casin_test): Likewise.
11416 (casinh_test): Likewise.
11417 * sysdeps/i386/fpu/libm-test-ulps: Update.
11418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11420 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11422 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11423 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11425 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11427 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11428 * config.make.in (config-cflags-sse4): Remove variable.
11429 (config-cflags-avx): Likewise.
11430 (config-cflags-sse2avx): Likewise.
11431 (config-cflags-novzeroupper): Likewise.
11432 (config-asflags-i686): Likewise.
11433 (have-mfma4): Likewise.
11434 (have-as-vis3): Likewise.
11436 * configure.in (MIG): Do not AC_SUBST.
11437 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11438 (libc_cv_cc_sse4): Do not AC_SUBST.
11439 (libc_cv_cc_avx): Likewise.
11440 (libc_cv_cc_sse2avx): Likewise.
11441 (libc_cv_cc_novzeroupper): Likewise.
11442 (libc_cv_cc_fma4): Likewise.
11443 (libc_cv_as_i686): Likewise.
11444 (libc_cv_sparc_as_vis3): Likewise.
11445 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11447 (config-asflags-i686): Likewise.
11448 (config-cflags-avx): Likewise.
11449 (config-cflags-sse2avx): Likewise.
11450 (have-mfma4): Likewise.
11451 (config-cflags-novzeroupper): Likewise.
11452 * sysdeps/mach/configure.in (MIG): Likewise.
11453 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11454 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11456 (config-cflags-avx): Likewise.
11457 (config-cflags-sse2avx): Likewise.
11458 (have-mfma4): Likewise.
11459 (config-cflags-novzeroupper): Likewise.
11460 * configure: Regenerated.
11461 * sysdeps/i386/configure: Likewise.
11462 * sysdeps/mach/configure: Likewise.
11463 * sysdeps/sparc/configure: Likewise.
11464 * sysdeps/x86_64/configure: Likewise.
11466 2013-03-20 Roland McGrath <roland@hack.frob.com>
11469 * locale/programs/localedef.c (options): Put N_ translation marker
11470 on argument names, not just descriptions.
11472 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11474 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11476 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11479 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11481 2013-03-19 Roland McGrath <roland@hack.frob.com>
11483 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11484 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11485 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11486 [!BEFORE_ABORT] (before_abort): New function.
11487 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11488 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11489 (writev_for_fatal): New function.
11490 (WRITEV_FOR_FATAL): New macro; call that.
11491 (backtrace_and_maps): New function.
11492 (BEFORE_ABORT): New macro; call that.
11493 (struct str_list): Type removed.
11494 (__libc_message, __libc_fatal): Functions removed.
11495 Include <sysdeps/posix/libc_fatal.c> instead.
11497 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11499 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11501 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11504 2013-03-19 Andreas Schwab <schwab@suse.de>
11506 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11507 * sysdeps/gnu/configure: Regenerate.
11509 * configure.in: Substitute libc_cv_rtlddir.
11510 * configure: Regenerate.
11511 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11512 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11513 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11514 * elf/Makefile (install-others, CFLAGS-interp.c)
11515 (ldso_install, common-ldd-rewrite): Likewise.
11516 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11517 $(inst_slibdir)/$(rtld-installed-name).
11518 * scripts/rellns-sh: Add -p option.
11519 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11522 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11524 * manual/nptl.texi: Renamed to ...
11525 * manual/threads.texi: ... this.
11526 * manual/Makefile (chapters): Update.
11528 2013-03-18 Roland McGrath <roland@hack.frob.com>
11531 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11532 on argument names, not just descriptions.
11533 * malloc/memusagestat.c (options): Likewise.
11534 * nss/getent.c (options): Likewise.
11536 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11539 * iconv/iconv_prog.c (options): Put N_ translation marker
11540 on argument names, not just descriptions.
11541 * iconv/iconvconfig.c (options): Likewise.
11543 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11545 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11546 implementation which is faster on all x86_64 architectures.
11547 Tested on AMD, Intel Nehalem, SNB, IVB.
11548 * sysdeps/x86_64/strnlen.S: Likewise.
11550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11551 Remove all multiarch strlen and strnlen versions.
11552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11553 Remove strlen and strnlen related parts.
11555 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11556 Inline strlen part.
11557 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11559 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11560 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11561 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11562 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11563 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11564 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11566 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11568 * manual/memory.texi (Malloc Tunable Parameters):
11569 Sort parameters alphabetically. Add comments for missing entries.
11571 2013-03-17 David S. Miller <davem@davemloft.net>
11573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11575 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11578 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11579 for arguments at most half maximum finite value.
11580 * math/libm-test.inc (j0_test): Add more tests.
11581 (j1_test): Likewise.
11582 (y0_test): Likewise.
11583 (y1_test): Likewise.
11584 * sysdeps/i386/fpu/libm-test-ulps: Update.
11585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11588 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11589 1 / x and functions P and Q for arguments above 0x1p256L.
11590 (__ieee754_y0l): Likewise.
11591 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11592 (__ieee754_y1l): Likewise.
11593 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11594 (j1_test): Likewise.
11595 (y0_test): Likewise.
11596 (y1_test): Likewise.
11598 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11600 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11603 2013-03-15 Roland McGrath <roland@hack.frob.com>
11605 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11606 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11607 zero since it's initialized to EXEC_PAGESIZE.
11609 * sysdeps/unix/sysv/linux/ldsodefs.h
11610 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11611 * sysdeps/generic/ldsodefs.h: ... here.
11613 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11615 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11617 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11619 * math/test-snan.c: Renamed from
11620 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11621 * math/Makefile (tests): Add test-snan.
11622 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11625 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11626 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11628 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11629 __builtin_nan family of functions.
11630 * math/libm-test.inc (initialize): Initialize qnan_value with
11631 __builtin_nan family of functions.
11632 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11634 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11636 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11637 storage class. Initialize qNaN_var and sNaN_var with
11638 __builtin_nan and __builtin_nans families of functions,
11641 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11642 (sqrt_test): Remove duplicate test with qNaN input.
11643 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11644 (round_test, signbit_test, significand_test): Note missing +/-Inf
11645 as well as qNaN tests.
11647 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11648 qNaN_var. Fix a few strings, too.
11649 * math/libm-test.inc (nan_value): Rename to qnan_value.
11650 * math/gen-libm-test.pl (%beautify): Adjust to that.
11651 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11652 * math/test-misc.c (main): Likewise.
11653 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11654 to __qnan_bytes, and __qnan_union, respectively.
11655 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11657 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11658 and lqnanval, respectively.
11659 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11660 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11661 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11662 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11664 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11665 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11668 * math/test-misc.c (main): Fix copy'n'pastos.
11669 * misc/tst-efgcvt.c (special): Likewise.
11671 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11672 Remove declarations.
11674 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11676 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11677 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11678 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11679 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11681 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11683 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11684 macro to return vdso values correctly in IFUNC implementations.
11685 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11686 Optimization by using IFUNC.
11688 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11689 Richard Henderson <rth@redhat.com>
11690 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11692 * Makefile.in (bench): New target.
11693 * NEWS: Mention the benchmark framework.
11694 * Rules (bench): Likewise.
11695 (binaries-bench): Generate binaries for functions to
11697 * benchtests/Makefile: New makefile for benchmark tests.
11698 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11700 * benchtests/exp-inputs: New input file for EXP function.
11701 * benchtests/pow-inputs: New input file for POW function.
11702 * scripts/bench.pl: New script to generate source files for
11703 benchmark programs.
11705 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11707 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11708 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11709 computations on mantissa. Use macros for rounding and
11711 (denorm): Likewise.
11712 (__dbl_mp): Likewise.
11713 (add_magnitudes): Likewise.
11714 (sub_magnitudes): Likewise.
11717 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11718 powers of two in terms of TWOPOW macro.
11719 (mp_no): Make type of mantissa as MANTISSA_T.
11720 [!RADIXI]: Define RADIXI.
11721 [!TWO52]: Define TWO52.
11722 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11724 * manual/nptl.texi (cindex): Modify threads to pthreads.
11726 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11728 * sysdeps/x86_64/preconfigure: Regenerated.
11730 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11733 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11735 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11736 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11738 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11739 * math/libm-test.inc (j0_test): Do not allow one spurious
11740 underflow exception.
11741 (y1_test): Likewise.
11743 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11745 * manual/Makefile (chapters): Add nptl.
11746 * manual/debug.texi (Debugging Support): Add link to Threads
11748 * manual/nptl.texi: New file.
11750 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11752 2013-03-14 Petr Baudis <pasky@ucw.cz>
11754 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11755 for non-NULL pointer before the memory validity test. Pointed
11756 out by Holger Brunck <holger.brunck@keymile.com>.
11758 2013-03-13 Andreas Schwab <schwab@suse.de>
11760 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11763 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11765 * timezone/zic.c: Update from tzcode 2013b.
11767 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11769 * manual/install.texi (Configuring and compiling):
11770 Mention i686 and i586.
11771 * INSTALL: Regenerate.
11773 2013-03-12 Roland McGrath <roland@hack.frob.com>
11775 * sysdeps/init_array/elf-init.c: New file.
11777 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11778 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11780 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11781 __gmon_start__ as global, but as static with a .preinit_array pointer.
11782 * sysdeps/init_array/gmon-start.c: New file. Use that.
11783 * sysdeps/init_array/crti.S: New file, empty except for comments.
11784 * sysdeps/init_array/crtn.S: Likewise.
11786 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11788 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11791 Remove Prefer_SSE_for_memop.
11792 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11793 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11794 HAS_PREFER_SSE_FOR_MEMOP.
11795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11797 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11798 Remove bzero, memset ifunc support.
11799 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11800 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11801 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11802 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11804 2013-03-11 Andreas Schwab <schwab@suse.de>
11807 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11810 (GLIBC_2.16): Remove pthread_atfork.
11812 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11814 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11815 (ptestcases.h): Likewise.
11817 2013-03-08 Roland McGrath <roland@hack.frob.com>
11819 * Makeconfig ($(common-objpfx)config.status): Depend on
11820 sysdeps/*/preconfigure{,.in} too.
11822 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11824 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11825 (__free_hook): Use void * instead of __malloc_ptr_t.
11826 (__malloc_hook): Likewise.
11827 (__realloc_hook): Likewise.
11828 (__memalign_hook): Likewise.
11829 (__after_morecore_hook): Likewise.
11830 * malloc/arena.c (save_malloc_hook): Likewise.
11831 (save_free_hook): Likewise.
11832 * malloc/hooks.c (malloc_hook_ini): Likewise.
11833 (realloc_hook_ini): Likewise.
11834 (memalign_hook_ini): Likewise.
11835 * malloc/malloc.c (malloc_hook_ini): Likewise.
11836 (realloc_hook_ini): Likewise.
11837 (memalign_hook_ini): Likewise.
11838 (__free_hook): Likewise.
11839 (__malloc_hook): Likewise.
11840 (__realloc_hook): Likewise.
11841 (__memalign_hook): Likewise.
11842 (__libc_malloc): Likewise.
11843 (__libc_free): Likewise.
11844 (__libc_realloc): Likewise.
11845 (__libc_memalign): Likewise.
11846 (__libc_valloc): Likewise.
11847 (__libc_pvalloc): Likewise.
11848 (__libc_calloc): Likewise.
11849 (__posix_memalign): Likewise.
11850 * malloc/morecore.c (__sbrk): Likewise.
11851 (__default_morecore): Likewise.
11853 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11855 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11856 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11857 __malloc_ptrdiff_t.
11859 * malloc/malloc.h (__malloc_size_t): Remove macro.
11860 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11862 (old_memalign_hook): Likewise.
11863 (old_realloc_hook): Likewise.
11864 (struct hdr): Likewise.
11866 (mallochook): Likewise.
11867 (memalignhook): Likewise.
11868 (reallochook): Likewise.
11869 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11870 (tr_old_realloc_hook): Likewise.
11871 (tr_old_memalign_hook): Likewise.
11872 (tr_mallochook): Likewise.
11873 (tr_reallochook): Likewise.
11874 (tr_memalignhook): Likewise.
11876 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11878 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11879 default_ldbl_pack and using as default implementation.
11880 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11882 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11883 redundant definition.
11884 (ldbl_insert_mantissa): Likewise.
11885 (ldbl_canonicalize): Likewise.
11886 (ldbl_nearbyint): Likewise.
11887 (ldbl_pack): Rename to ldbl_pack_ppc.
11888 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11889 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11890 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11892 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11895 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11896 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11897 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11899 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11900 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11901 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11903 2013-03-07 Andreas Jaeger <aj@suse.de>
11905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11908 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11910 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11911 Include mpa.h and declare __MPEXP.
11912 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11913 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11914 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11915 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11916 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11917 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11918 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11920 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11921 (__slowpow): Use long double EXPL and LOGL functions to
11923 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11924 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11925 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11926 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11927 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11928 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11931 intermediate variable to calculate exponent.
11933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11937 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11938 [!NO__SQR]: Define __sqr.
11939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11940 and NO__SQR. Remove all code except __mul and __sqr. Include
11941 sysdeps/ieee754/dbl-64/mpa.c.
11942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11945 * posix/Makefile (tests): Add tst-pathconf.
11946 * posix/tst-pathconf.c: New test case.
11947 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11949 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11951 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11953 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11955 2013-03-06 Andreas Jaeger <aj@suse.de>
11957 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11958 definition via __MAP_ANONYMOUS.
11960 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11961 it's not part of Linux headers.
11963 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11964 (MAP_HUGE_MASK): Define.
11966 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11968 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11969 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11971 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11972 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11974 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11975 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11977 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11979 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11980 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11981 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11982 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11983 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11984 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11986 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11989 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11990 Handle f2fs and efivarfs.
11992 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11995 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11996 (EFIVARFS_MAGIC): Add.
11997 (F2FS_LINK_MAX): Add.
11999 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12001 * stdio-common/vfprintf.c: Replace __builtin_expect with
12004 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12007 * sysdeps/generic/bp-sym.h: Remove file.
12008 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12009 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12010 <bp-sym.h> and <bp-asm.h>.
12011 (__longjmp): Don't use BP_SYM.
12012 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12014 (memcpy): Don't use BP_SYM.
12015 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12016 <bp-sym.h> and <bp-asm.h>.
12017 (memcpy): Don't use BP_SYM.
12018 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12020 (memcpy): Don't use BP_SYM.
12021 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12023 (memset): Don't use BP_SYM.
12024 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12025 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12026 (__bzero): Don't use BP_SYM.
12027 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12028 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12029 * sysdeps/powerpc/powerpc64/power4/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/power4/memcpy.S: Don't include
12034 <bp-sym.h> and <bp-asm.h>.
12035 (memcpy): Don't use BP_SYM.
12036 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12037 <bp-sym.h> and <bp-asm.h>.
12038 (memset): Don't use BP_SYM.
12039 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12040 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12041 (__bzero): Don't use BP_SYM.
12042 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12043 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12044 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12045 <bp-sym.h> and <bp-asm.h>.
12046 (strncmp): Don't use BP_SYM. Remove comment about bounded
12048 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12049 <bp-sym.h> and <bp-asm.h>.
12050 (memcpy): Don't use BP_SYM.
12051 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12052 <bp-sym.h> and <bp-asm.h>.
12053 (memset): Don't use BP_SYM.
12054 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12055 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12056 (__bzero): Don't use BP_SYM.
12057 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12058 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12059 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12060 <bp-sym.h> and <bp-asm.h>.
12061 (__memchr): Don't use BP_SYM.
12062 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12063 <bp-sym.h> and <bp-asm.h>.
12064 (memcmp): Don't use BP_SYM. Remove comment about bounded
12066 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12067 <bp-sym.h> and <bp-asm.h>.
12068 (memcpy): Don't use BP_SYM.
12069 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12070 <bp-sym.h> and <bp-asm.h>.
12071 (__mempcpy): Don't use BP_SYM.
12072 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12073 <bp-sym.h> and <bp-asm.h>.
12074 (__memrchr): Don't use BP_SYM.
12075 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12076 <bp-sym.h> and <bp-asm.h>.
12077 (memset): Don't use BP_SYM.
12078 (__bzero): Likewise.
12079 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12080 <bp-sym.h> and <bp-asm.h>.
12081 (__rawmemchr): Don't use BP_SYM.
12082 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12083 <bp-sym.h> and <bp-asm.h>.
12084 (__STRCMP): Don't use BP_SYM.
12085 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12086 <bp-sym.h> and <bp-asm.h>.
12087 (strchr): Don't use BP_SYM.
12088 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12089 <bp-sym.h> and <bp-asm.h>.
12090 (__strchrnul): Don't use BP_SYM.
12091 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12092 <bp-sym.h> and <bp-asm.h>.
12093 (strlen): Don't use BP_SYM.
12094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12095 <bp-sym.h> and <bp-asm.h>.
12096 (strncmp): Don't use BP_SYM. Remove comment about bounded
12098 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12099 <bp-sym.h> and <bp-asm.h>.
12100 (__strnlen): Don't use BP_SYM.
12101 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12102 <bp-sym.h> and <bp-asm.h>.
12103 (__GI__setjmp): Don't use BP_SYM.
12104 (_setjmp): Likewise.
12105 (__sigsetjmp): Likewise.
12106 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12107 (L(start_addresses)): Don't use BP_SYM.
12108 (_start): Likewise.
12109 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12111 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12112 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12113 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12114 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12115 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12117 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12118 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12119 about bounded pointers.
12120 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12121 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12122 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12124 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12125 about bounded pointers. Remove GKM FIXME comments.
12126 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12127 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12129 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12130 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12131 Remove GKM FIXME comments.
12132 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12133 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12134 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12136 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12137 about bounded pointers. Remove GKM FIXME comment.
12138 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12140 (strncmp): Don't use BP_SYM. Remove comment about bounded
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12143 <bp-sym.h> and <bp-asm.h>.
12144 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12146 <bp-sym.h> and <bp-asm.h>.
12147 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12150 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12152 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12155 2013-03-05 David S. Miller <davem@davemloft.net>
12157 * po/es.po: Update from translation team.
12159 2013-03-05 Andreas Jaeger <aj@suse.de>
12161 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12162 <bits/mman-linux.h>.
12163 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12165 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12166 <bits/mman-linux.h> to end of file.
12167 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12169 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12170 <bits/mman-linux.h> to end of file.
12171 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12173 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12174 <bits/mman-linux.h> to end of file.
12176 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12177 (MCL_CURRENT, MCL_FUTURE): Define here.
12179 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12182 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12184 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12186 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12188 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12189 fourth parameter needed for rt_sigprocmask syscall.
12190 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12191 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12192 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12193 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12194 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12195 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12197 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12200 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12201 comment about bounded pointers.
12202 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12203 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12205 2013-03-04 Andreas Jaeger <aj@suse.de>
12207 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12208 common definitions.
12210 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12211 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12212 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12213 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12214 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12215 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12217 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12220 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12221 __ieee754_sqrl instead of __sqrl.
12223 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12225 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12226 * sysdeps/powerpc/fpu_control.h: ... here.
12227 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12228 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12229 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12230 * sysdeps/powerpc/bits/mathinline.h: ... here.
12232 2013-03-01 Roland McGrath <roland@hack.frob.com>
12234 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12235 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12236 to just [NEED_DL_SYSINFO_DSO].
12237 * elf/dl-support.c: Likewise.
12238 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12239 * elf/rtld.c (dl_main): Likewise.
12240 * elf/setup-vdso.h (setup_vdso): Likewise.
12241 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12242 * sysdeps/unix/sysv/linux/dl-sysdep.c
12243 (_dl_discover_osversion): Likewise.
12245 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12247 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12248 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12250 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12252 * NEWS: Mention libm performance improvements and non-x86 PI
12255 * csu/libc-start.c (__pthread_initialize_minimal): Change
12256 function arguments.
12257 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12259 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12262 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12263 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12264 <bp-sym.h> and <bp-asm.h>.
12265 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12266 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12268 (memcpy): Don't use BP_SYM.
12269 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12271 (__mpn_add_n): Don't use BP_SYM.
12272 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12273 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12275 (__mpn_addmul_1): Don't use BP_SYM.
12276 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12277 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12279 (_setjmp): Don't use BP_SYM.
12280 (__novmx_setjmp): Likewise.
12281 (__GI__setjmp): Likewise.
12282 (__vmx_setjmp): Likewise.
12283 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12285 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12286 (__bzero): Don't use BP_SYM.
12287 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12288 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12289 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12290 <bp-sym.h> and <bp-asm.h>.
12291 (memcpy): Don't use BP_SYM.
12292 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12293 <bp-sym.h> and <bp-asm.h>.
12294 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12295 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12296 <bp-sym.h> and <bp-asm.h>.
12297 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12298 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12300 (__mpn_lshift): Don't use BP_SYM.
12301 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12302 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12304 (memset): Don't use BP_SYM.
12305 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12306 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12307 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12309 (__mpn_mul_1): Don't use BP_SYM.
12310 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12311 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12312 <bp-sym.h> and <bp-asm.h>.
12313 (memcmp): Don't use BP_SYM.
12314 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12315 <bp-sym.h> and <bp-asm.h>.
12316 (memcpy): Don't use BP_SYM.
12317 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12318 <bp-sym.h> and <bp-asm.h>.
12319 (memset): Don't use BP_SYM.
12320 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12321 <bp-sym.h> and <bp-asm.h>.
12322 (strncmp): Don't use BP_SYM.
12323 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12324 <bp-sym.h> and <bp-asm.h>.
12325 (memcpy): Don't use BP_SYM.
12326 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12327 <bp-sym.h> and <bp-asm.h>.
12328 (memset): Don't use BP_SYM.
12329 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12330 <bp-sym.h> and <bp-asm.h>.
12331 (__memchr): Don't use BP_SYM.
12332 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12333 <bp-sym.h> and <bp-asm.h>.
12334 (memcmp): Don't use BP_SYM.
12335 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12336 <bp-sym.h> and <bp-asm.h>.
12337 (memcpy): Don't use BP_SYM.
12338 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12339 <bp-sym.h> and <bp-asm.h>.
12340 (__mempcpy): Don't use BP_SYM.
12341 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12342 <bp-sym.h> and <bp-asm.h>.
12343 (__memrchr): Don't use BP_SYM.
12344 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12345 <bp-sym.h> and <bp-asm.h>.
12346 (memset): Don't use BP_SYM.
12347 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12348 <bp-sym.h> and <bp-asm.h>.
12349 (__rawmemchr): Don't use BP_SYM.
12350 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12351 <bp-sym.h> and <bp-asm.h>.
12352 (__STRCMP): Don't use BP_SYM.
12353 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12354 <bp-sym.h> and <bp-asm.h>.
12355 (strchr): Don't use BP_SYM.
12356 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12357 <bp-sym.h> and <bp-asm.h>.
12358 (__strchrnul): Don't use BP_SYM.
12359 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12360 <bp-sym.h> and <bp-asm.h>.
12361 (strlen): Don't use BP_SYM.
12362 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12363 <bp-sym.h> and <bp-asm.h>.
12364 (strncmp): Don't use BP_SYM.
12365 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12366 <bp-sym.h> and <bp-asm.h>.
12367 (__strnlen): Don't use BP_SYM.
12368 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12370 (__mpn_rshift): Don't use BP_SYM.
12371 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12372 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12373 <bp-sym.h> and <bp-asm.h>.
12374 (__sigsetjmp): Don't use BP_SYM.
12375 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12376 (L(start_addresses)): Don't use BP_SYM.
12377 (_start): Likewise.
12378 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12380 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12381 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12382 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12383 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12385 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12386 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12387 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12388 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12390 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12392 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12393 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12395 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12397 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12398 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12399 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12401 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12403 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12405 (strncmp): Don't use BP_SYM,
12406 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12408 (__mpn_sub_n): Don't use BP_SYM.
12409 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12410 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12412 (__mpn_submul_1): Don't use BP_SYM.
12413 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12415 <bp-sym.h> and <bp-asm.h>.
12416 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12418 <bp-sym.h> and <bp-asm.h>.
12419 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12422 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12425 Use ZK to minimize writes to Z.
12426 (sub_magnitudes): Simplify code a bit.
12427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12428 Use ZK to minimize writes to Z.
12429 (sub_magnitudes): Simplify code a bit.
12431 2013-02-27 Roland McGrath <roland@hack.frob.com>
12433 * csu/gmon-start.c: Add special exception to license text.
12435 2013-02-27 Richard Henderson <rth@redhat.com>
12437 * scripts/config.guess: Update from config.git.
12438 * scripts/config.sub: Likewise.
12440 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12442 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12444 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12446 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12448 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12450 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12452 2013-02-26 Roland McGrath <roland@hack.frob.com>
12454 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12455 [$(build-shared = yes].
12457 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12459 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12460 (__mul): Reduce iterations for calculating mantissa.
12462 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12464 (__mpranred): Likewise.
12467 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12468 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12470 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12472 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12473 Define __attribute__.
12475 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12477 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12479 * posix/regex_internal.h (__attribute): Remove.
12480 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12481 (re_string_context_at): Likewise.
12482 (bitset_not): Use __attribute__ and mark function as possibly
12484 (bitset_merge): Likewise.
12485 (bitset_mask): Likewise.
12486 (re_string_char_size_at): Likewise.
12487 (re_string_wchar_at): Likewise.
12488 (re_string_elem_size_at): Likewise.
12490 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12492 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12496 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12500 (denorm): Likewise.
12501 (__dbl_mp): Likewise.
12502 (add_magnitudes): Likewise.
12503 (sub_magnitudes): Likewise.
12507 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12510 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12513 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12517 up changes with default code.
12518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12521 2013-02-24 Allan McRae <allan@archlinux.org>
12523 * manual/socket.texi (The Internet Namespace): Order menu items
12524 to match that in the file.
12526 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12527 node listing of the info page menu.
12529 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12532 * sysdeps/i386/bp-asm.h: Remove file.
12533 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12534 (PARMS): Do not use macros from bp-asm.h.
12538 (__mpn_add_n): Do not use BP_SYM
12539 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12541 (PARMS): Do not use macros from bp-asm.h.
12544 (__mpn_addmul_1): Do not use BP_SYM
12545 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12547 (PARMS): Do not use macros from bp-asm.h.
12548 (SIGMSK): Likewise.
12549 (_setjmp): Likewise. Do not use BP_SYM.
12550 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12552 (PARMS): Do not use macros from bp-asm.h.
12553 (SIGMSK): Likewise.
12554 (setjmp): Likewise. Do not use BP_SYM.
12555 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12557 (PARMS): Do not use macros from bp-asm.h.
12558 (__frexp): Do not use BP_SYM.
12560 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12562 (PARMS): Do not use macros from bp-asm.h.
12563 (__frexpf): Do not use BP_SYM.
12564 (frexpf): Likewise.
12565 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12567 (PARMS): Do not use macros from bp-asm.h.
12568 (__frexpl): Do not use BP_SYM.
12569 (frexpl): Likewise.
12570 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12572 (PARMS): Do not use macros from bp-asm.h.
12573 (__remquo): Do not use BP_SYM.
12574 (remquo): Likewise.
12575 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12577 (PARMS): Do not use macros from bp-asm.h.
12578 (__remquof): Do not use BP_SYM.
12579 (remquof): Likewise.
12580 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12582 (PARMS): Do not use macros from bp-asm.h.
12583 (__remquol): Do not use BP_SYM.
12584 (remquol): Likewise.
12585 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12587 (PARMS): Do not use macros from bp-asm.h.
12590 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12591 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12593 (PARMS): Do not use macros from bp-asm.h.
12594 (strlen): Do not use BP_SYM.
12595 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12597 (PARMS): Do not use macros from bp-asm.h.
12601 (__mpn_add_n): Do not use BP_SYM.
12602 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12604 (PARMS): Do not use macros from bp-asm.h.
12607 (__mpn_addmul_1): Do not use BP_SYM.
12608 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12611 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12613 (PARMS): Do not use macros from bp-asm.h.
12616 (__mpn_lshift): Do not use BP_SYM.
12617 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12619 (PARMS): Do not use macros from bp-asm.h.
12623 (memcpy): Likewise. Do not use BP_SYM.
12624 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12625 libc_hidden_def and weak_alias.
12626 (mempcpy): Do not use BP_SYM in weak_alias.
12627 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12629 (PARMS): Do not use macros from bp-asm.h.
12632 [!BZERO_P] (CHR): Likewise.
12633 (memset): Likewise. Do not use BP_SYM.
12634 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12636 (PARMS): Do not use macros from bp-asm.h.
12639 (__mpn_mul_1): Do not use BP_SYM.
12640 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12642 (PARMS): Do not use macros from bp-asm.h.
12645 (__mpn_rshift): Do not use BP_SYM.
12646 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12648 (PARMS): Do not use macros from bp-asm.h.
12651 (strchr): Likewise. Do not use BP_SYM.
12652 (index): Do not use BP_SYM in weak_alias.
12653 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12655 (PARMS): Do not use macros from bp-asm.h.
12658 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12659 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12661 (PARMS): Do not use macros from bp-asm.h.
12662 (strlen): Do not use BP_SYM.
12663 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12665 (PARMS): Do not use macros from bp-asm.h.
12669 (__mpn_sub_n): Do not use BP_SYM.
12670 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12672 (PARMS): Do not use macros from bp-asm.h.
12675 (__mpn_submul_1): Do not use BP_SYM.
12676 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12678 (PARMS): Do not use macros from bp-asm.h.
12682 (__mpn_add_n): Do not use BP_SYM.
12683 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12686 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12688 (PARMS): Do not use macros from bp-asm.h.
12691 (memcmp): Do not use BP_SYM.
12692 (bcmp): Do not use BP_SYM in weak_alias.
12693 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12695 (PARMS): Do not use macros from bp-asm.h.
12699 (memcpy): Likewise. Do not use BP_SYM.
12700 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12702 (PARMS): Do not use macros from bp-asm.h.
12706 (memmove): Likewise. Do not use BP_SYM.
12707 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12709 (PARMS): Do not use macros from bp-asm.h.
12713 (__mempcpy): Likewise. Do not use BP_SYM.
12714 (mempcpy): Do not use BP_SYM in weak_alias.
12715 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12717 (PARMS): Do not use macros from bp-asm.h.
12720 [!BZERO_P] (CHR): Likewise.
12721 (memset): Likewise. Do not use BP_SYM.
12722 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12724 (PARMS): Do not use macros from bp-asm.h.
12726 (strcmp): Do not use BP_SYM.
12727 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12729 (PARMS): Do not use macros from bp-asm.h.
12732 [USE_AS_STRTOK_R] (SAVE): Likewise.
12733 (FUNCTION): Likewise. Do not use BP_SYM.
12734 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12736 (strtok_r): Likewise.
12737 (__GI___strtok_r): Likewise.
12738 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12739 (PARMS): Do not use macros from bp-asm.h.
12742 (__mpn_lshift): Do not use BP_SYM.
12743 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12744 (PARMS): Do not use macros from bp-asm.h.
12747 (__memchr): Do not use BP_SYM.
12748 (memchr): Do not use BP_SYM in weak_alias.
12749 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12750 (PARMS): Do not use macros from bp-asm.h.
12753 (memcmp): Do not use BP_SYM.
12754 (bcmp): Do not use BP_SYM in weak_alias.
12755 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12756 (PARMS): Do not use macros from bp-asm.h.
12759 (__mpn_mul_1): Do not use BP_SYM.
12760 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12762 (PARMS): Do not use macros from bp-asm.h.
12765 (__rawmemchr): Do not use BP_SYM.
12766 (rawmemchr): Do not use BP_SYM in weak_alias.
12767 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12768 (PARMS): Do not use macros from bp-asm.h.
12771 (__mpn_rshift): Do not use BP_SYM.
12772 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12773 (PARMS): Do not use macros from bp-asm.h.
12774 (SIGMSK): Likewise.
12775 (__sigsetjmp): Likewise. Do not use BP_SYM.
12776 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12777 (_start): Do not use BP_SYM.
12778 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12779 (PARMS): Do not use macros from bp-asm.h.
12782 (__stpcpy): Likewise. Do not use BP_SYM.
12783 (stpcpy): Do not use BP_SYM in weak_alias.
12784 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12786 (PARMS): Do not use macros from bp-asm.h.
12790 (__stpncpy): Likewise. Do not use BP_SYM.
12791 (stpncpy): Do not use BP_SYM in weak_alias.
12792 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12793 (PARMS): Do not use macros from bp-asm.h.
12796 (strchr): Likewise. Do not use BP_SYM.
12797 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12799 (PARMS): Do not use macros from bp-asm.h.
12802 (__strchrnul): Likewise. Do not use BP_SYM.
12803 (strchrnul): Do not use BP_SYM in weak_alias.
12804 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12806 (PARMS): Do not use macros from bp-asm.h.
12808 (strcspn): Do not use BP_SYM.
12809 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12811 (PARMS): Do not use macros from bp-asm.h.
12814 (strpbrk): Likewise. Do not use BP_SYM.
12815 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12817 (PARMS): Do not use macros from bp-asm.h.
12820 (strrchr): Likewise. Do not use BP_SYM.
12821 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12822 (PARMS): Do not use macros from bp-asm.h.
12824 (strspn): Do not use BP_SYM.
12825 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12826 (PARMS): Do not use macros from bp-asm.h.
12830 (FUNCTION): Likewise. Do not use BP_SYM.
12831 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12833 (strtok_r): Likewise.
12834 (__GI___strtok_r): Likewise.
12835 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12836 (PARMS): Do not use macros from bp-asm.h.
12840 (__mpn_sub_n): Do not use BP_SYM.
12841 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12843 (PARMS): Do not use macros from bp-asm.h.
12846 (__mpn_submul_1): Do not use BP_SYM.
12847 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12849 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12851 (PARMS): Do not use macros from bp-asm.h.
12856 (__clone): Do not use BP_SYM.
12857 (clone): Do not use BP_SYM in weak_alias.
12858 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12860 (PARMS): Do not use macros from bp-asm.h.
12862 (__mmap64): Do not use BP_SYM.
12863 (mmap64): Do not use BP_SYM in weak_alias.
12864 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12865 <bp-sym.h> and <bp-asm.h>.
12866 (PARMS): Do not use macros from bp-asm.h.
12867 (__posix_fadvise64_l64): Do not use BP_SYM.
12868 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12869 (PARMS): Do not use macros from bp-asm.h.
12871 (semtimedop): Do not use BP_SYM.
12872 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12875 2013-02-21 Allan McRae <allan@archlinux.org>
12877 * manual/message.texi (Charset conversion in gettext):
12878 Move @end statement to beginning of line.
12880 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12887 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12888 (denorm): Likewise.
12889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12892 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12894 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12895 tail-call to the resolved function if pltexit isn't needed.
12897 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12900 or Y being zero as being unlikely.
12901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12904 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12906 * manual/nss.texi (System Databases and Name Service Switch):
12907 Remove frobnicate @pxref.
12909 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12911 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12912 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12914 2013-02-20 Petr Machata <pmachata@redhat.com>
12916 * elf/elf.h (R_ARM_TARGET1): New macro.
12917 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12918 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12919 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12920 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12921 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12922 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12923 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12924 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12925 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12926 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12927 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12928 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12929 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12930 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12931 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12932 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12933 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12934 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12935 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12936 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12937 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12938 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12939 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12940 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12941 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12942 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12943 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12944 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12945 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12946 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12947 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12948 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12949 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12950 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12951 (R_ARM_THM_GOT_BREL12): Likewise.
12952 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12953 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12954 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12955 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12956 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12957 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12958 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12959 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12960 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12962 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12964 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12965 __attribute_used__ to __attribute__ ((unused)).
12967 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12969 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12972 comment formatting.
12973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12975 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12978 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12980 (ENTER): Remove both macro definitions.
12982 (CHECK_BOUNDS_LOW): Likewise.
12983 (CHECK_BOUNDS_HIGH): Likewise.
12984 (CHECK_BOUNDS_BOTH): Likewise.
12985 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12986 (RETURN_BOUNDED_POINTER): Likewise.
12987 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12988 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12989 (POP_ERRNO_LOCATION_RETURN): Likewise.
12990 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12991 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12992 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12994 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12995 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12996 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12997 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12998 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12999 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13000 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13001 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13002 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13003 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13004 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13005 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13006 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13007 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13009 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13010 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13012 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13013 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13014 * sysdeps/i386/i586/memset.S (memset): Likewise.
13015 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13016 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13017 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13019 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13020 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13021 Change uses of L(2) to L(out).
13022 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13023 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13024 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13025 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13026 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13028 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13029 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13031 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13032 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13033 (RETURN): Do not use macro LEAVE.
13034 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13035 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13036 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13037 * sysdeps/i386/i686/memset.S (memset): Likewise.
13038 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13039 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13040 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13041 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13043 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13044 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13045 L(1_2) and L(1_3) into L(1).
13046 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13047 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13048 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13049 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13050 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13051 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13052 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13053 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13054 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13056 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13057 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13058 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13059 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13060 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13061 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13062 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13063 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13064 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13065 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13066 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13067 * sysdeps/i386/strspn.S (strspn): Likewise.
13068 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13070 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13071 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13072 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13073 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13074 L(1_3) into L(1_1).
13075 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13076 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13077 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13079 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13081 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13083 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13086 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13088 * math/atest-exp.c (exp_mpn): Remove ROUND.
13089 * math/atest-exp2.c (exp_mpn): Likewise.
13090 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13092 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13093 * stdlib/tst-tls-atexit-lib.c: Likewise.
13094 * stdlib/tst-tls-atexit.c: Likewise.
13096 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13098 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13099 and __attribute_alloc_size__.
13101 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13103 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13104 __attribute_alloc_size__.
13105 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13106 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13108 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13110 * include/programs/xmalloc.h: New file.
13111 * catgets/gencat.c: Include it.
13112 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13113 * elf/pldd.c: Likewise.
13114 * iconv/iconv_charmap.c: Likewise.
13115 * iconv/iconvconfig.c: Likewise.
13116 * iconv/strtab.c: Likewise.
13117 * locale/programs/locale.c: Likewise.
13118 * locale/programs/localedef.h: Likewise.
13119 * locale/programs/simple-hash.c: Likewise.
13120 * nscd/nscd.h: Likewise.
13121 * nss/makedb.c: Likewise.
13122 * sysdeps/generic/ldconfig.h: Likewise.
13124 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13126 * Versions.def: Add GLIBC_2.18.
13127 * include/link.h (struct link_map): New member l_tls_dtor_count.
13128 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13129 (__call_tls_dtors): Likewise.
13130 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13131 __cxa_thread_atexit_impl.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13140 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13148 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13149 (tests): Add test case tst-tls-atexit.
13150 (modules-names): Add shared library for tst-tls-atexit.
13151 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13152 (GLIBC_PRIVATE): Add __call_tls_dtors.
13153 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13155 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13156 * stdlib/tst-tls-atexit.c: New test case.
13157 * stdlib/tst-tls-atexit-lib.c: New test case.
13159 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13161 * elf/Versions (ld): Add _dl_find_dso_for_object.
13162 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13163 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13164 (dl_open_worker): Use _dl_find_dso_for_object.
13165 * elf/dl-sym.c (do_sym): Likewise.
13166 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13168 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13170 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13171 Syntactic changes only.
13172 (_dl_runtime_profile): Do a tail-call to the resolved function.
13174 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13177 * sysdeps/x86_64/bp-asm.h: Remove file.
13178 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13179 <bp-sym.h> and <bp-asm.h>.
13180 (__clone): Do not use BP_SYM.
13181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13182 <bp-sym.h> and <bp-asm.h>.
13183 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13184 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13186 (_setjmp): Do not use BP_SYM.
13187 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13189 (setjmp): Do not use BP_SYM.
13190 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13192 (mempcpy): Do not use BP_SYM in weak_alias.
13193 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13195 (strchr): Do not use BP_SYM.
13196 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13198 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13199 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13200 (_start): Do not use BP_SYM.
13201 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13203 (strcat): Do not use BP_SYM.
13204 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13206 (STRCMP): Do not use BP_SYM.
13207 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13209 (STRCPY): Do not use BP_SYM.
13210 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13212 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13214 (FUNCTION): Do not use BP_SYM.
13215 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13217 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13219 2013-02-17 Andreas Jaeger <aj@suse.de>
13221 * time/Versions: Sort entries.
13222 * string/Versions: Likewise.
13223 * resolv/Versions: Likewise.
13224 * posix/Versions: Likewise.
13225 * iconv/Versions: Likewise.
13226 * elf/Versions: Likewise.
13227 * wcsmbs/Versions: Likewise.
13229 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13231 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13232 loop termination condition.
13234 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13235 variable to calculate EZ.
13238 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13239 the lower precision input.
13241 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13244 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13245 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13246 (run-via-rtld-prefix): Do not handle %-bp tests.
13247 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13248 (all-object-suffixes): Remove .ob.
13249 (bppfx): Remove variable.
13250 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13251 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13252 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13253 [$(build-bounded) = yes] (libtype.ob): Likewise.
13254 * Makerules (elide-routines.ob): Remove variable.
13255 (do-tests-clean): Do not handle *-bp.out.
13256 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13257 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13258 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13259 (tests): Do not include $(tests-bp.out).
13260 (xtests): Do not include $(xtests-bp.out).
13261 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13262 [$(build-bounded) = yes] ($(addprefix
13263 $(objpfx),$(binaries-bounded))): Remove rule.
13264 ($(objpfx)%-bp.out): Remove rule.
13265 * config.make.in (build-bounded): Remove variable.
13266 * crypt/Makefile [$(build-bounded) = yes]
13267 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13268 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13269 append to variable.
13270 [$(build-bounded) = yes] (install-lib): Likewise.
13271 [$(build-bounded) = yes] (generated): Likewise.
13272 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13274 * intl/Makefile [$(build-bounded) = yes]
13275 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13276 * math/Makefile [$(build-bounded) = yes]
13277 ($(tests:%=$(objpfx)%-bp): Likewise.
13278 * misc/Makefile [$(build-bounded) = yes]
13279 ($(objpfx)tst-tsearch-bp): Likewise.
13280 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13281 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13283 * string/Makefile (o-objects.ob): Remove variable.
13284 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13285 (CFLAGS-.ob): Remove variable.
13286 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13287 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13288 both definitions of variable.
13289 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13290 (ASFLAGS-.ob): Remove variable.
13292 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13295 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13296 Remove __BOUNDED_POINTERS__ from condition.
13297 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13298 * string/bits/string2.h [!__NO_STRING_INLINES &&
13299 !__BOUNDED_POINTERS__]: Likewise.
13300 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13302 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13303 Remove conditional code.
13304 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13305 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13306 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13310 * csu/libc-start.c: Do not include <bp-sym.h>.
13311 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13312 * elf/dl-open.c: Do not include <bp-sym.h>.
13313 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13314 * math/fegetenv.c: Do not include <bp-sym.h>.
13315 (fegetenv): Do not use BP_SYM in versioned symbols.
13316 * nptl/sysdeps/pthread/bits/libc-lockP.h
13317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13320 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13322 (__pthread_mutex_destroy): Likewise.
13323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13324 (__pthread_mutex_lock): Likewise.
13325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13326 (__pthread_mutex_trylock): Likewise.
13327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13328 (__pthread_mutex_unlock): Likewise.
13329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13330 (__pthread_mutexattr_init): Likewise.
13331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13332 (__pthread_mutexattr_destroy): Likewise.
13333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13334 (__pthread_mutexattr_settype): Likewise.
13335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13336 (__pthread_rwlock_init): Likewise.
13337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13338 (__pthread_rwlock_destroy): Likewise.
13339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13340 (__pthread_rwlock_rdlock): Likewise.
13341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13342 (__pthread_rwlock_tryrdlock): Likewise.
13343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13344 (__pthread_rwlock_wrlock): Likewise.
13345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13346 (__pthread_rwlock_trywrlock): Likewise.
13347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13348 (__pthread_rwlock_unlock): Likewise.
13349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13350 (__pthread_key_create): Likewise.
13351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13352 (__pthread_setspecific): Likewise.
13353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13354 (__pthread_getspecific): Likewise.
13355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13358 (_pthread_cleanup_push_defer): Likewise.
13359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13360 (_pthread_cleanup_pop_restore): Likewise.
13361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13362 (pthread_setcancelstate): Likewise.
13363 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13365 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13366 (memchr): Do not use BP_SYM in weak_alias.
13367 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13368 (fegetenv): Do not use BP_SYM in versioned symbols.
13369 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13370 (fesetenv): Do not use BP_SYM in versioned symbols.
13371 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13372 (feupdateenv): Do not use BP_SYM in versioned symbols.
13373 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13374 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13375 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13376 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13377 (open64): Do not use BP_SYM in weak_alias.
13378 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13379 (fegetenv): Do not use BP_SYM in versioned symbols.
13380 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13381 (fesetenv): Do not use BP_SYM in versioned symbols.
13382 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13383 (feupdateenv): Do not use BP_SYM in versioned symbols.
13384 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13385 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13386 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13387 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13388 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13389 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13390 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13392 (__libc_start_main): Do not use BP_SYM.
13394 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13397 redundant return line.
13399 (denorm): Likewise.
13400 (dbl_mp): Likewise.
13401 (sub_magnitudes): Likewise.
13407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13409 (denorm): Likewise.
13410 (dbl_mp): Likewise.
13411 (sub_magnitudes): Likewise.
13418 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13420 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13421 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13424 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13425 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13427 of __mul for squares.
13428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13432 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13433 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13435 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13438 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13440 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13441 prototype or function definition. Rename ubp_* variables and
13442 parameters. Remove argv definitions conditional on
13443 [__BOUNDED_POINTERS__].
13444 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13445 * elf/dl-runtime.c (_dl_fixup): Likewise.
13446 * include/set-hooks.h (RUN_HOOK): Likewise.
13447 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13449 * string/strcpy.c (strcpy): Do not use __unbounded.
13450 * sysdeps/generic/frame.h (struct layout): Likewise.
13451 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13452 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13453 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13454 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13455 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13456 (__backtrace): Likewise.
13457 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13459 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13460 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13461 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13463 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13464 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13465 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13466 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13467 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13468 Do not use __unbounded.
13469 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13470 Rename __unboundedrlimits parameter to rlimits in prototype.
13471 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13472 Do not use __unbounded.
13473 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13474 not use __ptrvalue.
13475 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13476 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13477 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13478 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13479 __ptrvalue or __unbounded.
13480 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13481 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13483 (__new_msgctl): Do not use __ptrvalue.
13484 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13486 (__libc_msgrcv): Do not use __ptrvalue.
13487 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13488 startup_info): Do not use __unbounded.
13489 (__libc_start_main): Likewise. Rename ubp_* variables and
13490 parameters. Remove argv definitions conditional on
13491 [__BOUNDED_POINTERS__].
13492 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13494 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13496 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13498 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13500 (__new_shmctl): Do not use __ptrvalue.
13501 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13502 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13504 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13505 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13506 (__libc_sigaction): Likewise.
13507 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13508 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13510 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13512 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13514 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13516 * string/mempcpy.c: Implement by calling memcpy.
13518 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13525 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13526 values in the mantissa.
13528 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13529 minimize writes to Z.
13530 (sub_magnitudes): Simplify code a bit.
13532 2013-02-12 Roland McGrath <roland@hack.frob.com>
13534 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13535 from the message. The linker prefixes all warnings with that already.
13537 2013-02-12 Andreas Schwab <schwab@suse.de>
13540 * posix/regexec.c (extend_buffers): Add parameter min_len.
13541 (check_matching): Pass minimum needed length.
13542 (clean_state_log_if_needed): Likewise.
13543 (get_subexp): Likewise.
13544 * posix/Makefile (tests): Add bug-regex34.
13545 (bug-regex34-ENV): Define.
13546 * posix/bug-regex34.c: New file.
13549 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13550 elements compare against the byte sequence of it, not its name.
13551 * posix/Makefile (tests): Add bug-regex35.
13552 (bug-regex35-ENV): Define.
13553 * posix/bug-regex35.c: New file.
13555 2013-02-11 Tom de Vries <tom@codesourcery.com>
13557 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13559 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13560 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13561 (CHECK_EOL): Add undef.
13563 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13565 * bits/stdlib-bsearch.h: New file.
13566 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13567 * stdlib/stdlib.h: Likewise.
13569 2013-02-11 Roland McGrath <roland@hack.frob.com>
13571 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13572 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13574 * manual/search.texi (Array Search Function): Add missing const in
13576 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13577 declaration to use rlim_t.
13578 (Basic Scheduling Functions): Remove erroneous const from
13579 sched_getparam prototype. Remove erroneous * from
13580 sched_get_priority_max and sched_get_priority_min prototypes.
13581 (Resource Usage): Fix summary @comment on vtimes to refer to
13582 sys/vtimes.h rather than vtimes.h.
13583 Add missing *s in vtimes prototype.
13584 (Limits on Resources): Fix ulimit prototype to return long int.
13585 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13586 prototypes to use long int rather than double.
13587 (BSD Random): Fix initstate and setstate to use char *, not void *.
13588 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13589 prototype to make second argument 'struct aiocb64 *const[]'.
13590 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13591 (Status of AIO Operations): Remove erroneous const in aio_return and
13592 aio_return64 prototypes.
13593 (Synchronizing I/O): Fix sync prototype to return void.
13594 * manual/startup.texi (Suboptions): Remove an erroneous const in
13595 getsubopt prototype.
13596 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13597 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13598 use size_t rather than int.
13599 (Scanning All Users): Likewise for getpwent_r.
13600 (Setting Groups): Add missing const to setgroups prototype.
13601 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13602 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13603 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13604 'const void *' rather than 'const char *'.
13605 (Host Address Functions): Likewise for inet_ntop.
13606 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13607 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13608 ssize_t for return value.
13609 (Sending Data): Likewise for send, sendto, sendmsg.
13610 (Socket Option Functions): Add a missing const in setsockopt prototype.
13611 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13612 use wchar_t for the argument.
13613 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13614 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13616 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13617 double/float/long double for second argument.
13618 Fix return types of significand, significandf, significandl.
13619 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13620 argument in fchmod prototype.
13621 (File Owner): Use uid_t and gid_t in fchown prototype.
13622 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13623 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13624 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13625 use 'const struct dirent **' as argument types to CMP function pointer
13627 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13628 (File Times): Fix summary magic @comment for struct utimbuf and utime
13629 to refer to utime.h, not time.h.
13630 * manual/string.texi (Argz Functions): Add missing const in
13631 argz_extract and argz_next prototypes.
13632 (Finding Tokens in a String): Likewise for basename.
13633 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13634 (Copying and Concatenation): Fix typo in wmemmove prototype.
13635 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13636 (Signal Stack): Remove erroneous const in sigstack prototype.
13637 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13639 (Simple Calendar Time): Likewise for stime.
13640 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13642 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13643 say sys/sysctl.h instead.
13644 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13645 and vsyslog prototypes.
13647 2013-02-11 Tom de Vries <tom@codesourcery.com>
13649 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13652 2013-02-11 Roland McGrath <roland@hack.frob.com>
13654 * misc/sys/mman.h: Fix typo in mremap comment.
13656 2013-02-08 Roland McGrath <roland@hack.frob.com>
13658 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13659 the '\0' terminator.
13661 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13664 * debug/segfault.c: Don't include <bp-checks.h>.
13665 * sysdeps/generic/bp-checks.h: Remove file.
13666 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13667 (__GETDENTS): Don't use CHECK_N.
13668 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13669 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13670 (__getgroups): Don't use CHECK_N.
13671 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13672 (setgroups): Don't use CHECK_N.
13673 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13674 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13675 (__libc_msgrcv): Don't use CHECK_N.
13676 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13677 (__libc_msgsnd): Don't use CHECK_N.
13678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13680 (__libc_pread): Don't use CHECK_N.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13682 include <bp-checks.h>.
13683 (__libc_pread64): Don't use CHECK_N.
13684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13685 include <bp-checks.h>.
13686 (__libc_pwrite): Don't use CHECK_N.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13688 include <bp-checks.h>.
13689 (__libc_pwrite64): Don't use CHECK_N.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13692 (__libc_pread): Don't use CHECK_N.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13694 include <bp-checks.h>.
13695 (__libc_pread64): Don't use CHECK_N.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13697 include <bp-checks.h>.
13698 (__libc_pwrite): Don't use CHECK_N.
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13700 include <bp-checks.h>.
13701 (__libc_pwrite64): Don't use CHECK_N.
13702 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13703 (do_pread): Don't use CHECK_N.
13704 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13705 (do_pread64): Don't use CHECK_N.
13706 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13707 (do_pwrite): Don't use CHECK_N.
13708 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13709 (do_pwrite64): Don't use CHECK_N.
13710 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13711 (__libc_readv): Don't use CHECK_N.
13712 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13713 (semop): Don't use CHECK_N.
13714 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13716 (semtimedop): Don't use CHECK_N.
13717 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13718 (__libc_pread): Don't use CHECK_N.
13719 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13721 (__libc_pread64): Don't use CHECK_N.
13722 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13724 (__libc_pwrite): Don't use CHECK_N.
13725 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13727 (__libc_pwrite64): Don't use CHECK_N.
13728 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13730 (__libc_msgrcv): Don't use CHECK_N.
13731 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13732 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13733 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13734 (__libc_writev): Don't use CHECK_N.
13736 2013-02-08 Roland McGrath <roland@hack.frob.com>
13738 * string/strcpy.c: Removed unused variable.
13740 * Makeconfig (+sysdep-includes): Define with := rather than =.
13741 Use an existing include/ subdir of each sysdeps dir before it.
13743 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13745 * nscd/connection.c (register_traced_file): Comment function.
13746 [HAVE_INOTIFY] (union __inev): Define.
13747 [HAVE_INOTIFY] (inotify_check_files): New function.
13748 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13749 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13751 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13753 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13755 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13756 loaded if not already and that a failure is permanent.
13758 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13761 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13762 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13764 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13767 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13768 (CHECK_1_NULL_OK): Likewise.
13769 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13770 (__fxstat): Do not use CHECK_1.
13771 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13773 (___fxstat64): Do not use CHECK_1.
13774 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13776 (__fxstatat): Do not use CHECK_1.
13777 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13779 (__fxstatat64): Do not use CHECK_1.
13780 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13782 (__fxstat): Do not use CHECK_1.
13783 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13785 (__fxstatat): Do not use CHECK_1.
13786 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13788 (__getresgid): Do not use CHECK_1.
13789 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13791 (__getresuid): Do not use CHECK_1.
13792 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13794 (__lxstat): Do not use CHECK_1.
13795 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13797 (__old_msgctl): Do not use CHECK_1.
13798 (__new_msgctl): Likewise.
13799 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13801 (__new_setrlimit): Do not use CHECK_1.
13802 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13804 (__old_shmctl): Do not use CHECK_1.
13805 (__new_shmctl): Likewise.
13806 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13808 (__xstat): Do not use CHECK_1.
13809 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13810 (__lxstat): Do not use CHECK_1.
13811 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13813 (___lxstat64): Do not use CHECK_1.
13814 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13815 (__old_msgctl): Do not use CHECK_1.
13816 (__new_msgctl): Likewise.
13817 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13819 (__gettimeofday): Do not use CHECK_1.
13820 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13821 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13822 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13824 (__gettimeofday): Do not use CHECK_1.
13825 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13826 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13827 (__new_shmctl): Do not use CHECK_1.
13828 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13830 (do_sigtimedwait): Do not use CHECK_1.
13831 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13833 (do_sigwaitinfo): Do not use CHECK_1.
13834 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13836 (msgctl): Do not use CHECK_1.
13837 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13839 (shmctl): Do not use CHECK_1.
13840 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13841 (ustat): Do not use CHECK_1.
13842 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13844 (__fxstat): Do not use CHECK_1.
13845 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13847 (__fxstatat): Do not use CHECK_1.
13848 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13850 (__lxstat): Do not use CHECK_1.
13851 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13853 (__xstat): Do not use CHECK_1.
13854 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13855 (__xstat): Do not use CHECK_1.
13856 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13857 (___xstat64): Do not use CHECK_1.
13860 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13862 (CHECK_BOUNDS_HIGH): Likewise.
13863 * string/strcpy.c: Do not include <bp-checks.h>.
13864 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13866 2013-02-07 Roland McGrath <roland@hack.frob.com>
13868 * nscd/nscd-client.h (__nscd_drop_map_ref):
13869 Add __attribute__ ((unused)).
13870 * nis/nss-nisplus.h (niserr2nss): Likewise.
13872 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13873 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13875 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13876 Remove inline keyword.
13877 * include/rounding-mode.h (round_away): Likewise.
13878 * libio/wfileops.c (adjust_wide_data): Likewise.
13879 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13880 (__m128i_strloadu_tolower): Likewise.
13881 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13882 (__m128i_strloadu_tolower): Likewise.
13883 * time/mktime.c (ydhms_diff): Likewise.
13884 * locale/elem-hash.h (elem_hash): Likewise.
13885 * locale/setlocale.c (setdata): Likewise.
13886 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13887 (re_string_wchar_at): Likewise.
13888 (bitset_not, bitset_merge, bitset_mask): Likewise.
13889 [!(__GNUC__ > 3)] (inline): Remove macro.
13890 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13891 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13892 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13893 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13894 * string/memcmp.c (memcmp_bytes): Likewise.
13895 * locale/programs/locarchive.c (compute_hashval): Likewise.
13896 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13897 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13898 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13899 * nss/getent.c (print_rpc, print_protocols): Likewise.
13900 (print_passwd, print_group, print_aliases): Likewise.
13901 * nis/nss-nisplus.h (niserr2nss): Likewise.
13902 * nscd/connections.c (restart_p): Likewise.
13903 Change return type to bool.
13905 2013-02-05 Roland McGrath <roland@hack.frob.com>
13907 * Makeconfig (all-Depend-files): Add existing
13908 $(sorted-subdirs:=/Depend) files.
13909 (all-subdirs): Remove nss.
13910 * sysdeps/unix/inet/Subdirs: Add it here instead.
13911 * hesiod/Depend: New file.
13913 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13914 instead of calling alloca.
13916 * io/lseek.c (__lseek): Rename to __libc_lseek.
13917 Define __lseek as an alias.
13919 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13921 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13923 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13924 else clause and remove check for non-standard endianness.
13926 2013-02-04 David S. Miller <davem@davemloft.net>
13928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13930 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13933 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13934 (__ubp_memchr): Remove prototype.
13935 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13936 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13937 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13938 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13939 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13941 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13942 (__ubp_memchr): Likewise.
13943 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13944 (__ubp_memchr): Likewise.
13945 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13946 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13947 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13948 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13950 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13951 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13952 (__getcwd): Do not use CHECK_STRING.
13953 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13955 (__real_chown): Do not use CHECK_STRING.
13956 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13958 (fchownat): Do not use CHECK_STRING.
13959 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13961 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13963 (__lchown): Do not use CHECK_STRING.
13964 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13965 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13966 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13967 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13969 include <bp-checks.h>.
13970 (truncate64): Do not use CHECK_STRING.
13971 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13973 (__real_chown): Do not use CHECK_STRING.
13974 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13976 (__lchown): Do not use CHECK_STRING.
13977 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13979 (__chown): Do not use CHECK_STRING.
13980 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13982 (truncate64): Do not use CHECK_STRING.
13983 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13985 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13986 (__xmknod): Do not use CHECK_STRING.
13987 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13989 (__xmknodat): Do not use CHECK_STRING.
13990 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13991 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13993 2013-02-04 Andreas Schwab <schwab@suse.de>
13996 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13997 * include/netdb.h: Likewise for h_errno.
13998 * elf/tst-stackguard1.c: Include <tls.h>.
14000 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14002 * elf/link.h (struct link_map): Extend the l_addr comment.
14003 * include/link.h (struct link_map): Likewise.
14005 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14008 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14009 (BOUNDED_1): Remove macro.
14010 * debug/backtrace.c: Don't include <bp-checks.h>.
14011 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14012 (__backtrace): Likewise.
14013 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14015 (__backtrace): Don't use BOUNDED_1.
14016 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14018 (__backtrace): Don't use BOUNDED_1.
14019 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14020 (__backtrace): Don't use BOUNDED_1.
14021 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14022 (shmat): Don't use BOUNDED_N.
14024 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14027 * sysdeps/generic/bp-start.h: Remove file.
14028 * csu/libc-start.c: Don't include <bp-start.h>.
14029 (LIBC_START_MAIN): Set up __environ directly instead of using
14030 INIT_ARGV_and_ENVIRON.
14031 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14035 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14037 (CHECK_FCNTL): Likewise.
14038 (CHECK_N_PAGES): Likewise.
14041 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14043 (CHECK_SIGSET_NULL_OK): Likewise.
14044 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14046 (sigpending): Don't use CHECK_SIGSET.
14047 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14049 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14050 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14052 (do_sigsuspend): Don't use CHECK_SIGSET.
14053 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14055 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14056 (do_sigwait): Don't use CHECK_SIGSET.
14057 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14059 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14060 include <bp-checks.h>.
14061 (sigpending): Don't use CHECK_SIGSET.
14062 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14063 include <bp-checks.h>.
14064 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14065 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14067 (sigpending): Don't use CHECK_SIGSET.
14068 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14070 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14073 * sysdeps/generic/bp-semctl.h: Remove file.
14074 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14075 <bp-checks.h> and <bp-semctl.h>.
14076 (__old_semctl): Don't use CHECK_SEMCTL.
14077 (__new_semctl): Likewise.
14078 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14080 (__old_semctl): Don't use CHECK_SEMCTL.
14081 (__new_semctl): Likewise.
14082 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14083 <bp-checks.h> and <bp-semctl.h>.
14084 (__old_semctl): Don't use CHECK_SEMCTL.
14085 (__new_semctl): Likewise.
14086 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14087 <bp-checks.h> and <bp-semctl.h>.
14088 (semctl): Don't use CHECK_SEMCTL.
14091 * Makerules (elide-bp-thunks): Remove variable.
14092 (elide-routines.oS): Don't use $(elide-bp-thunks).
14093 (elide-routines.os): Likewise.
14094 (elide-routines.o): Likewise.
14095 (elide-routines.op): Likewise.
14096 (elide-routines.og): Likewise.
14097 (objects): Don't use $(bp-thunks).
14098 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14100 (common-generated): Do not add s-proto-bp.d.
14101 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14104 Do not generate makefile rules for bounded-pointer thunks.
14105 * sysdeps/generic/bp-thunks.h: Remove file.
14106 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14107 * sysdeps/unix/s-proto-bp.S: Likewise.
14110 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14111 parts of result separately when argument is not close to line from
14112 -i to i and one part of argument is small.
14113 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14114 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14115 * math/libm-test.inc (cacos_test): Add more tests.
14116 (casin_test): Likewise.
14117 (casinh_test): Likewise.
14118 * sysdeps/i386/fpu/libm-test-ulps: Update.
14119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14121 2013-01-31 David S. Miller <davem@davemloft.net>
14123 * po/de.po: Update from translation team.
14125 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14127 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14129 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14131 * configure.in (_AC_PROG_CC_C89): New definition.
14132 * configure: Regenerate.
14134 * configure.in (AC_PROG_CPP): New definition.
14135 * configure: Regenerate.
14137 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14139 * debug/tst-backtrace.h: New file.
14140 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14141 (ret): Remove variable.
14143 (FAIL): Remove macro.
14144 (NO_INLINE): Likewise.
14145 (fn1): Use match function instead of strstr.
14146 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14147 (ret): Remove variable.
14149 (FAIL): Remove macro.
14150 (NO_INLINE): Likewise.
14151 (fn): Use match function instead of strstr.
14152 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14153 (ret): Remove variable.
14155 (FAIL): Remove macro.
14156 (NO_INLINE): Likewise.
14157 (handle_signal): Use match function instead of strstr.
14158 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14159 (ret): Remove variable.
14161 (FAIL): Remove macro.
14162 (NO_INLINE): Likewise.
14163 (handle_signal): Use match function instead of strstr.
14165 2013-01-23 Roland McGrath <roland@hack.frob.com>
14167 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14169 2013-01-23 David S. Miller <davem@davemloft.net>
14171 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14172 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14173 argument of CAS if possible.
14174 * sysdeps/sparc/sparc64/bits/atomic.h
14175 (__arch_compare_and_exchange_val_32_acq): Likewise.
14176 (__arch_compare_and_exchange_val_64_acq): Likewise.
14178 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14180 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14181 * sysdeps/posix/ulimit.c: ... this.
14182 Include <limits.h>.
14183 * sysdeps/unix/bsd/ulimit.c: Remove file.
14185 2013-01-23 Adam Conrad <adconrad@0c3.net>
14187 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14188 (LDFLAGS-tst-array5): Likewise.
14190 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14193 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14194 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14195 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14196 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14198 2013-01-21 David S. Miller <davem@davemloft.net>
14200 * sysdeps/sparc/backtrace.c: New file.
14201 * sysdeps/sparc/sparc32/backtrace.h: New file.
14202 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14203 * sysdeps/sparc/sparc64/backtrace.h: New file.
14204 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14205 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14208 2013-01-21 Andreas Schwab <schwab@suse.de>
14211 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14214 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14220 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14221 Mark Mitchell <mark@codesourcery.com>
14222 Tom de Vries <tom@codesourcery.com>
14223 Paul Pluzhnikov <ppluzhnikov@google.com>
14225 * debug/tst-backtrace2.c: New file.
14226 * debug/tst-backtrace3.c: Likewise.
14227 * debug/tst-backtrace4.c: Likewise.
14228 * debug/tst-backtrace5.c: Likewise.
14229 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14230 (CFLAGS-tst-backtrace3.c): Likewise.
14231 (CFLAGS-tst-backtrace4.c): Likewise.
14232 (CFLAGS-tst-backtrace5.c): Likewise.
14233 (LDFLAGS-tst-backtrace2): Likewise.
14234 (LDFLAGS-tst-backtrace3): Likewise.
14235 (LDFLAGS-tst-backtrace4): Likewise.
14236 (LDFLAGS-tst-backtrace5): Likewise.
14237 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14238 tst-backtrace4 and tst-backtrace5.
14240 2013-01-18 Anton Blanchard <anton@samba.org>
14241 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14243 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14244 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14245 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14246 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14248 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14249 "+r" and remove output regs list as redundant. Add explicit inline
14250 asm to specify register of return val to work around compiler codegen
14251 bug. Remove (int) cast on return value. Add return type parameter to
14252 use in macro so that this macro does not truncate return value for
14254 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14255 pass to INTERNAL_VSYSCALL_NCS.
14256 (INLINE_VSYSCALL): Add 'long int' as return type to
14257 INTERNAL_VSYSCALL_NCS macro invocation.
14258 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14259 INTERNAL_VSYSCALL_NCS macro invocation.
14260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14262 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14265 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14266 Fix application of SIMD FP exception mask.
14268 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14269 mp_no from a power of two.
14270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14271 __mpexp_twomm1. Use __pow_mp.
14273 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14276 2013-01-17 David S. Miller <davem@davemloft.net>
14278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14280 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14283 * include/complex.h: Condition contents on [!_COMPLEX_H].
14284 (__kernel_casinhf): New prototype.
14285 (__kernel_casinh): Likewise.
14286 (__kernel_casinhl): Likewise.
14287 * math/Makefile (libm_calls): Add k_casinh.
14288 * math/k_casinh.c: New file.
14289 * math/k_casinhf.c: Likewise.
14290 * math/k_casinhl.c: Likewise.
14291 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14292 finite nonzero arguments.
14293 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14294 finite nonzero arguments.
14295 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14296 finite nonzero arguments.
14297 * math/s_casinh.c: Do not include <float.h>.
14298 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14299 * math/s_casinhf.c: Do not include <float.h>.
14300 (__casinhf): Move code for finite nonzero arguments to
14302 * math/s_casinhl.c: Do not include <float.h>.
14303 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14305 (__casinhl): Move code for finite nonzero arguments to
14307 * math/libm-test.inc (cacos_test): Add more tests.
14308 * sysdeps/i386/fpu/libm-test-ulps: Update.
14309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14311 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14313 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14314 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14315 [!HAVE_MREMAP]: Remove [defined linux] case.
14316 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14318 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14320 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14322 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14324 * elf/elf.h (R_386_SIZE32): New relocation.
14325 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14327 (elf_machine_rela): Likewise.
14328 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14329 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14331 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14333 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14334 (FP_FAST_FMA): Do not define.
14335 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14336 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14337 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14338 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14339 !_SOFT_FLOAT]: Likewise.
14340 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14341 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14343 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14344 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14345 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14346 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14347 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14348 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14351 2013-01-16 Andreas Schwab <schwab@suse.de>
14354 * include/stdlib.h (__mktemp): Add declaration.
14355 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14356 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14358 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14360 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14362 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14363 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14364 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14366 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14367 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14369 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14371 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14372 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14373 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14375 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14376 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14378 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14380 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14382 2013-01-15 David S. Miller <davem@davemloft.net>
14384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14385 trunc{,f} to libm-sysdep_routes.
14386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14396 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14397 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14398 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14399 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14400 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14401 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14404 nearbyint{,f} to libm-sysdep_routes.
14405 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14416 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14418 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14419 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14421 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14422 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14423 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14425 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14426 libc_feholdexcept and libc_fesetenv.
14428 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14430 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14432 2013-01-14 David S. Miller <davem@davemloft.net>
14434 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14435 (SPARC_ASM_VIS2_IFUNC): Likewise.
14436 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14438 use of 'siam' instruction.
14439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14472 routines to libm-sysdep_routines.
14473 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14476 fdim/fdimf to libm-sysdep_routines.
14477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14485 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14486 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14487 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14488 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14490 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14492 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14493 to optimize copies.
14495 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14500 local variable MPTWO.
14501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14504 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14506 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14509 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14511 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14513 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14515 * manual/pattern.texi (glob_t): Document gl_flags.
14516 (glob64_t): Likewise.
14518 2013-01-11 David S. Miller <davem@davemloft.net>
14520 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14521 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14522 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14523 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14524 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14525 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14526 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14527 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14528 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14529 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14530 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14531 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14532 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14534 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14535 sparc V9 rather than using V8 code.
14536 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14537 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14539 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14541 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14544 2013-01-11 Roland McGrath <roland@hack.frob.com>
14546 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14547 not in the main loop.
14548 * configure: Regenerated.
14550 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14552 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14553 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14555 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14556 [!__GLIBC_HAVE_LONG_LONG] case.
14557 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14558 condition to just #else.
14559 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14560 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14561 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14562 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14564 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14565 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14566 #elif condition to just #else.
14567 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14568 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14569 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14570 #elif condition to just #else.
14572 2013-01-11 Steve Ellcey <sellcey@mips.com>
14574 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14575 (EF_MIPS_ARCH_64): Fix value.
14576 (EF_MIPS_ARCH_32R2): New.
14577 (EF_MIPS_ARCH_64R2): New.
14579 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14581 * Makeconfig (+link-pie-before-libc): New.
14582 (+link-pie-after-libc): Likewise.
14583 (+link-pie-tests): Likewise.
14584 (+link-pie): Rewritten.
14585 (link-before-libc): Remove $(config-LDFLAGS).
14586 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14587 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14588 (config-LDFLAGS): Renamed to ...
14589 (rtld-LDFLAGS): This.
14590 (rtld-tests-LDFLAGS): New macro.
14591 (link-libc-rpath-link): Likewise.
14592 (link-libc-tests-rpath-link): Likewise.
14593 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14594 (link-libc): Prepand $(link-libc-rpath-link).
14595 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14596 (test-program-prefix): New macro.
14597 (test-via-rtld-prefix): Likewise.
14598 (test-program-cmd): Likewise.
14599 (host-test-program-cmd): Likewise.
14600 * Makefile ($(common-objpfx)testrun.sh): Replace
14601 $(run-program-prefix) with $(test-program-prefix).
14602 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14604 ($(common-objpfx)shlib.lds): Likewise.
14605 (build-module-helper): Likewise.
14606 ($(common-objpfx)format.lds): Likewise.
14607 * Rules (binaries-pie-tests): New.
14608 (binaries-pie-notests): Likewise.
14609 (binaries-pie): Rewritten.
14610 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14611 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14612 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14613 (make-test-out): Replace $(host-built-program-cmd) with
14614 $(host-test-program-cmd).
14615 * config.make.in (build-hardcoded-path-in-tests): New variable.
14616 * configure.in (--enable-hardcoded-path-in-tests): New configure
14618 (hardcoded_path_in_tests): New AC_SUBST.
14619 * configure: Regenerated.
14620 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14621 $(built-program-cmd) with $(test-program-cmd).
14622 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14623 (test_program_cmd): This.
14624 * elf/Makefile ($(objpfx)order.out): Run test with
14625 $(test-program-prefix).
14626 ($(objpfx)order2.out): Likewise.
14627 ($(objpfx)tst-initorder.out): Likewise.
14628 ($(objpfx)tst-initorder2.out): Likewise.
14629 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14630 $(test-program-cmd).
14631 ($(objpfx)tst-array1-static.out): Likewise.
14632 ($(objpfx)tst-array2.out): Likewise.
14633 ($(objpfx)tst-array3.out): Likewise.
14634 ($(objpfx)tst-array4.out): Likewise.
14635 ($(objpfx)tst-array5.out): Likewise.
14636 ($(objpfx)tst-array5-static.out): Likewise.
14637 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14638 $(test-program-cmd).
14639 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14640 $(run-program-prefix) with $(test-program-prefix).
14641 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14642 (test_program_prefix): This.
14643 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14644 $(run-program-prefix) with $(test-program-prefix).
14645 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14646 (test_program_prefix): This.
14647 * iconvdata/tst-tables.sh: Likewise.
14648 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14649 $(run-program-prefix) with $(test-program-prefix).
14650 ($(objpfx)tst-translit.out): Likewise.
14651 ($(objpfx)tst-gettext2.out): Likewise.
14652 ($(objpfx)tst-gettext4.out): Likewise.
14653 ($(objpfx)tst-gettext6.out): Likewise.
14654 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14655 (test_program_prefix): This.
14656 * intl/tst-gettext2.sh: Likewise.
14657 * intl/tst-gettext4.sh Likewise.
14658 * intl/tst-gettext6.sh: Likewise.
14659 * intl/tst-translit.sh: Likewise.
14660 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14661 with $(test-program-cmd).
14662 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14663 $(run-program-prefix) with $(test-program-prefix).
14664 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14665 (test_program_prefix): This.
14666 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14667 $(run-program-prefix) with $(test-program-prefix).
14668 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14669 (test_program_prefix): This.
14670 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14671 * posix/Makefile ($(objpfx)globtest.out): Replace
14672 $(run-via-rtld-prefix) and $(test-wrapper) with
14673 $(test-program-prefix) and $(test-via-rtld-prefix).
14674 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14675 $(test-program-prefix).
14676 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14677 $(host-test-program-cmd).
14678 (tst-spawn-ARGS): Likewise.
14679 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14680 $(test-program-prefix).
14681 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14682 (test_via_rtld_prefix): This.
14683 (test_wrapper): Renamed to ...
14684 (test_program_prefix): This.
14685 (run_program_prefix): Replaced by test_program_prefix.
14686 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14687 (test_program_prefix): This.
14688 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14689 with $(host-test-program-cmd).
14690 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14691 $(run-program-prefix) with $(test-program-prefix).
14692 ($(objpfx)tst-printf.out): Likewise.
14693 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14694 $(test-program-cmd).
14695 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14696 (test_program_prefix): This.
14697 * stdio-common/tst-unbputc.sh: Likewise.
14698 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14699 $(run-program-prefix) with $(test-program-prefix).
14700 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14701 (test_program_prefix): This.
14702 * string/Makefile ($(objpfx)tst-svc.out): Replace
14703 $(built-program-cmd) with $(test-program-cmd).
14705 2013-01-11 Andreas Jaeger <aj@suse.de>
14708 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14709 value. Sync with Linux 3.7.
14711 2013-01-10 David S. Miller <davem@davemloft.net>
14713 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14714 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14715 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14717 2013-01-10 Roland McGrath <roland@hack.frob.com>
14719 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14721 * configure: Regenerated.
14723 2013-01-10 David S. Miller <davem@davemloft.net>
14725 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14726 sparc V9 rather than using V8 code.
14727 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14728 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14730 2013-01-10 Roland McGrath <roland@hack.frob.com>
14732 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14733 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14734 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14735 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14736 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14737 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14738 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14739 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14740 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14741 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14742 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14743 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14744 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14745 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14746 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14747 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14748 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14749 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14750 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14751 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14752 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14753 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14754 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14755 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14756 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14757 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14758 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14760 2013-01-10 David S. Miller <davem@davemloft.net>
14762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14764 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14766 * posix/Makefile (tests-static): New variable.
14767 (tests): Add $(tests-static).
14768 (tst-exec-static-ARGS): New variable.
14769 (tst-spawn-static-ARGS): Likewise.
14770 * posix/tst-exec-static.c: New file.
14771 * posix/tst-spawn-static.c: Likewise.
14772 * posix/tst-exec.c: Support run directly.
14773 * posix/tst-spawn.c: Likewise.
14775 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14777 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14779 * math/bits/mathcalls.h (llrint): Likewise.
14780 (llround): Likewise.
14781 * stdlib/stdlib.h (struct drand48_data): Likewise.
14782 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14783 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14784 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14786 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14788 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14789 (elf_greg_t): Likewise.
14790 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14791 (__jmp_buf): Likewise.
14792 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14794 (llrint): Likewise, for all definitions.
14795 (llrintl): Likewise.
14797 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14798 Remove [__GNUC__] condition.
14799 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14800 condition to just [__USE_ISOC99].
14801 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14803 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14806 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14807 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14809 (_POSIX_V6_ILP32_OFF32): Likewise.
14810 (_XBS5_ILP32_OFF32): Likewise.
14811 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14812 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14814 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14816 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14818 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14819 doubles __mpexp_twomm1. Adjust usage.
14820 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14823 2013-01-10 Andreas Schwab <schwab@suse.de>
14826 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14827 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14829 2013-01-09 David S. Miller <davem@davemloft.net>
14832 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14833 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14834 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14835 TCP_FASTOPEN): Define.
14836 (tcp_repair_opt): New structure.
14837 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14839 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14840 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14841 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14842 (tcp_cookie_transactions): New structure.
14844 2013-01-09 Anton Blanchard <anton@samba.org>
14846 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14847 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14848 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14849 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14851 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14853 * include/features.h (__USE_ANSI): Remove.
14855 2013-01-09 Roland McGrath <roland@hack.frob.com>
14857 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14859 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14861 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14863 * sysdeps/s390/fpu/libm-test-ulps: Update.
14865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14867 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14871 (denorm): Likewise.
14872 (__mp_dbl): Likewise.
14873 (__dbl_mp): Likewise.
14874 (add_magnitudes): Likewise.
14875 (sub_magnitudes): Likewise.
14881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14885 (denorm): Likewise.
14886 (__mp_dbl): Likewise.
14887 (__dbl_mp): Likewise.
14888 (add_magnitudes): Likewise.
14889 (sub_magnitudes): Likewise.
14895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14899 (denorm): Likewise.
14900 (__mp_dbl): Likewise.
14901 (__dbl_mp): Likewise.
14902 (add_magnitudes): Likewise.
14903 (sub_magnitudes): Likewise.
14910 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14912 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14913 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14914 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14915 2 && __USE_EXTERN_INLINES]: Likewise.
14917 2013-01-08 Andreas Jaeger <aj@suse.de>
14920 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14922 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14923 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14925 2013-01-07 Anton Blanchard <anton@samba.org>
14927 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14928 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14929 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14930 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14931 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14932 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14933 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14934 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14936 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14937 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14938 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14939 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14940 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14941 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14942 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14943 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14944 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14945 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14947 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14948 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14950 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14951 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14952 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14953 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14954 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14955 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14956 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14957 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14959 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14960 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14961 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14962 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14963 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14964 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14965 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14966 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14967 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14969 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14971 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14973 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14974 (__MALLOC_PMT): Likewise.
14975 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14976 [__GNUC__], only on [_LIBC].
14977 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14978 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14979 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14980 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14981 forward declaration.
14982 (realloc_hook_ini): Likewise.
14983 (memalign_hook_ini): Likewise.
14984 (__libc_memalign): Do not use __MALLOC_PMT in variable
14986 (__libc_valloc): Likewise.
14987 (__libc_pvalloc): Likewise.
14988 (__libc_calloc): Likewise.
14989 (__posix_memalign): Likewise.
14992 * math/s_casinh.c: Include <float.h>.
14993 (__casinh): Do not do computation with squaring and square root
14994 for large arguments.
14995 * math/s_casinhf.c: Include <float.h>.
14996 (__casinhf): Do not do computation with squaring and square root
14997 for large arguments.
14998 * math/s_casinhl.c: Include <float.h>.
14999 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15000 (__casinhl): Do not do computation with squaring and square root
15001 for large arguments.
15002 * math/libm-test.inc (casin_test): Add more tests.
15003 (casinh_test): Likewise.
15004 * sysdeps/i386/fpu/libm-test-ulps: Update.
15005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15007 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15009 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15010 (__x86_64_raw_data_cache_size): Likewise.
15011 (__x86_64_data_cache_size_half): Likewise.
15012 (__x86_64_raw_data_cache_size_half): Likewise.
15013 (__x86_64_shared_cache_size): Likewise.
15014 (__x86_64_raw_shared_cache_size): Likewise.
15015 (__x86_64_shared_cache_size_half): Likewise.
15016 (__x86_64_raw_shared_cache_size_half): Likewise.
15017 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15019 (__x86_data_cache_size): This.
15020 (__x86_64_raw_data_cache_size): Renamed to ...
15021 (__x86_raw_data_cache_size): This.
15022 (__x86_64_data_cache_size_half): Renamed to ...
15023 (__x86_data_cache_size_half): This.
15024 (__x86_64_raw_data_cache_size_half): Renamed to ...
15025 (__x86_raw_data_cache_size_half): This.
15026 (__x86_64_shared_cache_size): Renamed to ...
15027 (__x86_shared_cache_size): This.
15028 (__x86_64_raw_shared_cache_size): Renamed to ...
15029 (__x86_raw_shared_cache_size): This.
15030 (__x86_64_shared_cache_size_half): Renamed to ...
15031 (__x86_shared_cache_size_half): This.
15032 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15033 (__x86_raw_shared_cache_size_half): This.
15034 * sysdeps/x86_64/memcpy.S: Updated.
15035 * sysdeps/x86_64/memset.S: Likewise.
15036 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15037 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15040 2013-01-04 David S. Miller <davem@davemloft.net>
15042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15044 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15046 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15047 1 to avoid redefinition warning.
15048 (__USE_GNU): Don't define.
15049 (init_signaling_nan): Protoize.
15051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15053 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15055 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15057 (__cpymn): Likewise.
15058 (norm): Remove commented code.
15059 (denorm): Likewise.
15060 (__mp_dbl): Likewise.
15062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15063 (__cpymn): Likewise.
15064 (norm): Remove commented code.
15065 (denorm): Likewise.
15066 (__mp_dbl): Likewise.
15069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15070 mp_no value for 1.0 and 2.0.
15071 (norm): Use RADIXI instead of radixi.d.
15072 (denorm): Likewise.
15073 (__mul): Use 0.0 instead of zero.d.
15074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15075 mp_no value for 1.0 and 2.0.
15076 (norm): Use RADIXI instead of radixi.d.
15077 (denorm): Likewise.
15078 (__mul): Use 0.0 instead of zero.d.
15080 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15083 * math/s_casinh.c (__casinh): Reduce finite argument to first
15084 quadrant then set signs of results at the end.
15085 * math/s_casinhf.c (__casinhf): Likewise.
15086 * math/s_casinhl.c (__casinhl): Likewise.
15087 * math/libm-test.inc (casin_test): Add more tests.
15088 (casinh_test): Likewise.
15089 * sysdeps/i386/fpu/libm-test-ulps: Update.
15090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15092 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15094 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15096 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15098 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15100 (denorm): Likewise.
15101 (__mp_dbl): Likewise.
15104 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15105 and adjust the header comment.
15107 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15108 variable name from declaration.
15110 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15113 Initialize COMMON_CPUID_INDEX_7 element.
15114 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15115 (CPUID_RTM): Likewise.
15116 (HAS_RTM): Likewise.
15117 (COMMON_CPUID_INDEX_7): New enum.
15119 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15122 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15123 size is zero, record memory as freed.
15125 2013-01-03 Andreas Jaeger <aj@suse.de>
15127 * po/ia.po: Add new Interlingua translation.
15129 2012-01-03 Allan McRae <allan@archlinux.org>
15131 * locale/programs/localedef.c: Fix description of '--posix' flag.
15133 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15135 * NEWS: Update dates in second copyright notice.
15136 * README: Update copyright dates in example.
15137 * manual/libc.texinfo: Update copyright dates.
15138 * scripts/test-installation.pl: Update copyright date in --version
15141 * hurd/ctty-input.c: Fix copyright notice formatting.
15142 * hurd/ctty-output.c: Likewise.
15143 * hurd/dtable.c: Likewise.
15144 * hurd/hurd-raise.c: Likewise.
15145 * hurd/hurdprio.c: Likewise.
15146 * hurd/msgportdemux.c: Likewise.
15147 * misc/sys/file.h: Likewise.
15148 * misc/sys/ioctl.h: Likewise.
15149 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15150 * sysdeps/mach/hurd/chdir.c: Likewise.
15151 * sysdeps/mach/hurd/fchdir.c: Likewise.
15152 * sysdeps/mach/hurd/rename.c: Likewise.
15153 * sysdeps/mach/hurd/rmdir.c: Likewise.
15154 * sysdeps/mach/hurd/seekdir.c: Likewise.
15155 * sysdeps/mach/hurd/setsid.c: Likewise.
15156 * sysdeps/posix/wait3.c: Likewise.
15158 * All files with FSF copyright notices: Update copyright dates
15159 using scripts/update-copyrights.
15160 * intl/plural.c: Regenerated.
15161 * locale/programs/charmap-kw.h: Likewise.
15162 * locale/programs/locfile-kw.h: Likewise.
15164 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15166 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15169 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15170 calculation loop and add branch prediction.
15172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15173 check access beyond bounds of m1np.
15175 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15177 (__inv): Remove local variable MPTWO to use the global
15179 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15180 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15182 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15183 MP3HALFS static const.
15185 2013-01-01 David S. Miller <davem@davemloft.net>
15187 * po/ca.po: Update from translation team.
15189 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15191 * scripts/update-copyrights: New file.
15192 * Makeconfig: Reformat copyright notice.
15193 * ctype/ctype.h: Likewise.
15194 * debug/swprintf_chk.c: Likewise.
15195 * elf/dl-cache.c: Likewise.
15196 * elf/dl-debug.c: Likewise.
15197 * elf/dl-object.c: Likewise.
15198 * grp/initgroups.c: Likewise.
15199 * hurd/Makefile: Likewise.
15200 * hurd/hurd/signal.h: Likewise.
15201 * hurd/hurdfault.c: Likewise.
15202 * hurd/hurdioctl.c: Likewise.
15203 * hurd/hurdlookup.c: Likewise.
15204 * hurd/intr-msg.c: Likewise.
15205 * iconv/gconv_open.c: Likewise.
15206 * libio/swprintf.c: Likewise.
15207 * locale/lc-ctype.c: Likewise.
15208 * locale/nl_langinfo.c: Likewise.
15209 * mach/Machrules: Likewise.
15210 * mach/Makefile: Likewise.
15211 * malloc/obstack.h: Likewise.
15212 * manual/Makefile: Likewise.
15213 * manual/tsort.awk: Likewise.
15214 * misc/bits/stab.def: Likewise.
15215 * nis/nis_print_group_entry.c: Likewise.
15216 * nis/nis_table.c: Likewise.
15217 * nis/nss_compat/compat-pwd.c: Likewise.
15218 * nis/nss_compat/compat-spwd.c: Likewise.
15219 * po/Makefile: Likewise.
15220 * posix/fnmatch.c: Likewise.
15221 * posix/regex.h: Likewise.
15222 * resolv/Makefile: Likewise.
15223 * resolv/nss_dns/dns-network.c: Likewise.
15224 * resolv/res_hconf.c: Likewise.
15225 * scripts/gen-sorted.awk: Likewise.
15226 * soft-fp/soft-fp.h: Likewise.
15227 * stdio-common/printf.h: Likewise.
15228 * stdlib/monetary.h: Likewise.
15229 * stdlib/random.c: Likewise.
15230 * stdlib/random_r.c: Likewise.
15231 * sysdeps/generic/Makefile: Likewise.
15232 * sysdeps/gnu/Makefile: Likewise.
15233 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15234 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15235 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15236 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15238 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15248 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15249 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15250 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15251 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15252 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15253 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15254 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15255 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15256 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15257 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15258 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15259 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15260 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15261 * sysdeps/mach/hurd/errnos.awk: Likewise.
15262 * sysdeps/mach/hurd/fork.c: Likewise.
15263 * sysdeps/mach/hurd/getcwd.c: Likewise.
15264 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15265 * sysdeps/mach/hurd/mmap.c: Likewise.
15266 * sysdeps/mach/hurd/utimes.c: Likewise.
15267 * sysdeps/mach/hurd/xmknod.c: Likewise.
15268 * sysdeps/posix/profil.c: Likewise.
15269 * sysdeps/posix/readdir_r.c: Likewise.
15270 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15271 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15272 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15273 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15275 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15276 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15277 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15279 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15280 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15281 * sysdeps/pthread/lio_listio.c: Likewise.
15282 * sysdeps/sparc/dl-procinfo.h: Likewise.
15283 * sysdeps/unix/i386/sysdep.S: Likewise.
15284 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15285 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15286 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15287 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15289 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15290 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15291 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15292 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15293 * sysdeps/wordsize-32/divdi3.c: Likewise.
15294 * time/sys/time.h: Likewise.
15295 * wcsmbs/Makefile: Likewise.
15297 2013-01-01 David S. Miller <davem@davemloft.net>
15299 * po/fr.po: Update from translation team.
15301 * catgets/gencat.c: Update copyright year.
15302 * csu/version.c: Likewise.
15303 * debug/catchsegv.sh: Likewise.
15304 * debug/pcprofiledump.c: Likewise.
15305 * debug/xtrace.sh: Likewise.
15306 * elf/ldconfig.c: Likewise.
15307 * elf/ldd.bash.in: Likewise.
15308 * elf/pldd.c: Likewise.
15309 * elf/sotruss.ksh: Likewise.
15310 * elf/sprof.c: Likewise.
15311 * iconv/iconv_prog.c: Likewise.
15312 * iconv/iconvconfig.c: Likewise.
15313 * locale/programs/locale.c: Likewise.
15314 * locale/programs/localedef.c: Likewise.
15315 * login/programs/pt_chown.c: Likewise.
15316 * malloc/memusage.sh: Likewise.
15317 * malloc/memusagestat.c: Likewise.
15318 * malloc/mtrace.pl: Likewise.
15319 * nscd/nscd.c: Likewise.
15320 * nss/getent.c: Likewise.
15321 * nss/makedb.c: Likewise.
15322 * posix/getconf.c: Likewise.
15324 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15326 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15329 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15331 * math/bits/mathcalls.h (modf): Use __nonnull.
15333 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15335 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15336 (split): Use macro CN instead of the bare value.
15337 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15340 instead of the bare value.
15341 (power1): Likewise.
15343 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15345 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15347 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15349 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15351 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15352 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15353 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15354 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15356 2012-12-28 Andreas Jaeger <aj@suse.de>
15358 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15359 values are from Linux 3.7.
15361 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15362 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15364 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15366 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15369 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15371 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15372 variables with preprocessor constants.
15373 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15374 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15375 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15377 2012-12-27 Bruno Haible <bruno@clisp.org>
15380 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15383 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15386 and use variable directly.
15387 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15389 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15391 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15392 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15394 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15396 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15397 include directive. Remove local variable MPONE.
15398 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15399 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15400 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15402 2012-12-25 David S. Miller <davem@davemloft.net>
15404 * version.h (RELEASE): Set to "development".
15405 (VERSION): Set to "2.17.90".
15406 * NEWS: Add 2.18 section.
15408 2012-12-21 David S. Miller <davem@davemloft.net>
15410 * po/hr.po: Update from translation team.
15412 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15414 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15416 2012-12-19 Steve Ellcey <sellcey@mips.com>
15418 * NEWS: Mention new memcpy for MIPS.
15420 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15422 * manual/contrib.texi (Contributors): Spelling correction.
15424 2012-12-15 David S. Miller <davem@davemloft.net>
15426 * po/ru.po: Update from translation team.
15428 2012-12-13 David S. Miller <davem@davemloft.net>
15430 * NEWS: Mention IFUNC testsuite enhancements.
15432 * po/pl.po: Update from translation team.
15433 * po/bg.po: Likewise.
15435 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15436 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15438 2012-12-11 David S. Miller <davem@davemloft.net>
15440 * po/sv.po: Update from translation team.
15442 * po/vi.po: Update from translation team.
15444 * po/cs.po: Update from translation team.
15446 * po/de.po: Update from translation team.
15447 * po/eo.po: Likewise.
15448 * po/nl.po: Likewise.
15450 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15453 * manual/argp.texi (Argp Helper Functions): Move node to follow
15454 Argp Parsing State.
15457 * manual/conf.texi (Limits on File System Capacity): Mention if
15458 terminating null is included in the max size.
15460 2012-12-10 Andreas Jaeger <aj@suse.de>
15462 * po/cs.po: Update from translation team.
15464 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15466 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15467 void pointer and cast to uintptr_t.
15468 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15470 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15471 * sysdeps/s390/s390-64/memset.S: Likewise.
15473 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15476 * menual/message.texi (Message Translation): Fix typos.
15477 (Helper programs for gettext): Likewise.
15479 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15482 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15485 2012-12-07 David S. Miller <davem@davemloft.net>
15487 * po/libc.pot: Update.
15489 2012-12-07 Richard Henderson <rth@redhat.com>
15492 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15493 normal/normal case to before the switch.
15494 (_FP_DIV): Likewise.
15496 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15497 Mike Frysinger <vapier@gentoo.org>
15499 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15500 check for __NR_fadvise64_64.
15502 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15504 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15505 0, not just to plain "0" as a statement.
15506 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15509 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15511 * NEWS: Use sourceware.org in Bugzilla URL.
15513 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15516 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15518 * stdio-common/tst-put-error.c (do_test): Add newline to the
15519 padded test to ensure flush.
15521 2012-12-05 Jeff Law <law@redhat.com>
15523 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15525 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15527 * README: Don't refer to ports add-on as distributed separately.
15528 Mention AArch64 in list of systems supported in the ports add-on.
15530 * LICENSES: Add more non-FSF copyright and license notices.
15532 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15535 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15537 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15538 10000 as width of padded output.
15540 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15542 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15544 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15545 variable LX with __attribute__ ((unused)).
15546 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15548 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15549 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15550 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15551 with __attribute__ ((unused)).
15553 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15555 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15557 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15559 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15560 (CFLAGS-nldbl-acos.c): New variable.
15561 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15562 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15563 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15564 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15565 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15566 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15567 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15568 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15569 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15570 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15571 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15572 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15573 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15574 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15575 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15576 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15577 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15578 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15579 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15580 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15581 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15582 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15583 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15584 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15585 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15586 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15587 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15588 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15589 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15590 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15591 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15592 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15593 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15594 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15595 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15596 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15597 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15598 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15599 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15600 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15601 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15602 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15603 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15604 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15605 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15606 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15615 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15616 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15617 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15618 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15619 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15620 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15621 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15622 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15623 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15624 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15625 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15626 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15627 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15628 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15629 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15630 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15631 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15632 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15633 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15634 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15635 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15636 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15637 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15638 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15639 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15640 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15641 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15642 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15643 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15644 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15645 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15646 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15647 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15648 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15649 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15650 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15651 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15652 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15653 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15654 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15655 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15656 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15657 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15660 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15663 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15664 whole low double instead of just low 47 bits when splitting values
15667 2012-12-03 Allan McRae <allan@archlinux.org>
15669 * manual/stdio.texi (Predefined Printf Handlers): Remove
15670 @hsep and @vsep usage.
15672 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15674 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15675 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15677 2012-12-03 Jeff Law <law@redhat.com>
15679 * time/sys/time.h (settimeofday): Do not mark TV argument
15682 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15684 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15685 when currently writing and seek to current position when not.
15686 * libio/Makefile (tests): Remove bug-fclose1.
15687 * libio/bug-fclose1.c: Delete.
15689 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15691 * manual/arith.texi (feenableexcept): Fix typo.
15692 (fedisableexcept): Likewise.
15694 2012-11-30 Roland McGrath <roland@hack.frob.com>
15696 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15697 second, differently-typed declaration, rather than a cast.
15699 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15701 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15702 * include/rpc/svc.h: ... here.
15704 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15707 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15708 depending n and resplen2 to catch cases where answer
15711 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15713 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15714 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15716 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15718 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15720 2012-11-29 Roland McGrath <roland@hack.frob.com>
15722 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15724 2012-11-28 Jeff Law <law@redhat.com>
15727 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15728 dataset_temporary. Track alloca usage into alloca_used.
15729 If dataset is large allocate and release it via malloc/free.
15731 2012-06-04 Florian Weimer <fweimer@redhat.com>
15734 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15736 2012-11-28 David S. Miller <davem@davemloft.net>
15738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15740 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15743 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15744 of pi/2 rounded to nearest to 64 bits.
15745 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15746 nearest to 64 bits.
15747 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15750 2012-11-28 Jeff Law <law@redhat.com>
15751 Martin Osvald <mosvald@redhat.com>
15754 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15755 * sunrpc/svc.c: Include time.h.
15756 (__svc_accept_failed): New function.
15757 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15758 any reason other than EINTR, call __svc_accept_failed.
15759 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15760 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15762 2012-11-28 Andreas Schwab <schwab@suse.de>
15764 * scripts/abilist.awk: Also handle indirect functions in .opd
15767 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15770 * sysdeps/x86/fpu/powl_helper.c: New file.
15771 * sysdeps/x86/fpu/Makefile: Likewise.
15772 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15774 (__ieee754_powl): Use __powl_helper for finite arguments except
15775 integer exponents below 8.
15776 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15778 (__ieee754_powl): Use __powl_helper for finite arguments except
15779 integer exponents below 8.
15780 * math/libm-test.inc (pow_test): Add more tests and enable some
15781 previously disabled tests.
15782 * sysdeps/i386/fpu/libm-test-ulps: Update.
15783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15785 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15786 Carlos O'Donell <carlos_odonell@mentor.com>
15788 * nss/makedb.c (is_prime): Assert that input is odd and greater
15789 than 4. Note that fact in a comment too.
15790 (next_prime): Add 4 to input.
15792 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15795 * libio/Makefile (tests): Add test case tst-fwrite-error.
15796 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15797 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15798 * libio/tst-fwrite-error.c: New test case.
15800 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15802 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15803 before casting to void *.
15804 * include/libc-internal.h (__pointer_type): New macro.
15805 (__integer_if_pointer_type_sub): Likewise.
15806 (__integer_if_pointer_type): Likewise.
15807 (cast_to_integer): Likewise.
15808 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15809 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15810 before casting to atomic64_t.
15811 (atomic_exchange_acq): Likewise.
15812 (__arch_exchange_and_add_body): Likewise.
15813 (__arch_add_body): Likewise.
15814 (atomic_add_negative): Likewise.
15815 (atomic_add_zero): Likewise.
15817 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15819 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15820 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15821 (add_fdes): Likewise.
15822 (linear_search_fdes): Likewise.
15823 (binary_search_unencoded_fdes): Likewise.
15825 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15827 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15829 2012-11-24 Adam Conrad <adconrad@0c3.net>
15831 * configure.in: Autodetect C++ header directories.
15832 * configure: Regenerated.
15834 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15836 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15838 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15842 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15844 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15845 LDBL_MANT_DIG == 106]: Disable some tests.
15846 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15848 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15852 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15853 input for small inputs. Return +/- pi/2 for large inputs.
15854 * math/libm-test.inc (atan_test): Add more tests.
15856 * sysdeps/generic/unwind-dw2-fde-glibc.c
15857 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15858 __attribute__ ((unused)).
15861 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15862 x * y if x and y are nonzero and z is zero.
15865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15866 nonzero exponents with absolute value below 0x1p-117 to +/-
15870 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15871 up arguments below 2**-450, not just those below 2**-500.
15872 * math/libm-test.inc (hypot_test): Add another test.
15875 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15876 Return a+b for ratio over 2**120, not 2**60.
15877 * math/libm-test.inc (hypot_test): Add another test.
15879 * math/libm-test.inc (clog_test): Use
15880 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15881 (clog10_test): Likewise.
15884 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15886 2012-11-22 Andreas Schwab <schwab@suse.de>
15888 * sysdeps/i386/fpu/libm-test-ulps: Update.
15890 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15892 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15893 printf output with newline.
15895 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15898 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15899 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15900 -z nodlopen, -z initfirst and -z execstack support.
15901 * configure: Regenerated.
15903 * elf/elf.h (DF_1_NODIRECT): New macro.
15904 (DF_1_IGNMULDEF): Likewise.
15905 (DF_1_NOKSYMS): Likewise.
15906 (DF_1_NOHDR): Likewise.
15907 (DF_1_EDITED): Likewise.
15908 (DF_1_NORELOC): Likewise.
15909 (DF_1_SYMINTPOSE): Likewise.
15910 (DF_1_GLOBAUDIT): Likewise.
15911 (DF_1_SINGLETON): Likewise.
15912 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15913 DT_1_SUPPORTED_MASK bits.
15914 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15916 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15918 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15920 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15922 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15925 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15926 (sendmmsg): Move declarations...
15927 * socket/sys/socket.h: ... here.
15928 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15929 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15931 * socket/recvmmsg.c: ... this new file.
15932 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15933 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15934 definition of __sendmmsg hidden.
15935 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15936 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15937 Move ENOSYS stub into and include it from...
15938 * socket/sendmmsg.c: ... this new file.
15939 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15940 (sysdep_routines): Move recvmmsg and sendmmsg...
15941 * socket/Makefile (routines): ... here.
15942 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15943 (GLIBC_PRIVATE): Add __sendmmsg.
15944 * include/sys/socket.h (__sendmmsg): Add declarations.
15945 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15948 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15950 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15951 variable I1 with __attribute__ ((unused)).
15952 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15954 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15956 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15957 DUMMY variables with __attribute__ ((unused)).
15959 * bits/byteswap.h: Include <bits/types.h>.
15960 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15962 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15964 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15965 string_t. Do not manually set errno.
15966 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15967 length with __strnlen. Make sure to both set errno and return it on
15970 2012-11-19 David S. Miller <davem@davemloft.net>
15972 With help from Joseph Myers.
15973 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15974 very large arguments properly.
15975 * math/libm-test.inc (atan_test): New tests.
15976 (atan2_test): New tests.
15977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15980 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15983 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15986 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15987 [POSIX] (EADDRNOTAVAIL): Likewise.
15988 [POSIX] (EAFNOSUPPORT): Likewise.
15989 [POSIX] (EALREADY): Likewise.
15990 [POSIX] (ECONNABORTED): Likewise.
15991 [POSIX] (ECONNREFUSED): Likewise.
15992 [POSIX] (ECONNRESET): Likewise.
15993 [POSIX] (EDESTADDRREQ): Likewise.
15994 [POSIX] (EDQUOT): Likewise.
15995 [POSIX] (EHOSTUNREACH): Likewise.
15996 [POSIX] (EIDRM): Likewise.
15997 [POSIX] (EISCONN): Likewise.
15998 [POSIX] (ELOOP): Likewise.
15999 [POSIX] (EMULTIHOP): Likewise.
16000 [POSIX] (ENETDOWN): Likewise.
16001 [POSIX] (ENETUNREACH): Likewise.
16002 [POSIX] (ENOBUFS): Likewise.
16003 [POSIX] (ENODATA): Likewise.
16004 [POSIX] (ENOLINK): Likewise.
16005 [POSIX] (ENOMSG): Likewise.
16006 [POSIX] (ENOPROTOOPT): Likewise.
16007 [POSIX] (ENOSR): Likewise.
16008 [POSIX] (ENOSTR): Likewise.
16009 [POSIX] (ENOTCONN): Likewise.
16010 [POSIX] (ENOTSOCK): Likewise.
16011 [POSIX] (EOPNOTSUPP): Likewise.
16012 [POSIX] (EOVERFLOW): Likewise.
16013 [POSIX] (EPROTO): Likewise.
16014 [POSIX] (EPROTONOSUPPORT): Likewise.
16015 [POSIX] (EPROTOTYPE): Likewise.
16016 [POSIX] (ESTALE): Likewise.
16017 [POSIX] (ETIME): Likewise.
16018 [POSIX] (ETXTBSY): Likewise.
16019 [POSIX] (EWOULDBLOCK): Likewise.
16020 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16021 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16022 [POSIX] (SEEK_CUR): Likewise.
16023 [POSIX] (SEEK_END): Likewise.
16024 [POSIX || UNIX98] (mode_t): Do not require.
16025 [POSIX] (off_t): Likewise.
16026 [POSIX] (pid_t): Likewise.
16027 [POSIX] (sys/stat.h): Do not allow header.
16028 [POSIX] (unistd.h): Likewise.
16029 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16030 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16031 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16032 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16034 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16035 sigevent): Specify elements.
16036 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16038 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16039 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16041 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16042 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16043 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16044 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16045 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16046 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16047 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16048 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16049 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16050 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16051 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16052 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16053 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16054 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16056 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16058 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16060 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16062 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16063 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16064 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16065 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16066 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16067 Specify lower bound on value.
16068 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16069 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16070 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16071 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16072 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16073 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16074 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16075 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16077 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16079 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16080 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16081 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16082 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16083 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16084 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16085 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16086 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16087 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16088 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16089 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16090 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16091 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16092 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16093 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16094 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16096 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16098 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16099 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16100 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16101 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16102 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16103 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16105 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16106 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16107 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16108 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16109 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16110 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16111 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16113 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16114 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16115 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16116 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16117 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16118 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16119 specify as optional.
16120 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16121 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16122 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16123 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16124 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16125 [XPG3] (NL_LANGMAX): Likewise.
16126 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16127 [POSIX || XPG3] (NL_NMAX): Likewise.
16128 [POSIX || XPG3] (NL_SETMAX): Likewise.
16129 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16130 [XPG3] (NZERO): Likewise.
16131 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16132 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16133 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16134 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16135 (REG_ERANGE): Expect.
16136 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16138 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16139 Use (void) in prototype.
16140 [POSIX] (*_t): Allow.
16141 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16142 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16143 (WRDE_BADVAL): Expect.
16145 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16147 [XPG3 || XPG4] (O_RSYNC): Likewise.
16148 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16150 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16151 [XPG3 || XPG4] (sigqueue): Likewise.
16152 [XPG3 || XPG4] (sigtimedwait): Likewise.
16153 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16154 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16155 [XPG3 || XPG4] (vsnprintf): Likewise.
16156 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16158 [XPG3 || XPG4] (blksize_t): Likewise.
16159 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16161 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16162 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16163 [XPG3 || XPG4] (struct itimerspec): Likewise.
16164 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16165 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16166 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16167 [XPG3 || XPG4] (clockid_t): Likewise.
16168 [XPG3 || XPG4] (timer_t): Likewise.
16169 [XPG3 || XPG4] (clock_getres): Likewise.
16170 [XPG3 || XPG4] (clock_gettime): Likewise.
16171 [XPG3 || XPG4] (clock_settime): Likewise.
16172 [XPG3 || XPG4] (nanosleep): Likewise.
16173 [XPG3 || XPG4] (timer_create): Likewise.
16174 [XPG3 || XPG4] (timer_delete): Likewise.
16175 [XPG3 || XPG4] (timer_gettime): Likewise.
16176 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16177 [XPG3 || XPG4] (timer_settime): Likewise.
16178 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16179 [XPG3 || XPG4] (getlogin_r): Likewise.
16180 [XPG3 || XPG4] (pread): Likewise.
16181 [XPG3 || XPG4] (pthread_atfork): Likewise.
16182 [XPG3 || XPG4] (pwrite): Likewise.
16185 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16188 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16190 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16191 finalizing MALLSTREAM.
16193 * sysdeps/mach/hurd/syncfs.c: New file.
16195 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16198 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16199 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16200 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16201 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16202 (_nss_dns_gethostbyname4_r): Likewise.
16203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16204 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16206 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16209 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16211 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16213 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16214 * elf/cache.c (print_entry): Print ",AArch64" for
16217 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16218 * elf/cache.c (print_entry): Print ",hard-float" for
16221 2012-11-18 David S. Miller <davem@davemloft.net>
16223 With help from Joseph Myers.
16224 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16226 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16228 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16229 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16231 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16232 * math/libm-test.inc (y0_test): New tests.
16233 (y1_test): New tests.
16234 * sysdeps/i386/fpu/libm-test-ulps: Update.
16235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16238 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16240 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16242 * configure: Regenerated.
16244 2012-11-17 David S. Miller <davem@davemloft.net>
16247 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16248 nonzero exponents with absolute value below 0x1p-128 to +/-
16251 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16253 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16255 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16257 * posix/getconf-speclist.c: New file.
16258 * posix/posix-envs.def: Likewise.
16259 * posix/confstr.c (START_ENV_GROUP): New macro.
16260 (END_ENV_GROUP): Likewise.
16261 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16262 (KNOWN_PRESENT_ENV_STRING): Likewise.
16263 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16264 (UNKNOWN_ENVIRONMENT): Likewise.
16265 (confstr): Include posix-envs.def instead of handling
16266 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16267 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16268 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16269 (END_ENV_GROUP): Likewise.
16270 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16271 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16272 (UNKNOWN_ENVIRONMENT): Likewise.
16273 (__sysconf): Include posix-envs.def instead of handling associated
16274 cases directly here.
16275 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16276 preprocessing getconf-speclist.c rather than running getconf or
16277 generating empty file.
16279 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16281 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16283 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16286 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16288 2012-11-16 David S. Miller <davem@davemloft.net>
16290 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16291 smaller than LDBL_EPSILON/2.0L, just return xm1.
16293 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16295 * elf/tst-array1.c (init): Set constructor priority to 1000.
16296 (fini): Set destructor priority to 1000.
16297 * elf/tst-array2dep.c: Likewise.
16299 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16302 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16303 (_IO_new_file_xsputn): Also return EOF if none of the input
16304 data was written when overflow failed.
16305 * libio/iopadn.c (_IO_padn): Likewise.
16306 * libio/iowpadn.c (_IO_wpadn): Likewise.
16307 * stdio-common/tst-put-error.c: Add copyright notice.
16308 (do_test): Add case for printing padded string.
16309 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16310 _IO_padn returned error.
16311 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16312 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16315 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16317 * libio/libioP.h: Add comment note that the references to C++
16318 bits are now obsolete.
16320 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16322 * math/libm-test.inc (check_complex): Use asprintf.
16324 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16326 * debug/pcprofiledump.c (print_version): Update copyright year.
16327 * malloc/memusagestat.c (print_version): Likewise.
16329 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16332 * elf/Makefile (tests): Add tst-audit8.
16333 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16334 ($(objpfx)tst-audit8.out): New target.
16335 (tst-audit8-ENV): New variable.
16336 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16337 audit if l_reloc_result is NULL.
16338 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16339 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16340 * elf/tst-audit8.c: New file.
16342 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16344 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16345 * misc/Makefile (CFLAGS-select.c): Define.
16346 * posix/Makefile (CFLAGS-pause.c): Define.
16348 2012-11-13 David S. Miller <davem@davemloft.net>
16350 * crypt/Makefile: Move test targets after toplevel Rules
16351 inclusion. Grab any necessary sysdep routines when linking.
16352 * crypt/md5.c (md5_process_block): Remove define, we will always
16353 name it __md5_process_block.
16354 (md5_finish_ctx): Update md5_process_block call.
16355 (md5_stream): Likewise.
16356 (md5_process_bytes): Likewise.
16357 (md5_process_block): Rename to __md5_process_block and move to ...
16358 * crypt/md5-block.c: ... here.
16359 * crypt/sha256.c (sha256_process_block): Move to ...
16360 * crypt/sha256-block.c: ... here.
16361 * crypt/sha512.c (sha512_process_block): Move to ...
16362 * crypt/sha512-block.c: ... here.
16363 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16365 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16366 * sysdeps/sparc/sparc64/multiarch/Makefile
16367 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16369 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16370 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16372 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16373 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16374 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16375 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16376 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16377 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16378 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16379 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16380 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16382 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16383 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16385 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16387 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16389 * timezone/tzselect.ksh: Update from tzcode git revision
16390 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16391 * timezone/zdump.c: Likewise.
16392 * timezone/zic.c: Likewise.
16393 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16394 in TZVERSION setting, not $(PKGVERSION).
16395 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16396 REPORT_BUGS_TO settings.
16399 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16402 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16404 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16405 detection to immediately after _FP_ROUND().
16406 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16409 2012-11-11 David S. Miller <davem@davemloft.net>
16411 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16413 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16414 __close rather than their public counterparts.
16416 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16418 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16420 [UNIX98] (sem_timedwait): Do not expect.
16421 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16422 [XPG4 || UNIX98] (sockatmark): Do not expect.
16423 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16424 (clock_getcpuclockid): Do not expect.
16425 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16426 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16428 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16429 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16430 [UNIX98] (vwscanf): Likewise.
16431 [UNIX98] (vswscanf): Likewise.
16433 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16435 * timezone/version.h: Remove file.
16436 * timezone/README: Do not refer to version.h.
16437 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16438 $(objpfx)version.h.
16439 ($(objpfx)zdump.o): Likewise.
16440 ($(objpfx)version.h): New target.
16442 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16444 * timezone/README: Don't mention modification to tzselect.ksh.
16445 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16446 work on unmodified tzselect.ksh. Substitute version numbers in
16449 * Makefile (format-me): Remove.
16450 (INSTALL): Adjust indentation. Use commands directly instead of
16451 using $(format-me).
16453 * aclocal.m4 (ACX_PKGVERSION): New macro.
16454 (ACX_BUGURL): Likewise.
16455 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16456 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16457 (REPORT_BUGS_TO): Likewise.
16458 * configure: Regenerated.
16459 * config.h.in (PKGVERSION): New macro.
16460 (REPORT_BUGS_TO): Likewise.
16461 * config.make.in (PKGVERSION): New variable.
16462 (PKGVERSION_TEXI): Likewise.
16463 (REPORT_BUGS_TO): Likewise.
16464 (REPORT_BUGS_TEXI): Likewise.
16465 * Makefile (format-me): Use -I$(common-objpfx)manual.
16466 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16467 ($(common-objpfx)manual/%): New target.
16468 (manual/%): Remove target.
16469 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16470 (print_version): Use PKGVERSION.
16471 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16472 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16473 and REPORT_BUGS_TO.
16474 ($(objpfx)xtrace): Likewise.
16475 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16476 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16477 (print_version): Use PKGVERSION.
16478 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16479 (do_version): Use PKGVERSION.
16480 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16482 (common-ldd-rewrite): Likewise.
16483 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16484 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16485 (print_version): Use PKGVERSION.
16486 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16487 * elf/pldd.c (argp_program_bug_address): Remove variable.
16488 (more_help): New function.
16489 (argp): Use more_help.
16490 (print_version): Use PKGVERSION.
16491 * elf/sln.c (main): Use PKGVERSION.
16492 (usage): Use REPORT_BUGS_TO.
16493 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16494 (top level): Use PKGVERSION.
16495 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16496 (print_version): Use PKGVERSION.
16497 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16498 (print_version): Use PKGVERSION.
16499 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16500 (print_version): Use PKGVERSION.
16501 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16502 (print_version): Use PKGVERSION.
16503 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16504 (print_version): Use PKGVERSION.
16505 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16506 (print_version): Use PKGVERSION.
16507 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16509 ($(objpfx)memusage): Likewise.
16510 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16511 (do_version): Use PKGVERSION.
16512 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16513 (print_version): Use PKGVERSION.
16514 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16515 ($PKGVERSION): New variable.
16516 ($REPORT_BUGS_TO): Likewise.
16517 (usage): Use $REPORT_BUGS_TO.
16518 (top level): Use $PKGVERSION.
16519 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16520 ($(objpfx)pkgvers.texi): New rule.
16521 ($(objpfx)stamp-pkgvers): Likewise.
16522 * manual/install.texi: Include pkgvers.texi.
16523 (--with-pkgversion): Document new configure option.
16524 (--with-bugurl): Likewise.
16525 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16526 than necessarily for this particular distribution. Use
16527 REPORT_BUGS_TO for where to report bugs.
16528 * INSTALL: Regenerated.
16529 * manual/libc.texinfo: Include pkgvers.texi.
16530 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16531 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16532 (print_version): Use PKGVERSION.
16533 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16534 (print_version): Use PKGVERSION.
16535 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16536 (print_version): Use PKGVERSION.
16537 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16538 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16540 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16541 (print_version): Use PKGVERSION.
16542 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16543 (print_version): Use PKGVERSION.
16544 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16547 * timezone/checktab.awk: Update from tzcode 2012i.
16548 * timezone/ialloc.c: Likewise.
16549 * timezone/private.h: Likewise.
16550 * timezone/scheck.c: Likewise.
16551 * timezone/tzfile.h: Likewise.
16552 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16553 (TZVERSION): Hardcode tzcode version number.
16554 * timezone/zdump.c: Update from tzcode 2012i.
16555 * timezone/zic.c: Likewise.
16556 * timezone/version.h: New file.
16557 * timezone/README: Describe version.h. Update upstream location.
16560 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16561 (mktemp): Enable declaration.
16562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16579 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16580 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16581 for copies of such integer values.
16582 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16583 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16585 2012-11-09 Andreas Jaeger <aj@suse.de>
16587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16588 definitions and declarations that are provided by
16589 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16591 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16593 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16594 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16595 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16598 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16600 * elf/elf.h: Update comment before AArch64 relocations.
16602 2012-11-07 David S. Miller <davem@davemloft.net>
16604 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16605 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16606 (__start_context): Declare.
16607 (__makecontext_ret): Delete.
16608 (__makecontext): Hook up __start_context instead of
16610 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16611 (sysdep_routines): Add __start_context when in stdlib.
16613 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16615 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16616 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16617 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16619 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16620 (READELF): New variable. Use it instead of hardcoded "readelf".
16622 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16624 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16625 * sysdeps/x86/Makefile: Here.
16626 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16627 * sysdeps/x86/tst-xmmymm.sh: This.
16629 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16631 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16633 [UNIX98] (pthread_barrier_t): Do not expect.
16634 [UNIX98] (pthread_barrierattr_t): Likewise.
16635 [UNIX98] (pthread_spinlock_t): Likewise.
16636 [UNIX98] (pthread_barrier_destroy): Likewise.
16637 [UNIX98] (pthread_barrier_init): Likewise.
16638 [UNIX98] (pthread_barrier_wait): Likewise.
16639 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16640 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16641 [UNIX98] (pthread_barrierattr_init): Likewise.
16642 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16643 [UNIX98] (pthread_getcpuclockid): Likewise.
16644 [UNIX98] (pthread_mutex_timedlock): Likewise.
16645 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16646 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16647 [UNIX98] (pthread_sigmask): Likewise.
16648 [UNIX98] (pthread_spin_destroy): Likewise.
16649 [UNIX98] (pthread_spin_init): Likewise.
16650 [UNIX98] (pthread_spin_lock): Likewise.
16651 [UNIX98] (pthread_spin_trylock): Likewise.
16652 [UNIX98] (pthread_spin_unlock): Likewise.
16653 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16655 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16656 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16657 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16658 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16659 [XPG3 || XPG4] (pthread_key_t): Likewise.
16660 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16661 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16662 [XPG3 || XPG4] (pthread_once_t): Likewise.
16663 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16664 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16665 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16666 [XPG3 || XPG4] (pthread_t): Likewise.
16668 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16670 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16672 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16673 Change function return type to int.
16675 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16676 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16677 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16678 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16679 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16680 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16681 [!POSIX] (posix_madvise): Likewise.
16682 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16684 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16685 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16686 (mode_t): Likewise.
16687 (posix_mem_offset): Likewise.
16688 (posix_typed_mem_get_info): Likewise.
16689 (posix_typed_mem_open): Likewise.
16691 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16692 Change condition to [XOPEN2K8].
16694 * conform/conformtest.pl: Preprocess allow-header data with -x c
16695 instead of from stdin.
16696 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16697 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16698 [C99-based standards] (cerfc): Likewise.
16699 [C99-based standards] (cexp2): Likewise.
16700 [C99-based standards] (cexpm1): Likewise.
16701 [C99-based standards] (clog10): Likewise.
16702 [C99-based standards] (clog1p): Likewise.
16703 [C99-based standards] (clog2): Likewise.
16704 [C99-based standards] (clgamma): Likewise.
16705 [C99-based standards] (ctgamma): Likewise.
16706 [C99-based standards] (cerff): Likewise.
16707 [C99-based standards] (cerfcf): Likewise.
16708 [C99-based standards] (cexp2f): Likewise.
16709 [C99-based standards] (cexpm1f): Likewise.
16710 [C99-based standards] (clog10f): Likewise.
16711 [C99-based standards] (clog1pf): Likewise.
16712 [C99-based standards] (clog2f): Likewise.
16713 [C99-based standards] (clgammaf): Likewise.
16714 [C99-based standards] (ctgammaf): Likewise.
16715 [C99-based standards] (cerfl): Likewise.
16716 [C99-based standards] (cerfcl): Likewise.
16717 [C99-based standards] (cexp2l): Likewise.
16718 [C99-based standards] (cexpm1l): Likewise.
16719 [C99-based standards] (clog10l): Likewise.
16720 [C99-based standards] (clog1pl): Likewise.
16721 [C99-based standards] (clog2l): Likewise.
16722 [C99-based standards] (clgammal): Likewise.
16723 [C99-based standards] (ctgammal): Likewise.
16724 * conform/data/inttypes.h-data [C99-based standards]: Include
16725 stdint.h-data. Remove all expectations for stdint.h contents.
16726 [C99-based standards] (PRI*): Do not allow.
16727 [C99-based standards] (SCN*): Likewise.
16728 [C99-based standards] (*_t): Likewise.
16729 [C99-based-standards] (PRId8): Expect macro.
16730 [C99-based-standards] (PRIi8): Likewise.
16731 [C99-based-standards] (PRIo8): Likewise.
16732 [C99-based-standards] (PRIu8): Likewise.
16733 [C99-based-standards] (PRIx8): Likewise.
16734 [C99-based-standards] (PRIX8): Likewise.
16735 [C99-based-standards] (SCNd8): Likewise.
16736 [C99-based-standards] (SCNi8): Likewise.
16737 [C99-based-standards] (SCNo8): Likewise.
16738 [C99-based-standards] (SCNu8): Likewise.
16739 [C99-based-standards] (SCNx8): Likewise.
16740 [C99-based-standards] (PRIdLEAST8): Likewise.
16741 [C99-based-standards] (PRIiLEAST8): Likewise.
16742 [C99-based-standards] (PRIoLEAST8): Likewise.
16743 [C99-based-standards] (PRIuLEAST8): Likewise.
16744 [C99-based-standards] (PRIxLEAST8): Likewise.
16745 [C99-based-standards] (PRIXLEAST8): Likewise.
16746 [C99-based-standards] (SCNdLEAST8): Likewise.
16747 [C99-based-standards] (SCNiLEAST8): Likewise.
16748 [C99-based-standards] (SCNoLEAST8): Likewise.
16749 [C99-based-standards] (SCNuLEAST8): Likewise.
16750 [C99-based-standards] (SCNxLEAST8): Likewise.
16751 [C99-based-standards] (PRIdFAST8): Likewise.
16752 [C99-based-standards] (PRIiFAST8): Likewise.
16753 [C99-based-standards] (PRIoFAST8): Likewise.
16754 [C99-based-standards] (PRIuFAST8): Likewise.
16755 [C99-based-standards] (PRIxFAST8): Likewise.
16756 [C99-based-standards] (PRIXFAST8): Likewise.
16757 [C99-based-standards] (SCNdFAST8): Likewise.
16758 [C99-based-standards] (SCNiFAST8): Likewise.
16759 [C99-based-standards] (SCNoFAST8): Likewise.
16760 [C99-based-standards] (SCNuFAST8): Likewise.
16761 [C99-based-standards] (SCNxFAST8): Likewise.
16762 [C99-based-standards] (PRId16): Likewise.
16763 [C99-based-standards] (PRIi16): Likewise.
16764 [C99-based-standards] (PRIo16): Likewise.
16765 [C99-based-standards] (PRIu16): Likewise.
16766 [C99-based-standards] (PRIx16): Likewise.
16767 [C99-based-standards] (PRIX16): Likewise.
16768 [C99-based-standards] (SCNd16): Likewise.
16769 [C99-based-standards] (SCNi16): Likewise.
16770 [C99-based-standards] (SCNo16): Likewise.
16771 [C99-based-standards] (SCNu16): Likewise.
16772 [C99-based-standards] (SCNx16): Likewise.
16773 [C99-based-standards] (PRIdLEAST16): Likewise.
16774 [C99-based-standards] (PRIiLEAST16): Likewise.
16775 [C99-based-standards] (PRIoLEAST16): Likewise.
16776 [C99-based-standards] (PRIuLEAST16): Likewise.
16777 [C99-based-standards] (PRIxLEAST16): Likewise.
16778 [C99-based-standards] (PRIXLEAST16): Likewise.
16779 [C99-based-standards] (SCNdLEAST16): Likewise.
16780 [C99-based-standards] (SCNiLEAST16): Likewise.
16781 [C99-based-standards] (SCNoLEAST16): Likewise.
16782 [C99-based-standards] (SCNuLEAST16): Likewise.
16783 [C99-based-standards] (SCNxLEAST16): Likewise.
16784 [C99-based-standards] (PRIdFAST16): Likewise.
16785 [C99-based-standards] (PRIiFAST16): Likewise.
16786 [C99-based-standards] (PRIoFAST16): Likewise.
16787 [C99-based-standards] (PRIuFAST16): Likewise.
16788 [C99-based-standards] (PRIxFAST16): Likewise.
16789 [C99-based-standards] (PRIXFAST16): Likewise.
16790 [C99-based-standards] (SCNdFAST16): Likewise.
16791 [C99-based-standards] (SCNiFAST16): Likewise.
16792 [C99-based-standards] (SCNoFAST16): Likewise.
16793 [C99-based-standards] (SCNuFAST16): Likewise.
16794 [C99-based-standards] (SCNxFAST16): Likewise.
16795 [C99-based-standards] (PRId32): Likewise.
16796 [C99-based-standards] (PRIi32): Likewise.
16797 [C99-based-standards] (PRIo32): Likewise.
16798 [C99-based-standards] (PRIu32): Likewise.
16799 [C99-based-standards] (PRIx32): Likewise.
16800 [C99-based-standards] (PRIX32): Likewise.
16801 [C99-based-standards] (SCNd32): Likewise.
16802 [C99-based-standards] (SCNi32): Likewise.
16803 [C99-based-standards] (SCNo32): Likewise.
16804 [C99-based-standards] (SCNu32): Likewise.
16805 [C99-based-standards] (SCNx32): Likewise.
16806 [C99-based-standards] (PRIdLEAST32): Likewise.
16807 [C99-based-standards] (PRIiLEAST32): Likewise.
16808 [C99-based-standards] (PRIoLEAST32): Likewise.
16809 [C99-based-standards] (PRIuLEAST32): Likewise.
16810 [C99-based-standards] (PRIxLEAST32): Likewise.
16811 [C99-based-standards] (PRIXLEAST32): Likewise.
16812 [C99-based-standards] (SCNdLEAST32): Likewise.
16813 [C99-based-standards] (SCNiLEAST32): Likewise.
16814 [C99-based-standards] (SCNoLEAST32): Likewise.
16815 [C99-based-standards] (SCNuLEAST32): Likewise.
16816 [C99-based-standards] (SCNxLEAST32): Likewise.
16817 [C99-based-standards] (PRIdFAST32): Likewise.
16818 [C99-based-standards] (PRIiFAST32): Likewise.
16819 [C99-based-standards] (PRIoFAST32): Likewise.
16820 [C99-based-standards] (PRIuFAST32): Likewise.
16821 [C99-based-standards] (PRIxFAST32): Likewise.
16822 [C99-based-standards] (PRIXFAST32): Likewise.
16823 [C99-based-standards] (SCNdFAST32): Likewise.
16824 [C99-based-standards] (SCNiFAST32): Likewise.
16825 [C99-based-standards] (SCNoFAST32): Likewise.
16826 [C99-based-standards] (SCNuFAST32): Likewise.
16827 [C99-based-standards] (SCNxFAST32): Likewise.
16828 [C99-based-standards] (PRId64): Likewise.
16829 [C99-based-standards] (PRIi64): Likewise.
16830 [C99-based-standards] (PRIo64): Likewise.
16831 [C99-based-standards] (PRIu64): Likewise.
16832 [C99-based-standards] (PRIx64): Likewise.
16833 [C99-based-standards] (PRIX64): Likewise.
16834 [C99-based-standards] (SCNd64): Likewise.
16835 [C99-based-standards] (SCNi64): Likewise.
16836 [C99-based-standards] (SCNo64): Likewise.
16837 [C99-based-standards] (SCNu64): Likewise.
16838 [C99-based-standards] (SCNx64): Likewise.
16839 [C99-based-standards] (PRIdLEAST64): Likewise.
16840 [C99-based-standards] (PRIiLEAST64): Likewise.
16841 [C99-based-standards] (PRIoLEAST64): Likewise.
16842 [C99-based-standards] (PRIuLEAST64): Likewise.
16843 [C99-based-standards] (PRIxLEAST64): Likewise.
16844 [C99-based-standards] (PRIXLEAST64): Likewise.
16845 [C99-based-standards] (SCNdLEAST64): Likewise.
16846 [C99-based-standards] (SCNiLEAST64): Likewise.
16847 [C99-based-standards] (SCNoLEAST64): Likewise.
16848 [C99-based-standards] (SCNuLEAST64): Likewise.
16849 [C99-based-standards] (SCNxLEAST64): Likewise.
16850 [C99-based-standards] (PRIdFAST64): Likewise.
16851 [C99-based-standards] (PRIiFAST64): Likewise.
16852 [C99-based-standards] (PRIoFAST64): Likewise.
16853 [C99-based-standards] (PRIuFAST64): Likewise.
16854 [C99-based-standards] (PRIxFAST64): Likewise.
16855 [C99-based-standards] (PRIXFAST64): Likewise.
16856 [C99-based-standards] (SCNdFAST64): Likewise.
16857 [C99-based-standards] (SCNiFAST64): Likewise.
16858 [C99-based-standards] (SCNoFAST64): Likewise.
16859 [C99-based-standards] (SCNuFAST64): Likewise.
16860 [C99-based-standards] (SCNxFAST64): Likewise.
16861 [C99-based-standards] (PRIdMAX): Likewise.
16862 [C99-based-standards] (PRIiMAX): Likewise.
16863 [C99-based-standards] (PRIoMAX): Likewise.
16864 [C99-based-standards] (PRIuMAX): Likewise.
16865 [C99-based-standards] (PRIxMAX): Likewise.
16866 [C99-based-standards] (PRIXMAX): Likewise.
16867 [C99-based-standards] (SCNdMAX): Likewise.
16868 [C99-based-standards] (SCNiMAX): Likewise.
16869 [C99-based-standards] (SCNoMAX): Likewise.
16870 [C99-based-standards] (SCNuMAX): Likewise.
16871 [C99-based-standards] (SCNxMAX): Likewise.
16872 [C99-based-standards] (PRIdPTR): Likewise.
16873 [C99-based-standards] (PRIiPTR): Likewise.
16874 [C99-based-standards] (PRIoPTR): Likewise.
16875 [C99-based-standards] (PRIuPTR): Likewise.
16876 [C99-based-standards] (PRIxPTR): Likewise.
16877 [C99-based-standards] (PRIXPTR): Likewise.
16878 [C99-based-standards] (SCNdPTR): Likewise.
16879 [C99-based-standards] (SCNiPTR): Likewise.
16880 [C99-based-standards] (SCNoPTR): Likewise.
16881 [C99-based-standards] (SCNuPTR): Likewise.
16882 [C99-based-standards] (SCNxPTR): Likewise.
16883 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16885 * conform/data/stdint.h-data: Update comments to clarify
16887 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16889 [C99-based standards] (INT8_MAX): Likewise.
16890 [C99-based standards] (INT16_MIN): Likewise.
16891 [C99-based standards] (INT16_MAX): Likewise.
16892 [C99-based standards] (INT32_MIN): Likewise.
16893 [C99-based standards] (INT32_MAX): Likewise.
16894 [C99-based standards] (INT64_MIN): Likewise.
16895 [C99-based standards] (INT64_MAX): Likewise.
16896 [C99-based standards] (UINT8_MAX): Likewise.
16897 [C99-based standards] (UINT16_MAX): Likewise.
16898 [C99-based standards] (UINT32_MAX): Likewise.
16899 [C99-based standards] (UINT64_MAX): Likewise.
16900 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16901 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16902 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16903 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16904 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16905 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16906 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16907 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16908 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16909 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16910 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16911 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16912 [C99-based standards] (INT_FAST8_MIN): Likewise.
16913 [C99-based standards] (INT_FAST8_MAX): Likewise.
16914 [C99-based standards] (INT_FAST16_MIN): Likewise.
16915 [C99-based standards] (INT_FAST16_MAX): Likewise.
16916 [C99-based standards] (INT_FAST32_MIN): Likewise.
16917 [C99-based standards] (INT_FAST32_MAX): Likewise.
16918 [C99-based standards] (INT_FAST64_MIN): Likewise.
16919 [C99-based standards] (INT_FAST64_MAX): Likewise.
16920 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16921 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16922 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16923 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16924 [C99-based standards] (INTPTR_MIN): Likewise.
16925 [C99-based standards] (INTPTR_MAX): Likewise.
16926 [C99-based standards] (UINTPTR_MAX): Likewise.
16927 [C99-based standards] (INTMAX_MIN): Likewise.
16928 [C99-based standards] (INTMAX_MAX): Likewise.
16929 [C99-based standards] (UINTMAX_MAX): Likewise.
16930 [C99-based standards] (PTRDIFF_MIN): Likewise.
16931 [C99-based standards] (PTRDIFF_MAX): Likewise.
16932 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16933 [C99-based standards] (SIZE_MAX): Likewise.
16934 [C99-based standards] (WCHAR_MAX): Likewise.
16935 [C99-based standards] (WINT_MAX): Likewise.
16936 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16937 constraint on value.
16938 [C99-based standards] (WCHAR_MIN): Likewise.
16939 [C99-based standards] (WINT_MIN): Likewise.
16940 [C99-based standards] (*_t): Allow.
16941 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16942 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16943 Include math.h-data and complex.h-data. Remove all expectations
16944 of math.h and complex.h contents.
16945 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16947 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16948 (struct tm): Expect tag.
16949 [C99-based-standards] (wcstof): Expect function.
16950 [C99-based-standards] (wcstold): Likewise.
16951 [C99-based-standards] (wcstoll): Likewise.
16952 [C99-based-standards] (wcstoull): Likewise.
16953 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16954 macro-int-constant. Specify type.
16955 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16956 constraint on value.
16957 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16959 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16961 [ISO C standards]: Do not allow headers.
16962 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16963 wcs[abcdefghijklmnopqrstuvwxyz]*.
16964 [ISO C standards] (*_t): Do not allow.
16965 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16967 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16968 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16970 [ISO C standards]: Do not allow headers.
16971 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16972 is[abcdefghijklmnopqrstuvwxyz]*.
16973 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16974 to[abcdefghijklmnopqrstuvwxyz]*.
16975 [ISO C standards] (*_t): Do not allow.
16976 * conform/data/stdalign.h-data: New file.
16977 * conform/data/stdbool.h-data: Likewise.
16978 * conform/data/stdnoreturn.h-data: Likewise.
16980 2012-11-07 Roland McGrath <roland@hack.frob.com>
16983 * manual/filesys.texi (Directory Entries): Typo fix.
16984 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16986 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16988 * elf/elf.h (EM_AARCH64): New macro.
16989 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16990 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16991 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16992 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16993 (R_AARCH64_TLSDESC): Likewise.
16994 (NT_ARM_TLS): Likewise.
16995 (NT_ARM_HW_BREAK): Likewise.
16996 (NT_ARM_HW_WATCH): Likewise.
16998 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17001 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17002 (__ieee754_powl): Saturate nonzero exponents with absolute value
17003 below 0x1p-79 to +/- 0x1p-79.
17004 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17005 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17006 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17007 nonzero exponents with absolute value below 0x1p-32 to +/-
17009 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17010 (__ieee754_powl): Saturate nonzero exponents with absolute value
17011 below 0x1p-79 to +/- 0x1p-79.
17012 * math/libm-test.inc (pow_test): Add more tests.
17014 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17016 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17017 _dl_s390_cap_flags with kernel. Increase string length.
17018 (_dl_s390_platforms): Add z196 and zEC12.
17020 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17022 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17023 Change XOPEN21K to XOPEN2K.
17025 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17027 * string/memmove.c: Use memcpy when possible.
17029 2012-11-06 Andreas Jaeger <aj@suse.de>
17031 * po/eo.po: Update from translation team.
17033 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17037 exponent and small x and y exponents, scale x or y up. Increase
17038 by 2 the exponent used in scaling up.
17039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17041 * math/libm-test.inc (fma_test): Add more tests.
17042 (fma_test_towardzero): Likewise.
17043 (fma_test_downward): Likewise.
17044 (fma_test_upward): Likewise.
17046 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17049 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17053 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17054 namespace for names of struct fields.
17055 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17057 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17058 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17060 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17063 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17065 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17067 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17071 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17074 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17078 definitely overflow as x * y not x * y + z.
17079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17081 * math/libm-test.inc (fma_test): Add more tests.
17082 (fma_test_towardzero): Likewise.
17083 (fma_test_downward): Likewise.
17084 (fma_test_upward): Likewise.
17086 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17090 * include/stub-tag.h: Remove file.
17091 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17093 * manual/maint.texi (Porting): Don't reference it.
17094 * Makerules ($(objpfx)stubs): Likewise.
17095 * dirent/closedir.c: Don't include <stub-tag.h>.
17096 * dirent/dirfd.c: Likewise.
17097 * dirent/fdopendir.c: Likewise.
17098 * dirent/getdents.c: Likewise.
17099 * dirent/getdents64.c: Likewise.
17100 * dirent/opendir.c: Likewise.
17101 * dirent/readdir.c: Likewise.
17102 * dirent/readdir64.c: Likewise.
17103 * dirent/readdir64_r.c: Likewise.
17104 * dirent/readdir_r.c: Likewise.
17105 * dirent/rewinddir.c: Likewise.
17106 * dirent/seekdir.c: Likewise.
17107 * dirent/telldir.c: Likewise.
17108 * gmon/profil.c: Likewise.
17109 * grp/setgroups.c: Likewise.
17110 * inet/if_index.c: Likewise.
17111 * io/access.c: Likewise.
17112 * io/chdir.c: Likewise.
17113 * io/chmod.c: Likewise.
17114 * io/chown.c: Likewise.
17115 * io/close.c: Likewise.
17116 * io/dup.c: Likewise.
17117 * io/dup2.c: Likewise.
17118 * io/dup3.c: Likewise.
17119 * io/euidaccess.c: Likewise.
17120 * io/faccessat.c: Likewise.
17121 * io/fchdir.c: Likewise.
17122 * io/fchmod.c: Likewise.
17123 * io/fchmodat.c: Likewise.
17124 * io/fchown.c: Likewise.
17125 * io/fchownat.c: Likewise.
17126 * io/fcntl.c: Likewise.
17127 * io/flock.c: Likewise.
17128 * io/fstatfs.c: Likewise.
17129 * io/fstatfs64.c: Likewise.
17130 * io/fstatvfs.c: Likewise.
17131 * io/fstatvfs64.c: Likewise.
17132 * io/futimens.c: Likewise.
17133 * io/fxstat.c: Likewise.
17134 * io/fxstat64.c: Likewise.
17135 * io/fxstatat.c: Likewise.
17136 * io/fxstatat64.c: Likewise.
17137 * io/getcwd.c: Likewise.
17138 * io/isatty.c: Likewise.
17139 * io/lchmod.c: Likewise.
17140 * io/lchown.c: Likewise.
17141 * io/link.c: Likewise.
17142 * io/linkat.c: Likewise.
17143 * io/lseek.c: Likewise.
17144 * io/lseek64.c: Likewise.
17145 * io/lxstat64.c: Likewise.
17146 * io/mkdir.c: Likewise.
17147 * io/mkdirat.c: Likewise.
17148 * io/mkfifo.c: Likewise.
17149 * io/mkfifoat.c: Likewise.
17150 * io/open.c: Likewise.
17151 * io/open64.c: Likewise.
17152 * io/openat.c: Likewise.
17153 * io/openat64.c: Likewise.
17154 * io/pipe.c: Likewise.
17155 * io/pipe2.c: Likewise.
17156 * io/poll.c: Likewise.
17157 * io/posix_fadvise.c: Likewise.
17158 * io/posix_fadvise64.c: Likewise.
17159 * io/posix_fallocate.c: Likewise.
17160 * io/posix_fallocate64.c: Likewise.
17161 * io/read.c: Likewise.
17162 * io/readlink.c: Likewise.
17163 * io/readlinkat.c: Likewise.
17164 * io/rmdir.c: Likewise.
17165 * io/sendfile.c: Likewise.
17166 * io/sendfile64.c: Likewise.
17167 * io/statfs.c: Likewise.
17168 * io/statfs64.c: Likewise.
17169 * io/statvfs.c: Likewise.
17170 * io/statvfs64.c: Likewise.
17171 * io/symlink.c: Likewise.
17172 * io/symlinkat.c: Likewise.
17173 * io/ttyname.c: Likewise.
17174 * io/ttyname_r.c: Likewise.
17175 * io/umask.c: Likewise.
17176 * io/unlink.c: Likewise.
17177 * io/unlinkat.c: Likewise.
17178 * io/utime.c: Likewise.
17179 * io/utimensat.c: Likewise.
17180 * io/write.c: Likewise.
17181 * io/xmknod.c: Likewise.
17182 * io/xmknodat.c: Likewise.
17183 * io/xstat.c: Likewise.
17184 * io/xstat64.c: Likewise.
17185 * login/getpt.c: Likewise.
17186 * login/grantpt.c: Likewise.
17187 * login/unlockpt.c: Likewise.
17188 * math/e_acoshl.c: Likewise.
17189 * math/e_acosl.c: Likewise.
17190 * math/e_asinl.c: Likewise.
17191 * math/e_atan2l.c: Likewise.
17192 * math/e_atanhl.c: Likewise.
17193 * math/e_coshl.c: Likewise.
17194 * math/e_expl.c: Likewise.
17195 * math/e_fmodl.c: Likewise.
17196 * math/e_gammal_r.c: Likewise.
17197 * math/e_hypotl.c: Likewise.
17198 * math/e_j0l.c: Likewise.
17199 * math/e_j1l.c: Likewise.
17200 * math/e_jnl.c: Likewise.
17201 * math/e_lgammal_r.c: Likewise.
17202 * math/e_log10l.c: Likewise.
17203 * math/e_log2l.c: Likewise.
17204 * math/e_logl.c: Likewise.
17205 * math/e_powl.c: Likewise.
17206 * math/e_rem_pio2l.c: Likewise.
17207 * math/e_sinhl.c: Likewise.
17208 * math/e_sqrtl.c: Likewise.
17209 * math/fclrexcpt.c: Likewise.
17210 * math/fedisblxcpt.c: Likewise.
17211 * math/feenablxcpt.c: Likewise.
17212 * math/fegetenv.c: Likewise.
17213 * math/fegetexcept.c: Likewise.
17214 * math/fegetround.c: Likewise.
17215 * math/feholdexcpt.c: Likewise.
17216 * math/fesetenv.c: Likewise.
17217 * math/fesetround.c: Likewise.
17218 * math/feupdateenv.c: Likewise.
17219 * math/fgetexcptflg.c: Likewise.
17220 * math/fraiseexcpt.c: Likewise.
17221 * math/fsetexcptflg.c: Likewise.
17222 * math/ftestexcept.c: Likewise.
17223 * math/k_cosl.c: Likewise.
17224 * math/k_rem_pio2l.c: Likewise.
17225 * math/k_sinl.c: Likewise.
17226 * math/k_tanl.c: Likewise.
17227 * math/s_asinhl.c: Likewise.
17228 * math/s_atanl.c: Likewise.
17229 * math/s_cbrtl.c: Likewise.
17230 * math/s_erfl.c: Likewise.
17231 * math/s_expm1l.c: Likewise.
17232 * math/s_log1pl.c: Likewise.
17233 * math/s_tanhl.c: Likewise.
17234 * misc/acct.c: Likewise.
17235 * misc/brk.c: Likewise.
17236 * misc/chflags.c: Likewise.
17237 * misc/chroot.c: Likewise.
17238 * misc/fchflags.c: Likewise.
17239 * misc/fgetxattr.c: Likewise.
17240 * misc/flistxattr.c: Likewise.
17241 * misc/fremovexattr.c: Likewise.
17242 * misc/fsetxattr.c: Likewise.
17243 * misc/fsync.c: Likewise.
17244 * misc/ftruncate.c: Likewise.
17245 * misc/futimes.c: Likewise.
17246 * misc/futimesat.c: Likewise.
17247 * misc/getdomain.c: Likewise.
17248 * misc/getdtsz.c: Likewise.
17249 * misc/gethostid.c: Likewise.
17250 * misc/gethostname.c: Likewise.
17251 * misc/getloadavg.c: Likewise.
17252 * misc/getpagesize.c: Likewise.
17253 * misc/getsysstats.c: Likewise.
17254 * misc/getxattr.c: Likewise.
17255 * misc/gtty.c: Likewise.
17256 * misc/ioctl.c: Likewise.
17257 * misc/lgetxattr.c: Likewise.
17258 * misc/listxattr.c: Likewise.
17259 * misc/llistxattr.c: Likewise.
17260 * misc/lremovexattr.c: Likewise.
17261 * misc/lsetxattr.c: Likewise.
17262 * misc/lutimes.c: Likewise.
17263 * misc/madvise.c: Likewise.
17264 * misc/mincore.c: Likewise.
17265 * misc/mlock.c: Likewise.
17266 * misc/mlockall.c: Likewise.
17267 * misc/mmap.c: Likewise.
17268 * misc/mprotect.c: Likewise.
17269 * misc/msync.c: Likewise.
17270 * misc/munlock.c: Likewise.
17271 * misc/munlockall.c: Likewise.
17272 * misc/munmap.c: Likewise.
17273 * misc/preadv.c: Likewise.
17274 * misc/preadv64.c: Likewise.
17275 * misc/ptrace.c: Likewise.
17276 * misc/pwritev.c: Likewise.
17277 * misc/pwritev64.c: Likewise.
17278 * misc/readv.c: Likewise.
17279 * misc/reboot.c: Likewise.
17280 * misc/remap_file_pages.c: Likewise.
17281 * misc/removexattr.c: Likewise.
17282 * misc/revoke.c: Likewise.
17283 * misc/select.c: Likewise.
17284 * misc/setdomain.c: Likewise.
17285 * misc/setegid.c: Likewise.
17286 * misc/seteuid.c: Likewise.
17287 * misc/sethostid.c: Likewise.
17288 * misc/sethostname.c: Likewise.
17289 * misc/setregid.c: Likewise.
17290 * misc/setreuid.c: Likewise.
17291 * misc/setxattr.c: Likewise.
17292 * misc/sstk.c: Likewise.
17293 * misc/stty.c: Likewise.
17294 * misc/swapoff.c: Likewise.
17295 * misc/swapon.c: Likewise.
17296 * misc/sync.c: Likewise.
17297 * misc/syncfs.c: Likewise.
17298 * misc/syscall.c: Likewise.
17299 * misc/truncate.c: Likewise.
17300 * misc/ualarm.c: Likewise.
17301 * misc/usleep.c: Likewise.
17302 * misc/ustat.c: Likewise.
17303 * misc/utimes.c: Likewise.
17304 * misc/vhangup.c: Likewise.
17305 * misc/writev.c: Likewise.
17306 * posix/_exit.c: Likewise.
17307 * posix/alarm.c: Likewise.
17308 * posix/execve.c: Likewise.
17309 * posix/fexecve.c: Likewise.
17310 * posix/fork.c: Likewise.
17311 * posix/fpathconf.c: Likewise.
17312 * posix/getaddrinfo.c: Likewise.
17313 * posix/getegid.c: Likewise.
17314 * posix/geteuid.c: Likewise.
17315 * posix/getgid.c: Likewise.
17316 * posix/getgroups.c: Likewise.
17317 * posix/getlogin.c: Likewise.
17318 * posix/getlogin_r.c: Likewise.
17319 * posix/getpgid.c: Likewise.
17320 * posix/getpid.c: Likewise.
17321 * posix/getppid.c: Likewise.
17322 * posix/getresgid.c: Likewise.
17323 * posix/getresuid.c: Likewise.
17324 * posix/getsid.c: Likewise.
17325 * posix/getuid.c: Likewise.
17326 * posix/glob64.c: Likewise.
17327 * posix/nanosleep.c: Likewise.
17328 * posix/pathconf.c: Likewise.
17329 * posix/pause.c: Likewise.
17330 * posix/posix_madvise.c: Likewise.
17331 * posix/pread.c: Likewise.
17332 * posix/pread64.c: Likewise.
17333 * posix/pwrite.c: Likewise.
17334 * posix/pwrite64.c: Likewise.
17335 * posix/sched_getaffinity.c: Likewise.
17336 * posix/sched_getp.c: Likewise.
17337 * posix/sched_gets.c: Likewise.
17338 * posix/sched_primax.c: Likewise.
17339 * posix/sched_primin.c: Likewise.
17340 * posix/sched_rr_gi.c: Likewise.
17341 * posix/sched_setaffinity.c: Likewise.
17342 * posix/sched_setp.c: Likewise.
17343 * posix/sched_sets.c: Likewise.
17344 * posix/sched_yield.c: Likewise.
17345 * posix/setgid.c: Likewise.
17346 * posix/setlogin.c: Likewise.
17347 * posix/setpgid.c: Likewise.
17348 * posix/setresgid.c: Likewise.
17349 * posix/setresuid.c: Likewise.
17350 * posix/setsid.c: Likewise.
17351 * posix/setuid.c: Likewise.
17352 * posix/sleep.c: Likewise.
17353 * posix/spawni.c: Likewise.
17354 * posix/sysconf.c: Likewise.
17355 * posix/times.c: Likewise.
17356 * posix/wait.c: Likewise.
17357 * posix/wait3.c: Likewise.
17358 * posix/wait4.c: Likewise.
17359 * posix/waitpid.c: Likewise.
17360 * resolv/gai_sigqueue.c: Likewise.
17361 * resource/getpriority.c: Likewise.
17362 * resource/getrlimit.c: Likewise.
17363 * resource/getrusage.c: Likewise.
17364 * resource/nice.c: Likewise.
17365 * resource/setpriority.c: Likewise.
17366 * resource/setrlimit.c: Likewise.
17367 * resource/ulimit.c: Likewise.
17368 * rt/aio_cancel.c: Likewise.
17369 * rt/aio_fsync.c: Likewise.
17370 * rt/aio_read.c: Likewise.
17371 * rt/aio_sigqueue.c: Likewise.
17372 * rt/aio_suspend.c: Likewise.
17373 * rt/aio_write.c: Likewise.
17374 * rt/clock_getres.c: Likewise.
17375 * rt/clock_gettime.c: Likewise.
17376 * rt/clock_nanosleep.c: Likewise.
17377 * rt/clock_settime.c: Likewise.
17378 * rt/lio_listio.c: Likewise.
17379 * rt/mq_close.c: Likewise.
17380 * rt/mq_getattr.c: Likewise.
17381 * rt/mq_notify.c: Likewise.
17382 * rt/mq_open.c: Likewise.
17383 * rt/mq_receive.c: Likewise.
17384 * rt/mq_send.c: Likewise.
17385 * rt/mq_setattr.c: Likewise.
17386 * rt/mq_timedreceive.c: Likewise.
17387 * rt/mq_timedsend.c: Likewise.
17388 * rt/mq_unlink.c: Likewise.
17389 * rt/shm_open.c: Likewise.
17390 * rt/shm_unlink.c: Likewise.
17391 * rt/timer_create.c: Likewise.
17392 * rt/timer_delete.c: Likewise.
17393 * rt/timer_getoverr.c: Likewise.
17394 * rt/timer_gettime.c: Likewise.
17395 * rt/timer_settime.c: Likewise.
17396 * setjmp/__longjmp.c: Likewise.
17397 * setjmp/setjmp.c: Likewise.
17398 * signal/kill.c: Likewise.
17399 * signal/killpg.c: Likewise.
17400 * signal/raise.c: Likewise.
17401 * signal/sigaction.c: Likewise.
17402 * signal/sigaltstack.c: Likewise.
17403 * signal/sigblock.c: Likewise.
17404 * signal/sigignore.c: Likewise.
17405 * signal/sigintr.c: Likewise.
17406 * signal/signal.c: Likewise.
17407 * signal/sigpause.c: Likewise.
17408 * signal/sigpending.c: Likewise.
17409 * signal/sigqueue.c: Likewise.
17410 * signal/sigreturn.c: Likewise.
17411 * signal/sigset.c: Likewise.
17412 * signal/sigsetmask.c: Likewise.
17413 * signal/sigstack.c: Likewise.
17414 * signal/sigsuspend.c: Likewise.
17415 * signal/sigtimedwait.c: Likewise.
17416 * signal/sigvec.c: Likewise.
17417 * signal/sigwait.c: Likewise.
17418 * signal/sigwaitinfo.c: Likewise.
17419 * signal/sysv_signal.c: Likewise.
17420 * socket/accept.c: Likewise.
17421 * socket/accept4.c: Likewise.
17422 * socket/bind.c: Likewise.
17423 * socket/connect.c: Likewise.
17424 * socket/getpeername.c: Likewise.
17425 * socket/getsockname.c: Likewise.
17426 * socket/getsockopt.c: Likewise.
17427 * socket/isfdtype.c: Likewise.
17428 * socket/listen.c: Likewise.
17429 * socket/recv.c: Likewise.
17430 * socket/recvfrom.c: Likewise.
17431 * socket/recvmsg.c: Likewise.
17432 * socket/send.c: Likewise.
17433 * socket/sendmsg.c: Likewise.
17434 * socket/sendto.c: Likewise.
17435 * socket/setsockopt.c: Likewise.
17436 * socket/shutdown.c: Likewise.
17437 * socket/sockatmark.c: Likewise.
17438 * socket/socket.c: Likewise.
17439 * socket/socketpair.c: Likewise.
17440 * stdio-common/ctermid.c: Likewise.
17441 * stdio-common/cuserid.c: Likewise.
17442 * stdio-common/remove.c: Likewise.
17443 * stdio-common/rename.c: Likewise.
17444 * stdio-common/renameat.c: Likewise.
17445 * stdio-common/tempname.c: Likewise.
17446 * stdlib/getcontext.c: Likewise.
17447 * stdlib/makecontext.c: Likewise.
17448 * stdlib/setcontext.c: Likewise.
17449 * stdlib/swapcontext.c: Likewise.
17450 * stdlib/system.c: Likewise.
17451 * streams/fattach.c: Likewise.
17452 * streams/fdetach.c: Likewise.
17453 * streams/getmsg.c: Likewise.
17454 * streams/getpmsg.c: Likewise.
17455 * streams/putmsg.c: Likewise.
17456 * streams/putpmsg.c: Likewise.
17457 * sysdeps/unix/bsd/getpt.c: Likewise.
17458 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17459 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17460 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17463 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17464 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17465 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17466 * sysvipc/msgctl.c: Likewise.
17467 * sysvipc/msgget.c: Likewise.
17468 * sysvipc/msgrcv.c: Likewise.
17469 * sysvipc/msgsnd.c: Likewise.
17470 * sysvipc/semctl.c: Likewise.
17471 * sysvipc/semget.c: Likewise.
17472 * sysvipc/semop.c: Likewise.
17473 * sysvipc/semtimedop.c: Likewise.
17474 * sysvipc/shmat.c: Likewise.
17475 * sysvipc/shmctl.c: Likewise.
17476 * sysvipc/shmdt.c: Likewise.
17477 * sysvipc/shmget.c: Likewise.
17478 * termios/tcdrain.c: Likewise.
17479 * termios/tcflow.c: Likewise.
17480 * termios/tcflush.c: Likewise.
17481 * termios/tcgetattr.c: Likewise.
17482 * termios/tcgetpgrp.c: Likewise.
17483 * termios/tcsendbrk.c: Likewise.
17484 * termios/tcsetattr.c: Likewise.
17485 * termios/tcsetpgrp.c: Likewise.
17486 * time/adjtime.c: Likewise.
17487 * time/clock.c: Likewise.
17488 * time/getitimer.c: Likewise.
17489 * time/gettimeofday.c: Likewise.
17490 * time/setitimer.c: Likewise.
17491 * time/settimeofday.c: Likewise.
17492 * time/stime.c: Likewise.
17493 * time/time.c: Likewise.
17495 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17497 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17500 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17502 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17504 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17508 FE_TONEAREST before applying Dekker multiplication and Knuth
17509 addition. Clear inexact exceptions and check for exact zero
17510 results afterwards.
17511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17512 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17513 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17514 * math/libm-test.inc (fma_test): Add more tests.
17515 (fma_test_towardzero): Likewise.
17516 (fma_test_downward): Likewise.
17517 (fma_test_upward): Likewise.
17518 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17520 (libc_fesetround): New macro.
17521 (libc_fesetroundf): Likewise.
17522 (libc_fesetroundl): Likewise.
17523 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17525 (libc_fesetround_387): Likewise.
17526 (libc_fesetroundf): New macro.
17527 (libc_fesetround): Likewise.
17528 (libc_fesetroundl): Likewise.
17529 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17531 (libc_fesetroundf): New macro.
17532 (libc_fesetround): Likewise.
17533 (libc_fesetroundl): Likewise.
17534 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17535 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17536 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17538 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17539 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17541 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17542 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17544 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17548 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17549 integer constant usable in #if and use that to give value to enum
17551 (FE_DIVBYZERO): Likewise.
17552 (FE_UNDERFLOW): Likewise.
17553 (FE_OVERFLOW): Likewise.
17554 (FE_INVALID): Likewise.
17555 (FE_INVALID_SNAN): Likewise.
17556 (FE_INVALID_ISI): Likewise.
17557 (FE_INVALID_IDI): Likewise.
17558 (FE_INVALID_ZDZ): Likewise.
17559 (FE_INVALID_IMZ): Likewise.
17560 (FE_INVALID_COMPARE): Likewise.
17561 (FE_INVALID_SOFTWARE): Likewise.
17562 (FE_INVALID_SQRT): Likewise.
17563 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17564 (FE_TONEAREST): Likewise.
17565 (FE_TOWARDZERO): Likewise.
17566 (FE_UPWARD): Likewise.
17567 (FE_DOWNWARD): Likewise.
17568 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17569 (FE_DIVBYZERO): Likewise.
17570 (FE_OVERFLOW): Likewise.
17571 (FE_UNDERFLOW): Likewise.
17572 (FE_INEXACT): Likewise.
17573 (FE_TONEAREST): Likewise.
17574 (FE_DOWNWARD): Likewise.
17575 (FE_UPWARD): Likewise.
17576 (FE_TOWARDZERO): Likewise.
17577 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17578 (FE_UNDERFLOW): Likewise.
17579 (FE_OVERFLOW): Likewise.
17580 (FE_DIVBYZERO): Likewise.
17581 (FE_INVALID): Likewise.
17582 (FE_TONEAREST): Likewise.
17583 (FE_TOWARDZERO): Likewise.
17584 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17585 (FE_OVERFLOW): Likewise.
17586 (FE_UNDERFLOW): Likewise.
17587 (FE_DIVBYZERO): Likewise.
17588 (FE_INEXACT): Likewise.
17589 (FE_TONEAREST): Likewise.
17590 (FE_TOWARDZERO): Likewise.
17591 (FE_UPWARD): Likewise.
17592 (FE_DOWNWARD): Likewise.
17593 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17594 (FE_DIVBYZERO): Likewise.
17595 (FE_OVERFLOW): Likewise.
17596 (FE_UNDERFLOW): Likewise.
17597 (FE_INEXACT): Likewise.
17598 (FE_TONEAREST): Likewise.
17599 (FE_DOWNWARD): Likewise.
17600 (FE_UPWARD): Likewise.
17601 (FE_TOWARDZERO): Likewise.
17603 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17605 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17607 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17609 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17610 commands. Quote $PWD.
17611 (blacklist_exports): Don't use remove_newlines. Replace "declare
17613 (remove_newlines): Remove.
17615 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17617 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17618 * stdlib/stdlib.h (atof): Moved to ...
17619 * include/bits/stdlib-float.h: Here. New file.
17620 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17621 * stdlib/bits/stdlib-float.h: New file.
17622 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17624 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17627 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17629 * conform/conformtest.pl (@headers): Add fenv.h.
17630 * conform/data/fenv.h-data: New file.
17631 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17632 include of <math/fenv.h>.
17634 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17635 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17636 && !UNIX98]. Enables tests for XOPEN2K8.
17637 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17638 POSIX2008]: Likewise.
17640 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17641 (struct rusage): Do not expect type or its members.
17644 * math/math.h (FP_NAN): Define macro to integer constant usable in
17645 #if and use that to give value to enum constant.
17646 (FP_INFINITE): Likewise.
17647 (FP_ZERO): Likewise.
17648 (FP_SUBNORMAL): Likewise.
17649 (FP_NORMAL): Likewise.
17651 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17653 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17654 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17657 2012-11-02 Roland McGrath <roland@hack.frob.com>
17659 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17660 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17661 autoconf-time if not.
17662 * configure.in: Remove AC_PREREQ.
17664 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17666 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17667 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17668 of the internal implementation.
17670 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17672 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17673 except include of <misc/sys/syslog.h>.
17675 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17678 function returns with a NULL context exit with zero.
17680 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17682 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17684 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17686 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17687 (run_program_cmd): This.
17688 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17689 (tst_langinfo): New variable. Use it.
17691 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17693 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17694 floating point opcodes.
17696 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17698 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17701 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17703 * sysdeps/mach/hurd/powerpc: Remove directory.
17704 * sysdeps/mach/powerpc: Likewise.
17706 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17708 * scripts/check-local-headers.sh: Ignore c++ headers.
17710 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17712 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17713 __libc_cleanup_region_start argument.
17715 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17720 x * y using scaling, not as x * y + z.
17721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17723 * math/libm-test.inc (fma_test): Add more tests.
17724 (fma_test_towardzero): Likewise.
17725 (fma_test_downward): Likewise.
17726 (fma_test_upward): Likewise.
17728 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17730 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17732 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17734 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17737 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17739 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17741 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17748 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17751 Fix the order of the list for glibc 2.17.
17752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17755 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17759 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17762 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17763 for low part of x being zero before using __atanl (y).
17764 * math/libm-test.inc (atan2_test): Add another test.
17766 * manual/install.texi (Configuring and compiling): Document
17767 general use of test-wrapper and test-wrapper-env.
17768 * INSTALL: Regenerated.
17770 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17771 (__fma): Do not extract and scale down low bits on after-rounding
17772 systems when result rounded to normal precision would have normal
17774 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17775 (__fmal): Do not extract and scale down low bits on after-rounding
17776 systems when result rounded to normal precision would have normal
17778 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17779 (__fmal): Do not extract and scale down low bits on after-rounding
17780 systems when result rounded to normal precision would have normal
17782 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17784 (fma_test): Add more tests.
17785 (fma_test_towardzero): Likewise.
17786 (fma_test_downward): Likewise.
17787 (fma_test_upward): Likewise.
17789 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17791 * sysdeps/i386/tininess.h: Renamed to ...
17792 * sysdeps/x86/tininess.h: This.
17793 * sysdeps/x86_64/tininess.h: Removed.
17795 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17797 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17798 input. Use $(build-program-cmd).
17799 ($(objpfx)tst-array1-static.out): Likewise.
17800 ($(objpfx)tst-array2.out): Likewise.
17801 ($(objpfx)tst-array3.out): Likewise.
17802 ($(objpfx)tst-array4.out): Likewise.
17803 ($(objpfx)tst-array5.out): Likewise.
17804 ($(objpfx)tst-array5-static.out): Likewise.
17806 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17808 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17811 * nss/nsswitch.h (nss_interface_function): Provide new
17812 macro for use with NSS functions.
17813 * grp/initgroups.c: Use new macro.
17814 * nss/getXXbyYY.c: Likewise.
17815 * nss/getXXbyYY_r.c: Likewise.
17816 * nss/getXXent.c: Likewise.
17817 * nss/getXXent_r.c: Likewise.
17818 * sysdeps/posix/getaddrinfo.c: Likewise.
17820 2012-10-30 Andreas Jaeger <aj@suse.de>
17822 * po/ru.po: Update Russion translation from translation project.
17824 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17829 result and shift together with sticky bit instead of replicating
17830 round-to-nearest rounding.
17831 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17832 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17833 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17834 missing underflow exceptions.
17835 (fma_test_towardzero): Add more tests.
17836 (fma_test_downward): Likewise.
17837 (fma_test_upward): Likewise.
17840 * sysdeps/generic/tininess.h: New file.
17841 * sysdeps/i386/tininess.h: Likewise.
17842 * sysdeps/sh/tininess.h: Likewise.
17843 * sysdeps/x86_64/tininess.h: Likewise.
17844 * stdlib/tst-strtod-underflow.c: Likewise.
17845 * stdlib/tst-tininess.c: Likewise.
17846 * stdlib/strtod_l.c: Include <tininess.h>.
17847 (round_and_return): Do not set errno for exact underflow cases.
17848 Force an underflow exception when setting errno for underflow.
17849 Determine underflow based on rounding to normal precision if
17850 TININESS_AFTER_ROUNDING.
17851 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17852 ERANGE for exact underflow cases.
17853 * stdlib/Makefile (tests): Add tst-tininess and
17854 tst-strtod-underflow.
17855 ($(objpfx)tst-tininess): Use $(link-libm).
17856 ($(objpfx)tst-strtod-underflow): Likewise.
17858 2012-10-30 Andreas Jaeger <aj@suse.de>
17861 * elf/Makefile (tests): Remove conditional for have-initfini-array
17862 since this is now always required and the variable does not exist
17864 (tests-static): Likewise.
17865 (modules-names): Likewise.
17867 * po/eo.po: Add Esperanto translation from translation project.
17869 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17870 merged with constructor/destructor.
17871 (init_array): Likewise.
17872 * elf/tst-array2dep.c (fini_array): Likewise.
17873 (init_array): Likewise.
17875 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17877 * manual/message.texi: Delete @cartouche tags.
17879 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17881 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17883 * sysdeps/mach/hurd/fsync.c: Likewise.
17885 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17886 [_POSIX_REALTIME_SIGNALS]: Change condition to
17887 [_POSIX_REALTIME_SIGNALS > 0].
17889 2012-10-27 Andreas Jaeger <aj@suse.de>
17891 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17892 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17894 [__WORDSIZE != 64]: Likewise.
17896 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17898 * iconvdata/tst-table.sh: Remove ${SHELL}.
17899 * iconvdata/tst-tables.sh: Likewise.
17901 2012-10-25 David S. Miller <davem@davemloft.net>
17903 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17904 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17909 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17910 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17911 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17914 2012-10-25 Roland McGrath <roland@hack.frob.com>
17916 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17917 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17920 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17921 Jim Blandy <jimb@codesourcery.com>
17923 * scripts/cross-test-ssh.sh: New file.
17924 * manual/install.texi (Configuring and compiling): Document use of
17926 * INSTALL: Regenerated.
17928 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17930 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17933 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17935 * Makeconfig (run-program-prefix): Fix comment.
17937 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17938 Jim Blandy <jimb@codesourcery.com>
17940 * Makeconfig (test-wrapper): New variable,
17941 (test-wrapper-env): Likewise.
17942 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17943 (run-built-tests): Define to yes.
17944 (run-program-prefix): Use $(test-wrapper).
17945 (built-program-cmd): Likewise.
17946 * Rules (make-test-out): Use $(test-wrapper-env) and
17947 $(host-built-program-cmd).
17948 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17949 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17951 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17952 $(test-wrapper-env) to tst-rtld-load-self.sh.
17953 ($(objpfx)order2.out): Use $(test-wrapper).
17954 ($(objpfx)tst-initorder.out): Likewise.
17955 ($(objpfx)tst-initorder2.out): Likewise.
17956 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17957 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17958 (test_wrapper_env): New variable. Use it to run ld.so.
17959 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17960 Use it to run ld.so.
17961 (test_wrapper_env): Likewise.
17962 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17963 $(test-wrapper) to run-iconv-test.sh.
17964 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17965 (ICONV): Use $test_wrapper.
17966 * posix/Makefile ($(objpfx)globtest.out): Pass
17967 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17968 globtest.sh, not $(run-program-prefix).
17969 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17970 (test_wrapper): Likewise.
17971 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17972 set together with run_via_rtld_prefix.
17973 (run_program_prefix): Define in terms of test_wrapper and
17974 run_via_rtld_prefix.
17976 2012-10-24 Roland McGrath <roland@hack.frob.com>
17978 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17979 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17983 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17984 Declare __clock_getres, __clock_gettime, __clock_settime,
17985 __clock_nanosleep, and __clock_getcpuclockid.
17986 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17987 Remove librt_hidden_def (clock_gettime).
17988 * sysdeps/unix/clock_gettime.c: Likewise.
17989 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17990 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17991 * rt/clock_getres.c: Define __clock_getres as an alias.
17992 * sysdeps/posix/clock_getres.c: Likewise.
17993 * rt/clock_settime.c: Define __clock_settime as an alias.
17994 * sysdeps/unix/clock_settime.c: Likewise.
17995 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17996 * sysdeps/unix/clock_nanosleep.c: Likewise.
17997 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17998 * rt/clock-compat.c: New file.
17999 * rt/Makefile (librt-routines): Add clock-compat and move
18000 $(clock-routines) to ...
18001 (routines): ... here, new variable.
18002 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18003 Don't add get_clockfreq here.
18004 * rt/Versions (libc: GLIBC_2.17): New version set.
18005 Add clock_* symbols here.
18006 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18007 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18008 (GLIBC_2.17): Add clock_* symbols.
18009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18011 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18020 * NEWS: Mention the move.
18022 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18023 Use __open, __read, __close rather than their public counterparts.
18024 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18025 (__get_clockfreq_via_cpuinfo): Likewise.
18026 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18027 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18029 * config.h.in (HAVE_IFUNC): New #undef.
18030 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18032 * configure: Regenerated.
18034 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18036 * configure.in: Move READELF check to start of file.
18037 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18038 libc_cv_asm_gnu_indirect_function in the process.
18039 * configure: Regenerated.
18041 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18043 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18044 send the output to /dev/null.
18045 (libc_cv_cc_with_libunwind): Likewise.
18046 (libc_cv_as_noexecstack): Likewise.
18047 * configure: Regenerate.
18049 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18051 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18053 * posix/globtest.sh (TMPDIR): Do not set.
18054 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18055 (testout): Likewise.
18057 2012-10-24 Andreas Jaeger <aj@suse.de>
18059 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18060 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18061 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18062 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18063 posix_fadvise64, posix_fallocate64.
18065 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18066 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18067 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18069 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18071 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18074 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18075 <bits/fcntl-linux.h>.
18076 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18079 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18080 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18081 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18082 [__WORDSIZE != 64]: Likewise.
18084 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18086 * Makeconfig (run-built-tests): New variable.
18087 * Rules [$(cross-compiling) = yes]: Change condition to
18088 [$(run-built-tests) = no].
18089 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18090 to [$(run-built-tests) = yes].
18091 * elf/Makefile [$(cross-compiling) = no]: Likewise
18092 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18093 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18094 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18095 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18096 * io/Makefile [$(cross-compiling) = no]: Likewise.
18097 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18098 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18099 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18100 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18101 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18102 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18103 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18104 * string/Makefile [$(cross-compiling) = no]: Likewise.
18106 * posix/Makefile ($(objpfx)globtest.out): Pass
18107 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18108 $(rtld-installed-name).
18109 * posix/globtest.sh (elf_objpfx): Remove variable.
18110 (rtld_installed_name): Likewise.
18111 (library_path): Likewise.
18112 (run_program_prefix): New variable. Use for running globtest
18115 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18116 Joseph Myers <joseph@codesourcery.com>
18118 * Makeconfig (host-built-program-cmd): New variable.
18119 * elf/Makefile (tst-stackguard1-ARGS): Use
18120 $(host-built-program-cmd).
18121 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18122 (tst-spawn-ARGS): Likewise.
18123 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18125 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18126 Jim Blandy <jimb@codesourcery.com>
18128 * Makeconfig (run-via-rtld-prefix): New variable.
18129 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18130 (built-program-cmd): Likewise.
18132 2012-10-22 Andreas Jaeger <aj@suse.de>
18134 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18135 __O_RSYNC if it exists, otherwise to O_SYNC.
18137 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18138 Joseph Myers <joseph@codesourcery.com>
18140 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18142 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18144 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18147 2012-10-22 Andreas Jaeger <aj@suse.de>
18149 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18154 bits/fcntl-linux.h.
18156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18157 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18159 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18164 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18165 Joseph Myers <joseph@codesourcery.com>
18167 * config.make.in (NM): New variable.
18169 2012-10-21 Andreas Jaeger <aj@suse.de>
18171 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18172 definitions and declarations that are provided by
18173 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18175 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18178 * elf/Makefile (tests-static): Add tst-leaks1-static.
18179 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18180 ($(objpfx)tst-leaks1-static): New rule.
18181 ($(objpfx)tst-leaks1-static-mem): Likewise.
18182 (tst-leaks1-static-ENV): New macro.
18183 * elf/dl-open.c (dl_open_worker): Check the main application
18184 only if SHARED is defined.
18185 * elf/tst-leaks1-static.c: New file.
18187 2012-10-20 Andreas Jaeger <aj@suse.de>
18189 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18190 generic values for Linux.
18191 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18192 and declarations that are provided by <bits/fcntl-linux.h> and
18193 include <bits/fcntl-linux.h>.
18194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18197 2012-10-20 Roland McGrath <roland@hack.frob.com>
18199 * io/fcntl.h: Move include of <bits/types.h> to the top and
18200 include it unconditionally.
18202 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18204 * wcsmbs/Makefile (tests-ifunc): New variable.
18205 (tests): Add $(tests-ifunc).
18206 * wcsmbs/test-wcschr-ifunc.c: New file.
18207 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18208 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18209 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18210 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18211 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18213 * string/Makefile (tests-ifunc): New variable.
18214 (tests): Add $(tests-ifunc).
18215 * string/test-memccpy.c (TEST_NAME): New macro.
18216 * string/test-memchr.c (TEST_NAME): Likewise.
18217 * string/test-memcmp.c (TEST_NAME): Likewise.
18218 * string/test-memcpy.c (TEST_NAME): Likewise.
18219 * string/test-memmem.c (TEST_NAME): Likewise.
18220 * string/test-memmove.c (TEST_NAME): Likewise.
18221 * string/test-memset.c (TEST_NAME): Likewise.
18222 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18223 * string/test-stpcpy.c (TEST_NAME): Likewise.
18224 * string/test-stpncpy.c (TEST_NAME): Likewise.
18225 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18226 * string/test-strcasestr.c (TEST_NAME): Likewise.
18227 * string/test-strcat.c (TEST_NAME): Likewise.
18228 * string/test-strchr.c (TEST_NAME): Likewise.
18229 * string/test-strcmp.c(TEST_NAME): Likewise.
18230 * string/test-strcpy.c (TEST_NAME): Likewise.
18231 * string/test-strcspn.c (TEST_NAME): Likewise.
18232 * string/test-strlen.c (TEST_NAME): Likewise.
18233 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18234 * string/test-strncmp.c (TEST_NAME): Likewise.
18235 * string/test-strncpy.c (TEST_NAME): Likewise.
18236 * string/test-strnlen.c (TEST_NAME): Likewise.
18237 * string/test-strpbrk.c (TEST_NAME): Likewise.
18238 * string/test-strrchr.c (TEST_NAME): Likewise.
18239 * string/test-strspn.c (TEST_NAME): Likewise.
18240 * string/test-strstr.c (TEST_NAME): Likewise.
18241 * string/test-bcopy-ifunc.c: New file.
18242 * string/test-bzero-ifunc.c: Likewise.
18243 * string/test-memccpy-ifunc.c: Likewise.
18244 * string/test-memchr-ifunc.c: Likewise.
18245 * string/test-memcmp-ifunc.c: Likewise.
18246 * string/test-memcpy-ifunc.c: Likewise.
18247 * string/test-memmem-ifunc.c: Likewise.
18248 * string/test-memmove-ifunc.c: Likewise.
18249 * string/test-mempcpy-ifunc.c: Likewise.
18250 * string/test-memset-ifunc.c: Likewise.
18251 * string/test-rawmemchr-ifunc.c: Likewise.
18252 * string/test-stpcpy-ifunc.c: Likewise.
18253 * string/test-stpncpy-ifunc.c: Likewise.
18254 * string/test-strcasecmp-ifunc.c: Likewise.
18255 * string/test-strcasestr-ifunc.c: Likewise.
18256 * string/test-strcat-ifunc.c: Likewise.
18257 * string/test-strchr-ifunc.c: Likewise.
18258 * string/test-strchrnul-ifunc.c: Likewise.
18259 * string/test-strcmp-ifunc.c: Likewise.
18260 * string/test-strcpy-ifunc.c: Likewise.
18261 * string/test-strcspn-ifunc.c: Likewise.
18262 * string/test-strlen-ifunc.c: Likewise.
18263 * string/test-strncasecmp-ifunc.c: Likewise.
18264 * string/test-strncat-ifunc.c: Likewise.
18265 * string/test-strncmp-ifunc.c: Likewise.
18266 * string/test-strncpy-ifunc.c: Likewise.
18267 * string/test-strnlen-ifunc.c: Likewise.
18268 * string/test-strpbrk-ifunc.c: Likewise.
18269 * string/test-strrchr-ifunc.c: Likewise.
18270 * string/test-strspn-ifunc.c: Likewise.
18271 * string/test-strstr-ifunc.c: Likewise.
18273 * debug/Makefile (tests-ifunc): New variable.
18274 (tests): Add $(tests-ifunc).
18275 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18276 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18277 * debug/test-stpcpy_chk-ifunc.c: New file.
18278 * debug/test-strcpy_chk-ifunc.c: Likewise.
18280 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18283 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18284 header is not read in.
18286 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18288 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18289 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18290 directly. Pass built executable to script as
18291 $(built-program-cmd).
18292 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18293 $testprogram without using LD_LIBRARY_PATH and $ldso.
18295 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18296 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18297 $(rtld-installed-name).
18298 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18299 (rtld_installed_name): Likewise.
18300 (library_path): Likewise.
18301 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18302 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18303 $(run-program-prefix) to tst-tables.sh.
18304 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18305 it to run tst-table-from and tst-table-to.
18306 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18307 Pass it to tst-table.sh.
18308 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18309 $(run-program-prefix) to tst-gettext.sh.
18310 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18312 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18314 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18315 to run tst-gettext.
18316 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18317 to run tst-gettext2.
18318 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18319 to run tst-translit.
18320 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18321 $(run-program-prefix) to tst-mtrace.sh.
18322 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18324 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18325 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18326 $(rtld-installed-name).
18327 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18328 (rtld_installed_name): Likewise.
18329 (run_program_prefix): New variable. Use it to run wordexp-test.
18331 * Makeconfig (ARCH): Remove all definitions.
18332 (machine): Likewise.
18333 [ARCH]: Remove conditional code.
18334 [!objdir]: Give error.
18335 [!objdir] (objpfx): Remove.
18336 [!objdir] (common-objpfx): Likewise.
18337 [!objdir] (common-objdir): Likewise.
18338 * configure.in (config_makefile): Remove. Hardcode Makefile in
18339 AC_CONFIG_FILES call.
18340 * configure: Regenerated.
18343 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18345 (testout): Likewise.
18347 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18348 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18349 $(rtld-installed-name).
18350 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18351 (rtld_installed_name): Likwise.
18352 (runit): Remove function.
18353 (run_getconf): New variable, Use it for running getconf binary.
18355 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18358 * string/test-memmem.c (check_result): New function.
18359 (do_one_test): Use it.
18360 (check1): New function.
18361 (test_main): Use it.
18363 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18365 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18367 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18369 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18370 (_G_LSEEK64): Likewise.
18371 (_G_MMAP64): Likewise.
18372 (_G_FSTAT64): Likewise.
18373 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18374 (_G_LSEEK64): Likewise.
18375 (_G_MMAP64): Likewise.
18376 (_G_FSTAT64): Likewise.
18377 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18378 unconditional. Call __mmap64 directly.
18379 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18380 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18381 __lseek64 directly.
18382 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18383 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18385 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18386 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18387 __lseek64 directly.
18388 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18389 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18390 __lseek64 directly.
18391 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18392 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18393 __lseek64 directly.
18394 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18395 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18396 __fxstat64 directly.
18397 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18398 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18400 (freopen64) [!_G_OPEN64]: Remove conditional code.
18401 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18403 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18404 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18406 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18407 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18409 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18410 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18412 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18413 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18415 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18416 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18418 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18419 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18421 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18423 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18426 * manual/memory.texi (Malloc Tunable Parameters): Add note
18427 about free list pointers overwriting some perturb bytes.
18428 Wording suggested by Roland McGrath.
18430 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18432 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18433 (lgamma_test): Likewise.
18434 (tgamma_test): Likewise.
18436 2012-10-16 Florian Weimer <fweimer@redhat.com>
18439 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18440 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18442 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18444 * NEWS: Mention BZ #14716.
18445 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18446 when removing AVAILABLE1_USES_J macro.
18448 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18450 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18451 (__bswap_64): __uint64_t for unsigned 64-bit int.
18453 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18455 * include/string.h (memmem): Declare libc hidden alias.
18456 * string/memmem.c (memmem): Define libc hidden alias.
18457 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18458 __read, __close instead of open, read, close.
18460 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18462 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18463 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18465 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18466 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18467 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18469 (__rawmemchr_sse2): Likewise.
18470 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18471 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18472 (__strchr_sse2): Likewise.
18473 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18474 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18475 (__strcasecmp_sse2): Likewise.
18476 (__strncasecmp_sse2): Likewise.
18477 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18478 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18479 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18480 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18481 (__strrchr_sse2): Likewise.
18482 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18484 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18485 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18486 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18487 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18488 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18489 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18490 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18491 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18492 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18493 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18494 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18495 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18496 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18497 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18498 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18499 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18500 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18501 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18502 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18503 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18504 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18505 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18506 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18507 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18508 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18509 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18510 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18511 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18512 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18513 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18515 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18517 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18518 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18519 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18520 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18522 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18524 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18525 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18526 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18527 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18529 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18530 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18531 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18532 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18533 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18534 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18537 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18538 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18539 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18540 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18541 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18542 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18543 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18544 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18545 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18547 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18548 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18549 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18550 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18551 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18552 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18553 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18554 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18555 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18556 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18557 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18558 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18559 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18560 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18563 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18571 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18572 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18573 * include/ifunc-impl-list.h: New file.
18574 * misc/ifunc-impl-list.c: Likewise.
18575 * misc/Makefile (routines): Add ifunc-impl-list.
18576 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18577 * string/test-string.h: Include <ifunc-impl-list.h>.
18578 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18579 impl_array): New variables.
18580 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18582 (test_init): Call __libc_ifunc_impl_list to initialize
18583 func_list if TEST_IFUNC and TEST_NAME are defined.
18585 * string/Makefile (strop-tests): Add bcopy and bzero.
18586 * string/test-bcopy.c: New file.
18587 * string/test-bzero.c: Likewise.
18588 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18590 * string/test-memset.c: Support bzero test if TEST_BZERO is
18592 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18594 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18596 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18599 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18601 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18602 * configure: Regenerated.
18604 * Makeconfig (+link-static-before-libc): Don't include
18605 $(link-static-libc).
18607 * libio/libio.h (_IO_pos_t): Remove.
18609 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18611 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18614 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18616 * crypt/crypt-entry.c: Include fips-private.h.
18617 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18618 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18619 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18620 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18622 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18624 * crypt/crypt-private.h: Include stdbool.h.
18625 (_ufc_setup_salt_r): Return bool.
18626 * crypt/crypt-entry.c: Include errno.h.
18627 (__crypt_r): Return NULL with EINVAL for bad salt.
18628 * crypt/crypt_util.c (bad_for_salt): New.
18629 (_ufc_setup_salt_r): Check that salt is long enough and within
18630 the specified alphabet.
18631 * crypt/badsalttest.c: New file.
18632 * crypt/Makefile (tests): Add it.
18633 ($(objpfx)badsalttest): New.
18635 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18637 * NEWS: Add entry for BZ #14602.
18639 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18641 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18643 * math/libm-test.inc: Update comment listing what functions and
18645 (isgreater_test): New function.
18646 (isgreaterequal_test): Likewise.
18647 (isless_test): Likewise.
18648 (islessequal_test): Likewise.
18649 (islessgreater_test): Likewise.
18650 (isunordered_test): Likewise.
18651 (main): Call the new functions.
18653 2012-10-09 Roland McGrath <roland@hack.frob.com>
18655 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18656 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18657 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18658 * sysdeps/i386/configure: Regenerated.
18659 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18660 * sysdeps/mach/configure: Regenerated.
18661 * sysdeps/mach/hurd/configure: Regenerated.
18662 * sysdeps/powerpc/configure: Regenerated.
18663 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18664 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18665 * sysdeps/s390/s390-32/configure: Regenerated.
18666 * sysdeps/s390/s390-64/configure: Regenerated.
18667 * sysdeps/sh/configure: Regenerated.
18668 * sysdeps/sparc/configure: Regenerated.
18669 * sysdeps/unix/sysv/linux/configure: Regenerated.
18670 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18671 * sysdeps/x86_64/configure: Regenerated.
18673 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18674 defined. Don't check if MAP is NULL.
18676 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18678 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18679 (_G_stat64): Likewise.
18680 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18681 (_G_stat64): Likewise.
18682 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18683 instead of struct _G_stat64.
18684 * libio/fileops.c (mmap_remap_check): Likewise.
18685 (decide_maybe_mmap): Likewise.
18686 (_IO_new_file_seekoff): Likewise.
18687 (_IO_file_stat): Likewise.
18688 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18690 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18691 instead of struct _G_stat64.
18692 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18694 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18697 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18699 (CHECK_EOL): New macro.
18700 (two_way_short_needle): Check beginning of haystack for EOL. Use
18702 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18703 Replace with CHECK_EOL.
18704 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18705 Replace with CHECK_EOL.
18707 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18709 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18711 * math/libm-test.inc: Update comment listing what functions and
18713 (finite_test): New function.
18714 (isinf_test): Likewise.
18715 (isnan_test): Likewise.
18716 (fpclassify_test): Test subnormal input.
18717 (isfinite_test): Likewise.
18718 (isnormal_test): Likewise.
18719 (main): Call the new functions.
18721 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18724 * Makerules (%.dynsym): Force C locale when running
18725 $(OBJDUMP) --dynamic-syms.
18727 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18729 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18732 2012-10-06 David S. Miller <davem@davemloft.net>
18734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18735 upper 32-bits of the length value in %o2 since we use branch-on-register
18736 tests which consider the entire 64-bit register.
18738 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18740 * string/test-strstr.c (check2): Add a test for page boundary.
18742 2012-10-05 David S. Miller <davem@davemloft.net>
18744 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18745 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18747 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18749 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18750 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18751 and bzero when HWCAP_SPARC_CRYPTO is present.
18753 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18756 * string/test-strstr.c (check2): New function.
18757 (test_main): Call check2.
18759 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18761 * string/bug-strcasestr1.c (do_test): Moved to ...
18762 * string/test-strcasestr.c (check1): Here. New function.
18763 (do_one_test): Break out result checking code into ...
18764 (check_result): This. New function.
18765 (do_one_test): Call check_result.
18766 (test_main): Call check1.
18767 * string/bug-strchr1.c (do_test): Moved to ...
18768 * string/test-strchr.c (check1): Here. New function.
18769 (do_one_test): Break out result checking code into ...
18770 (check_result): This. New function.
18771 (do_one_test): Call check_result.
18772 (test_main): Call check1.
18773 * string/bug-strstr1.c (main): Moved to ...
18774 * string/test-strstr.c (check1): Here. New function.
18775 (do_one_test): Break out result checking code into ...
18776 (check_result): This. New function.
18777 (do_one_test): Call check_result.
18778 (test_main): Call check1.
18779 * string/bug-strcasestr1.c: Removed.
18780 * string/bug-strchr1.c: Likewise.
18781 * string/bug-strstr1.c: Likewise.
18783 * elf/Makefile (dl-routines): Add hwcaps.
18784 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18785 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18786 (_dl_important_hwcaps): Moved to ...
18787 * elf/dl-hwcaps.c: Here. New file.
18788 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18791 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18792 if IS_IN_rtld isn't defined.
18794 * elf/dl-support.c (_dl_sysinfo_map): New.
18795 Include "get-dynamic-info.h" and "setup-vdso.h".
18796 (_dl_non_dynamic_init): Call setup_vdso.
18797 * elf/dynamic-link.h: Don't include <assert.h>.
18798 (elf_get_dynamic_info): Moved to ...
18799 * elf/get-dynamic-info.h: Here. New file.
18800 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18801 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18802 * elf/setup-vdso.h: Here. New file.
18803 * elf/rtld.c: Include "setup-vdso.h".
18804 (dl_main): Call setup_vdso.
18806 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18808 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18809 creal in comment listing functions tested. List finite, isinf,
18810 isnan, isless, islessequal, isgreater, isgreaterequal,
18811 islessgreater, isunordered, lgamma_r and pow10 as functions and
18812 macros not tested. Mention which functions not tested are aliases
18813 for other functions. Fix typo. Note that signs of NaNs are not
18816 * scripts/config.guess: Update from config.git.
18817 * scripts/config.sub: Likewise.
18819 2012-10-04 Roland McGrath <roland@hack.frob.com>
18821 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18822 * misc/madvise.c (madvise): Renamed to __madvise.
18823 Make madvise a weak alias.
18824 * include/sys/mman.h: Declare __madvise.
18825 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18826 * sysdeps/unix/syscalls.list
18827 (madvise): Make __madvise the strong name, and madvise a weak alias.
18828 * sysdeps/unix/sysv/linux/syscalls.list
18829 (madvise, mmap): Remove redundant entries.
18830 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18831 * malloc/malloc.c (mtrim): Likewise.
18832 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18834 2012-10-03 Roland McGrath <roland@hack.frob.com>
18836 * sysdeps/mach/hurd/dl-cache.c: File removed.
18837 * config.h.in (USE_LDCONFIG): New #undef.
18838 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18839 * configure: Regenerated.
18840 * elf/Makefile (dl-routines): Add dl-cache only under
18841 [$(use-ldconfig) = yes].
18842 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18843 cache on [USE_LDCONFIG].
18844 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18846 * elf/rtld.c (dl_main): Likewise.
18848 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18850 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18851 _SC_LEVEL4_CACHE_LINESIZE.
18853 2012-10-03 Roland McGrath <roland@hack.frob.com>
18855 * sysdeps/unix/bsd/confstr.h: File removed.
18857 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18859 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18862 2012-10-02 Roland McGrath <roland@hack.frob.com>
18864 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18865 Make 'mapoff' field ElfW(Off) rather than off_t.
18867 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18869 * nscd/Makefile: Remove nscd-cflags and all its users.
18870 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18871 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18874 * malloc.c (malloc_printerr): Clarify error message.
18876 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18880 Set bit_FMA_Usable if FMA is supported.
18881 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18883 (bit_FMA4_Usable): Updated.
18884 (index_FMA_Usable): New macro.
18885 (CPUID_FMA): Likewise
18886 (HAS_FMA): Defined with bit_FMA_Usable.
18888 2012-10-01 Roland McGrath <roland@hack.frob.com>
18890 * bits/types.h (__swblk_t): Type removed.
18891 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18892 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18894 (__SWBLK_T_TYPE): Likewise.
18895 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18896 (__SWBLK_T_TYPE): Likewise.
18897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18898 (__SWBLK_T_TYPE): Likewise.
18899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18900 (__SWBLK_T_TYPE): Likewise.
18902 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18903 Honza Horak <hhorak@redhat.com>
18905 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18906 (xdr_mapname): Use YPMAXMAP as maxsize.
18907 (xdr_peername): Use YPMAXPEER as maxsize.
18908 (xdr_keydat): Use YPAXRECORD as maxsize.
18909 (xdr_valdat): Use YPMAXRECORD as maxsize.
18911 2012-10-01 Roland McGrath <roland@hack.frob.com>
18913 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18915 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18916 * csu/init-first.c: ... here.
18917 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18918 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18919 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18920 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18921 * sysdeps/i386/init-first.c: File removed.
18922 * sysdeps/sh/init-first.c: File removed.
18924 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18928 if x * y might underflow to zero and z is zero.
18929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18931 * math/libm-test.inc (min_subnorm_value): New variable.
18932 (fma_test): Add more tests.
18933 (fma_test_towardzero): Likewise.
18934 (fma_test_downward): Likewise
18935 (fma_test_upward): Likewise.
18936 (initialize): Set min_subnorm_value.
18938 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18943 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18944 mode for addition resulting in exact zero.
18945 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18948 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18949 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18950 * math/libm-test.inc (fma_test): Add more tests.
18951 (fma_test_towardzero): New function.
18952 (fma_test_downward): Likewise.
18953 (fma_test_upward): Likewise.
18954 (main): Call the new functions.
18956 2012-09-28 David S. Miller <davem@davemloft.net>
18958 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18960 2012-09-28 Roland McGrath <roland@hack.frob.com>
18962 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18963 instead of SIGALRM.
18965 * sysdeps/gnu/_G_config.h: Moved to ...
18966 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18967 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18968 * sysdeps/generic/_G_config.h: ... here.
18970 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18972 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18974 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18975 Conditionalize target on [libnss_test1.so-version].
18977 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18979 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18980 (elfobjdir): Move out of conditionals.
18982 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18983 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18984 (__nss_lookup_function): Conditionalize label remove_from_tree on
18985 [!DO_STATIC_NSS || SHARED], matching its only use.
18987 2012-09-28 David S. Miller <davem@davemloft.net>
18989 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18990 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18992 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18994 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18996 when HWCAP_SPARC_CRYPTO is present.
18998 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19000 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19002 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19005 * stdio-common/vfprintf.c (process_string_arg): Revert
19008 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19010 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19012 * stdio-common/tst-sprintf.c: Include <locale.h>
19013 (main): Test sprintf's handling of incomplete multibyte
19016 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19018 * elf/dl-runtime.c (VERSYMIDX): Removed.
19019 * elf/dl-version.c (VERSYMIDX): Likewise.
19020 * elf/do-rel.h (VERSYMIDX): Likewise.
19021 (VALIDX): Likewise.
19022 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19023 * elf/rtld.c (VALIDX): Likewise.
19024 (ADDRIDX): Likewise.
19025 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19026 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19027 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19028 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19029 (VALIDX): Likewise.
19030 (ADDRIDX): Likewise.
19032 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19034 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19036 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19039 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19041 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19042 addresses are in the same scope as 192.0.2/24.
19043 * posix/gai.conf: Document new scope table defaults.
19045 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19048 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19049 for ftell. Compute offsets from write pointers instead.
19050 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19052 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19055 * libio/Makefile (tests): New test case tst-fseek.
19056 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19057 combination works in wide mode.
19058 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19059 state when the external buffer state changes.
19061 2012-09-27 David S. Miller <davem@davemloft.net>
19064 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19065 pass reloc->r_addend in as the 'high' argument to
19066 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19070 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19072 * rt/tst-aio2.c: Include <pthread.h>.
19073 * rt/tst-aio3.c: Likewise.
19075 2012-09-27 Steve Ellcey <sellcey@mips.com>
19077 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19079 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19081 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19082 contents on [SHARED].
19084 2012-09-26 Marek Polacek <polacek@redhat.com>
19088 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19089 for C++ and GCC <4.3 as well as for non GCC compilers.
19091 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19095 2012-09-25 Roland McGrath <roland@hack.frob.com>
19097 * Makefile.in (all, install): Declare with .PHONY.
19098 Reported by Michael Hope <michael.hope@linaro.org>.
19100 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19102 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19103 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19105 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19107 (sydep_routines): Add the new and the internal functions.
19108 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19109 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19111 (GLIBC_2.17): Add the new function.
19112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19113 (GLIBC_2.17): Likewise.
19114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19115 (GLIBC_2.17): Likewise.
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19117 (GLIBC_2.17): Likewise.
19118 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19120 2012-09-25 Alan Modra <amodra@gmail.com>
19122 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19123 Add release barrier before setting once_control to say
19124 initialisation is done. Add hints on lwarx. Use macro in
19126 (clear_once_control): Add release barrier.
19128 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19131 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19133 * math/s_clog10.c (__clog10): Likewise.
19134 * math/s_clog10f.c (__clog10f): Likewise.
19135 * math/s_clog10l.c (__clog10l): Likewise.
19136 * math/s_clogf.c (__clogf): Likewise.
19137 * math/s_clogl.c (__clogl): Likewise.
19138 * math/Makefile (libm-calls): Add x2y2m1.
19139 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19140 (__x2y2m1): Likewise.
19141 (__x2y2m1l): Likewise.
19142 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19143 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19146 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19147 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19148 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19149 * sysdeps/i386/fpu/libm-test-ulps: Update.
19150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19153 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19154 int as type of variable DEPTH.
19155 (glob): Use size_t instead of int as type of variables NEWCOUNT
19158 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19160 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19161 Add s_sincosf-sse2.
19162 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19163 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19164 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19165 macros for using routine as __sincosf_ia32.
19166 Use macro for function declaration and weak_alias.
19167 * sysdeps/i386/fpu/libm-test-ulps: Update.
19169 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19172 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19173 subnormal argument.
19174 * math/s_cexpf.c (__cexpf): Likewise.
19175 * math/s_csinf.c (__csinf): Likewise.
19176 * math/s_csinhf.c (__csinhf): Likewise.
19177 * math/s_ctanf.c (__ctanf): Likewise.
19178 * math/s_ctanhf.c (__ctanhf): Likewise.
19179 * math/s_ccosh.c (__ccoshf): Likewise.
19180 * math/s_cexp.c (__cexpl): Likewise.
19181 * math/s_csin.c (__csin): Likewise.
19182 * math/s_csinh.c (__csinh): Likewise.
19183 * math/s_ctan.c (__ctan): Likewise.
19184 * math/s_ctanh.c (ctanh): Likewise.
19185 * math/s_ccoshl.c (__ccoshl): Likewise.
19186 * math/s_cexpl.c (__cexpl): Likewise.
19187 * math/s_csinl.c (__csinl): Likewise.
19188 * math/s_csinhl.c (__csinhl): Likewise.
19189 * math/s_ctanl.c (__ctanl): Likewise.
19190 * math/s_ctanhl.c (__ctanhl): Likewise.
19192 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19194 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19195 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19196 (_IO_off_t): Define to __off_t, not _G_off_t.
19197 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19198 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19199 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19200 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19201 type of __dummy and __dummy2 fields.
19202 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19203 (_G_ssize_t): Likewise.
19204 (_G_off_t): Likewise.
19205 (_G_pid_t): Likewise.
19206 (_G_uid_t): Likewise.
19207 (_G_wchar_t): Likewise.
19208 (_G_wint_t): Likewise.
19209 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19210 (_G_ssize_t): Likewise.
19211 (_G_off_t): Likewise.
19212 (_G_pid_t): Likewise.
19213 (_G_uid_t): Likewise.
19214 (_G_wchar_t): Likewise.
19215 (_G_wint_t): Likewise.
19216 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19217 (_G_ssize_t): Likewise.
19218 (_G_off_t): Likewise.
19219 (_G_pid_t): Likewise.
19220 (_G_uid_t): Likewise.
19221 (_G_wchar_t): Likewise.
19222 (_G_wint_t): Likewise.
19224 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19226 * malloc/arena.c: Include malloc-sysdep.h.
19227 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19228 is sufficient to shrink the heap or an unmap is needed.
19229 * sysdeps/generic/malloc-sysdep.h: New file. Define
19230 new function check_may_shrink_heap.
19231 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19232 new function check_may_shrink_heap.
19234 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19236 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19239 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19241 * catgets/test-gencat.sh: Add "set -e".
19242 * elf/tst-pathopt.sh: Likewise.
19243 * grp/tst_fgetgrent.sh: Likewise.
19244 * iconvdata/run-iconv-test.sh: Likewise.
19245 * intl/tst-gettext.sh: Likewise.
19246 * intl/tst-gettext2.sh: Likewise.
19247 * intl/tst-gettext4.sh: Likewise.
19248 * intl/tst-gettext6.sh: Likewise.
19249 * intl/tst-translit.sh: Likewise.
19250 * io/ftwtest-sh: Likewise.
19251 * libio/test-freopen.sh: Likewise.
19252 * malloc/tst-mtrace.sh: Likewise.
19253 * posix/globtest.sh: Likewise.
19254 * posix/tst-getconf.sh: Likewise.
19255 * posix/wordexp-tst.sh: Likewise.
19256 * stdio-common/tst-printf.sh: Likewise.
19257 * stdio-common/tst-unbputc.sh: Likewise.
19258 * stdlib/tst-fmtmsg.sh: Likewise.
19259 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19260 * catgets/Makefile: Do not specify -e option when running
19261 testsuite shell scripts.
19262 * elf/Makefile: Likewise.
19263 * grp/Makefile: Likewise.
19264 * iconvdata/Makefile: Likewise.
19265 * intl/Makefile: Likewise.
19266 * io/Makefile: Likewise.
19267 * libio/Makefile: Likewise.
19268 * malloc/Makefile: Likewise.
19269 * posix/Makefile: Likewise.
19270 * stdio-common/Makefile: Likewise.
19271 * stdlib/Makefile: Likewise.
19272 * sysdeps/x86_64/Makefile: Likewise.
19274 * io/ftwtest-sh: Add copyright header.
19275 * posix/globtest.sh: Likewise.
19276 * posix/tst-getconf.sh: Likewise.
19277 * posix/wordexp-tst.sh: Likewise.
19278 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19280 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19283 * Makeconfig (+link): Defined as $(+link-static) if
19284 $(build-shared) isn't yes.
19285 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19287 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19289 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19292 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19293 new chunk size with MALLOC_ALIGN_MASK.
19295 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19298 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19300 (__printf_fphex): Determine rounding using get_rounding_mode and
19302 * stdio-common/tst-printf-round.c (struct hex_test): New
19304 (hex_tests): New variable.
19305 (test_hex_in_one_mode): New function.
19306 (do_test): Also run tests for hex float output.
19308 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19310 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19311 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19312 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19313 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19314 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19315 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19316 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19317 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19319 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19321 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19322 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19323 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19324 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19326 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19329 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19331 * elf/tst-rtld-load-self.sh: New test.
19332 * elf/Makefile: Run it.
19334 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19336 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19337 (tst-writev-ENV): Remove.
19338 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19340 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19342 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19344 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19346 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19348 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19350 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19351 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19352 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19355 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19358 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19359 * config.make.in (have-cpp-asm-debuginfo): Removed.
19360 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19361 * configure: Regenerated.
19363 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19366 * stdio-common/printf_fp.c: Include <stdbool.h> and
19368 (___printf_fp): Determine rounding using get_rounding_mode and
19370 * stdio-common/tst-printf-round.c: New file.
19371 * stdio-common/Makefile (tests): Add tst-printf-round.
19372 (link-libm): New variable.
19373 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19375 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19378 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19379 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19381 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19384 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19386 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19387 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19388 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19389 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19391 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19394 * include/rounding-mode.h: New file.
19395 * sysdeps/generic/get-rounding-mode.h: Likewise.
19396 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19397 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19398 (MAX_VALUE): New macro.
19399 (MIN_VALUE): Likewise.
19400 (overflow_value): New function.
19401 (underflow_value): Likewise.
19402 (round_and_return): Use overflow_value and underflow_value to
19403 determine return values in overflow and underflow cases. Use
19404 round_away to determine rounding depending on rounding mode.
19405 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19406 determine return values in overflow and underflow cases.
19407 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19408 (struct test_results): New structure.
19409 (struct test): Use struct test_results to store expected results
19410 for all rounding modes.
19411 (TEST): Include expected results for all rounding modes.
19412 (test_in_one_mode): New function.
19413 (do_test): Use test_in_one_mode to compute and check results.
19414 Check results for all rounding modes.
19415 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19418 2012-12-09 Allan McRae <allan@archlinux.org>
19420 * sysdeps/i386/fpu/libm-test-ulps: Update
19422 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19424 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19425 (_G_int32_t): Likewise.
19426 (_G_uint16_t): Likewise.
19427 (_G_uint32_t): Likewise.
19428 (_G_HAVE_BOOL): Likewise.
19429 (_G_HAVE_ATEXIT): Likewise.
19430 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19431 (_G_HAVE_IO_FILE_OPEN): Likewise.
19432 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19433 (_G_int32_t): Likewise.
19434 (_G_uint16_t): Likewise.
19435 (_G_uint32_t): Likewise.
19436 (_G_HAVE_BOOL): Likewise.
19437 (_G_HAVE_ATEXIT): Likewise.
19438 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19439 (_G_HAVE_IO_FILE_OPEN): Likewise.
19440 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19441 (_G_int32_t): Likewise.
19442 (_G_uint16_t): Likewise.
19443 (_G_uint32_t): Likewise.
19444 (_G_HAVE_BOOL): Likewise.
19445 (_G_HAVE_ATEXIT): Likewise.
19446 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19447 (_G_HAVE_IO_FILE_OPEN): Likewise.
19449 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19451 * csu/libc-tls.c: Update copyright years.
19453 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19455 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19456 [!_G_USING_THUNKS]: Remove conditional code.
19457 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19458 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19460 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19461 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19462 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19463 (_G_VTABLE_LABEL_PREFIX): Likewise.
19464 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19465 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19466 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19467 (_G_VTABLE_LABEL_PREFIX): Likewise.
19468 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19469 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19470 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19471 (_G_VTABLE_LABEL_PREFIX): Likewise.
19472 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19474 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19476 * libio/Makefile: Include ../Makeconfig before tests.
19477 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19478 only if $(build-shared) is yes.
19480 * iconv/gconv_db.c: Update copyright years.
19482 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19484 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19485 unwind info if defined PIC. Fix special cases description.
19486 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19488 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19490 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19492 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19494 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19496 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19499 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19500 (LDLIBS-tst-chk4): This.
19501 (LDFLAGS-tst-chk5): Renamed to ...
19502 (LDLIBS-tst-chk5): This.
19503 (LDFLAGS-tst-chk6): Renamed to ...
19504 (LDLIBS-tst-chk6): This.
19505 (LDFLAGS-tst-lfschk4): Renamed to ...
19506 (LDLIBS-tst-lfschk4): This.
19507 (LDFLAGS-tst-lfschk5): Renamed to ...
19508 (LDLIBS-tst-lfschk5): This.
19509 (LDFLAGS-tst-lfschk6): Renamed to ...
19510 (LDLIBS-tst-lfschk6): This.
19512 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19513 on $(common-objpfx)soversions.mk.
19515 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19518 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19521 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19523 * malloc/arena.c (arena_get_retry): New function that gets
19524 another arena for the caller to try its request on.
19525 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19526 current arena cannot fulfill the request.
19527 (__libc_memalign): Likewise.
19528 (__libc_memalign): Likewise.
19529 (__libc_pvalloc): Likewise.
19530 (__libc_calloc): Likewise.
19532 2012-09-05 John Tobey <john.tobey@gmail.com>
19535 * manual/arith.texi (Operations on Complex): Fix description
19536 of carg branch cut.
19538 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19541 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19545 * manual/memory.texi (Memory): Make order of menu items match
19548 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19550 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19551 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19552 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19554 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19556 * csu/libc-tls.c (static_dtv): Renamed to ...
19557 (_dl_static_dtv): This. Make it global.
19558 (_dl_initial_dtv): Removed.
19559 (__libc_setup_tls): Updated.
19560 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19561 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19564 2012-09-06 Petr Machata <pmachata@redhat.com>
19566 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19567 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19568 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19569 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19571 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19574 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19575 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19578 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19581 * Makeconfig (link-static-before-libc): Replace $(+prector)
19583 (link-static-after-libc): Replace $(+postctor) with
19585 (link-bounded): Replace $(+prector)/$(+postctor) with
19586 $(+prectorT)/$(+postctorT).
19587 (+prectorT): New macro.
19588 (+postctorT): Likewise.
19590 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19592 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19593 (round_str): Handle values above the maximum for IBM long double
19595 * stdlib/tst-strtod-round.c (tests): Regenerated.
19597 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19599 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19601 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19602 zarch_nohighgprs around the zarch optimized routines.
19603 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19604 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19605 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19608 2012-09-05 David S. Miller <davem@davemloft.net>
19610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19612 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19613 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19614 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19615 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19618 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19620 * malloc/arena.c: Fold copyright years.
19621 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19623 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19625 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19627 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19629 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19631 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19633 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19634 change internal state upon failure.
19636 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19638 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19639 * malloc/memusage.c (mmap): Likewise.
19640 (mmap64, mremap): Likewise. Adjust name in comment.
19642 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19644 * libio/fileops.c: Fix typos in comments.
19645 * libio/oldfileops.c: Likewise.
19646 * libio/wfileops.c: Likewise.
19648 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19651 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19652 (tst-malloc-usable-ENV): Set environment for test case.
19653 * malloc/hooks.c (malloc_check_get_size): New function to get
19655 * malloc/malloc.c (musable): Use malloc_check_get_size.
19656 * malloc/tst-malloc-usable.c: New test case.
19658 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19660 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19662 2012-09-05 Allan McRae <allan@archlinux.org>
19665 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19666 determine header location.
19667 * configure: Regenerated.
19669 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19671 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19673 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19674 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19676 (test): Regenerate.
19678 2012-09-04 David S. Miller <davem@davemloft.net>
19680 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19681 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19682 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19684 2012-09-04 Florian Weimer <fweimer@redhat.com>
19686 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19689 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19691 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19694 * libio/iogetdelim.c: Include <limits.h>.
19695 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19696 + len + 1 would overflow.
19698 2012-09-03 Andreas Jaeger <aj@suse.de>
19700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19701 * sysdeps/i386/fpu/libm-test-ulps: Update.
19703 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19705 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19706 Add s_sinf-sse2, s_conf-sse2.
19708 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19709 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19710 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19711 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19713 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19714 for using routine as __sinf_ia32.
19715 Use macro for function declaration and weak_alias.
19716 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19717 for using routine as __cosf_ia32.
19718 Use macro for function declaration and weak_alias.
19720 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19721 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19723 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19724 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19727 * math/libm-test.inc (cos_test): Add more test cases.
19728 (sin_test): Likewise.
19729 (sincos_test): Likewise.
19731 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19733 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19734 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19736 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19738 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19741 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19742 first element of the GOT.
19743 (elf_machine_load_address): Return the difference between
19744 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19746 2012-09-01 Allan McRae <allan@archlinux.org>
19749 * configure.in (AWK): Require gawk version 3.0 or later.
19750 * configure: Regenerated.
19752 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19754 * sysdeps/unix/sysv/linux/kernel-features.h
19755 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19756 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19757 [__NR_clock_getres]: Make code unconditional.
19758 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19759 (clock_getcpuclockid): Remove code left unreachable by removal of
19761 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19762 code unconditional.
19763 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19764 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19765 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19766 Make code unconditional.
19767 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19768 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19769 * sysdeps/unix/sysv/linux/clock_settime.c
19770 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19772 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19773 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19775 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19778 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19779 scripts/test-installation.pl.
19781 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19782 and $ld_so_version if it is set.
19784 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19787 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19788 failure if reading from procfs failed.
19789 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19791 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19793 * sysdeps/unix/sysv/linux/kernel-features.h
19794 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19795 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19796 Remove conditional code.
19797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19798 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19799 Remove conditional code.
19800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19801 * sysdeps/unix/sysv/linux/i386/fxstat.c
19802 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19804 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19805 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19807 * sysdeps/unix/sysv/linux/i386/lxstat.c
19808 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19810 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19811 Remove conditional code.
19812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19813 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19814 Remove conditional code.
19815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19816 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19817 <kernel-features.h>.
19818 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19820 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19821 Remove conditional code.
19822 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19823 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19824 Remove conditional.
19826 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19829 * NEWS: Add fixed bug number.
19831 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19834 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19835 underflowing exponent in case of negative sign.
19836 * stdlib/tst-strtod-round-data: Add more tests.
19837 * stdlib/tst-strtod-round.c (tests): Regenerated.
19840 * stdlib/strtod_l.c (NDIG): Remove.
19841 (HEXNDIG): Likewise.
19842 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19843 smallest representable value.
19844 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19845 lie within an exact representation of 1/2 ulp of the result.
19846 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19848 (TENS_P9_IDX): Define unconditionally.
19849 (TENS_P9_SIZE): Likewise.
19850 (TENS_P10_IDX): Likewise.
19851 (TENS_P10_SIZE): Likewise.
19852 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19853 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19854 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19855 entries for 10^2^13 and 10^2^14.
19856 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19857 (TENS_P13_IDX): Define.
19858 (TENS_P13_SIZE): Likewise.
19859 (TENS_P14_IDX): Likewise.
19860 (TENS_P14_SIZE): Likewise.
19861 (_fpioconst_pow10): Change array size to
19862 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19864 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19865 1024]: Add entries for 10^2^13 and 10^2^14.
19866 [LAST_POW10 > _LAST_POW10]: Remove #error.
19867 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19868 (_fpioconst_pow10): Change array size to
19869 FPIOCONST_POW10_ARRAY_SIZE.
19870 * stdlib/gen-fpioconst.c: New file.
19871 * stdlib/gen-tst-strtod-round.c: Likewise.
19872 * stdlib/tst-strtod-round-data: Likewise.
19873 * stdlib/tst-strtod-round.c: Likewise.
19874 * stdlib/Makefile (tests): Add tst-strtod-round.
19877 * stdlib/strtod_l.c: Include <stdint.h>.
19878 (NDEBUG): Do not define.
19879 (round_and_return): Change EXPONENT parameter to type intmax_t.
19880 Rearrange calculations to avoid internal overflow possibilities.
19881 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19882 Rearrange calculations to avoid internal overflow possibilities.
19883 Assert that number fits inside MPNSIZE limbs.
19884 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19885 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19886 calculations and add assertions to avoid internal overflow
19887 possibilities. Add casts to avoid signed/unsigned operations.
19888 * stdlib/tst-strtod-overflow.c: New file.
19889 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19891 2012-08-25 Marek Polacek <polacek@redhat.com>
19893 * time/time.h: Fix some typos in comments.
19895 2012-08-23 Roland McGrath <roland@hack.frob.com>
19897 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19898 * posix/tst-rfc3484-2.c: Likewise.
19899 * posix/tst-rfc3484-3.c: Likewise.
19901 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19903 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19904 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19906 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19908 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19909 #include of fxstatat64.c.
19911 2012-08-22 Roland McGrath <roland@hack.frob.com>
19913 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19914 * shadow/getspent_r.c: Likewise.
19915 * shadow/getspnam.c: Likewise.
19916 * shadow/getspnam_r.c: Likewise.
19917 * gshadow/getsgent.c: Likewise.
19918 * gshadow/getsgent_r.c: Likewise.
19919 * gshadow/getsgnam.c: Likewise.
19920 * gshadow/getsgnam_r.c: Likewise.
19921 * inet/getnetbyad.c: Likewise.
19922 * inet/getnetbyad_r.c: Likewise.
19923 * inet/getnetbynm.c: Likewise.
19924 * inet/getnetbynm_r.c: Likewise.
19925 * inet/getnetent.c: Likewise.
19926 * inet/getnetent_r.c: Likewise.
19927 * inet/getproto.c: Likewise.
19928 * inet/getproto_r.c: Likewise.
19929 * inet/getprtent.c: Likewise.
19930 * inet/getprtent_r.c: Likewise.
19931 * inet/getprtname.c: Likewise.
19932 * inet/getprtname_r.c: Likewise.
19933 * inet/getrpcbyname.c: Likewise.
19934 * inet/getrpcbyname_r.c: Likewise.
19935 * inet/getrpcbynumber.c: Likewise.
19936 * inet/getrpcbynumber_r.c: Likewise.
19937 * inet/getrpcent.c: Likewise.
19938 * inet/getrpcent_r.c: Likewise.
19939 * inet/getaliasent.c: Likewise.
19940 * inet/getaliasent_r.c: Likewise.
19941 * inet/getaliasname.c: Likewise.
19942 * inet/getaliasname_r.c: Likewise.
19943 * nscd/getgrgid_r.c: Likewise.
19944 * nscd/getgrnam_r.c: Likewise.
19945 * nscd/gethstbyad_r.c: Likewise.
19946 * nscd/gethstbynm3_r.c: Likewise.
19947 * nscd/getpwnam_r.c: Likewise.
19948 * nscd/getpwuid_r.c: Likewise.
19949 * nscd/getsrvbynm_r.c: Likewise.
19950 * nscd/getsrvbypt_r.c: Likewise.
19951 * nscd/gai.c: Likewise.
19953 * configure.in (build_nscd): New substituted variable, set
19954 by --disable-build-nscd and defaults to $use_nscd.
19955 * configure: Regenerated.
19956 * config.make.in (build-nscd): New substituted variable.
19957 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19958 Change conditional to require [$(build-nscd) = yes] as well.
19959 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19962 * configure.in (use_nscd): New substituted variable, set by
19963 --disable-nscd. If enabled, define USE_NSCD.
19964 * configure: Regenerated.
19965 * config.h.in: Add USE_NSCD.
19966 * config.make.in (use-nscd): New substituted variable.
19967 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19968 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19969 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19970 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19971 (CFLAGS-getgrnam_r.c): Likewise.
19972 (CFLAGS-initgroups.c): Likewise.
19973 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19974 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19976 * inet/getnetgrent_r.c
19977 (nscd_setnetgrent): New function, broken out of ...
19978 (setnetgrent): ... here. Call it.
19979 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19980 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19981 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19982 * nscd/Makefile (routines, aux): Move definitions after include of
19983 Makeconfig. Conditionalize on [$(use-nscd) != no].
19984 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19985 Conditionalize on [USE_NSCD].
19986 (is_nscd, nscd_init_cb): Likewise.
19987 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19988 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19989 * nss/nss_db/db-init.c: Likewise.
19990 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19992 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19993 (make_request): Use it.
19994 (cache_valid_p): New function.
19995 (__check_pf): Use it.
19996 * NEWS: Add item for --disable-nscd.
19998 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20000 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20001 to support sed >= 4.2.1-20-ga9bf076.
20002 * configure: Regenerated.
20004 2012-08-22 Roland McGrath <roland@hack.frob.com>
20006 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20007 Conditionalize whole body on [IREL].
20009 2012-08-22 Jeff Law <law@redhat.com>
20012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20013 if the family is PF_UNSPEC.
20015 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20017 * Makerules (lib-version): Rename from V.
20018 (install-lib-nosubdir): Change V to lib-version.
20020 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20023 * powerpc32/power6/wcschr.c: New file.
20024 * powerpc32/power6/wcscpy.c: New file.
20025 * powerpc32/power6/wcsrchr.c: New file.
20026 * powerpc64/power6/wcschr.c: New file.
20027 * powerpc64/power6/wcscpy.c: New file.
20028 * powerpc64/power6/wcsrchr.c: New file.
20030 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20032 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20033 (two_way_short_needle): Use it.
20034 * string/strstr.c (AVAILABLE1_USES_J): Define.
20035 * string/strcasestr.c: Likewise.
20037 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20039 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20042 * NEWS: Add an entry.
20043 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20044 define their defaults.
20045 (two_way_short_needle): Detect end-of-string on-the-fly.
20046 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20047 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20048 * string/bug-strcasestr1.c: New test.
20049 * string/Makefile: Run it.
20051 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20054 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20055 the first character.
20057 2012-08-21 Roland McGrath <roland@hack.frob.com>
20059 * csu/elf-init.c (__libc_csu_irel): Function removed.
20060 * csu/libc-start.c (apply_irel): New function.
20061 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20063 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20065 * sysdeps/unix/sysv/linux/kernel-features.h
20066 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20067 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20068 <kernel-features.h>.
20069 [__NR_fadvise64_64]: Make code unconditional.
20070 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20071 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20072 !__NR_fadvise64_64)]: Likewise.
20073 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20074 !__NR_fadvise64_64))]: Likewise.
20075 [__NR_fadvise64]: Make code unconditional.
20076 [!__NR_fadvise64]: Remove conditional code.
20077 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20078 <kernel-features.h>.
20079 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20081 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20084 not include <kernel-features.h>.
20085 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20087 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20089 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20090 include <kernel-features.h>.
20091 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20093 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20096 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20098 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20099 slight instruction rearrangements per scrollpipe analysis.
20100 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20102 2012-08-20 Roland McGrath <roland@hack.frob.com>
20104 * manual/syslog.texi (syslog; vsyslog, closelog):
20105 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20106 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20108 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20109 DSOCAPS to match condition on defining it.
20111 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20113 * sysdeps/unix/sysv/linux/kernel-features.h
20114 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20116 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20117 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20119 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20120 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20122 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20123 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20125 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20126 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20128 * sysdeps/unix/sysv/linux/kernel-features.h
20129 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20130 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20132 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20133 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20134 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20135 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20136 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20137 Make code unconditional.
20138 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20139 (__mmap64) [!__NR_mmap2]: Likewise.
20140 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20141 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20142 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20143 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20144 [__NR_mmap2]: Make code unconditional.
20145 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20146 (__mmap64) [!__NR_mmap2]: Likewise.
20148 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20150 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20152 2012-08-18 Andreas Jaeger <aj@suse.de>
20154 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20156 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20158 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20159 * include/unistd.h (__have_sock_cloexec): Likewise.
20160 (__have_pipe2): Likewise.
20161 (__have_dup3): Likewise.
20163 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20166 * include/unistd.h (__have_pipe2): Change define into an extern int.
20167 (__have_dup3): Likewise.
20168 * socket/have_sock_cloexec.c: Include fcntl.h.
20169 (__have_pipe2): New variable.
20170 (__have_dup3): Likewise.
20172 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20174 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20176 2012-08-17 Marek Polacek <polacek@redhat.com>
20178 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20179 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20181 2012-08-17 Roland McGrath <roland@hack.frob.com>
20183 * configure.in: Add AC_SUBST for sysheaders.
20184 * configure: Regenerated.
20185 * config.make.in (sysheaders): New substituted variable.
20187 * sysdeps/unix/mkfifo.c: Moved ...
20188 * sysdeps/posix/mkfifo.c: ... here.
20189 * sysdeps/unix/mkfifoat.c: Moved ...
20190 * sysdeps/posix/mkfifoat.c: ... here.
20192 * sysdeps/unix/utime.c: Moved ...
20193 * sysdeps/posix/utime.c: ... here.
20195 * sysdeps/unix/time.c: Moved ...
20196 * sysdeps/posix/time.c: ... here.
20197 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20198 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20200 * sysdeps/unix/nice.c: Moved ...
20201 * sysdeps/posix/nice.c: ... here.
20203 * sysdeps/unix/alarm.c: Moved ...
20204 * sysdeps/posix/alarm.c: ... here.
20206 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20208 2012-08-17 Jeff Law <law@redhat.com>
20210 * intl/Makefile (codeset_mo): New variable.
20211 ($(codeset_mo)): New target.
20212 (tst-codeset.out): Depend on that. Remove explicit rule.
20213 (tst-gettext3.out, tst-gettext5.out): Likewise.
20214 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20215 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20216 * intl/tst-codeset.sh: Remove.
20217 * intl/tst-gettext3.sh: Likewise.
20218 * intl/tst-gettext5.sh: Likewise.
20220 2012-08-17 Roland McGrath <roland@hack.frob.com>
20222 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20223 * sysdeps/unix/syscalls.list: ... here.
20225 * sysdeps/posix/getaddrinfo.c
20226 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20227 (gaiconf_init, gaiconf_reload): Use them.
20228 [!_STATBUF_ST_NSEC]
20229 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20230 Define using time_t rather than struct timespec.
20232 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20233 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20235 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20237 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20238 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20241 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20242 __libc_cleanup_push argument.
20244 * bits/param.h: New file.
20245 * misc/sys/param.h: New file.
20246 * include/sys/param.h: New file.
20247 * misc/Makefile (headers): Add bits/param.h.
20248 * sysdeps/generic/sys/param.h: File removed.
20249 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20250 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20251 * sysdeps/mach/hurd/bits/param.h: New file.
20252 * sysdeps/mach/hurd/sys/param.h: File removed.
20254 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20257 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20259 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20260 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20263 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20264 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20265 rather than -D_IO_MTSAFE_IO conditionally.
20266 * stdio-common/Makefile (CPPFLAGS): Likewise.
20267 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20268 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20269 Use $(libio-mtsafe).
20270 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20271 of -D_IO_MTSAFE_IO.
20272 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20273 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20274 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20275 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20276 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20277 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20278 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20279 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20280 (CFLAGS-fread_u_chk.c): Likewise.
20281 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20282 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20283 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20284 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20285 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20286 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20287 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20288 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20289 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20291 * libio/Makefile: Test [$(libc-reentrant) = yes]
20292 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20295 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20296 * sysdeps/pthread/configure: File removed.
20297 * sysdeps/pthread/Makeconfig: New file.
20298 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20299 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20301 2012-08-16 Gary Benson <gbenson@redhat.com>
20303 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20304 unmapping the first object in a namespace.
20306 2012-08-16 Roland McGrath <roland@hack.frob.com>
20308 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20309 (__internal_setnetgrent): ... this. Add internal_function to
20310 definition. Add libc_hidden_def.
20311 (setnetgrent): Update caller.
20312 (internal_endnetgrent): Renamed to ...
20313 (__internal_endnetgrent): ... this. Add internal_function to
20314 definition. Add libc_hidden_def.
20315 (endnetgrent): Update caller.
20316 (internal_getnetgrent_r): Renamed to ...
20317 (__internal_getnetgrent_r): ... this. Add internal_function to
20318 definition. Add libc_hidden_def.
20319 (__getnetgrent_r): Update caller.
20320 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20322 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20324 * stdlib/longlong.h: Update from GCC.
20326 2012-08-16 Roland McGrath <roland@hack.frob.com>
20328 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20329 on _QL, which is set by umul_ppmm but never used.
20330 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20331 variables, which are set by GMP macros but never used.
20332 * stdio-common/_itowa.c (_itowa): Likewise.
20333 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20334 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20336 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20338 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20339 struct La_sh_regs is not constant.
20340 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20341 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20342 and struct La_sparc64_regs are not constant.
20344 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20346 * sysdeps/unix/sysv/linux/kernel-features.h
20347 (__ASSUME_POSIX_TIMERS): Remove.
20348 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20349 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20350 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20351 Make code unconditional.
20352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20353 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20354 Make code unconditional.
20355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20356 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20357 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20358 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20359 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20360 Make code unconditional.
20361 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20362 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20363 (__libc_missing_posix_timers): Remove.
20365 2012-08-15 Roland McGrath <roland@hack.frob.com>
20367 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20368 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20370 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20372 * elf/dl-sym.c: Include <stdlib.h>.
20374 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20375 constants, which avoids warnings in 32-bit builds.
20377 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20378 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20380 * misc/lseek.c: File moved to ...
20381 * io/lseek.c: ... here.
20383 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20385 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20386 shifting LEN more than 31 bits at once.
20388 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20391 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20392 segmentation fault for a case of two empty input strings.
20393 * string/test-strncasecmp.c (check1): Renamed to...
20394 (bz12205): ...this.
20395 (bz14195): Add new testcase for two empty input strings and N > 0.
20396 (test_main): Call new testcase, adapt for renamed function.
20398 2012-08-15 Andreas Jaeger <aj@suse.de>
20401 * crypt/md5test2.c: New test, based on test supplied by Serge
20402 Belyshev <belyshev@depni.sinp.msu.ru>.
20403 * crypt/Makefile (xtests): Add md5test-giant..
20404 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20406 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20409 * crypt/md5.c (md5_process_block): Don't assume the buffer
20410 length is less than 2**32.
20411 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20412 length is less than 2**64.
20414 2012-08-15 Roland McGrath <roland@hack.frob.com>
20416 * string/str-two-way.h: Include <sys/param.h>.
20417 (MAX): Macro removed.
20419 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20420 Move #define and #undef of memmove to just before and after
20421 including <string.h>.
20423 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20424 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20425 and after including <string.h>. Move declarations of
20426 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20427 to before #include "string/memmove.c".
20429 * include/dirent.h: Declare __getdirentries.
20431 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20432 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20434 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20436 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20437 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20438 * sysdeps/i386/configure: Regenerated.
20439 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20440 STABS_CURRENT_FILE, and STABS_FUN.
20441 (END): Remove call to STABS_FUN_END.
20442 (STABS_CURRENT_FILE1): Delete.
20443 (STABS_CURRENT_FILE): Likewise.
20444 (STABS_FUN): Likewise.
20445 (STABS_FUN_END): Likewise.
20446 (STABS_FUN2): Likewise.
20447 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20448 * sysdeps/x86_64/configure: Regenerated.
20450 2012-08-14 Roland McGrath <roland@hack.frob.com>
20452 * elf/dl-open.c: Include <atomic.h>.
20453 * elf/dl-lookup.c: Likewise.
20455 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20457 * sysdeps/unix/sysv/linux/kernel-features.h
20458 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20459 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20461 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20463 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20464 condition on __ASSUME_CLONE_THREAD_FLAGS.
20466 2012-08-14 Andreas Jaeger <aj@suse.de>
20468 * sysdeps/i386/fpu/libm-test-ulps: Update.
20470 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20472 * include/atomic.h (atomic_exchange_and_add): Split into ...
20473 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20476 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20480 2012-08-13 Jeff Law <law@redhat.com>
20482 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20483 null byte in the output string.
20485 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20487 * sysdeps/unix/sysv/linux/kernel-features.h
20488 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20489 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20490 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20491 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20492 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20493 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20494 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20496 2012-08-09 Jeff Law <law@redhat.com>
20499 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20500 When avoid_arena is set, don't retry in the that arena. Pick the
20501 next one, whatever it might be.
20502 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20503 (arena_lock): Pass in new parameter to arena_get2.
20504 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20506 (__libc_malloc): Unify retrying after main arena failure with
20507 __libc_memalign version.
20508 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20510 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20513 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20514 to __redirect_strstr.
20515 (__strstr_sse42): Use typeof __redirect_strstr.
20516 (__strstr_ia32): Likewise.
20517 (__libc_strstr): New prototype.
20518 (strstr): Renamed to ...
20519 (__libc_strstr): This.
20520 (strstr): New strong alias of __libc_strstr.
20521 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20522 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20525 (__libc_time): New prototype.
20526 (time_ifunc): Replace time with __libc_time.
20527 (time): New strong alias and hidden definition of __libc_time.
20528 (__GI_time): Remove strong alias.
20529 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20530 Include <stddef.h>.
20531 (memmove): Redefined to __redirect_memmove.
20532 (__memmove_sse2): Use typeof __redirect_memmove.
20533 (__memmove_ssse3): Likewise.
20534 (__memmove_ssse3_back): Likewise.
20535 (__libc_memmove): New prototype.
20536 (memmove): Renamed to ...
20537 (__libc_memmove): This.
20538 (memmove): New strong alias of __libc_memmove.
20540 2012-08-08 Mark Salter <msalter@redhat.com>
20543 (R_MN10300_TLS_GD): Define.
20544 (R_MN10300_TLS_LD): Likewise.
20545 (R_MN10300_TLS_LDO): Likewise.
20546 (R_MN10300_TLS_GOTIE): Likewise.
20547 (R_MN10300_TLS_IE): Likewise.
20548 (R_MN10300_TLS_LE): Likewise.
20549 (R_MN10300_TLS_DTPMOD): Likewise.
20550 (R_MN10300_TLS_DTPOFF): Likewise.
20551 (R_MN10300_TLS_TPOFF): Likewise.
20552 (R_MN10300_SYM_DIFF): Likewise.
20553 (R_MN10300_ALIGN): Likewise.
20554 (R_MN10300_NUM): Update.
20556 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20558 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20561 2012-08-08 Roland McGrath <roland@hack.frob.com>
20563 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20565 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20566 sysdeps/unix -> sysdeps/posix move.
20567 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20569 2012-08-07 Allan McRae <allan@archlinux.org>
20572 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20573 (SUNOS_CPP): Likewise.
20574 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20576 (open_input): Call CPP using execvp.
20578 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20580 * sysdeps/unix/sysv/linux/kernel-features.h
20581 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20582 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20583 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20584 (__ASSUME_WAITID_SYSCALL): Likewise.
20585 * sysdeps/unix/sysv/linux/dl-execstack.c
20586 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20587 code unconditional.
20588 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20590 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20591 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20592 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20594 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20596 [__ASSUME_WAITID_SYSCALL]: Likewise.
20597 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20599 2012-08-07 Roland McGrath <roland@hack.frob.com>
20601 * sysdeps/unix/closedir.c: Renamed to ...
20602 * sysdeps/posix/closedir.c: ... here.
20603 * sysdeps/unix/dirfd.c: Renamed to ...
20604 * sysdeps/posix/dirfd.c: ... here.
20605 * sysdeps/unix/dirstream.h: Renamed to ...
20606 * sysdeps/posix/dirstream.h: ... here.
20607 * sysdeps/unix/fdopendir.c: Renamed to ...
20608 * sysdeps/posix/fdopendir.c: ... here.
20609 * sysdeps/unix/opendir.c: Renamed to ...
20610 * sysdeps/posix/opendir.c: ... here.
20611 * sysdeps/unix/readdir.c: Renamed to ...
20612 * sysdeps/posix/readdir.c: ... here.
20613 * sysdeps/unix/readdir_r.c: Renamed to ...
20614 * sysdeps/posix/readdir_r.c: ... here.
20615 * sysdeps/unix/rewinddir.c: Renamed to ...
20616 * sysdeps/posix/rewinddir.c: ... here.
20617 * sysdeps/unix/seekdir.c: Renamed to ...
20618 * sysdeps/posix/seekdir.c: ... here.
20619 * sysdeps/unix/telldir.c: Renamed to ...
20620 * sysdeps/posix/telldir.c: ... here.
20621 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20622 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20623 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20624 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20626 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20627 * bits/fcntl.h: ... here.
20629 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20631 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20632 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20633 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20634 (struct flock): Move l_start, l_len to the beginning.
20635 Use __pid_t for l_pid.
20636 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20637 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20638 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20639 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20640 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20641 [__USE_LARGEFILE64] (struct flock64): New type.
20642 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20644 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20645 * bits/dirent.h: ... here.
20647 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20648 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20650 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20652 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20653 Change from 2.6.0 to 2.6.16.
20654 * sysdeps/unix/sysv/linux/configure: Regenerated.
20655 * sysdeps/unix/sysv/linux/kernel-features.h
20656 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20657 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20659 (__ASSUME_UTIMES): Likewise.
20660 (__ASSUME_CLONE_STOPPED): Remove.
20661 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20662 architectures, not kernel version.
20663 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20664 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20665 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20666 (__ASSUME_WAITID_SYSCALL): Likewise.
20667 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20668 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20669 * README: State 2.6.16 as minimum Linux kernel version. Do not
20670 refer to older versions.
20672 2012-08-06 Roland McGrath <roland@hack.frob.com>
20674 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20675 Define alphasort64 as an alias.
20676 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20677 Define versionsort64 as an alias.
20678 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20679 Define scandir64 as an alias.
20680 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20681 Define scandirat64 as an alias.
20682 * dirent/alphasort64.c (alphasort64):
20683 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20684 * dirent/versionsort64.c: Likewise.
20685 * dirent/scandir64.c: Likewise.
20686 * dirent/scandirat64.c: Likewise.
20687 * sysdeps/wordsize-64/alphasort.c: File removed.
20688 * sysdeps/wordsize-64/alphasort64.c: File removed.
20689 * sysdeps/wordsize-64/scandir.c: File removed.
20690 * sysdeps/wordsize-64/scandir64.c: File removed.
20691 * sysdeps/wordsize-64/scandirat.c: File removed.
20692 * sysdeps/wordsize-64/scandirat64.c: File removed.
20693 * sysdeps/wordsize-64/versionsort.c: File removed.
20694 * sysdeps/wordsize-64/versionsort64.c: File removed.
20695 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20696 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20697 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20698 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20699 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20700 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20701 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20702 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20704 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20706 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20707 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20708 [defined __arch64__ || defined __sparcv9]
20709 (__INO_T_MATCHES_INO64_T): New macro.
20710 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20711 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20712 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20713 * sysdeps/unix/sysv/linux/bits/dirent.h
20714 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20715 (_DIRENT_MATCHES_DIRENT64): New macro.
20717 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20718 Define lockf64 as an alias.
20719 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20720 Define fseeko64 as an alias.
20721 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20722 Define ftello64 as an alias.
20723 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20724 Define _IO_fgetpos64 and fgetpos64 as aliases.
20725 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20726 Define _IO_fsetpos64 and fsetpos64 as aliases.
20727 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20728 Conditionalize body on this.
20729 * libio/fseeko64.c: Likewise.
20730 * libio/ftello64.c: Likewise.
20731 * libio/iofgetpos64.c: Likewise.
20732 * libio/iofsetpos64.c: Likewise.
20733 * sysdeps/wordsize-64/lockf.c: File removed.
20734 * sysdeps/wordsize-64/lockf64.c: File removed.
20735 * sysdeps/wordsize-64/fseeko.c: File removed.
20736 * sysdeps/wordsize-64/fseeko64.c: File removed.
20737 * sysdeps/wordsize-64/ftello.c: File removed.
20738 * sysdeps/wordsize-64/ftello64.c: File removed.
20739 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20740 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20741 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20742 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20743 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20744 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20745 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20746 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20747 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20748 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20749 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20750 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20751 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20752 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20754 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20756 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20757 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20758 [defined __arch64__ || defined __sparcv9]
20759 (__OFF_T_MATCHES_OFF64_T): New macro.
20760 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20761 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20763 (__OFF_T_MATCHES_OFF64_T): New macro.
20765 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20767 * stdlib/secure-getenv.c (__secure_getenv): Replace
20768 GLIBC_2_16 with GLIBC_2_17.
20770 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20772 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20773 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20775 2012-08-03 David S. Miller <davem@davemloft.net>
20777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20779 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20781 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20783 (__ASSUME_CORRECT_SI_PID): Likewise.
20784 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20785 (__ASSUME_TMPFS_NAME): Likewise.
20786 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20787 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20788 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20789 (HAVE_AUX_SECURE): Make definition unconditional.
20790 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20791 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20793 2012-08-03 Roland McGrath <roland@hack.frob.com>
20795 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20796 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20797 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20798 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20799 __eloop_threshold instead of SYMLOOP_MAX.
20801 * sysdeps/generic/eloop-threshold.h: New file.
20802 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20804 * elf/chroot_canon.c (chroot_canon): Likewise.
20806 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20810 Change to 2.6.0 everywhere.
20811 * sysdeps/unix/sysv/linux/configure: Regenerated.
20812 * sysdeps/unix/sysv/linux/kernel-features.h
20813 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20814 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20816 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20817 (__ASSUME_FUTEX_REQUEUE): Remove.
20818 (__ASSUME_STATFS64): Define unconditionally.
20819 (__ASSUME_AT_SECURE): Likewise.
20820 (__ASSUME_CORRECT_SI_PID): Likewise.
20821 (__ASSUME_TGKILL): Define without depending on kernel version for
20823 (__ASSUME_UTIMES): Likewise.
20824 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20826 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20827 (__ASSUME_TMPFS_NAME): Likewise.
20828 * README: Update reference to Linux kernel versions.
20830 2012-08-02 Marek Polacek <polacek@redhat.com>
20833 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20834 libc_cv_asm_type_prefix with %.
20835 * configure: Regenerated.
20836 * include/libc-symbols.h: Remove comment about
20837 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20838 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20839 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20840 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20841 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20842 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20843 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20844 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20845 * elf/tst-unique2mod1.c: Likewise.
20846 * elf/tst-unique1mod2.c: Likewise.
20847 * elf/tst-unique1mod1.c: Likewise.
20848 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20849 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20850 Replace ASM_TYPE_DIRECTIVE with .type.
20851 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20852 * sysdeps/i386/sysdep.h: Likewise.
20853 * sysdeps/x86_64/sysdep.h: Likewise.
20854 * sysdeps/sh/sysdep.h: Likewise.
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20856 Do not define ASM_TYPE_DIRECTIVE.
20857 * sysdeps/powerpc/sysdep.h: Likewise.
20858 * sysdeps/powerpc/powerpc32/sysdep.h:
20859 Replace ASM_TYPE_DIRECTIVE with .type.
20860 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20861 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20862 * sysdeps/i386/fpu/e_powf.S: Likewise.
20863 * sysdeps/i386/fpu/e_expl.S: Likewise.
20864 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20865 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20866 * sysdeps/i386/fpu/e_pow.S: Likewise.
20867 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20868 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20869 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20870 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20871 * sysdeps/i386/fpu/e_log2.S: Likewise.
20872 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20873 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20874 * sysdeps/i386/fpu/e_powl.S: Likewise.
20875 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20876 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20877 * sysdeps/i386/fpu/e_logl.S: Likewise.
20878 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20879 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20880 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20881 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20882 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20883 * sysdeps/i386/fpu/e_log.S: Likewise.
20884 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20885 * sysdeps/i386/fpu/e_logf.S: Likewise.
20886 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20887 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20888 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20889 * sysdeps/i386/fpu/e_log10.S: Likewise.
20890 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20891 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20892 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20893 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20894 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20895 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20896 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20897 * sysdeps/i386/i686/strtok.S: Likewise.
20898 * sysdeps/i386/i386-mcount.S: Likewise.
20899 * sysdeps/i386/strtok.S: Likewise.
20900 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20901 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20902 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20903 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20904 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20905 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20906 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20907 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20908 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20909 * sysdeps/x86_64/_mcount.S: Likewise.
20910 * sysdeps/x86_64/strtok.S: Likewise.
20911 * sysdeps/sh/_mcount.S: Likewise.
20913 2012-08-01 Roland McGrath <roland@hack.frob.com>
20915 * libio/iofopen.c: Include <fcntl.h>.
20916 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20917 (_IO_fopen64, fopen64): Define as aliases.
20918 * libio/iofopen64.c: Include <fcntl.h>.
20919 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20920 Conditionalize body on this.
20921 * sysdeps/wordsize-64/iofopen.c: File removed.
20922 * sysdeps/wordsize-64/iofopen64.c: File removed.
20924 2012-08-01 Marek Polacek <polacek@redhat.com>
20926 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20927 Use dlfcn directly instead of a variable.
20928 (binfmt-subdir): Do not define.
20931 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20933 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20934 Remove all definitions.
20935 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20936 <kernel-features.h>.
20937 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20938 (miss_F_GETOWN_EX): Remove all definitions.
20939 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20941 [!__ASSUME_FCNTL64]: Remove conditional code.
20942 [__ASSUME_FCNTL64]: Make code unconditional.
20943 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20944 <kernel-features.h>.
20945 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20946 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20947 (lockf64) [__NR_fcntl64]: Make code unconditional.
20948 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20950 * sysdeps/unix/sysv/linux/kernel-features.h
20951 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20952 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20953 Make code unconditional.
20954 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20955 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20957 [__NR_vfork]: Make code unconditional.
20958 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20959 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20961 [__NR_vfork]: Make code unconditional.
20962 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20963 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20965 2012-08-01 Roland McGrath <roland@hack.frob.com>
20967 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20968 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20970 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20971 Define mkstemp64 as an alias.
20972 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20973 Define mkstemps64 as an alias.
20974 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20975 Define mkostemp64 as an alias.
20976 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20977 Define mkostemps64 as an alias.
20978 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20979 Conditionalize body on this.
20980 * misc/mkostemp64.c: Likewise.
20981 * misc/mkostemps64.c: Likewise.
20982 * misc/mkstemps64.c: Likewise.
20983 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20984 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20985 * sysdeps/wordsize-64/mkostemp.c: File removed.
20986 * sysdeps/wordsize-64/mkstemp.c: File removed.
20987 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20988 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20989 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20990 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20993 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20994 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20995 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20996 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20998 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20999 compat_symbol macros from <shlib-compat.h> rather than the underlying
21000 default_symbol_version and symbol_version macros, so that DEFAULT
21001 lines in shlib-versions are respected.
21002 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21004 2012-08-01 Florian Weimer <fweimer@redhat.com>
21006 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21007 Declare with warn_unused_result.
21008 (setgid, setregid, setegid, setresgid): Likewise.
21009 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21011 * WUR-REPORT: Remove set*id functions.
21013 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21015 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21017 2012-07-31 Roland McGrath <roland@hack.frob.com>
21020 * include/sys/socket.h (__libc_accept, __libc_accept4):
21021 Add attribute_hidden.
21022 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21024 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21026 * inet/getnetgrent_r.c (setup): Likewise.
21028 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21030 2012-07-31 David S. Miller <davem@davemloft.net>
21032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21034 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21037 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21038 value between 1.0 and 2.0 and smaller part has absolute value less
21040 * math/s_clog10.c (__clog10): Likewise.
21041 * math/s_clog10f.c (__clog10f): Likewise.
21042 * math/s_clog10l.c (__clog10l): Likewise.
21043 * math/s_clogf.c (__clogf): Likewise.
21044 * math/s_clogl.c (__clogl): Likewise.
21045 * math/libm-test.inc (clog_test): Add more tests.
21046 (clog10_test): Likewise.
21047 * sysdeps/i386/fpu/libm-test-ulps: Update.
21048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21050 2012-07-31 Florian Weimer <fweimer@redhat.com>
21052 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21053 Exit with zero in case no suitable GID is found, and write a
21054 message to standard error.
21056 2012-07-30 Roland McGrath <roland@hack.frob.com>
21058 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21060 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21061 (MAXPATHLEN): Removed.
21062 (NOGROUP, NODEV): New macros.
21063 (setbit, clrbit, isset, isclr): New macros.
21064 (howmany, roundup, powerof2): New macros.
21065 (DEV_BSIZE): New macro.
21067 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21068 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21070 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21071 definition on [!__NO_LONG_DOUBLE_MATH].
21073 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21074 PTR_MANGLE and PTR_DEMANGLE.
21076 * socket/accept4.c (accept4): Rename to __libc_accept4.
21077 Define accept4 as a weak alias.
21079 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21080 on [_DIRENT_HAVE_D_TYPE].
21081 * io/ftw.c (ftw_dir): Likewise.
21083 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21085 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21087 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21088 Use the BSD numbers rather than the arbitrary ones we had.
21089 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21090 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21091 (SIGXCPU, SIGXFSZ): New macros.
21094 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21095 initializer on [_LIBC_REENTRANT].
21097 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21098 definitions inside [_POSIX_MAPPED_FILES].
21100 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21102 * dirent/opendir.c: Include <fcntl.h>.
21104 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21105 (__libc_getspecific): Likewise.
21106 (__libc_key_create): Likewise.
21108 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21109 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21110 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21111 (tmpfile64): Define as alias.
21112 * sysdeps/wordsize-64/tmpfile.c: File removed.
21113 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21114 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21115 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21117 * stdio-common/vfscanf.c: Include <stdbool.h>.
21118 * nss/makedb.c: Likewise.
21119 * stdio-common/_i18n_number.h: Likewise.
21120 * argp/argp-help.c: Likewise.
21121 * posix/wordexp.c: Likewise.
21122 * sysdeps/posix/spawni.c: Likewise.
21123 * nss/nss_files/files-initgroups.c: Likewise.
21124 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21125 * nss/nss_files/files-initgroups.c: Likewise.
21126 * nss/nss_db/db-netgrp.c: Likewise.
21127 * nss/nss_db/db-initgroups.c: Likewise.
21128 * io/fchmodat.c: Include <sys/stat.h>.
21130 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21131 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21133 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21136 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21137 Add multiple inclusion protection.
21139 2012-07-27 David S. Miller <davem@davemloft.net>
21141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21143 2012-07-27 Gary Benson <gbenson@redhat.com>
21146 * elf/rtld.c: Include <stap-probe.h>.
21147 (dl_main): Added static probes "init_start" and "init_complete".
21148 * elf/dl-load.c: Include <stap-probe.h>.
21149 (lose): Take new parameter "nsid".
21150 Added static probe "map_failed".
21151 (_dl_map_object_from_fd): Pass namespace id to lose.
21152 Added static probe "map_start".
21153 (open_verify): Pass namespace id to lose.
21154 * elf/dl-open.c: Include <stap-probe.h>.
21155 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21156 and "reloc_complete".
21157 * elf/dl-close.c: Include <stap-probe.h>.
21158 (_dl_close_worker): Added static probes "unmap_start" and
21160 * elf/rtld-debugger-interface.txt: New file documenting the above.
21162 2012-07-26 Roland McGrath <roland@hack.frob.com>
21164 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21165 rather than a string variable.
21166 * sunrpc/rpc_main.c (h_output): Likewise.
21167 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21169 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21171 * inet/check_native.c: New file.
21173 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21176 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21177 if larger part has absolute value 1.0.
21178 * math/s_clog10.c (__clog10): Likewise.
21179 * math/s_clog10f.c (__clog10f): Likewise.
21180 * math/s_clog10l.c (__clog10l): Likewise.
21181 * math/s_clogf.c (__clogf): Likewise.
21182 * math/s_clogl.c (__clogl): Likewise.
21183 * math/libm-test.inc (clog_test): Add more tests.
21184 (clog10_test): Likewise.
21185 * sysdeps/i386/fpu/libm-test-ulps: Update.
21186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21188 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21189 (pltexit): Likewise.
21190 (La_regs): Likewise.
21191 (La_retval): Likewise.
21192 (int_retval): Likewise.
21193 Update #error for removed macros to refer only to definitions in
21195 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21197 (pltexit): Likewise.
21198 (La_regs): Likewise.
21199 (La_retval): Likewise.
21200 (int_retval): Likewise.
21201 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21203 (pltexit): Likewise.
21204 (La_regs): Likewise.
21205 (La_retval): Likewise.
21206 (int_retval): Likewise.
21207 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21209 (pltexit): Likewise.
21210 (La_regs): Likewise.
21211 (La_retval): Likewise.
21212 (int_retval): Likewise.
21213 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21215 (pltexit): Likewise.
21216 (La_regs): Likewise.
21217 (La_retval): Likewise.
21218 (int_retval): Likewise.
21219 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21221 (pltexit): Likewise.
21222 (La_regs): Likewise.
21223 (La_retval): Likewise.
21224 (int_retval): Likewise.
21225 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21227 (pltexit): Likewise.
21228 (La_regs): Likewise.
21229 (La_retval): Likewise.
21230 (int_retval): Likewise.
21231 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21232 macro definitions in tst-audit.h.
21233 * sysdeps/i386/tst-audit.h: New file.
21234 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21235 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21236 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21237 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21238 * sysdeps/sh/tst-audit.h: Likewise.
21239 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21240 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21241 * sysdeps/x86_64/tst-audit.h: Likewise.
21243 2012-07-26 Andreas Jaeger <aj@suse.de>
21245 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21248 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21249 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21250 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21252 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21253 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21254 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21256 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21259 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21261 (si_call_addr, si_syscall, si_arch): Define new macro.
21262 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21264 (si_call_addr, si_syscall, si_arch): Define new marcro.
21265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21267 (si_call_addr, si_syscall, si_arch): Define new macro.
21268 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21270 (si_call_addr, si_syscall, si_arch): Define new macro.
21272 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21276 Change to 2.4.21 where previously 2.4.1.
21277 * sysdeps/unix/sysv/linux/configure: Regenerated.
21278 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21279 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21280 Linux kernel version.
21281 (__ASSUME_STD_AUXV): Remove.
21282 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21284 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21285 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21286 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21287 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21288 (__ASSUME_NETLINK_SUPPORT): Likewise.
21289 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21290 (__no_netlink_support): Remove conditional definition.
21291 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21293 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21294 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21295 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21296 (if_nameindex_ioctl): Remove.
21297 (if_nameindex_netlink): Do not handle __no_netlink_support.
21298 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21300 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21301 Remove conditional code.
21302 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21304 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21306 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21307 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21308 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21310 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21311 [!__ASSUME_STD_AUXV]: Remove conditional code.
21312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21313 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21314 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21316 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21317 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21319 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21321 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21322 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21324 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21326 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21329 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21332 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21333 code unconditional.
21334 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21336 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21338 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21341 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21343 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21346 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21347 code unconditional.
21348 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21350 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21352 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21355 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21356 code unconditional.
21357 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21359 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21361 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21364 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21366 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21367 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21368 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21369 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21370 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21371 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21372 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21373 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21374 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21375 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21376 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21377 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21378 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21379 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21380 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21381 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21382 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21383 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21384 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21386 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21387 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21388 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21390 2012-07-25 Florian Weimer <fweimer@redhat.com>
21392 * Versions.def: Add GLIBC_2.17.
21393 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21394 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21395 Introduce __libc_secure_getenv.
21396 * stdlib/Versions (2.17): Add secure_getenv
21397 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21398 * stdlib/secure-getenv.c: Rename __secure_getenv to
21399 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21400 symbol __secure_getenv for GLIBC_2.0.
21401 * stdlib/tst-secure-getenv.c: New.
21402 * stdlib/Makefile (tests): Add testcase.
21403 * manual/startup.texi (Environment Access): Document
21405 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21406 __libc_secure_getenv.
21407 * inet/ruserpass.c (ruserpass): Likewise.
21408 * malloc/mtrace.c (mtrace): Likewise.
21409 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21410 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21411 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21412 * sysdeps/posix/tempname.c: Likewise. Evaluate
21413 HAVE_SECURE_GETENV.
21414 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21415 __secure_getenv to __libc_secure_getenv.
21416 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21429 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21431 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21432 (struct La_i86_retval): Likewise.
21433 (struct La_x86_64_regs): Likewise.
21434 (struct La_x86_64_retval): Likewise.
21435 (struct La_x32_regs): Likewise.
21436 (struct La_x32_retval): Likewise.
21437 (struct La_ppc32_regs): Likewise.
21438 (struct La_ppc32_retval): Likewise.
21439 (struct La_ppc64_regs): Likewise.
21440 (struct La_ppc64_retval): Likewise.
21441 (struct La_sh_regs): Likewise.
21442 (struct La_sh_retval): Likewise.
21443 (struct La_s390_32_regs): Likewise.
21444 (struct La_s390_32_retval): Likewise.
21445 (struct La_s390_64_regs): Likewise.
21446 (struct La_s390_64_retval): Likewise.
21447 (struct La_sparc32_regs): Likewise.
21448 (struct La_sparc32_retval): Likewise.
21449 (struct La_sparc64_regs): Likewise.
21450 (struct La_sparc64_retval): Likewise.
21451 (struct audit_ifaces): Remove architecture-specific pltenter and
21453 * sysdeps/i386/ldsodefs.h: New file.
21454 * sysdeps/powerpc/ldsodefs.h: Likewise.
21455 * sysdeps/s390/ldsodefs.h: Likewise.
21456 * sysdeps/sh/ldsodefs.h: Likewise.
21457 * sysdeps/sparc/ldsodefs.h: Likewise.
21458 * sysdeps/x86_64/ldsodefs.h: Likewise.
21460 2012-07-25 Marek Polacek <polacek@redhat.com>
21463 * math/libm-test.inc (yn_test): Add another test.
21464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21465 to ERANGE when the result is +-Inf.
21466 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21467 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21468 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21469 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21471 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21473 * conform/data/time.h-data (NULL): Use macro-constant. Require
21475 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21477 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21479 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21481 * configure.in <sysdeps resolving>: Correct printing
21483 * configure: Regenerate.
21485 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21487 * math/w_ilogb.c: Include <limits.h>.
21488 * math/w_ilogbl.c: Likewise.
21490 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21492 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21493 va_copy. Document allowing for unavailable va_copy only as
21494 pre-C99 compatibility.
21495 * manual/string.texi (Copying and Concatenation): Use va_copy
21496 instead of __va_copy in concat example.
21498 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21500 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21501 (__sendto): Use create_address_port. Initialize APORT and deallocate
21504 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21505 with O_NOLINK passed to __file_name_lookup.
21507 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21508 with O_NOLINK passed to __file_name_lookup.
21510 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21511 negative N or less than NGIDS.
21513 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21514 type to string_t. Set ERANGE as errno and return it if NAME is not big
21515 enough. Use memcpy instead of strncpy.
21517 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21519 * elf/Makefile (check-data): Remove.
21520 (localplt.data): New vpath directive.
21521 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21522 instead of $(check-data).
21523 * scripts/data/localplt-generic.data: Move to ...
21524 * sysdeps/generic/localplt.data: ... here.
21525 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21526 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21527 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21530 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21533 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21536 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21539 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21542 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21546 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21548 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21549 PPC32 and PPC64 files.
21550 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21551 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21553 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21555 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21556 __makecontext_ret to ...
21557 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21558 ... here and call exit if uc_link is NULL. New file.
21559 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21560 __makecontext_ret.S.
21561 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21562 __makecontext_ret to ...
21563 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21564 ... here and call exit if uc_link is NULL. New file.
21565 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21566 __makecontext_ret.S.
21568 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21570 * elf/elf.h (R_390_IRELATIVE): New definition.
21571 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21572 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21573 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21574 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21575 (elf_machine_lazy_rel): Likewise.
21576 * sysdeps/s390/dl-irel.h: New file.
21577 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21578 * sysdeps/s390/s390-64/memset.S: New asm code.
21579 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21580 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21581 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21582 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21583 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21584 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21585 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21586 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21587 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21588 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21589 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21590 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21591 * sysdeps/s390/s390-32/memset.S: New asm code.
21592 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21594 2012-07-17 Marek Polacek <polacek@redhat.com>
21597 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21598 * sysdeps/s390/s390-64/configure.in: Likewise.
21599 * sysdeps/sparc/configure.in: Likewise.
21600 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21601 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21602 * sysdeps/i386/configure.in: Likewise.
21603 * sysdeps/x86_64/configure.in: Likewise.
21604 * sysdeps/sh/configure.in: Likewise.
21605 * sysdeps/s390/s390-32/configure: Regenerated.
21606 * sysdeps/s390/s390-64/configure: Likewise.
21607 * sysdeps/x86_64/configure: Likewise.
21608 * sysdeps/sh/configure: Likewise.
21609 * sysdeps/powerpc/powerpc64/configure: Likewise.
21610 * sysdeps/powerpc/powerpc32/configure: Likewise.
21611 * sysdeps/sparc/configure: Likwise.
21612 * sysdeps/i386/configure: Likewise.
21614 * elf/dl-open.c: Comment fixes.
21616 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21618 * Makefile [CXX] (check-data): Remove.
21619 [CXX] (c++-types.data): New vpath directive.
21620 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21621 vpath. Do not allow for C++ type data being missing.
21622 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21623 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21624 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21625 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21626 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21627 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21628 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21631 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21634 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21637 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21640 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21643 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21646 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21649 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21652 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21653 definitions to architecture-specific files.
21654 (TLS_IE): Likewise.
21655 (TLS_LD): Likewise.
21656 (TLS_GD): Likewise.
21657 * sysdeps/i386/tls-macros.h: New file.
21658 * sysdeps/powerpc/tls-macros.h: Likewise.
21659 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21660 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21661 * sysdeps/sh/tls-macros.h: Likewise.
21662 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21663 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21664 * sysdeps/x86_64/tls-macros.h: Likewise.
21666 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21668 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21669 zero value for regular exit case.
21671 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21672 (__start_context): Preserve zero value for regular exit case.
21674 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21675 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21677 * manual/setjmp.texi (setcontext): Clarify normal process
21678 termination when uc_link is the null pointer.
21679 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21682 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21684 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21685 preprocessor. Test for each exception mask separately.
21687 2012-07-16 Andreas Jaeger <aj@suse.de>
21689 * po/ru.po: Update from translation team.
21691 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21693 * conform/data/string.h-data (NULL): Use macro-constant. Require
21695 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21696 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21697 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21698 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21699 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21701 2012-07-13 Andreas Jaeger <aj@suse.de>
21703 * po/fr.po: Update from translation team.
21705 2012-07-12 Marek Polacek <polacek@redhat.com>
21708 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21709 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21712 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21715 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21716 Change to 2.4.1 where previously 2.4.0.
21717 * sysdeps/unix/sysv/linux/configure: Regenerated.
21718 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21719 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21721 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21722 (__ASSUME_AT_CLKTCK): Remove.
21723 (__ASSUME_AT_PAGESIZE): Likewise.
21724 (__ASSUME_AT_XID): Likewise.
21725 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21726 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21727 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21729 (HAVE_AUX_PAGESIZE): Likewise.
21730 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21731 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21732 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21734 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21738 the temporary buffer used to invoke __gethostbyname2_r,
21739 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21740 host_data / struct gaih_addrtuple.
21741 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21742 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21743 header file nss/nsswitch.h.
21744 * nss/nsswitch.h (global scope): Add definition of implementation
21745 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21746 resolv/nss_dns/dns-host.c).
21748 2012-07-11 Andreas Jaeger <aj@suse.de>
21750 * po/fr.po: Update from translation team.
21752 * po/sv.po: Update from translation team
21753 * po/fr.po: Another update from translation team.
21755 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21757 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21758 for subnormals or multiply small sinh result by itself.
21759 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21762 2012-07-11 David S. Miller <davem@davemloft.net>
21764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21766 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21769 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21770 (INTERNAL_MARK): Shift it here.
21772 2012-07-10 Marek Polacek <polacek@redhat.com>
21775 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21776 libc_cv_asm_global_directive with .globl.
21777 * configure: Regenerated.
21778 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21780 * sysdeps/i386/configure: Regenerated.
21781 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21783 * sysdeps/x86_64/configure: Regenerated.
21784 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21785 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21786 * elf/tst-unique2mod2.c: Likewise.
21787 * elf/tst-unique2mod1.c: Likewise.
21788 * elf/tst-unique1mod2.c: Likewise.
21789 * elf/tst-unique1mod1.c: Likewise.
21790 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21791 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21792 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21793 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21794 * sysdeps/mach/sysdep.h: Likewise.
21795 * sysdeps/i386/sysdep.h: Likewise.
21796 * sysdeps/i386/i386-mcount.S: Likewise.
21797 * sysdeps/x86_64/_mcount.S: Likewise.
21798 * sysdeps/x86_64/sysdep.h: Likewise.
21799 * sysdeps/sh/_mcount.S: Likewise.
21800 * sysdeps/sh/sysdep.h: Likewise.
21801 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21802 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21803 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21804 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21805 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21806 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21807 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21808 * locale/localeinfo.h: Likewise.
21809 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21810 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21812 2012-07-09 Roland McGrath <roland@hack.frob.com>
21815 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21817 * manual/message.texi (The Uniforum approach): Likewise.
21818 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21819 (glibc iconv Implementation): Likewise.
21821 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21824 * math/s_clog.c (__clog): Avoid scaling a value down where that
21825 could result in underflow.
21826 * math/s_clog10.c (__clog10): Likewise.
21827 * math/s_clog10f.c (__clog10f): Likewise.
21828 * math/s_clog10l.c (__clog10l): Likewise.
21829 * math/s_clogf.c (__clogf): Likewise.
21830 * math/s_clogl.c (__clogl): Likewise.
21831 * math/libm-test.inc (clog_test): Add more tests.
21832 (clog10_test): Likewise.
21833 * sysdeps/i386/fpu/libm-test-ulps: Update.
21834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21836 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21839 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21840 by 7 not 8 to examine high bit of fractional part.
21843 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21844 for call to __mcount_internal.
21845 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21846 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21847 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21849 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21852 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21853 approximation for values within 0x1p-13f of an odd multiple of
21855 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21856 exception. Add more tests.
21857 * sysdeps/i386/fpu/libm-test-ulps: Update.
21860 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21861 inputs and return -1 for them. Do not check for +Inf in case not
21862 reachable for +Inf.
21863 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21864 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21865 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21866 and return -1 for them. Do not check for +Inf in case not
21867 reachable for +Inf.
21868 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21870 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21871 and return -1 for them. Do not check for +Inf in case not
21872 reachable for +Inf.
21873 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21874 spurious underflow.
21875 * sysdeps/i386/fpu/libm-test-ulps: Update.
21876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21878 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21880 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21882 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21886 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21887 could result in spurious underflow. Scale down values above
21888 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21889 * math/s_csqrtf.c (__csqrtf): Likewise.
21890 * math/s_csqrtl.c (__csqrtl): Likewise.
21891 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21892 spurious underflow.
21893 * sysdeps/i386/fpu/libm-test-ulps: Update.
21894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21896 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21898 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21900 * catgets/xopen-msg.awk: New file.
21901 * catgets/xopen-msg.sed: Removed.
21903 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21905 * intl/po2test.awk: New file.
21906 * intl/po2test.sed: Removed.
21908 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21911 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21912 or multiply small sinh result by itself.
21913 * math/s_ctanf.c (__ctanf): Likewise.
21914 * math/s_ctanh.c (__ctanh): Likewise.
21915 * math/s_ctanhf.c (__ctanhf): Likewise.
21916 * math/s_ctanhl.c (__ctanhl): Likewise.
21917 * math/s_ctanl.c (__ctanl): Likewise.
21918 * math/libm-test.inc (ctan_test_tonearest): New function.
21919 (ctan_test_towardzero): Likewise.
21920 (ctan_test_downward): Likewise.
21921 (ctan_test_upward): Likewise.
21922 (ctanh_test_tonearest): Likewise.
21923 (ctanh_test_towardzero): Likewise.
21924 (ctanh_test_downward): Likewise.
21925 (ctanh_test_upward): Likewise.
21926 (main): Call these new functions.
21927 * sysdeps/i386/fpu/libm-test-ulps: Update.
21928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21930 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21932 * .gitignore: Delete /ports entry.
21934 2012-07-03 Andreas Jaeger <aj@suse.de>
21936 * po/bg.po: Update from translation team.
21937 * po/cs.po: Likewise.
21938 * po/de.po: Likewise.
21939 * po/hr.po: Likewise.
21940 * po/nl.pl: Likewise.
21941 * po/pl.po: Likewise.
21942 * po/vi.po: Likewise.
21944 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21946 * Makeconfig [!+link] (+link-before-libc): New variable.
21947 [!+link] (+link-after-libc): Likewise.
21948 [!+link] (+link-tests): Likewise.
21949 [!+link] (+link): Define in terms of $(+link-before-libc) and
21950 $(+link-after-libc).
21951 [!+link-static] (+link-static-before-libc): New variable.
21952 [!+link-static] (+link-static-after-libc): Likewise.
21953 [!+link-static] (+link-static-tests): Likewise.
21954 [!+link-static] (+link-static): Define in terms of
21955 $(+link-static-before-libc) and $(+link-static-after-libc).
21956 [build-shared] (link-libc-before-gnulib): New variable.
21957 [build-shared] (link-libc-tests): Likewise.
21958 [build-shared] (link-libc): Define in terms of
21959 $(link-libc-before-gnulib).
21960 [!build-shared] (link-libc-tests): New variable.
21961 (link-libc-static-tests): New variable.
21962 [!gnulib] (gnulib-arch): New variable.
21963 [!gnulib] (gnulib-tests): Likewise.
21964 [!gnulib] (static-gnulib-arch): Likewise.
21965 [!gnulib] (static-gnulib-tests): Likewise.
21966 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21967 Define with "=" instead of ":=".
21968 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21969 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21970 * Rules (binaries-all-notests): New variable.
21971 (binaries-all-tests): Likewise.
21972 (binaries-static-notests): Likewise.
21973 (binaries-static-tests): Likewise.
21974 (binaries-all): Define using $(binaries-all-notests) and
21975 $(binaries-all-tests).
21976 (binaries-static): Define using $(binaries-static-notests) and
21977 $(binaries-static-tests).
21978 (binaries-shared-tests): New variable.
21979 (binaries-shared-notests): Likewise.
21980 (binaries-shared): Remove variable.
21981 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21982 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21983 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21984 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21985 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21986 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21987 * elf/Makefile (sln-modules): New variable.
21988 (extra-objs): Add $(sln-modules:=.o).
21989 (ldconfig-modules): Add static-stubs.
21990 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21991 * elf/static-stubs.c: New file.
21994 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21995 by 7 not 8 to examine high bit of fractional part. Use volatile
21996 variables when splitting into final array of floats if
21997 __FLT_EVAL_METHOD__ != 0.
21998 * math/libm-test.inc (cos_test): Add another test.
21999 (sin_test): Likewise.
22000 * sysdeps/i386/fpu/libm-test-ulps: Update.
22003 * math/libm-test.inc (cosh_test): Add more tests.
22005 * version.h (RELEASE): Set to "development".
22006 (VERSION): Set to "2.16.90".
22008 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22010 * NEWS: Update copyright. Remove last-updated date.
22011 Mention math library bug fixes and timezone data changes.
22012 * README: Mention GNU/Hurd, x32, and HPPA support status.
22014 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22016 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22018 2012-06-27 Andreas Jaeger <aj@suse.de>
22020 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22022 2012-06-25 Andreas Jaeger <aj@suse.de>
22024 * sysdeps/s390/fpu/libm-test-ulps: Update.
22026 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22027 Thomas Schwinge <thomas@codesourcery.com>
22029 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22030 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22031 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22034 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22036 * sysdeps/mach/start.c: Remove file.
22037 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22038 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22039 * sysdeps/sh/init-first.c: Likewise.
22041 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22042 registers for frame unwinding purposes, add CFI directives.
22043 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22044 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22045 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22048 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22049 __fortify_fail returning.
22050 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22052 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22053 sysdeps/sh/____longjmp_chk.S.
22054 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22055 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22056 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22057 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22059 * sysdeps/sh/abort-instr.h: New file.
22060 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22061 process in case exit returns.
22063 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22064 initialize the GOT register before use.
22066 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22067 calculation of ARGC > 4.
22069 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22070 meaningful names to some local labels.
22072 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22073 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22075 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22076 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22077 (__arch_compare_and_exchange_val_16_acq): Likewise.
22078 (__arch_compare_and_exchange_val_32_acq): Likewise.
22079 (atomic_exchange_and_add): Fix gUSA sequence.
22080 (atomic_add): Likewise.
22081 (atomic_add_negative): Likewise.
22082 (atomic_add_zero): Likewise.
22083 (atomic_bit_test_set): Likewise.
22085 2012-06-22 Andreas Schwab <schwab@redhat.com>
22088 * include/link.h (struct link_map): Add l_free_initfini.
22089 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22091 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22092 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22093 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22096 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22098 * configure.in: Use AC_LANG_SOURCE.
22099 * configure: Regenerate.
22101 2012-06-22 Roland McGrath <roland@hack.frob.com>
22103 * configure.in (libc_cv_localstatedir): New substituted variable.
22104 * configure: Regenerated.
22105 * config.make.in (localstatedir): New variable, substituted from
22106 libc_cv_localstatedir.
22107 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22108 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22109 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22110 * sysdeps/gnu/configure: Regenerated.
22112 2012-06-21 Jeff Law <law@redhat.com>
22115 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22116 free. Simplify list management for _LIBC case.
22118 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22121 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22122 Clear sign bit of 64-bit integer value before comparing against
22125 * sysdeps/mach/configure: Regenerated.
22127 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22130 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22132 2012-06-21 Jeff Law <law@redhat.com>
22135 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22136 uint16_t for elements in the "seen" array to avoid char overflows.
22137 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22138 * elf/dl-open.c (dl_open_worker): Likewise.
22140 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22142 * scripts/list-sources.sh: Scan PORTS for translations.
22143 * po/libc.pot: Regenerated.
22145 2012-06-21 Andreas Jaeger <aj@suse.de>
22148 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22150 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22151 * bits/byteswap-16.h (__bswap_16): Likewise.
22152 * bits/byteswap.h (__bswap_constant_16): Likewise.
22154 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22157 * sysdeps/i386/fpu_control.h: Removed.
22158 * sysdeps/x86_64/fpu_control.h: Moved to ...
22159 * sysdeps/x86/fpu_control.h: Here.
22161 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22162 (_FPU_SETCW): Likewise.
22164 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22167 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22168 * sysdeps/x86/fpu/bits/mathinline.h: This.
22169 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22173 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22174 functions if __x86_64__ is defined.
22176 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22178 * string/endian.h: Add !__ASSEMBLER__ condition for including
22179 conversion interfaces.
22181 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22185 of ABS(x) in calculating zero to negative powers other than odd
22187 * math/libm-test.inc (pow_test): Add more tests.
22189 2012-06-15 Andreas Jaeger <aj@suse.de>
22191 * manual/contrib.texi (Contributors): Update entry of Liubov
22192 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22195 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22197 * string/string.h: Add __wur to GNU version of strerror_r.
22199 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22202 * string/Makefile (tests): Add tst-strtok_r.
22203 * string/tst-strtok_r.c: New file.
22204 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22205 RAX_LP/RDX_LP on SAVE_PTR.
22207 2012-06-14 Roland McGrath <roland@hack.frob.com>
22209 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22211 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22213 * libm_test.inc (csqrt_test): Allow more spurious underflow
22215 (j0_test): Likewise.
22216 (j1_test): Likewise.
22217 (y0_test): Likewise.
22218 (y1_test): Likewise.
22220 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22222 * po/Makefile (libc.pot): Use UTF-8 charset.
22224 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22227 Suppress sign-conversion warning from FD_SET.
22228 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22229 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22230 not unsigned long int.
22231 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22233 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22237 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22238 __extern_always_inline instead of __extern_inline.
22239 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22240 (__signbit): Likewise.
22241 (__signbitl): Support C++ namespace.
22242 (lrintf): New inline function.
22244 (llrintf): Likewise.
22245 (llrint): Likewise.
22255 (floorf): Likewise.
22256 (nearbyint): Likewise.
22257 (nearbyintf): Likewise.
22259 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22261 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22262 non-default versions.
22264 2012-06-11 Roland McGrath <roland@hack.frob.com>
22267 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22269 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22271 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22272 (FE_UPWARD, FE_DOWNWARD): Don't define.
22273 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22274 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22276 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22278 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22279 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22281 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22283 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22284 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22285 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22286 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22288 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22291 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22292 * sysdeps/i386/fpu/Implies: New file.
22293 * sysdeps/x86_64/fpu/Implies: Likewise.
22294 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22295 * sysdeps/x86/fpu/bits/fenv.h: This.
22297 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22300 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22303 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22304 character 0xffff that matches the last element of the
22307 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22309 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22312 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22315 values higher than 25.6283.
22317 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22319 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22320 subnormal exponent extraction and add some __builtin_expect.
22321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22322 Fix for subnormal mantissa calculation.
22324 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22326 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22327 cpu2 is -1 and errno is not ENOSYS.
22329 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22332 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22333 * sysdeps/x86/bits/string.h: This.
22334 * sysdeps/x86_64/bits/string.h: Removed.
22336 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22337 if not compiling for x86-64, but compiling for >= i486.
22339 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22340 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22342 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22343 New macro from Linux kernel 3.4.0.
22344 (FP_XSTATE_MAGIC2): Likewise.
22345 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22346 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22347 (struct _fpx_sw_bytes): New struct.
22348 (struct _xsave_hdr): Likewise.
22349 (struct _ymmh_state): Likewise.
22350 (struct _xstate): Likewise.
22352 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22353 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22354 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22355 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22356 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22357 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22359 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22360 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22361 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22362 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22363 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22364 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22366 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22369 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22370 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22371 (sysdep_headers): Include sys/platform/ppc.h.
22372 * sysdeps/powerpc/test-gettimebase.c: Test for
22373 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22374 * manual/Makefile (appendices): Include platform.texi.
22375 * manual/contrib.texi (Contributors): Update @node pointers.
22376 * manual/maint.texi (Maintenance): Likewise.
22377 (Platform): New node.
22378 * manual/platform.texi: New file. Document the new features.
22380 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22381 Jakub Jelinek <jakub@redhat.com>
22384 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22385 where __builtin_expect is unavailable.
22387 2012-06-03 David S. Miller <davem@davemloft.net>
22389 * stdlib/longlong.h: Updated from GCC.
22391 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22394 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22395 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22398 (GLIBC_2.16): Likewise.
22400 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22402 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22404 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22407 (default-abi): New variable.
22408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22409 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22411 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22413 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22415 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22418 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22419 definition. Document in comment.
22421 2012-06-01 David S. Miller <davem@davemloft.net>
22423 * stdlib/longlong.h: Updated from GCC.
22425 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22428 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22429 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22430 sys/debugreg.h sys/io.h here.
22431 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22432 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22434 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22435 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22436 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22437 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22438 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22439 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22441 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22442 Define only if __x86_64__ is defined.
22444 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22447 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22448 Use int64_t for variable i.
22449 * math/libm-test.inc (fmod_test): Add more tests.
22451 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22452 z computation is not scheduled after fetestexcept.
22453 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22454 Use math_force_eval instead of asm to ensure calculation scheduled
22455 before exception test.
22456 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22457 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22459 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22462 computation is not scheduled after fetestexcept.
22464 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22467 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22468 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22470 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22472 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22473 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22475 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22478 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22480 (__WCHAR_MIN): Support __WORDSIZE == 64.
22481 (__WCHAR_MAX): Likewise.
22483 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22484 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22487 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22488 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22491 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22492 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22494 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22495 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22497 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22498 Defined to 1 if __x86_64__ isn't defined.
22499 (_STAT_VER_LINUX_OLD): New.
22500 (st_atime): Remove duplicate.
22501 (st_mtime): Likewise.
22502 (st_ctime): Likewise.
22504 2012-05-31 David S. Miller <davem@davemloft.net>
22506 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22509 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22511 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22515 * elf/dl-reloc.c: Include <_itoa.h>.
22516 (_dl_reloc_bad_type): Remove use of INTUSE.
22517 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22518 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22519 * stdio-common/psiginfo.c (psiginfo): Likewise.
22520 * stdio-common/psignal.c (psignal): Likewise.
22521 * string/strsignal.c (strsignal): Likewise.
22522 * include/signal.h (_sys_siglist): Declare hidden proto.
22523 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22524 INTVARDEF with libc_hidden_data_def.
22525 * stdio-common/itoa-udigits.c: Likewise.
22526 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22527 (_itoa_lower_digits_internal): Remove declaration.
22528 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22529 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22530 (_sys_sigabbrev_internal): Remove aliases.
22531 (_sys_siglist): Define hidden alias.
22533 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22538 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22541 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22542 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22544 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22545 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22546 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22547 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22548 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22549 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22551 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22552 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22553 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22555 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22563 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22564 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22565 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22567 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22568 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22569 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22570 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22571 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22572 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22574 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22575 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22577 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22578 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22582 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22584 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22585 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22587 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22589 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22590 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22591 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22593 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22595 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22597 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22599 * math/math.h (M_El): Use two more decimal places.
22600 (M_LOG2El): Likewise.
22601 (M_LOG10El): Likewise.
22602 (M_LN2l): Likewise.
22603 (M_LN10l): Likewise.
22605 (M_PI_2l): Likewise.
22606 (M_PI_4l): Likewise.
22607 (M_1_PIl): Likewise.
22608 (M_2_PIl): Likewise.
22609 (M_2_SQRTPIl): Likewise.
22610 (M_SQRT2l): Likewise.
22611 (M_SQRT1_2l): Likewise.
22613 2012-05-31 David S. Miller <davem@davemloft.net>
22615 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22616 values between float registers.
22617 * sysdeps/sparc/sparc64/memset.S: Likewise.
22618 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22620 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22622 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22623 -D_FORTIFY_SOURCE=1.
22624 (CPPFLAGS-tst-longjmp_chk.c): Define.
22625 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22626 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22627 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22628 CFLAGS-tst-wchar-h.c.
22630 2012-05-31 Marek Polacek <polacek@redhat.com>
22633 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22634 __endmntent_internal): Remove declaration.
22635 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22636 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22637 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22639 2012-05-30 David S. Miller <davem@davemloft.net>
22641 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22642 (___Q_simulate_exceptions): Use real FP ops rather than writing
22644 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22647 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22650 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22651 * sysdeps/x86/bits/xtitypes.h: This.
22653 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22654 * sysdeps/x86/bits/wordsize.h: This.
22656 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22657 * sysdeps/x86/bits/huge_vall.h: This.
22659 * sysdeps/i386/bits/select.h: Removed.
22660 * sysdeps/x86_64/bits/select.h: Renamed to ...
22661 * sysdeps/x86/bits/select.h: This.
22663 * sysdeps/i386/bits/setjmp.h: Removed.
22664 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22665 * sysdeps/x86/bits/setjmp.h: This.
22667 * sysdeps/i386/bits/mathdef.h: Removed.
22668 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22669 * sysdeps/x86/bits/mathdef.h: This.
22671 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22674 * include/sys/socket.h (__connect_internal)
22675 (__libc_sa_len_internal): Remove declaration.
22676 (__connect, __libc_sa_len): Declare hidden_proto.
22677 (SA_LEN): Remove use of INTUSE.
22678 * socket/connect.c: Add libc_hidden_def.
22679 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22680 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22681 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22683 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22684 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22685 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22686 of adding _internal alias.
22688 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22691 * sysdeps/i386/bits/link.h: Removed.
22692 * sysdeps/i386/bits/linkmap.h: Likewise.
22693 * sysdeps/x86_64/bits/link.h: Renamed to ...
22694 * sysdeps/x86/bits/link.h: This.
22695 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22696 * sysdeps/x86/bits/linkmap.h: This.
22698 * sysdeps/i386/bits/endian.h: Removed.
22699 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22700 * sysdeps/x86/bits/endian.h: This.
22702 * sysdeps/i386/bits/byteswap.h: Removed.
22703 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22704 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22705 * sysdeps/x86/bits/byteswap.h: This.
22706 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22707 * sysdeps/x86/bits/byteswap-16.h: This.
22708 * sysdeps/i386/Implies: Add x86.
22709 * sysdeps/x86_64/Implies: Likewise.
22711 2012-05-30 David S. Miller <davem@davemloft.net>
22713 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22714 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22715 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22716 (FP_TRAPPING_EXCEPTIONS): Define.
22717 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22718 (FP_TRAPPING_EXCEPTIONS): Define.
22719 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22720 subnormals only when inexact has been signalled or underflow
22721 exceptions are enabled.
22722 (_FP_PACK_CANONICAL): Likewise.
22724 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22727 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22728 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22730 2012-05-30 Richard Henderson <rth@twiddle.net>
22732 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22733 with #ifndef NOT_IN_libc.
22735 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22736 marked to avoid plt entry.
22738 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22741 * Makeconfig (default-abi): New macro.
22742 (abi-includes): Likewise.
22743 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22744 $(abi-$(default-abi)-lib-soname) for soname if defined.
22745 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22747 * Makefile (installed-stubs): Likewise.
22748 * include/stubs-biarch.h: Removed.
22749 * scripts/lib-names.awk: Only handle one library at a time.
22750 * scripts/soversions.awk: Remove WORDSIZE support.
22751 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22753 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22755 (syscall-list-default-condition): Likewise.
22756 (syscall-list-default-condition): Likewise.
22757 (syscall-list-includes): Likewise.
22758 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22759 syscall-list-* with abi-*. Handle undefined abi-variants.
22760 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22761 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22762 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22763 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22764 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22765 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22767 (syscall-list-32-options): Likewise.
22768 (syscall-list-32-condition): Likewise.
22769 (syscall-list-64-options): Likewise.
22770 (syscall-list-64-condition): Likewise.
22771 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22773 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22776 (abi-64-ld-soname): New macro.
22777 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22778 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22781 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22782 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22784 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22786 * sysdeps/unix/sysv/linux/kernel-features.h
22787 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22788 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22789 include <kernel-features.h>.
22790 [!__NR_ftruncate64]: Remove conditional code.
22791 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22792 [__NR_ftruncate64]: Make code unconditional.
22793 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22794 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22795 include <kernel-features.h>.
22796 [!__NR_ftruncate64]: Remove conditional code.
22797 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22798 [__NR_ftruncate64]: Make code unconditional.
22799 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22801 include <kernel-features.h>.
22802 [!__NR_ftruncate64]: Remove conditional code.
22803 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22804 [__NR_ftruncate64]: Make code unconditional.
22805 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22807 include <kernel-features.h>.
22808 [!__NR_ftruncate64]: Remove conditional code.
22809 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22810 [__NR_ftruncate64]: Make code unconditional.
22811 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22813 * configure.in (libc_cv_fpie): Weaken to a compile test using
22814 LIBC_TRY_CC_OPTION.
22815 * configure: Regenerated.
22817 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22832 2012-05-27 David S. Miller <davem@davemloft.net>
22834 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22836 (__Q_simulate_exceptions): Return void. Change to simulate
22837 exceptions by writing into the %fsr.
22838 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22839 (__Qp_handle_exceptions): Likewise.
22841 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22842 __Qp_handle_exceptions.
22843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22844 __Qp_handle_exceptions.
22845 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22846 as unused and give dummy FP_RND_NEAREST initializer.
22847 (FP_INHIBIT_RESULTS): Define.
22848 (___Q_simulate_exceptions): Update declaration.
22849 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22851 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22852 as unused and give dummy FP_RND_NEAREST initializer.
22853 (__Qp_handle_exceptions): Update declaration.
22854 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22857 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22859 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22860 the temporary FPU control word.
22861 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22862 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22863 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22864 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22865 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22866 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22867 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22868 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22869 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22870 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22871 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22873 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22875 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22878 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22880 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22881 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22882 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22883 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22885 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22886 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22889 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22891 * po/h.po: Update from translation team.
22893 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22895 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22897 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22898 handling of denormals.
22899 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22900 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22901 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22902 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22903 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22904 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22908 2012-05-26 Marek Polacek <polacek@redhat.com>
22911 * math/libm-test.inc (fma_test): Don't always expect underflow
22914 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22917 * elf/tst-execstack.c: Include stackinfo.h.
22918 (do_test): Adjust test case to ensure that pthread_getattr_np
22919 behaviour remains the same after marking stack executable.
22921 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22923 * sysdeps/unix/sysv/linux/kernel-features.h
22924 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22925 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22927 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22928 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22929 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22931 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22932 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22934 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22936 * configure.in: Define the default includes to being none.
22937 * configure: Regenerated.
22939 2012-05-25 Roland McGrath <roland@hack.frob.com>
22941 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22942 * sysdeps/x86_64/setjmp.S: Likewise.
22943 * sysdeps/i386/bsd-setjmp.S: Likewise.
22944 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22945 * sysdeps/i386/setjmp.S: Likewise.
22946 * sysdeps/i386/__longjmp.S: Likewise.
22947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22948 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22950 * include/stap-probe.h: New file.
22951 * configure.in: Handle --enable-systemtap.
22952 * configure: Regenerated.
22953 * config.h.in (USE_STAP_PROBE): New #undef.
22954 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22955 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22956 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22958 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22961 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22962 to 2.4.0 where earlier.
22963 * sysdeps/unix/sysv/linux/configure: Regenerated.
22964 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22965 <kernel-features.h>.
22966 [__ASSUME_32BITUIDS]: Make code unconditional.
22967 [!__ASSUME_32BITUIDS]: Remove conditional code.
22968 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22969 <kernel-features.h>.
22970 [__ASSUME_32BITUIDS]: Make code unconditional.
22971 [!__ASSUME_32BITUIDS]: Remove conditional code.
22972 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22973 [__ASSUME_32BITUIDS]: Make code unconditional.
22974 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22975 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22976 <kernel-features.h>.
22977 [__ASSUME_32BITUIDS]: Make code unconditional.
22978 [!__ASSUME_32BITUIDS]: Remove conditional code.
22979 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22980 <kernel-features.h>.
22981 [__ASSUME_32BITUIDS]: Make code unconditional.
22982 [!__ASSUME_32BITUIDS]: Remove conditional code.
22983 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22984 <kernel-features.h>.
22985 [__ASSUME_32BITUIDS]: Make code unconditional.
22986 [!__ASSUME_32BITUIDS]: Remove conditional code.
22987 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22988 <kernel-features.h>.
22989 [__ASSUME_32BITUIDS]: Make code unconditional.
22990 [!__ASSUME_32BITUIDS]: Remove conditional code.
22991 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22992 <kernel-features.h>.
22993 [__ASSUME_32BITUIDS]: Make code unconditional.
22994 [!__ASSUME_32BITUIDS]: Remove conditional code.
22995 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22996 <kernel-features.h>.
22997 [__ASSUME_32BITUIDS]: Make code unconditional.
22998 [!__ASSUME_32BITUIDS]: Remove conditional code.
22999 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23000 <kernel-features.h>.
23001 [__ASSUME_32BITUIDS]: Make code unconditional.
23002 [!__ASSUME_32BITUIDS]: Remove conditional code.
23003 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23004 <kernel-features.h>.
23005 [__ASSUME_32BITUIDS]: Make code unconditional.
23006 [!__ASSUME_32BITUIDS]: Remove conditional code.
23007 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23008 <kernel-features.h>.
23009 [__ASSUME_32BITUIDS]: Make code unconditional.
23010 [!__ASSUME_32BITUIDS]: Remove conditional code.
23011 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23012 <kernel-features.h>.
23013 [__ASSUME_32BITUIDS]: Make code unconditional.
23014 [!__ASSUME_32BITUIDS]: Remove conditional code.
23015 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23016 <kernel-features.h>.
23017 [__NR_setresgid] (__setresgid): Do not declare.
23018 [__ASSUME_32BITUIDS]: Make code unconditional.
23019 [!__ASSUME_32BITUIDS]: Remove conditional code.
23020 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23021 <kernel-features.h>.
23022 [__NR_setresuid] (__setresuid): Do not declare.
23023 [__ASSUME_32BITUIDS]: Make code unconditional.
23024 [!__ASSUME_32BITUIDS]: Remove conditional code.
23025 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23026 <kernel-features.h>.
23027 [__ASSUME_32BITUIDS]: Make code unconditional.
23028 [!__ASSUME_32BITUIDS]: Remove conditional code.
23029 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23030 <kernel-features.h>.
23031 [__ASSUME_32BITUIDS]: Make code unconditional.
23032 [!__ASSUME_32BITUIDS]: Remove conditional code.
23033 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23034 <kernel-features.h>.
23035 [__ASSUME_32BITUIDS]: Make code unconditional.
23036 [!__ASSUME_32BITUIDS]: Remove conditional code.
23037 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23038 <kernel-features.h>.
23039 [__ASSUME_32BITUIDS]: Make code unconditional.
23040 [!__ASSUME_32BITUIDS]: Remove conditional code.
23041 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23042 <kernel-features.h>.
23043 [__ASSUME_32BITUIDS]: Make code unconditional.
23044 [!__ASSUME_32BITUIDS]: Remove conditional code.
23045 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23046 <kernel-features.h>.
23047 [__ASSUME_32BITUIDS]: Make code unconditional.
23048 [!__ASSUME_32BITUIDS]: Remove conditional code.
23049 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23050 <kernel-features.h>.
23051 [__ASSUME_32BITUIDS]: Make code unconditional.
23052 [!__ASSUME_32BITUIDS]: Remove conditional code.
23053 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23054 <kernel-features.h>.
23055 [__ASSUME_32BITUIDS]: Make code unconditional.
23056 [!__ASSUME_32BITUIDS]: Remove conditional code.
23057 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23058 <kernel-features.h>.
23059 [__ASSUME_32BITUIDS]: Make code unconditional.
23060 [!__ASSUME_32BITUIDS]: Remove conditional code.
23061 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23062 <kernel-features.h>.
23063 [__ASSUME_32BITUIDS]: Make code unconditional.
23064 [!__ASSUME_32BITUIDS]: Remove conditional code.
23065 * sysdeps/unix/sysv/linux/kernel-features.h
23066 (__ASSUME_SETRESUID_SYSCALL): Remove.
23067 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23068 (__ASSUME_32BITUIDS): Likewise.
23069 (__ASSUME_LDT_WORKS): Likewise.
23070 (__ASSUME_O_DIRECTORY): Likewise.
23071 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23072 architecture but not kernel version.
23073 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23074 (__ASSUME_MMAP2_SYSCALL): Likewise.
23075 (__ASSUME_STAT64_SYSCALL): Likewise.
23076 (__ASSUME_IPC64): Likewise.
23077 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23078 <kernel-features.h>.
23079 [__ASSUME_32BITUIDS]: Make code unconditional.
23080 [!__ASSUME_32BITUIDS]: Remove conditional code.
23081 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23082 <kernel-features.h>.
23083 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23084 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23085 132096]: Remove conditional code.
23086 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23087 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23088 <kernel-features.h>.
23089 [__ASSUME_32BITUIDS]: Make code unconditional.
23090 [!__ASSUME_32BITUIDS]: Remove conditional code.
23091 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23092 <kernel-features.h>.
23093 [__ASSUME_32BITUIDS]: Make code unconditional.
23094 [!__ASSUME_32BITUIDS]: Remove conditional code.
23095 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23096 <kernel-features.h>.
23097 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23099 (__setresgid): Do not declare.
23100 [__ASSUME_32BITUIDS]: Make code unconditional.
23101 [!__ASSUME_32BITUIDS]: Remove conditional code.
23102 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23103 <kernel-features.h>.
23104 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23106 (__setresuid): Do not declare.
23107 [__ASSUME_32BITUIDS]: Make code unconditional.
23108 [!__ASSUME_32BITUIDS]: Remove conditional code.
23109 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23110 <kernel-features.h>.
23111 [__ASSUME_32BITUIDS]: Make code unconditional.
23112 [!__ASSUME_32BITUIDS]: Remove conditional code.
23113 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23114 <kernel-features.h>.
23115 [__ASSUME_32BITUIDS]: Make code unconditional.
23116 [!__ASSUME_32BITUIDS]: Remove conditional code.
23118 2012-05-25 Richard Henderson <rth@twiddle.net>
23120 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23121 dl_hwcap to ifunc resolver.
23122 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23124 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23125 dl_hwcap to ifunc resolver.
23126 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23128 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23131 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23132 for |x| <= 2**-26, not 2**-57.
23133 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23136 2012-05-24 Jeff Law <law@redhat.com>
23138 * stdio-common/Makefile (tests): Add bug25.
23139 * stdio-common/bug25.c: New test.
23141 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23144 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23145 multiple of MALLOC_ALIGNMENT in size.
23146 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23148 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23150 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23152 (FILENAME_MAX): Use macro-int-constant.
23153 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23154 (_IOFBF): Use macro-int-constant.
23155 (_IOLBF): Likewise.
23156 (_IONBF): Likewise.
23157 (SEEK_CUR): Likewise.
23158 (SEEK_END): Likewise.
23159 (SEEK_SET): Likewise.
23160 (TMP_MAX): Likewise.
23161 (EOF): Use macro-int-constant. Require < 0.
23162 (NULL): Use macro-constant. Require == 0.
23163 (stdin): Require type to be FILE *.
23164 (stdout): Likewise.
23165 (stderr): Likewise.
23166 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23167 macro-int-constant.
23168 (EXIT_SUCCESS): Likewise.
23169 (NULL): Use macro-constant. Require == 0.
23170 (RAND_MAX): Use macro-int-constant.
23171 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23172 [C99-based standards] (strtof): Require function.
23173 [C99-based standards] (strtold): Likewise.
23174 [C99-based standards] (strtoll): Likewise.
23175 [C99-based standards] (strtoull): Likewise.
23176 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23177 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23178 [ISO || ISO99 || ISO11] (math.h): Likewise.
23179 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23180 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23183 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23186 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23187 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23188 * intl/dgettext.c (DCGETTEXT): Likewise.
23189 * intl/gettext.c (DCGETTEXT): Likewise.
23190 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23191 * posix/regex_internal.h (gettext): Likewise.
23192 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23193 Remove declaration.
23194 * include/argz.h (__argz_count_internal)
23195 (__argz_stringify_internal): Remove declaration.
23196 (__argz_count, __argz_stringify): Declare hidden proto.
23197 * intl/dcgettext.c: Remove use of INTDEF.
23198 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23199 * string/argz-stringify.c: Likewise.
23200 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23201 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23202 Declare hidden proto.
23203 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23204 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23205 Declare hidden proto.
23206 * include/stdio.h (__asprintf_internal): Don't declare.
23207 (__asprintf): Don't define as macro. Declare hidden proto.
23208 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23209 (__fsetlocking): Declare hidden proto.
23210 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23211 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23213 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23214 (_IO_setlinebuf): Remove use of INTUSE.
23215 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23216 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23217 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23218 Remove declaration.
23219 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23220 (_IO_do_flush): Remove use of INTUSE.
23221 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23222 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23223 (_IO_adjust_column, _IO_least_wmarker)
23224 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23225 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23226 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23227 (_IO_default_doallocate, _IO_wdefault_doallocate)
23228 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23229 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23230 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23231 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23232 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23233 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23234 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23235 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23236 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23237 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23238 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23239 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23240 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23242 (_IO_flush_all_internal, _IO_adjust_column_internal)
23243 (_IO_default_uflow_internal, _IO_default_finish_internal)
23244 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23245 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23246 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23247 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23248 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23249 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23250 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23251 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23252 (_IO_file_close_internal, _IO_file_close_it_internal)
23253 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23254 (_IO_file_init_internal, _IO_file_attach_internal)
23255 (_IO_file_fopen_internal, _IO_file_read_internal)
23256 (_IO_file_sync_internal, _IO_file_seek_internal)
23257 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23258 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23259 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23260 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23261 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23262 (_IO_list_all_internal, _IO_link_in_internal)
23263 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23264 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23265 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23266 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23267 (_IO_do_write_internal, _IO_padn_internal)
23268 (_IO_getline_info_internal, _IO_getline_internal)
23269 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23270 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23271 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23272 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23273 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23274 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23275 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23276 with libc_hidden_ver, remove use of INTUSE.
23277 * libio/genops.c: Likewise.
23278 * libio/freopen.c: Likewise.
23279 * libio/freopen64.c: Likewise.
23280 * libio/iofclose.c: Likewise.
23281 * libio/iofdopen.c: Likewise.
23282 * libio/iofflush.c: Likewise.
23283 * libio/iofflush_u.c: Likewise.
23284 * libio/iofgets.c: Likewise.
23285 * libio/iofgets_u.c: Likewise.
23286 * libio/iofopen.c: Likewise.
23287 * libio/iofopncook.c: Likewise.
23288 * libio/iofread.c: Likewise.
23289 * libio/iofread_u.c: Likewise.
23290 * libio/ioftell.c: Likewise.
23291 * libio/iofwrite.c: Likewise.
23292 * libio/iogetline.c: Likewise.
23293 * libio/iogets.c: Likewise.
23294 * libio/iogetwline.c: Likewise.
23295 * libio/iopadn.c: Likewise.
23296 * libio/iopopen.c: Likewise.
23297 * libio/ioseekoff.c: Likewise.
23298 * libio/ioseekpos.c: Likewise.
23299 * libio/iosetbuffer.c: Likewise.
23300 * libio/iosetvbuf.c: Likewise.
23301 * libio/ioungetc.c: Likewise.
23302 * libio/ioungetwc.c: Likewise.
23303 * libio/iovdprintf.c: Likewise.
23304 * libio/iovsprintf.c: Likewise.
23305 * libio/iovsscanf.c: Likewise.
23306 * libio/memstream.c: Likewise.
23307 * libio/obprintf.c: Likewise.
23308 * libio/oldfileops.c: Likewise.
23309 * libio/oldiofclose.c: Likewise.
23310 * libio/oldiofdopen.c: Likewise.
23311 * libio/oldiofopen.c: Likewise.
23312 * libio/oldiopopen.c: Likewise.
23313 * libio/oldstdfiles.c: Likewise.
23314 * libio/putc.c: Likewise.
23315 * libio/setbuf.c: Likewise.
23316 * libio/setlinebuf.c: Likewise.
23317 * libio/stdfiles.c: Likewise.
23318 * libio/strops.c: Likewise.
23319 * libio/vasprintf.c: Likewise.
23320 * libio/vscanf.c: Likewise.
23321 * libio/vsnprintf.c: Likewise.
23322 * libio/vswprintf.c: Likewise.
23323 * libio/wfiledoalloc.c: Likewise.
23324 * libio/wfileops.c: Likewise.
23325 * libio/wgenops.c: Likewise.
23326 * libio/wmemstream.c: Likewise.
23327 * libio/wstrops.c: Likewise.
23328 * libio/__fpurge.c: Likewise.
23329 * libio/__fsetlocking.c: Likewise.
23330 * assert/assert.c: Likewise.
23331 * debug/fgets_chk.c: Likewise.
23332 * debug/fgets_u_chk.c: Likewise.
23333 * debug/fread_chk.c: Likewise.
23334 * debug/fread_u_chk.c: Likewise.
23335 * debug/gets_chk.c: Likewise.
23336 * debug/obprintf_chk.c: Likewise.
23337 * debug/vasprintf_chk.c: Likewise.
23338 * debug/vdprintf_chk.c: Likewise.
23339 * debug/vsnprintf_chk.c: Likewise.
23340 * debug/vsprintf_chk.c: Likewise.
23341 * malloc/mtrace.c: Likewise.
23342 * misc/error.c: Likewise.
23343 * misc/syslog.c: Likewise.
23344 * stdio-common/asprintf.c: Likewise.
23345 * stdio-common/fxprintf.c: Likewise.
23346 * stdio-common/getw.c: Likewise.
23347 * stdio-common/isoc99_fscanf.c: Likewise.
23348 * stdio-common/isoc99_scanf.c: Likewise.
23349 * stdio-common/isoc99_vfscanf.c: Likewise.
23350 * stdio-common/isoc99_vscanf.c: Likewise.
23351 * stdio-common/isoc99_vsscanf.c: Likewise.
23352 * stdio-common/printf-prs.c: Likewise.
23353 * stdio-common/printf_fp.c: Likewise.
23354 * stdio-common/printf_fphex.c: Likewise.
23355 * stdio-common/printf_size.c: Likewise.
23356 * stdio-common/putw.c: Likewise.
23357 * stdio-common/scanf.c: Likewise.
23358 * stdio-common/sprintf.c: Likewise.
23359 * stdio-common/tmpfile.c: Likewise.
23360 * stdio-common/vfprintf.c: Likewise.
23361 * stdio-common/vfscanf.c: Likewise.
23362 * stdlib/strfmon_l.c: Likewise.
23363 * sunrpc/openchild.c: Likewise.
23364 * sunrpc/xdr_stdio.c: Likewise.
23365 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23366 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23368 2012-05-24 Roland McGrath <roland@hack.frob.com>
23370 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23372 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23373 in the third column, to generate for the shared library an IFUNC
23374 that uses _dl_vdso_vsym.
23375 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23376 * Makeconfig (object-suffixes-noshared): New variable.
23378 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23379 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23380 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23381 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23384 * include/sys/time.h (__gettimeofday): Remove macro.
23385 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23386 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23388 (__gettimeofday): Add libc_hidden_def.
23389 (gettimeofday): Add libc_hidden_weak.
23390 * sysdeps/mach/gettimeofday.c: Likewise.
23391 * sysdeps/posix/gettimeofday.c: Likewise.
23392 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23393 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23395 (__gettimeofday_internal): Remove strong_alias.
23396 (__gettimeofday): Add libc_hidden_def.
23397 (gettimeofday): Add libc_hidden_weak.
23398 * sysdeps/unix/syscalls.list (gettimeofday):
23399 Remove __gettimeofday_internal alias.
23401 2012-05-24 Daniel Jacobowitz <drow@false.org>
23402 H.J. Lu <hongjiu.lu@intel.com>
23405 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23406 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23407 (largebin_index_32_big): New.
23408 (largebin_index): Use it for 16-byte alignment.
23409 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23410 correction with front_misalign.
23412 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23440 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23441 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23443 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23447 * math/libm-test.inc (exp_test): Add test from bug 14036.
23448 (pow_test): Add test from bug 10846.
23450 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23452 (special_function): Do not include flags in test name.
23453 (parse_args): Likewise.
23454 * sysdeps/i386/fpu/libm-test-ulps: Update.
23455 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23456 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23457 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23460 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23462 * math/libm-test.inc ("Philosophy"): Update comment about
23464 (UNDERFLOW_EXCEPTION): New macro.
23465 (UNDERFLOW_EXCEPTION_OK): Likewise.
23466 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23467 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23468 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23469 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23470 (INVALID_EXCEPTION_OK): Update value.
23471 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23472 (OVERFLOW_EXCEPTION_OK): Likewise.
23473 (IGNORE_ZERO_INF_SIGN): Likewise.
23474 (test_exceptions): Handle underflow exceptions.
23475 (acos_test): Update for underflow exception expectations.
23476 (cexp_test): Likewise.
23477 (clog_test): Likewise.
23478 (clog10_test): Likewise.
23479 (csqrt_test): Likewise.
23480 (ctan_test): Likewise.
23481 (ctanh_test): Likewise.
23482 (exp_test): Likewise.
23483 (exp10_test): Likewise.
23484 (exp2_test): Likewise.
23485 (expm1_test): Likewise.
23486 (fma_test): Likewise.
23487 (j0_test): Likewise.
23488 (jn_test): Likewise.
23489 (nexttoward_test): Likewise.
23490 (pow_test): Likewise.
23491 (scalbn_test): Likewise.
23492 (scalbln_test): Likewise.
23493 (tan_test): Likewise.
23494 (y1_test): Likewise.
23495 * sysdeps/i386/fpu/libm-test-ulps: Update.
23496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23498 2012-05-23 David S. Miller <davem@davemloft.net>
23500 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23501 (__libc_sigaction): Remove unused local variables.
23503 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23505 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23507 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23509 mktime: avoid signed integer overflow
23510 * time/mktime.c (__mktime_internal): Do not mishandle the case
23511 where diff == INT_MIN.
23513 mktime: simplify computation of average
23514 * time/mktime.c (ranged_convert): Use new time_t_avg function
23515 instead of rolling our own (probably-slower) code.
23517 mktime: do not assume signed right shift propagates sign bit
23518 * time/mktime.c (isdst_differ): New static function.
23519 (__mktime_internal): No need to normalize tm_isdst now.
23520 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23523 mktime: merge another wrapv change from gnulib
23524 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23525 from some compilers.
23527 mktime: remove incorrect attempt at unusual arithmetics
23528 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23529 The code didn't really work on such machines anyway.
23530 (TYPE_MINIMUM): Assume two's complement.
23531 (twos_complement_arithmetic): Verify that long_int and time_t
23532 are two's complement (or unsigned, in the latter case).
23534 mktime: check signed shifts on long_int and time_t, too
23535 * time/mktime.c (SHR): Check that shifts work as desired
23536 on the types long_int and time_t too, as SHR is used on
23539 mktime: do not assume 'long' is wide enough
23540 * time/mktime.c (verify): Move decl up.
23541 (long_int): New type.
23542 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23543 to remove assumption in the code that 'long' is wide enough to
23544 store year values. This assumption is not true on x32 and on
23545 some non-glibc platforms.
23547 mktime: merge wrapv change from gnulib
23548 * time/mktime.c (WRAPV): New macro.
23549 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23550 (guess_time_tm, __mktime_internal): Do not assume that signed
23551 integer overflow wraps around; modern compilers generate code
23552 where this assumption is no longer valid.
23554 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23556 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23557 Replace "jmp L(pseudo_end)" with "ret".
23558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23561 2012-05-23 Andreas Jaeger <aj@suse.de>
23563 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23564 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23566 2012-05-23 Andreas Jaeger <aj@suse.de>
23567 Maximilian Attems <max@stro.at>
23569 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23572 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23574 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23575 code so that pseudo_end is just ret and the stack pointer is
23576 correct also for static library in error case.
23578 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23580 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23581 move to syscalls.list.
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23587 * manual/install.texi (Running make install): Do not mention Linux
23588 kernel version for which pt_chown is not needed.
23589 (Linux): Do not mention problems with nscd with 2.0 kernels.
23590 * INSTALL: Regenerated.
23592 2012-05-23 Andreas Jaeger <aj@suse.de>
23594 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23595 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23597 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23598 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23599 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23601 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23603 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23605 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23606 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23607 * sysdeps/unix/sysv/linux/bits/in.h
23608 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23610 2012-05-22 Roland McGrath <roland@hack.frob.com>
23612 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23613 (PREPARE_VERSION): Just use assert instead, it will be elided
23614 under [NDEBUG] anyway.
23616 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23618 * sysdeps/unix/sysv/linux/Makefile: Include
23619 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23620 (sysdep_routines): Remove sysctl.
23621 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23622 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23623 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23624 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23625 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23627 2012-05-22 Andreas Jaeger <aj@suse.de>
23629 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23630 that pseudo_end is just ret and the stack pointer is correct also
23631 for static library in error case.
23633 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23636 * nss/nsswitch.c (defconfig_entries): New variable.
23637 (__nss_database_lookup): Don't leak defconfig entries.
23638 (nss_parse_service_list): Don't leak on error paths.
23639 (free_database_entries): New function.
23640 (free_defconfig): New function.
23641 (free_mem): Move common code to free_database_entries.
23643 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23645 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23647 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23649 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23650 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23653 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23654 (INTERNAL_SYSCALL_TYPES): Likewise.
23655 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23656 (LOAD_REGS_TYPES_[1-6]): Likewise.
23657 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23658 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23660 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23662 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23663 copysignl for GLIBC_2_0.
23664 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23665 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23667 logbl for GLIBC_2_0.
23668 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23669 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23671 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23673 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23674 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23676 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23679 * time/mktime.c: Update copyright years.
23681 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23683 mktime: merge comment-quoting-style change from gnulib
23684 * time/mktime.c: Quote 'like this' in comments.
23685 The GNU coding standards suggest that we no longer quote `like this',
23686 as "`" and "'" are typically rendered asymmetrically nowadays.
23687 The typical gnulib style is to quote 'like this' when quoting
23688 code, and "like this" when quoting English.
23690 * time/mktime.c (compile-command): Add "-I.".
23692 mktime: merge mktime-internal.h change from gnulib
23693 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23695 mktime: merge time_r change from gnulib
23696 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23698 mktime: merge DEBUG change from gnulib
23699 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23700 case system <time.h> has a #define.
23702 mktime: merge <sys/types.h> change from gnulib
23703 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23704 since <time.t> is now guaranteed to define time_t.
23706 mktime: merge HAVE_CONFIG_H change from gnulib
23707 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23709 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23714 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23716 (struct rusage): Use anonymous union to pad each field to
23719 2012-05-21 David S. Miller <davem@davemloft.net>
23721 * Makefules (o-iterator): Remove .s cases.
23722 (compile-command.s): Delete.
23723 (COMPILE.s): Delete.
23724 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23726 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23728 * configure.in (libc_cv_predef_stack_protector): Only consider
23729 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23730 * configure: Regenerated.
23732 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23735 New macro. Use R*LP on int and pointer.
23736 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23737 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23738 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23739 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23741 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23742 [__WORDSIZE_TIME64_COMPAT32] instead of
23743 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23744 (struct utmp): Likewise.
23745 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23746 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23748 (__WORDSIZE_TIME64_COMPAT32): This.
23749 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23750 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23751 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23752 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23753 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23754 (__WORDSIZE_TIME64_COMPAT32): New macro.
23756 2012-05-21 Andreas Jaeger <aj@suse.de>
23758 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23759 only if [SHARED]. Add prototype for __wcschr_ia32.
23761 2012-05-21 Roland McGrath <roland@hack.frob.com>
23763 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23764 of %rbp unmolested in the jmp_buf while mangling the low bits.
23765 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23766 unmolested high bits of %rbp while demangling the low bits.
23767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23769 2012-05-21 Andreas Jaeger <aj@suse.de>
23771 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23772 * sunrpc/svc_simple.c: Use it for registerrpc.
23773 * sunrpc/xcrypt.c: Use it for passwd2des.
23775 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23777 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23779 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23780 Don't define if [__SYSCALL_WORDSIZE != 32].
23781 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23784 2012-05-21 Bruno Haible <bruno@clisp.org>
23785 Andreas Jaeger <aj@suse.de>
23787 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23788 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23789 inptr and inend for must_buffer_ch.
23790 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23791 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23792 * stdio-common/Makefile (tests): Remove bug15.
23793 (bug15-ENV): Remove macro.
23794 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23797 2012-05-19 Andreas Jaeger <aj@suse.de>
23798 Roland McGrath <roland@hack.frob.com>
23800 * manual/contrib.texi: Completely rewritten. It contains now an
23801 alphabetical list of contributors and their contributions.
23803 2012-05-21 Richard Henderson <rth@twiddle.net>
23805 * misc/getauxval.c (__getauxval): Use unsigned long int.
23806 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23807 (getauxval): Use unsigned long int.
23809 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23811 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23813 2012-05-21 Roland McGrath <roland@hack.frob.com>
23815 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23816 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23817 __alignof__ (long double).
23819 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23823 2012-05-20 Richard Henderson <rth@twiddle.net>
23825 * misc/getauxval.c: New file.
23826 * misc/sys/auxv.h: New file.
23827 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23828 (routines): Add getauxval.
23829 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23830 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23831 * elf/dl-sysdep.c (_dl_auxv): Remove.
23832 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23833 * elf/dl-support.c (_dl_auxv): New variable.
23834 (_dl_aux_init): Initialize it.
23835 * manual/startup.texi (Auxiliary Vector): New node.
23836 * sysdeps/generic/bits/hwcap.h: New file.
23837 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23838 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23839 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23840 * sysdeps/sparc/sysdep.h: ... here. Include it.
23841 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23842 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23848 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23854 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23858 2012-05-19 David S. Miller <davem@davemloft.net>
23860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23862 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23865 * math/s_ccosh.c: Include <float.h>
23866 (__ccosh): Avoid internal overflow calculating sinh and cosh
23867 values before multiplying by sin and cos values.
23868 * math/s_ccoshf.c: Likewise.
23869 * math/s_ccoshl.c: Likewise.
23870 * math/s_csin.c: Likewise.
23871 * math/s_csinf.c: Likewise.
23872 * math/s_csinl.c: Likewise.
23873 * math/s_csinh.c: Likewise.
23874 * math/s_csinhf.c: Likewise.
23875 * math/s_csinhl.c: Likewise.
23876 * math/libm-test.inc (ccos_test): Add more tests.
23877 (ccosh_test): Likewise.
23878 (csin_test): Likewise.
23879 (csinh_test): Likewise.
23880 * sysdeps/i386/fpu/libm-test-ulps: Update.
23881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23883 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23885 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23886 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23888 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23890 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23892 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23893 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23894 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23895 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23896 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23897 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23898 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23899 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23900 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23901 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23902 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23903 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23904 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23905 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23906 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23907 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23908 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23909 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23910 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23911 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23912 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23913 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23914 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23915 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23916 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23917 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23918 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23919 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23920 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23921 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23922 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23924 2012-05-18 Andreas Jaeger <aj@suse.de>
23926 * csu/.gitignore: Delete.
23928 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23930 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23931 (timex): Use __syscall_slong_t.
23933 2012-05-18 Andreas Jaeger <aj@suse.de>
23934 Carlos O'Donell <carlos_odonell@mentor.com>
23936 * manual/install.texi (Configuring and compiling): Update
23937 description about files modified in the source directory.
23938 * INSTALL: Regenerated.
23940 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23942 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23943 value. Use "or" to set return value to -1.
23944 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23945 negate return value.
23947 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23949 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23950 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23951 failure if the compiler has Graphite support disabled.
23952 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23954 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23955 CFLAGS-memmove.c): Likewise.
23956 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23959 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23961 * sysdeps/x86_64/x32/_itoa.h: New file.
23963 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23964 getdents system call only if kernel and user dirents have the
23965 same d_ino and d_off.
23967 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23968 LLONG_MAX != LONG_MAX.
23969 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23970 (_fitoa_word): Likewise.
23972 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23974 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23975 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23976 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23978 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23979 include <bits/wordsize.h>. Check __x86_64__ instead of
23981 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23982 if __x86_64__ is defined. Use anonymous union on fpstate.
23984 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23987 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23989 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23990 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23991 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23992 Refer to _rtld_local_ro instead of _rtld_global_ro.
23993 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23995 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23997 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23999 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24000 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24001 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24003 * sysdeps/powerpc/powerpc32/dl-machine.c
24004 (__elf_machine_runtime_setup) [PROF]: Don't reference
24007 2012-05-18 Andreas Jaeger <aj@suse.de>
24009 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24010 function only available for GCCs before 3.4 since GCC 3.4
24011 introduced a builtin.
24013 (llrintf): Likewise.
24014 (llrint): Likewise.
24021 (nearbyint): Likewise.
24022 (nearbyintf): Likewise.
24026 (floorf): Likewise.
24028 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24030 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24031 on both fields and cast pointer to __syscall_ulong_t.
24033 * bits/types.h (__fsword_t): New type.
24034 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24035 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24036 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24037 (__FSWORD_T_TYPE): Likewise.
24038 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24039 (__FSWORD_T_TYPE): Likewise.
24040 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24041 (__FSWORD_T_TYPE): Likewise.
24042 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24043 (__FSWORD_T_TYPE): Likewise.
24044 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24045 __SWORD_TYPE with __fsword_t.
24046 (statfs64): Likewise.
24048 2012-05-17 David S. Miller <davem@davemloft.net>
24050 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24052 2012-05-17 Andreas Jaeger <aj@suse.de>
24054 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24057 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24059 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24061 2012-05-17 Andreas Jaeger <aj@suse.de>
24063 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24066 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24068 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24070 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24072 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24073 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24075 2012-05-17 Andreas Jaeger <aj@suse.de>
24076 Carlos O'Donell <carlos_odonell@mentor.com>
24079 * sysdeps/x86_64/multiarch/init-arch.h
24080 (bit_YMM_Usable): Rename to...
24081 (bit_AVX_Usable): ... this.
24082 (bit_FMA4_Usable): New macro.
24083 (bit_XMM_state): New macro.
24084 (bit_YMM_state): New macro.
24085 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24086 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24087 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24088 (CPUID_OSXSAVE): New macro.
24089 (CPUID_AVX): New macro.
24090 (CPUID_FMA4): New macro.
24091 (index_YMM_Usable): Rename to...
24092 (index_AVX_Usable): ... this.
24093 (HAS_AVX): Use HAS_ARCH_FEATURE.
24094 (HAS_FMA4): Likewise.
24095 (HAS_YMM_USABLE): Remove.
24096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24097 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24099 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24100 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24101 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24102 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24103 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24105 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24107 * math/libm-test.c: Support platforms without multiple rounding modes.
24108 * math/bug-nextafter.c: Support platforms without FP exceptions.
24109 * math/bug-nexttoward.c: Likewise.
24110 * math/test-fenv.c: Likewise.
24111 * math/test-misc.c: Likewise.
24112 * stdlib/bug-getcontext.c: Likewise.
24114 2012-05-17 Andreas Jaeger <aj@suse.de>
24116 * manual/examples/search.c (critter_cmp): Change signature to
24118 * manual/string.texi (Collation Functions): Likewise.
24120 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24122 * bits/types.h: Fold copyright years.
24123 * bits/typesizes.h: Likewise.
24124 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24125 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24126 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24128 * time/time.h: Likewise.
24130 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24133 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24134 in instead of returning them. Return void.
24135 (__libc_mallinfo): Accumulate over all arenas.
24136 (__malloc_stats): Adjust for change in int_mallinfo interface.
24138 2012-05-16 Roland McGrath <roland@hack.frob.com>
24141 * configure.in (NM): Add AC_CHECK_TOOL for it.
24142 (libc_extra_cflags): New substituted variable.
24143 Check for -fstack-protector being used implicitly.
24144 * configure: Regenerated.
24145 * config.make.in (config-extra-cflags): New variable,
24146 gets @libc_extra_cflags@.
24147 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24150 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24151 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24152 * configure: Regenerated.
24153 * config.make.in (CPPUNDEFS): New substituted variable.
24154 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24155 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24156 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24158 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24160 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24161 (mq_attr): Use __syscall_slong_t.
24163 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24165 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24166 Check __x86_64__ instead of __WORDSIZE.
24167 (_STAT_VER_LINUX): Likewise.
24168 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24169 __syscall_ulong_t and __syscall_slong_t.
24170 (stat64): Likewise.
24172 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24174 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24176 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24178 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24180 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24182 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24185 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24186 include <bits/wordsize.h>. Check __x86_64__ instead of
24188 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24190 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24192 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24193 include <bits/wordsize.h>. Check __x86_64__ instead of
24195 (user_regs_struct): Use "__extension__ unsigned long long"
24196 instead of "unsigned long" if __x86_64__ is defined.
24197 (user): Likewise. Pad after pointer field if __ILP32__ is
24200 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24202 * configure.in (makeinfo): Require version 4.5 or later. Allow
24204 * configure: Regenerated.
24205 * manual/install.texi (texinfo): Increase version requirement to
24207 * INSTALL: Regenerated.
24209 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24211 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24213 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24215 * sysdeps/x86_64/x32/ffs.c: New file.
24217 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24219 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24220 defined. Use __syscall_ulong_t.
24221 (shminfo): Use __syscall_ulong_t.
24222 (shm_info): Likewise.
24224 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24227 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24229 (msgqnum_t): Use __syscall_ulong_t.
24230 (msglen_t): Likewise.
24231 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24234 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24235 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24237 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24239 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24240 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24242 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24245 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24246 include <bits/wordsize.h>. Check __x86_64__ instead of
24249 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24250 "unsigned long long int" if __x86_64__ is defined.
24251 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24253 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24254 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24255 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24257 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24259 (GET_PC): Cast to uintptr_t first.
24260 (GET_FRAME): Likewise.
24261 (GET_STACK): Likewise.
24263 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24264 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24265 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24266 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24267 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24268 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24269 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24270 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24271 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24272 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24273 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24274 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24275 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24276 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24279 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24280 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24281 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24282 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24283 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24284 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24285 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24286 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24287 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24288 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24289 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24290 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24291 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24293 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24295 * Makerules (+depfiles): Also collect depfiles from .oS in
24297 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24298 .oS, $(libnldbl-routines)).
24300 * Makerules (native-compile-mkdep-flags): Define.
24301 * sunrpc/Makefile (extra-objs): Add $(addprefix
24302 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24303 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24304 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24305 calling $(make-target-directory).
24307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24309 * bits/types.h (__snseconds_t): Removed.
24310 * time/time.h (struct timespec): Replace __snseconds_t with
24312 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24313 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24315 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24316 (__SNSECONDS_T_TYPE): Likewise.
24317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24318 (__SNSECONDS_T_TYPE): Likewise.
24319 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24320 (__SNSECONDS_T_TYPE): Likewise.
24322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24324 * sysdeps/mach/hurd/bits/typesizes.h
24325 (__SYSCALL_SLONG_TYPE): New macro.
24326 (__SYSCALL_ULONG_TYPE): Likewise.
24328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24330 * bits/types.h (__syscall_slong_t): New type.
24331 (__syscall_ulong_t): Likewise.
24333 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24334 (__SYSCALL_ULONG_TYPE): Likewise.
24335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24336 (__SYSCALL_SLONG_TYPE): Likewise.
24337 (__SYSCALL_ULONG_TYPE): Likewise.
24338 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24339 (__SYSCALL_SLONG_TYPE): Likewise.
24340 (__SYSCALL_ULONG_TYPE): Likewise.
24341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24342 (__SYSCALL_SLONG_TYPE): Likewise.
24343 (__SYSCALL_ULONG_TYPE): Likewise.
24345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24347 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24348 Add sigaltstack-offsets.sym.
24349 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24350 <sigaltstack-offsets.h>.
24351 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24352 longjmp_msg pointer.
24353 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24354 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24356 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24358 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24360 * elf/stackguard-macros.h: Remove file.
24361 * sysdeps/generic/stackguard-macros.h: New file.
24362 * sysdeps/i386/stackguard-macros.h: Likewise.
24363 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24364 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24365 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24366 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24367 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24368 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24369 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24370 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24371 <elf/stackguard-macros.h>.
24374 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24375 __aligned__ in attribute.
24376 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24377 (gregset_t): Likewise.
24379 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24381 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24382 * sysdeps/x86_64/64/Implies-after: Here. New file.
24383 * sysdeps/x86_64/x32/Implies-after: New file.
24385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24387 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24388 and access return value for _dl_profile_fixup. Use R10_LP to
24391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24393 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24397 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24398 * sysdeps/x86_64/x32/sysdep.h: New file.
24400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24402 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24403 * sysdeps/x86_64/setjmp.S: Likewise.
24405 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24407 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24408 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24409 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24410 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24411 remove unused global constant.
24413 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24415 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24416 include of <not-cancel.h>.
24418 2012-05-15 Roland McGrath <roland@hack.frob.com>
24420 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24422 2012-05-15 Jeff Law <law@redhat.com>
24423 Andreas Jaeger <aj@suse.de>
24426 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24428 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24429 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24430 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24431 code changing __hst_map_handle.map.
24433 2012-05-15 Roland McGrath <roland@hack.frob.com>
24435 * configure.in (sysnames): Look for Implies-before and Implies-after
24437 * configure: Regenerated.
24439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24441 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24442 8-byte data alignment with LP_SIZE alignment.
24444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24446 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24451 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24455 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24456 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24457 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24459 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24461 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24463 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24464 (stackinfo_sub_sp): Likewise.
24466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24468 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24473 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24478 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24481 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24483 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24487 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24488 into R11_LP and load __x86_64_shared_cache_size_half into
24491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24493 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24496 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24502 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24504 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24505 powerpc32/power7/fpu/s_logb.c via #include.
24506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24507 powerpc32/power7/fpu/s_logbf.c via #include.
24508 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24509 powerpc32/power7/fpu/s_logbl.c via #include.
24511 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24513 * README.libm: Remove file.
24515 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24517 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24518 count for x32. Use R*_LP and omit operand-size suffix.
24520 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24522 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24523 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24524 * sysdeps/x86_64/x32/shlib-versions: New file.
24526 2012-05-14 Roland McGrath <roland@hack.frob.com>
24528 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24529 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24530 Use _dl_fatal_printf instead.
24532 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24534 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24535 set if not set by the user. Do not allow for being unset.
24536 * sysdeps/unix/sysv/linux/configure: Regenerated.
24538 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24540 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24541 the `q' suffix from lea and replace .quad with ASM_ADDR.
24543 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24546 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24548 (PTR_DEMANGLE): Likewise.
24550 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24552 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24554 (ASM_ADDR): Likewise.
24555 (RAX_LP): Likewise.
24556 (RBP_LP): Likewise.
24557 (RBX_LP): Likewise.
24558 (RCX_LP): Likewise.
24559 (RDI_LP): Likewise.
24560 (RSI_LP): Likewise.
24561 (RSP_LP): Likewise.
24564 (R10_LP): Likewise.
24565 (R10_LP): Likewise.
24566 (R11_LP): Likewise.
24567 (R12_LP): Likewise.
24568 (R13_LP): Likewise.
24569 (R14_LP): Likewise.
24570 (R15_LP): Likewise.
24572 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24574 * sysdeps/x86_64/x32/dl-machine.h: New file.
24576 2012-05-14 Andreas Jaeger <aj@suse.de>
24578 * manual/Makefile (subdir): Remove export of subdir.
24579 (all): Remove target.
24580 (.PHONY): Remove all from list.
24581 (mkinstalldirs): Remove.
24582 (.PHONY): Remove installdirs from list.
24583 ($(inst_infodir)/libc.info): Use make-target-directory.
24584 (installdirs): Remove.
24585 (subdir_%): Remove.
24586 (glibc-targets): Remove.
24589 ($(objpfx)stubs ../po/manual.pot): Remove.
24590 ($(objpfx)stamp%): Remove.
24591 (make-target-directory): Remove.
24592 (subdir_install): Remove.
24593 (routines): Remove.
24600 * manual/.gitignore: Remove, it's not needed anymore.
24601 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24603 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24605 (texis): Renamed to $(objpfx)texis.
24606 (texis-path): New, contains path to generated files.
24607 (chapters.%): Use texis-path for complete path, add extra argument
24609 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24610 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24611 (summary,texi, stamp-summary): Use complete path of
24612 files. Generate files in build dir.
24613 (dir-add.texi): Build in build dir.
24614 (libm-err.texi,stamp-libm-err): Likewise.
24615 (version.texi, stamp-version): Likewise.
24616 (.%c.texi): Likewise.
24617 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24618 (mostlyclean): Remove target.
24619 (realclean): Remove target.
24620 (generated): Add new variable with contents from mostlyclean and
24621 realclean, remove entries duplicated in common-mostlyclean, add
24622 stamp-libm-err and stamp-version.
24623 (generated-dirs): Add libc directory.
24624 ($(inst_infodir)/libc.info): Install files from build dir.
24626 * manual/install.texi (Configuring and compiling): Adjust since
24627 the info files are not part of the tar ball anymore.
24629 2012-05-14 Andreas Jaeger <aj@suse.de>
24631 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24634 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24638 to 2.2.0 where earlier.
24639 * sysdeps/unix/sysv/linux/configure: Regenerated.
24640 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24641 Remove conditional code.
24642 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24643 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24644 Remove conditional code.
24645 [!__NR_lchown]: Likewise.
24646 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24647 [__NR_lchown]: Likewise.
24648 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24649 comment referencing __ASSUME_LCHOWN_SYSCALL.
24650 * sysdeps/unix/sysv/linux/i386/sigaction.c
24651 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24652 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24653 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24654 Remove conditional code.
24655 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24656 (__protocol_available): Remove #if 0 code.
24657 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24659 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24660 * sysdeps/unix/sysv/linux/kernel-features.h
24661 (__ASSUME_GETCWD_SYSCALL): Don't define.
24662 (__ASSUME_REALTIME_SIGNALS): Likewise.
24663 (__ASSUME_PREAD_SYSCALL): Likewise.
24664 (__ASSUME_PWRITE_SYSCALL): Likewise.
24665 (__ASSUME_POLL_SYSCALL): Likewise.
24666 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24667 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24669 (__ASSUME_SIOCGIFNAME): Don't define.
24670 (__ASSUME_MSG_NOSIGNAL): Likewise.
24671 (__ASSUME_SENDFILE): Define unconditionally.
24672 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24673 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24675 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24676 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24677 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24678 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24679 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24680 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24681 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24683 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24684 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24686 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24689 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24692 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24695 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24696 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24698 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24701 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24704 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24705 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24706 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24707 Remove conditional code.
24708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24709 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24710 Remove conditional code.
24711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24712 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24713 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24714 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24715 Remove conditional code.
24716 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24717 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24718 Remove conditional code.
24719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24720 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24721 Remove conditional code.
24722 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24723 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24724 Remove conditional code.
24725 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24726 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24727 Remove conditional code.
24728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24729 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24730 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24732 * sysdeps/unix/sysv/linux/sigaction.c
24733 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24734 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24735 * sysdeps/unix/sysv/linux/sigpending.c
24736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24738 * sysdeps/unix/sysv/linux/sigprocmask.c
24739 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24740 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24741 * sysdeps/unix/sysv/linux/sigsuspend.c
24742 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24743 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24744 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24745 (__libc_missing_rt_sigs): Remove.
24746 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24747 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24748 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24749 Remove conditional code.
24750 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24751 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24753 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24754 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24755 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24756 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24758 2012-05-14 Andreas Jaeger <aj@suse.de>
24760 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24761 it's not used in glibc.
24762 (__coshm1): Likewise.
24763 (__acosh1p): Likewise.
24766 * manual/string.texi (Copying and Concatenation): Add missing
24767 variable in concat example.
24768 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24770 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24774 __builtin_clzl with __builtin_clzll.
24776 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24779 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24782 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24784 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24785 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24786 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24787 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24789 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24791 * NEWS: Update ia64 info.
24793 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24795 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24798 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24800 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24801 * sysdeps/unix/syscalls.list (dup3): Likewise.
24802 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24803 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24805 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24807 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24808 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24810 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24812 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24814 (TLS_IE): Use mov/add instead of movq/addq to load thread
24816 (TLS_GD_PREFIX): New.
24819 2012-05-11 David S. Miller <davem@davemloft.net>
24821 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24822 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24823 (_FPU_SETCW): Likewise.
24825 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24827 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24828 is 32-byte aligned.
24830 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24833 * iconvdata/gb18030.c: Update tables.
24834 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24835 characters specially.
24836 (BODY for TO_LOOP): Add encoding of missing ranges.
24838 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24841 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24842 * sysdeps/mach/hurd/dup3.c: Likewise.
24843 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24844 * sysdeps/powerpc/memmove.c:: Likewise.
24846 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24848 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24849 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24851 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24853 * elf/elf.h (R_X86_64_RELATIVE64): New.
24854 (R_X86_64_NUM): Updated.
24855 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24856 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24857 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24858 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24859 tst-quad1pie tst-quad2pie
24860 (modules-names): Add tst-quadmod1 tst-quadmod2.
24861 ($(objpfx)tst-quad1): New dependency.
24862 ($(objpfx)tst-quad2): Likewise.
24863 ($(objpfx)tst-quad1pie): Likewise.
24864 ($(objpfx)tst-quad2pie): Likewise.
24865 * sysdeps/x86_64/tst-quad1.c: New file.
24866 * sysdeps/x86_64/tst-quad1pie.c: New file.
24867 * sysdeps/x86_64/tst-quad2.c: Likewise.
24868 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24869 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24870 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24871 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24872 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24874 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24876 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24877 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24878 * streams/stropts.h (t_scalar_t): Define type.
24880 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24881 (_PATH_PRESERVE): Set to "/var/lib".
24882 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24884 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24887 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24888 if __dir_mkfile succeeded.
24890 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24891 checking for _hurd_dtablesize. Unlock it right after having
24892 finished _hurd_dtable allocation.
24894 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24896 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24897 * sysdeps/mach/hurd/configure: Regenerated.
24898 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24899 special-casing to...
24900 * sysdeps/gnu/configure.in: ... this new file.
24901 * sysdeps/unix/sysv/linux/configure: Regenerated.
24902 * sysdeps/gnu/configure: New generated file.
24904 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24905 for Linux: use nsec instead of usec, as well as:
24906 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24907 members of type struct timespec.
24908 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24910 (struct stat64): Likewise.
24911 (_STATBUF_ST_NSEC): New macro.
24912 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24914 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24915 __strtoul_internal rather than strtoul.
24917 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24919 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24922 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24924 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24925 which preserves existing values.
24926 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24928 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24930 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24931 TIMEOUT values. Return EINVAL for NFDS values either negative or
24932 greater than FD_SETSIZE.
24934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24936 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24937 allocated, call __vm_protect to finish enabling the existing space, and
24938 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24939 allocate the remainder.
24941 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24943 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24944 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24946 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24948 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24949 sysdeps/mach/hurd/readlink.c.
24951 * posix/tst-sysconf.c (posix_options): Only use
24952 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24953 _POSIX_SYNCHRONIZED_IO when they are defined
24954 * sysdeps/mach/hurd/bits/posix_opt.h:
24955 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24956 (_XOPEN_REALTIME): Undefine macro.
24957 (_XOPEN_REALTIME_THREADS): Undefine macro.
24958 (_XOPEN_SHM): Undefine macro.
24959 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24961 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24963 (_POSIX_ASYNC_IO): Undefine macro.
24964 (_POSIX_PRIORITIZED_IO): Undefine macro.
24965 (_POSIX_SPIN_LOCKS): Define macro to -1.
24967 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24968 SA_NODEFER, SA_RESETHAND.
24969 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24970 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24973 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24975 * elf/Makefile (pldd-modules): Define unconditionally.
24977 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24979 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24981 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24983 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24984 Return ENOENT when name is empty.
24985 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24989 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24991 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24993 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24995 Fix mlock in all cases except non-readable pages.
24996 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24997 instead of VM_PROT_ALL as parameter to __vm_wire function.
24999 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25000 (__mkdir): When path is `/', just fail with EEXIST.
25001 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25003 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25005 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25006 <sys/uio.h> (for writev).
25007 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25008 and <sys/param.h> (for MIN).
25010 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25012 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25013 REQUESTED_TIME. Properly set the remaining time and return EINTR
25016 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25018 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25019 Depend on against $(link-rpcuserlibs).
25021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25023 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25024 (__libc_stack_end): Do not use attribute_relro.
25025 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25026 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25027 to libthread-provided value.
25028 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25031 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25034 * bits/libc-lock.h (__libc_once_get): New macro.
25035 * sysdeps/mach/bits/libc-lock.h: Likewise.
25036 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25037 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25038 instead of using implementation details.
25040 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25041 * libio/freopen.c: Likewise.
25042 * libio/freopen64.c: Likewise.
25043 * misc/syslog.c: Likewise.
25044 * nscd/connections.c: Likewise.
25045 * nscd/netgroupcache.c: Likewise.
25046 * sysdeps/posix/getcwd.c: Likewise.
25048 2012-05-10 Roland McGrath <roland@hack.frob.com>
25050 * math/w_ilogbf.c: Add #include <limits.h>.
25052 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25054 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25055 path instead of returning without unlocking.
25057 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25058 immediate-write ioctls.
25059 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25061 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25063 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25064 __builtin_frame_address instead of making assumptions about the
25065 location of the return address relative to DATA. Force early load of
25066 the return address.
25067 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25068 __builtin_frame_address.
25071 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25072 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25073 implement dup3 and do some further code clean-ups.
25074 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25075 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25077 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25079 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25081 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25082 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25083 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25084 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25085 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25088 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25089 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25090 when handler == SIG_ERR, not when handler != SIG_ERR.
25092 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25094 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25095 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25098 accept4 for GNU Hurd.
25099 * include/sys/socket.h (__libc_accept4): New prototype.
25100 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25101 to implement __libc_accept4.
25102 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25104 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25106 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25107 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25108 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25109 signal-defines.sym.
25111 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25113 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25115 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25117 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25118 assertion on O_CLOEXEC flag.
25119 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25120 * hurd/intern-fd.c: Likewise.
25121 * hurd/port2fd.c: Likewise.
25123 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25126 * bits/in.h (IPV6_PKTINFO): Define new macro.
25127 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25129 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25134 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25135 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25136 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25137 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25139 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25140 * math/libm-test.inc (logb_test) : Additional logb tests.
25142 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25143 Andreas Jaeger <aj@suse.de>
25145 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25146 * configure: Regenerated.
25147 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25148 * config.make.in (link-obsolete-rpc): New substituted variable.
25149 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25150 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25151 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25152 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25153 so that libc.a contains the symbols.
25154 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25155 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25156 * sunrpc/auth_none.c: Likewise.
25157 * sunrpc/auth_unix.c: Likewise.
25158 * sunrpc/authdes_prot.c: Likewise.
25159 * sunrpc/authuxprot.c: Likewise.
25160 * sunrpc/clnt_gen.c: Likewise.
25161 * sunrpc/clnt_perr.c: Likewise.
25162 * sunrpc/clnt_raw.c: Likewise.
25163 * sunrpc/clnt_simp.c: Likewise.
25164 * sunrpc/clnt_tcp.c: Likewise.
25165 * sunrpc/clnt_udp.c: Likewise.
25166 * sunrpc/clnt_unix.c: Likewise.
25167 * sunrpc/des_crypt.c: Likewise.
25168 * sunrpc/des_soft.c: Likewise.
25169 * sunrpc/get_myaddr.c: Likewise.
25170 * sunrpc/key_call.c: Likewise.
25171 * sunrpc/key_prot.c: Likewise.
25172 * sunrpc/netname.c: Likewise.
25173 * sunrpc/pm_getmaps.c: Likewise.
25174 * sunrpc/pm_getport.c: Likewise.
25175 * sunrpc/pmap_clnt.c: Likewise.
25176 * sunrpc/pmap_prot.c: Likewise.
25177 * sunrpc/pmap_prot2.c: Likewise.
25178 * sunrpc/pmap_rmt.c: Likewise.
25179 * sunrpc/publickey.c: Likewise.
25180 * sunrpc/rpc_cmsg.c: Likewise.
25181 * sunrpc/rpc_common.c: Likewise.
25182 * sunrpc/rpc_dtable.c: Likewise.
25183 * sunrpc/rpc_prot.c: Likewise.
25184 * sunrpc/rpc_thread.c: Likewise.
25185 * sunrpc/rtime.c: Likewise.
25186 * sunrpc/svc.c: Likewise.
25187 * sunrpc/svc_auth.c: Likewise.
25188 * sunrpc/svc_raw.c: Likewise.
25189 * sunrpc/svc_run.c: Likewise.
25190 * sunrpc/svc_tcp.c: Likewise.
25191 * sunrpc/svc_udp.c: Likewise.
25192 * sunrpc/svc_unix.c: Likewise.
25193 * sunrpc/svcauth_des.c: Likewise.
25194 * sunrpc/xcrypt.c: Likewise.
25195 * sunrpc/xdr.c: Likewise.
25196 * sunrpc/xdr_array.c: Likewise.
25197 * sunrpc/xdr_float.c: Likewise.
25198 * sunrpc/xdr_intXX_t.c: Likewise.
25199 * sunrpc/xdr_mem.c: Likewise.
25200 * sunrpc/xdr_rec.c: Likewise.
25201 * sunrpc/xdr_ref.c: Likewise.
25202 * sunrpc/xdr_sizeof.c: Likewise.
25203 * sunrpc/xdr_stdio.c: Likewise.
25205 2012-05-10 Roland McGrath <roland@hack.frob.com>
25207 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25208 change. Update copyright years.
25210 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25212 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25214 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25215 Joseph Myers <joseph@codesourcery.com>
25216 Paul Pluzhnikov <ppluzhnikov@google.com>
25219 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25221 [cross-compiling] (extra-libs): Likewise.
25222 [cross-compiling] (extra-libs-others): Likewise.
25223 [cross-compiling] (librpcsvc-routines): Likewise.
25224 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25225 [cross-compiling] (omit-deps): Likewise.
25226 (sunrpc-CPPFLAGS): New variable.
25227 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25228 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25229 (cross-rpcgen-objs): New variable.
25230 (extra-objs): Append $(cross-rpcgen-objs).
25231 ($(cross-rpcgen-objs)): New rule.
25232 ($(objpfx)cross-rpcgen): Likewise.
25233 (rpcgen-cmd): Define to use $(built-program-file). Expand
25235 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25236 ($(objpfx)x%.stmp): Likewise.
25237 * sunrpc/proto.h [IS_IN_build] (_): Define.
25238 [IS_IN_build] (_libc_intl_domainname): Likewise.
25240 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25242 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25243 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25244 and R_X86_64_TPOFF64.
25246 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25248 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25249 sysdeps/unix/sysv/syscalls.list.
25252 * sysdeps/unix/sysv/syscalls.list: Remove file.
25254 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25257 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25258 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25259 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25260 (__LC_IDENTIFICATION): Make these macros useful in #if
25261 expressions, as required by C99.
25263 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25265 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25266 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25269 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25271 * stdlib/longlong.h: Updated from GCC.
25273 2012-05-09 Andreas Jaeger <aj@suse.de>
25275 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25276 default is first entry.
25277 (run_mode): Set type.
25278 (main): Remove informal message about syslog.
25279 (options): Fix typo.
25282 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25285 (llrintf): Likewise.
25286 (llrint): Likewise.
25289 (nearbyint): Likewise.
25290 (nearbyintf): Likewise.
25292 2012-05-09 Andreas Jaeger <aj@suse.de>
25293 Pedro Alves <palves@redhat.com>
25295 * nscd/nscd.c (run_mode): Use enum.
25296 (main): Cleanup coding style issue.
25298 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25299 Andreas Jaeger <aj@suse.de>
25301 * nscd/nscd.c (go_background): Replaced with...
25302 (run_mode): ... this.
25303 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25304 (options): Add -F --foreground.
25305 (main): Implement it.
25306 (parse_opt): Parse it.
25308 2012-05-09 Andreas Jaeger <aj@suse.de>
25311 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25312 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25313 -Wconversion warning.
25314 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25317 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25319 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25321 (LC_ALL): Use macro-int-constant.
25322 (LC_COLLATE): Likewise.
25323 (LC_CTYPE): Likewise.
25324 (LC_MESSAGES): Likewise.
25325 (LC_MONETARY): Likewise.
25326 (LC_NUMERIC): Likewise.
25327 (LC_TIME): Likewise.
25328 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25329 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25331 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25333 [C99-based standards] (float_t): Expect type.
25334 [C99-based standards] (double_t): Expect type.
25335 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25337 [C99-based standards] (HUGE_VALL): Likewise.
25338 [C99-based standards] (INFINITY): Likewise.
25339 [C99-based standards] (NAN): Likewise.
25340 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25341 [C99-based standards] (FP_NAN): Likewise.
25342 [C99-based standards] (FP_NORMAL): Likewise.
25343 [C99-based standards] (FP_SUBNORMAL): Likewise.
25344 [C99-based standards] (FP_ZERO): Likewise.
25345 [C99-based standards] (FP_FAST_FMA): Use
25346 optional-macro-int-constant. Specify type. Require == 1.
25347 [C99-based standards] (FP_FAST_FMAF): Likewise.
25348 [C99-based standards] (FP_FAST_FMAL): Likewise.
25349 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25350 [C99-based standards] (FP_ILOGBNAN): Likewise.
25351 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25353 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25354 [C99-based standards] (math_errhandling): Specify type.
25355 [ISO99 || ISO11] (signgam): Do not allow.
25356 [non-C99-based standards] (copysignf): Do not allow.
25357 [non-C99-based standards] (exp2f): Likewise.
25358 [non-C99-based standards] (log2f): Likewise.
25359 [non-C99-based standards] (modff): Allow.
25360 [non-C99-based standards] (erff): Do not allow.
25361 [non-C99-based standards] (erfcf): Likewise.
25362 [non-C99-based standards] (gammaf): Likewise.
25363 [non-C99-based standards] (hypotf): Likewise.
25364 [non-C99-based standards] (j0f): Likewise.
25365 [non-C99-based standards] (j1f): Likewise.
25366 [non-C99-based standards] (jnf): Likewise.
25367 [non-C99-based standards] (lgammaf): Likewise.
25368 [non-C99-based standards] (tgammaf): Likewise.
25369 [non-C99-based standards] (y0f): Likewise.
25370 [non-C99-based standards] (y1f): Likewise.
25371 [non-C99-based standards] (ynf): Likewise.
25372 [non-C99-based standards] (isnanf): Likewise.
25373 [non-C99-based standards] (acoshf): Likewise.
25374 [non-C99-based standards] (asinhf): Likewise.
25375 [non-C99-based standards] (atanhf): Likewise.
25376 [non-C99-based standards] (cbrtf): Likewise.
25377 [non-C99-based standards] (expm1f): Likewise.
25378 [non-C99-based standards] (ilogbf): Likewise.
25379 [non-C99-based standards] (log1pf): Likewise.
25380 [non-C99-based standards] (logbf): Likewise.
25381 [non-C99-based standards] (nextafterf): Likewise.
25382 [non-C99-based standards] (remainderf): Likewise.
25383 [non-C99-based standards] (rintf): Likewise.
25384 [non-C99-based standards] (scalbf): Likewise.
25385 [non-C99-based standards] (copysignl): Likewise.
25386 [non-C99-based standards] (exp2l): Likewise.
25387 [non-C99-based standards] (log2l): Likewise.
25388 [non-C99-based standards] (modfl): Allow.
25389 [non-C99-based standards] (erfl): Do not allow.
25390 [non-C99-based standards] (erfcl): Likewise.
25391 [non-C99-based standards] (gammal): Likewise.
25392 [non-C99-based standards] (hypotl): Likewise.
25393 [non-C99-based standards] (j0l): Likewise.
25394 [non-C99-based standards] (j1l): Likewise.
25395 [non-C99-based standards] (jnl): Likewise.
25396 [non-C99-based standards] (lgammal): Likewise.
25397 [non-C99-based standards] (tgammal): Likewise.
25398 [non-C99-based standards] (y0l): Likewise.
25399 [non-C99-based standards] (y1l): Likewise.
25400 [non-C99-based standards] (ynl): Likewise.
25401 [non-C99-based standards] (isnanl): Likewise.
25402 [non-C99-based standards] (acoshl): Likewise.
25403 [non-C99-based standards] (asinhl): Likewise.
25404 [non-C99-based standards] (atanhl): Likewise.
25405 [non-C99-based standards] (cbrtl): Likewise.
25406 [non-C99-based standards] (expm1l): Likewise.
25407 [non-C99-based standards] (ilogbl): Likewise.
25408 [non-C99-based standards] (log1pl): Likewise.
25409 [non-C99-based standards] (logbl): Likewise.
25410 [non-C99-based standards] (nextafterl): Likewise.
25411 [non-C99-based standards] (remainderl): Likewise.
25412 [non-C99-based standards] (rintl): Likewise.
25413 [non-C99-based standards] (scalbl): Likewise.
25414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25415 [non-C99-based standards] (FP_*): Do not allow.
25416 [C99-based standards] (FP_*): Change to
25417 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25418 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25420 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25421 (SIG_ERR): Likewise.
25422 [X/Open-based standards] (SIG_HOLD): Likewise.
25423 (SIG_IGN): Likewise.
25424 (SIGABRT): Use macro-int-constant. Specify type. Require
25426 (SIGFPE): Likewise.
25427 (SIGILL): Likewise.
25428 (SIGINT): Likewise.
25429 (SIGSEGV): Likewise.
25430 (SIGTER): Likewise.
25431 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25432 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25433 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25434 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25435 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25436 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25437 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25438 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25439 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25440 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25441 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25444 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25445 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25449 [X/Open-based standards] (SIGTRAP): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25453 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25454 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25457 2012-05-08 Ian Wienand <ianw@vmware.com>
25460 * time/tzset.c (__tzset_parse_tz): Update default rules for
25461 daylight time changes in the Energy Policy Act of 2005.
25463 2012-05-09 Andreas Jaeger <aj@suse.de>
25466 * elf/ldconfig.c (parse_conf): Change string to make clear that
25467 ldconfig only issued a warning if ld.so.conf does not exist.
25469 2012-05-08 David S. Miller <davem@davemloft.net>
25471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25472 movxtod instead of popping the value on the stack.
25474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25476 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25478 * config.h.in: Add HAVE_ARM_PCS_VFP.
25480 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25483 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25484 checking but the checks are disabled for any reason.
25486 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25488 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25489 and ELF64_R_TYPE with ELFW(R_TYPE).
25491 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25493 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25494 (ulimit): Likewise.
25496 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25497 (settimeofday): Likewise.
25499 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25501 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25502 a struct th_u2 inside the union, and move tu_block/tu_code into
25503 a new th_u3 union of tu_block/tu_code inside of that. Move
25504 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25505 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25506 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25507 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25508 (th_stuff): Change to th_u1.tu_stuff.
25510 (th_msg): Change to th_u1.th_u2.tu_data.
25512 2012-05-07 David S. Miller <davem@davemloft.net>
25514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25517 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25518 (SETUP_PIC_REG): Use it.
25519 (SETUP_PIC_REG_LEAF): Use it.
25521 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25525 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25527 (EXPL_FINITE): Likewise.
25528 (FLDLOG): Likewise.
25529 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25530 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25532 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25534 (EXPL_FINITE): Likewise.
25535 (FLDLOG): Likewise.
25536 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25537 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25539 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25540 test of -max_value argument for long double.
25541 * sysdeps/i386/fpu/libm-test-ulps: Update.
25542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25544 2012-05-06 David S. Miller <davem@davemloft.net>
25546 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25547 quad soft-float symbols whose references which are compiler
25549 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25551 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25555 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25557 (EXPL_FINITE): Likewise.
25558 (FLDLOG): Likewise.
25561 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25562 Adjust comments for base varying.
25563 (__expl_finite): Change alias to EXPL_FINITE.
25564 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25566 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25567 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25569 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25570 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25572 (EXPL_FINITE): Likewise.
25573 (FLDLOG): Likewise.
25576 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25577 Adjust comments for base varying.
25578 (__expl_finite): Change alias to EXPL_FINITE.
25579 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25584 * math/libm-test.inc (check_float_internal): Correct ulp
25585 calculation for subnormal expected results.
25587 2012-05-06 Andreas Jaeger <aj@suse.de>
25589 * Makeconfig (+math-flags): New, set to -frounding-math.
25590 (+cflags): Add +math-flags so that all of glibc gets compiled with
25593 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25595 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25597 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25603 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25604 (__ieee754_expl): Allow for and saturate large arguments.
25605 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25606 (u_threshold): Likewise.
25607 (__exp): Call __ieee754_exp before checking for overflow and
25609 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25610 (u_threshold): Likewise.
25611 (__expf): Call __ieee754_expf before checking for overflow and
25613 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25614 (u_threshold): Likewise.
25615 (__expl): Call __ieee754_expl before checking for overflow and
25617 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25618 (__ieee754_expl): Allow for and saturate large arguments.
25619 * math/libm-test.inc (exp_test): Add another test. Do not allow
25620 missing overflow exception on overflow.
25621 (expm1_test): Do not allow missing overflow exception on overflow.
25623 * sysdeps/i386/fpu/e_expl.c: Move to ...
25624 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25625 rather than using inline asm.
25626 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25627 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25628 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25630 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25633 (signal): Likewise.
25637 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25639 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25640 sysdeps/unix/common/syscalls.list.
25641 (fchmod): Likewise.
25642 (fchown): Likewise.
25643 (ftruncate): Likewise.
25644 (getrusage): Likewise.
25645 (gettimeofday): Likewise.
25646 (setpgid): Likewise.
25647 (setregid): Likewise.
25648 (setreuid): Likewise.
25649 (sigaction): Likewise.
25650 (truncate): Likewise.
25651 (vhangup): Likewise.
25652 * sysdeps/unix/common/syscalls.list: Remove file.
25653 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25654 * sysdeps/unix/sysv/linux/Implies: Likewise.
25656 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25658 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25660 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25664 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25667 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25670 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25673 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25676 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25679 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25682 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25686 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25690 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25693 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25697 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25701 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25703 * sysdeps/unix/common/bits/dirent.h: Remove file.
25704 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25706 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25707 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25708 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25709 * sysdeps/unix/bsd/isatty.c: Likewise.
25710 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25711 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25712 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25714 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25717 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25718 long double comparison inaccuracies.
25719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25722 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25724 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25725 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25727 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25731 nonzero digits before rounding a hex value.
25732 * stdlib/tst-strtod.c (tests): Add another test.
25734 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25736 * sysdeps/s390/fpu/libm-test-ulps: Update.
25738 2012-05-03 Andreas Jaeger <aj@suse.de>
25740 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25741 does not get optimized out.
25742 (malloc_opt_barrier): New.
25744 2012-05-03 Andreas Jaeger <aj@suse.de>
25745 Roland McGrath <roland@hack.frob.com>
25747 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25748 intermediate file deletion.
25749 (generated): Add .symlist files.
25751 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25754 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25755 Redirect under this condition.
25756 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25757 [__USE_GNU] (__dprintf_chk): Not under this condition.
25758 [__USE_GNU] (__vdprintf_chk): Likewise.
25759 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25760 under this condition.
25761 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25762 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25763 [__USE_XOPEN2K8] (vdprintf): Likewise.
25764 [__USE_GNU] (__dprintf_chk): Not under this condition.
25765 [__USE_GNU] (__vdprintf_chk): Likewise.
25766 [__USE_GNU] (dprintf): Likewise.
25767 [__USE_GNU] (vdprintf): Likewise.
25769 2012-05-03 Roland McGrath <roland@hack.frob.com>
25771 * elf/Makefile (common-generated): Set this instead of generated for
25772 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25773 $(all-built-dso)-derived lists.
25775 2012-05-03 Andreas Jaeger <aj@suse.de>
25777 * sysdeps/i386/fpu/libm-test-ulps: Update.
25780 * FAQ.in: Likewise.
25781 * scripts/gen-FAQ.pl: Likewise.
25782 * manual/install.texi (Installation): Point to online location of
25784 * Makefile (files-for-dist): Remove FAQ.
25787 2012-05-02 Allan McRae <allan@archlinux.org>
25789 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25790 (LDFLAGS-reldepmod5.so): Likewise.
25791 (LDFLAGS-reldep6mod1.so): Likewise.
25792 (LDFLAGS-reldep6mod4.so): Likewise.
25793 (LDFLAGS-reldep8mod3.so): Likewise.
25794 (LDFLAGS-unload4mod1.so): Likewise.
25795 (LDFLAGS-unload4mod2.so): Likewise.
25796 (LDFLAGS-tst-initorder): Likewise.
25797 (LDFLAGS-tst-initordera2.so): Likewise.
25798 (LDFLAGS-tst-initordera3.so): Likewise.
25799 (LDFLAGS-tst-initordera4.so): Likewise.
25800 (LDFLAGS-tst-initorderb2.so): Likewise.
25801 (LDFLAGS-noload): Likewise.
25802 (LDFLAGS-next): Likewise.
25803 (LDFLAGS-order2mod1.so): Likewise.
25804 (LDFLAGS-order2mod2.so): Likewise.
25805 (LDFLAGS-tst-initorder2): Likewise.
25806 (LDFLAGS-tst-initorder2a.so): Likewise.
25807 (LDFLAGS-tst-initorder2b.so): Likewise.
25808 (LDFLAGS-tst-initorder2c.so): Likewise.
25809 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25811 2012-05-02 David S. Miller <davem@davemloft.net>
25813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25815 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25818 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25820 2012-05-02 Andreas Jaeger <aj@suse.de>
25822 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25823 since we manipulate rounding mode.
25824 (CPPFLAGS-test-idouble.c): Likewise.
25825 (CPPFLAGS-test-ifloat.c): Likewise.
25826 (CFLAGS-test-ldouble.c): Likewise.
25827 (CFLAGS-test-double.c): Likewise.
25828 (CFLAGS-test-float.c): Likewise.
25829 (CFLAGS-test-misc.c): Likewise.
25830 (CFLAGS-test-test-fenv.c): Likewise.
25832 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25836 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25837 comparisons to determine direction to adjust input.
25839 2012-05-01 Roland McGrath <roland@hack.frob.com>
25841 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25842 output to the target.
25844 * scripts/localplt.awk: New file.
25845 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25846 (check-localplt-CFLAGS): Variable removed.
25847 ($(all-built-dso:=.jmprel)): New static pattern rule.
25848 (generated): Add those targets.
25849 (localplt-built-dso): New variable.
25850 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25852 * elf/check-localplt.c: File removed.
25854 * scripts/check-execstack.awk: New file.
25855 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25856 (check-execstack-CFLAGS): Variable removed.
25857 ($(objpfx)check-execstack.h): Target removed.
25858 ($(objpfx)execstack-default): New target.
25859 (generated): Add that instead of check-execstack.h.
25860 ($(all-built-dso:=.phdr)): New static pattern rule.
25861 (generated): Add those targets.
25862 * elf/check-execstack.c: File removed.
25864 * scripts/check-textrel.awk: New file.
25865 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25866 (check-textrel-CFLAGS): Variable removed.
25867 (all-built-dso): Use := to define.o
25868 ($(all-built-dso:=.dyn)): New static pattern rule.
25869 (generated): Add those targets.
25870 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25871 * config.make.in (READELF): New substituted variable.
25872 * elf/check-textrel.c: File removed.
25874 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25876 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25878 * conform/data/ctype.h-data [C99-based standards] (isblank):
25880 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25881 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25883 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25884 Specify type. Require positive value.
25885 (EILSEQ): Likewise.
25886 (ERANGE): Likewise.
25887 [ISO || POSIX] (EILSEQ): Do not expect.
25888 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25889 Specify type. Require positive value.
25890 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25891 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25892 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25893 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25894 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25895 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25896 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25897 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25898 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25899 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25901 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25902 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25903 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25904 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25905 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25906 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25907 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25908 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25909 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25910 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25911 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25912 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25913 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25914 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25923 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25924 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25925 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25926 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25927 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25932 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25933 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25938 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25939 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25940 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25941 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25942 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25943 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25944 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25945 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25946 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25947 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25948 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25949 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25950 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25951 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25952 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25953 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25954 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25955 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25956 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25957 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25958 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25959 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25960 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25961 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25962 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25963 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25964 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25965 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25966 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25968 (FLT_ROUNDS): Expect as macro, not constant.
25969 (FLT_MANT_DIG): Use macro-int-constant.
25970 (DBL_MANT_DIG): Likewise.
25971 (LDBL_MANT_DIG): Likewise.
25972 (FLT_DIG): Likewise.
25973 (DBL_DIG): Likewise.
25974 (LDBL_DIG): Likewise.
25975 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25976 (DBL_MIN_EXP): Likewise.
25977 (LDBL_MIN_EXP): Likewise.
25978 (FLT_MAX_EXP): Use macro-int-constant.
25979 (DBL_MAX_EXP): Likewise.
25980 (LDBL_MAX_EXP): Likewise.
25981 (FLT_MAX_10_EXP): Likewise.
25982 (DBL_MAX_10_EXP): Likewise.
25983 (LDBL_MAX_10_EXP): Likewise.
25984 (FLT_MAX): Use macro-constant.
25985 (DBL_MAX): Likewise.
25986 (LDBL_MAX): Likewise.
25987 (FLT_EPSILON): Use macro-constant. Give upper bound.
25988 (DBL_EPSILON): Likewise.
25989 (LDBL_EPSILON): Likewise.
25990 (FLT_MIN): Likewise.
25991 (DBL_MIN): Likewise.
25992 (LDBL_MIN): Likewise.
25993 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25994 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25995 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25996 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25997 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25998 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25999 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26000 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26001 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26002 [ISO11] (FLT_TRUE_MIN): Likewise.
26003 [ISO11] (LDBL_TRUE_MIN): Likewise.
26004 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26005 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26006 (SCHAR_MIN): Use macro-int-constant. Specify type.
26007 (SCHAR_MAX): Likewise.
26008 (UCHAR_MAX): Likewise.
26009 (CHAR_MIN): Likewise.
26010 (CHAR_MAX): Likewise.
26011 (MB_LEN_MAX): Use macro-int-constant.
26012 (SHRT_MIN): Use macro-int-constant. Specify type.
26013 (SHRT_MAX): Likewise.
26014 (USHRT_MAX): Likewise.
26015 (INT_MAX): Likewise.
26016 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26018 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26020 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26022 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26023 bound negative. Suffix upper bound with "L".
26024 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26026 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26028 [C99-based standards] (LLONG_MAX): Likewise.
26029 [C99-based standards] (ULLONG_MAX): Likewise.
26030 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26032 [ISO11] (max_align_t): Require type.
26033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26035 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26036 from $CFLAGS, without defining away __attribute__ calls.
26037 (checknamespace): Use $CFLAGS_namespace.
26039 * conform/conformtest.pl (@keywords): Only include C99 keywords
26040 for standards based on C99 or C11.
26042 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26044 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26047 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26048 usability of symbols in #if.
26050 * conform/conformtest.pl: If macro or constant types start
26051 "promoted:", expect the symbol to be of the following type
26052 promoted by the integer promotions.
26054 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26055 in one place. Also handle "macro-constant".
26057 * conform/conformtest.pl: Only accept expected macro values with
26058 "==". Parse all "macro" lines in one place.
26059 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26061 * conform/conformtest.pl: Handle braced types on "constant" lines
26062 instead of handling "typed-constant".
26063 * conform/data/signal.h-data: Use "constant" instead of
26066 * conform/conformtest.pl: Handle "optional-" at start of lines in
26067 one place rather than duplicating several cases. Handle each
26068 format of "macro" line with initial "optional-".
26070 * conform/conformtest.pl: Only accept expected constant or
26071 optional-constant values with "==". Parse all "constant" lines in
26072 one place. Parse all "optional-constant" lines in one place.
26073 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26074 * conform/data/fmtmsg.h-data: Likewise.
26075 * conform/data/netinet/in.h-data: Likewise.
26076 * conform/data/tar.h-data: Likewise.
26077 * conform/data/limits.h-data: Use "==" form on "constant" and
26078 "optional-constant" lines.
26080 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26081 Use -std=c99 for XOPEN2K.
26082 (@knownproblems): Remove.
26083 (newtoken): Don't check %isknown.
26085 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26086 Do not expect macro.
26087 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26088 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26089 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26090 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26091 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26092 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26093 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26094 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26095 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26096 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26097 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26098 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26099 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26100 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26101 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26102 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26103 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26104 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26105 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26106 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26107 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26108 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26109 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26110 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26111 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26112 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26113 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26114 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26115 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26116 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26117 [XPG3] (acosh): Likewise.
26118 [XPG3] (asinh): Likewise.
26119 [XPG3] (atanh): Likewise.
26120 [XPG3] (cbrt): Likewise.
26121 [XPG3] (expm1): Likewise.
26122 [XPG3] (ilogb): Likewise.
26123 [XPG3] (log1p): Likewise.
26124 [XPG3] (logb): Likewise.
26125 [XPG3] (nextafter): Likewise.
26126 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26127 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26128 [XPG3] (remainder): Likewise.
26129 [XPG3] (rint): Likewise.
26130 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26131 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26132 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26133 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26136 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26137 [UNIX98 || XOPEN2K] (scalb): Expect.
26138 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26139 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26141 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26142 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26143 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26145 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26146 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26147 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26148 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26149 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26150 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26151 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26152 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26153 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26154 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26155 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26156 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26157 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26158 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26159 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26160 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26161 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26162 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26163 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26164 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26165 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26166 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26167 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26168 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26169 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26170 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26176 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26177 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26178 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26257 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26258 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26259 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26260 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26261 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26262 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26263 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26265 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26268 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26276 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26277 _XOPEN_SOURCE_EXTENDED for XPG4.
26279 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26281 * Makeconfig (localtime): Remove variable.
26282 (inst_localtime-file): Likewise.
26284 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26305 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26309 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26310 comparisons to determine direction to adjust input.
26311 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26312 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26313 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26315 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26317 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26319 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26320 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26322 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26324 * math/libm-test.inc (nexttoward_test): Add more tests.
26326 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26329 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26330 in version GLIBC_2.1, not GLIBC_2.0.
26331 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26334 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26337 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26339 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26340 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26341 * math/libm-test.inc (acos_test): Add more tests.
26342 (asin_test): Likewise.
26343 * sysdeps/i386/fpu/libm-test-ulps: Update.
26344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26347 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26349 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26350 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26351 * math/libm-test.inc (acos_test_tonearest): New function.
26352 (acos_test_towardzero): Likewise.
26353 (acos_test_downward): Likewise.
26354 (acos_test_upward): Likewise.
26355 (asin_test_tonearest): Likewise.
26356 (asin_test_towardzero): Likewise.
26357 (asin_test_downward): Likewise.
26358 (asin_test_upward): Likewise.
26359 (main): Call the new functions.
26360 * sysdeps/i386/fpu/libm-test-ulps: Update.
26361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26365 * math/e_exp10.c: Include <float.h>.
26366 (__ieee754_exp10): Handle underflow here rather than multiplying
26367 large negative argument by M_LN10.
26368 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26370 * math/e_exp10l.c: Include <float.h>.
26371 (__ieee754_exp10l): Handle underflow here rather than multiplying
26372 large negative argument by M_LN10l.
26373 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26374 spurious overflow exception on underflow.
26376 2012-04-29 Marek Polacek <polacek@redhat.com>
26378 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26379 (__fortify_function): New macro.
26380 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26381 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26382 __extern_always_inline.
26383 * libio/bits/stdio2.h: Likewise.
26384 * libio/bits/stdio.h: Likewise.
26385 * string/string.h: Likewise.
26386 * string/bits/string3.h: Likewise.
26387 * include/stdio.h: Likewise.
26388 * stdlib/bits/stdlib.h: Likewise.
26389 * stdlib/stdlib.h: Likewise.
26390 * rt/bits/mqueue2.h: Likewise.
26391 * rt/mqueue.h: Likewise.
26392 * posix/bits/unistd.h: Likewise.
26393 * posix/unistd.h: Likewise.
26394 * io/bits/poll2.h: Likewise.
26395 * io/bits/fcntl2.h: Likewise.
26396 * io/fcntl.h: Likewise.
26397 * io/sys/poll.h: Likewise.
26398 * misc/bits/syslog.h: Likewise.
26399 * misc/bits/syslog-ldbl.h: Likewise.
26400 * misc/sys/syslog.h: Likewise.
26401 * socket/bits/socket2.h: Likewise.
26402 * socket/sys/socket.h: Likewise.
26403 * debug/tst-chk1.c: Likewise.
26404 * wcsmbs/bits/wchar2.h: Likewise.
26405 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26406 * wcsmbs/wchar.h: Likewise.
26408 2012-04-29 Andreas Jaeger <aj@suse.de>
26410 * Makerules (tests): Remove enable-check-abi protection.
26411 (check-abi-warn): Remove.
26412 (check-abi-%): Remove check-abi-warn usage.
26414 * configure.in: Remove check-abi configure option.
26415 * configure: Regenerated.
26416 * config.make.in (enable-check-abi): Remove.
26418 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26421 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26422 double functions to double *_finite functions.
26425 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26426 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26428 * stdio-common/Makefile (tests): Add tst-sprintf3.
26429 * stdio-common/tst-sprintf3.c: New file.
26431 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26432 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26434 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26436 * conform/conformtest.pl: Remove duplicate typed-constant
26439 2012-04-28 David S. Miller <davem@davemloft.net>
26441 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26442 (check-abi-%): Remove AWK script prerequisite and explicit
26444 (check-abi): Rewrite to just diff the symlist with the abilist.
26445 (config-tls, config-abi-config): Delete, no longer used.
26446 (update-abi-%): Remove AWK script and explicit abilist directory.
26447 (update-abi): Rewrite to simply compare and conditionally copy the
26448 symlist and the sysdep abilist file. Remove update-abi-config
26450 * abilist/ld.abilist: Remove.
26451 * abilist/libBrokenLocale.abilist: Remove.
26452 * abilist/libanl.abilist: Remove.
26453 * abilist/libcrypt.abilist: Remove.
26454 * abilist/libdl.abilist: Remove.
26455 * abilist/librt.abilist: Remove.
26456 * abilist/libthread_db.abilist: Remove.
26457 * abilist/libutil.abilist: Remove.
26458 * scripts/extract-abilist.awk: Remove.
26459 * scripts/merge-abilist.awk: Remove.
26460 * sysdeps/generic/libcidn.abilist: New file.
26461 * sysdeps/generic/libnss_compat.abilist: New file.
26462 * sysdeps/generic/libnss_db.abilist: New file.
26463 * sysdeps/generic/libnss_dns.abilist: New file.
26464 * sysdeps/generic/libnss_files.abilist: New file.
26465 * sysdeps/generic/libnss_hesiod.abilist: New file.
26466 * sysdeps/generic/libnss_nis.abilist: New file.
26467 * sysdeps/generic/libnss_nisplus.abilist: New file.
26468 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26469 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26470 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26472 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26473 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26474 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26475 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26476 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26477 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26478 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26479 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26480 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26482 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26483 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26484 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26485 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26487 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26488 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26489 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26490 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26491 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26492 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26494 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26495 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26496 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26498 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26601 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26602 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26603 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26605 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26606 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26607 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26608 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26609 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26610 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26611 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26612 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26613 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26614 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26666 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26668 * conform/conformtest.pl: Fix typo in handling typed-constant from
26671 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26673 * README: Cut down references to pre-2.6 Linux kernels and
26674 Linuxthreads. Update lists of configurations in libc and ports
26675 and sort alphabetically. Say "or newer" with Linux kernel version
26678 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26680 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26683 * math/libm-test.inc (logb_test_downward): New test to expose
26684 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26687 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26690 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26692 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26693 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26695 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26697 * sysdeps/unix/i386/brk.S: Remove file.
26698 * sysdeps/unix/i386/dl-brk.S: Likewise.
26699 * sysdeps/unix/i386/pipe.S: Likewise.
26700 * sysdeps/unix/i386/sigreturn.S: Likewise.
26701 * sysdeps/unix/i386/syscall.S: Likewise.
26702 * sysdeps/unix/i386/vfork.S: Likewise.
26703 * sysdeps/unix/i386/wait.S: Likewise.
26705 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26706 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26708 * configure.in (arm*-none*): Do not allow without
26709 --enable-hacker-mode.
26710 (netbsd*): Remove case setting base_os.
26711 (386bsd*): Likewise.
26712 (freebsd*): Likewise.
26715 (sunos*): Likewise.
26716 (ultrix*): Likewise.
26717 (newsos*): Likewise.
26718 (dynix*): Likewise.
26724 (minix*): Likewise.
26725 (irix4*): Likewise.
26726 (irix6*): Likewise.
26727 (solaris[2-9]*): Likewise.
26729 * configure: Regenerated.
26731 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26734 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26735 overflow or cancellation in calculating denominator.
26736 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26737 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26738 down expression to avoid unexpected rounding in newer GCCs.
26739 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26741 2012-04-26 David S. Miller <davem@davemloft.net>
26743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26744 long-double compat symbols.
26745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26759 2012-04-25 David S. Miller <davem@davemloft.net>
26761 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26762 HWCAP_* values only after the memory barriers have been defined.
26763 (atomic_full_barrier): Define.
26764 (atomic_read_barrier): Define.
26765 (atomic_write_barrier): Define.
26767 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26769 * shlib-versions: Add libgcc_s version information.
26770 * sysdeps/generic/libgcc_s.h: Remove.
26771 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26773 * sysdeps/gnu/unwind-resume.c: Likewise.
26774 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26776 2012-04-25 David S. Miller <davem@davemloft.net>
26778 * sysdeps/unix/sparc/brk.S: Delete.
26779 * sysdeps/unix/sparc/dl-brk.S: Delete.
26780 * sysdeps/unix/sparc/pipe.S: Delete.
26781 * sysdeps/unix/sparc/sysdep.S: Delete.
26782 * sysdeps/unix/sparc/sysdep.h: Delete.
26783 * sysdeps/unix/sparc/vfork.S: Delete.
26784 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26785 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26786 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26787 ret_ERRVAL, r0, r1, MOVE): Define.
26788 (JUMPTARGET): Remove.
26789 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26790 sysdeps/unix/sparc/sysdep.h
26791 (ENTRY, END): Remove.
26792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26794 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26796 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26797 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26800 * timezone/README: Update upstream location and email address for
26802 * timezone/zdump.c: Update from tzcode 2012b.
26803 * timezone/zic.c: Likewise.
26805 * configure.in (libc_cv_as_needed): Remove test.
26806 * configure: Regenerated.
26807 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26808 conditional definition.
26809 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26810 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26811 * config.make.in (have-as-needed): Remove variable.
26813 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26814 Paul Pluzhnikov <ppluzhnikov@google.com>
26816 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26819 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26821 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26822 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26823 * sysdeps/sh/strlen.S: Likewise.
26825 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26827 * sysdeps/unix/fork.S: Remove file.
26828 * sysdeps/unix/i386/fork.S: Likewise.
26829 * sysdeps/unix/sparc/fork.S: Likewise.
26831 * sysdeps/unix/system.c: Remove file.
26832 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26834 * sysdeps/unix/getegid.S: Remove file.
26835 * sysdeps/unix/geteuid.S: Likewise.
26837 2012-04-24 Roland McGrath <roland@hack.frob.com>
26839 * scripts/check-localplt.awk: New file.
26840 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26842 * scripts/data/localplt-generic.data: Add a comment.
26844 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26845 NODE when __dir_mkfile failed.
26846 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26847 Reported by Ludovic Courtès <ludo@gnu.org>.
26849 2012-04-24 Andreas Jaeger <aj@suse.de>
26851 * Makerules (common-clean): Also remove gen-as-const-headers
26854 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26856 * Makerules (native-compile): Do not change working directory for
26857 build. Use $(OUTPUT_OPTION) in command.
26858 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26860 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26863 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26864 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26865 * math/libm-test.inc (floor_test): Add more tests.
26866 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26868 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26870 * sysdeps/unix/getdents.c: Remove file.
26871 * sysdeps/unix/sysv/getdents.c: Likewise.
26872 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26874 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26875 sysdeps/unix/mman/syscalls.list.
26877 (mprotect): Likewise.
26879 (munmap): Likewise.
26880 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26881 * sysdeps/unix/mman/syscalls.list: Remove.
26882 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26884 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26885 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26886 * configure: Regenerated.
26887 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26888 $(libgcc_s_suffix).
26889 * config.make.in (libgcc_s_suffix): Remove variable.
26891 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26893 * sysdeps/unix/sysv/gethostname.c: Move to ...
26894 * sysdeps/posix/gethostname.c: ... here.
26896 * sysdeps/unix/execve.S: Remove file.
26898 * sysdeps/unix/_exit.S: Remove file.
26900 2012-04-23 Andreas Jaeger <aj@suse.de>
26903 * manual/Makefile: Remove make dist support, there's no
26904 need for a stand-alone documentation tar ball.
26905 (TEXI2DVI): Define always, it's not in Makeconfig.
26908 (edition): Removed.
26909 (glibc-doc-$(edition).tar): Removed
26913 (ETAGS): Remove, it's in Makeconfig.
26914 (move-if-change): Remove, it's in Makeconfig.
26916 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26919 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26920 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26921 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26922 (strtod_l, strtof_l, strtold_l): Remove __wur.
26923 It is not necessarily an error to ignore strtol's return value.
26924 One can reliably look at the stored endptr to decide whether
26925 the number had valid syntax.
26927 2012-04-21 Andreas Jaeger <aj@suse.de>
26930 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26932 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26934 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26935 * sysdeps/unix/sysv/Versions: Remove file.
26937 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26942 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26945 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26946 version from __vm86.
26948 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26950 * sysdeps/unix/common/lxstat.c: Remove file.
26951 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26953 * sysdeps/unix/sysv/Makefile: Remove file.
26955 * sysdeps/unix/sysv/direct.h: Remove file.
26957 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26958 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26959 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26960 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26961 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26962 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26963 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26965 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26967 * sysdeps/unix/xmknod.c: Remove file.
26968 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26970 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26972 * sysdeps/unix/sysv/i386/time.S: Remove file.
26974 * sysdeps/unix/fxstat.c: Remove file.
26975 * sysdeps/unix/xstat.c: Likewise.
26976 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26978 * sysdeps/unix/sysv/sigaction.c: Remove file.
26980 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26981 (sysdep_headers): Remove variable.
26982 [termio.h not in sysdep_headers] (generated): Likewise.
26983 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26984 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26985 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26986 * sysdeps/unix/sysv/tcflow.c: Likewise.
26987 * sysdeps/unix/sysv/tcflush.c: Likewise.
26988 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26989 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26990 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26991 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26992 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26994 * sysdeps/unix/siglist.c: Remove file.
26996 * sysdeps/unix/getppid.S: Remove file.
26998 * sysdeps/unix/mkdir.c: Remove file.
26999 * sysdeps/unix/rmdir.c: Likewise.
27001 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27003 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27005 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27006 errlist-compat value.
27008 2012-04-18 David S. Miller <davem@davemloft.net>
27010 * sysdeps/generic/memcopy.h (reg_char): Delete.
27011 * debug/strcat_chk.c: Use char, not reg_char.
27012 * debug/strcpy_chk.c: Likewise.
27013 * debug/strncat_chk.c: Likewise.
27014 * debug/strncpy_chk.c: Likewise.
27015 * string/memchr.c: Likewise.
27016 * string/memrchr.c: Likewise.
27017 * string/rawmemchr.c: Likewise.
27018 * string/strcat.c: Likewise.
27019 * string/strchr.c: Likewise.
27020 * string/strchrnul.c: Likewise.
27021 * string/strcmp.c: Likewise.
27022 * string/strcpy.c: Likewise.
27023 * string/strncat.c: Likewise.
27024 * string/strncmp.c: Likewise.
27025 * string/strncpy.c: Likewise.
27027 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27029 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27030 __builtin_memcopy is called when src and dest ranges are known to not
27033 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27035 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27036 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27037 fwd_align_merge macro call.
27038 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27039 bwd_align_merge macro call.
27040 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27042 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27044 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27045 bwd_align_merge macros.
27046 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27047 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27048 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27050 2012-04-18 David S. Miller <davem@davemloft.net>
27052 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27054 2012-04-18 Andreas Jaeger <aj@suse.de>
27057 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27058 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27059 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27061 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27062 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27063 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27065 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27066 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27067 Adjust for changed ldbl-128 files.
27069 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27070 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27071 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27073 2012-04-17 David S. Miller <davem@davemloft.net>
27075 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27077 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27079 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27080 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27081 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27082 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27083 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27084 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27086 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27089 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27090 * math/libm-test.inc: Add ilogb errno and exception tests.
27091 * math/w_ilogb.c: New file: ilogb wrapper.
27092 * math/w_ilogbf.c: New file: ilogbf wrapper.
27093 * math/w_ilogbl.c: New file: ilogbl wrapper.
27094 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27095 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27096 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27097 exception being thrown with 0.0 as argument.
27098 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27099 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27100 exception being thrown with 0.0 as argument.
27101 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27102 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27103 exception being thrown with 0.0 as argument.
27104 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27105 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27106 exception being thrown with 0.0 as argument.
27107 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27108 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27109 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27110 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27111 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27112 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27113 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27114 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27115 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27117 2012-04-17 Petr Baudis <pasky@ucw.cz>
27119 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27122 2012-04-16 Marek Polacek <polacek@redhat.com>
27124 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27126 2012-04-16 Marek Polacek <polacek@redhat.com>
27128 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27129 operands of fdivp instruction.
27131 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27133 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27134 * elf/tst-auditmod3b.c: Likewise.
27135 * elf/tst-auditmod4b.c: Likewise.
27136 * elf/tst-auditmod5b.c: Likewise.
27137 * elf/tst-auditmod6b.c: Likewise.
27138 * elf/tst-auditmod6c.c: Likewise.
27139 * elf/tst-auditmod7b.c: Likewise.
27140 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27141 * sysdeps/x86_64/preconfigure.in: Likewise.
27142 * sysdeps/x86_64/preconfigure: Regenerated.
27144 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27146 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27149 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27152 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27154 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27157 * locale/iso-639.def: Fix gl language name. Spotted by
27160 2012-04-12 Roland McGrath <roland@hack.frob.com>
27163 * libio/libio.h (__io_write_fn): Update comment.
27165 2012-04-12 Petr Baudis <pasky@ucw.cz>
27168 * stdio.texi (Hook Functions): The user provided writer function
27169 is not allowed to return -1.
27171 2012-04-11 David S. Miller <davem@davemloft.net>
27173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27175 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27177 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27178 Add a leading slash to rtkaio.
27180 2012-04-11 Jim Meyering <meyering@redhat.com>
27183 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27184 It is not necessarily an error to ignore fwrite's return
27185 value. One can reliably use ferror to test for errors after
27188 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27190 * bits/types.h (__snseconds_t): New type.
27191 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27193 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27195 (__SNSECONDS_T_TYPE): Likewise.
27196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27197 (__SNSECONDS_T_TYPE): Likewise.
27198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27199 (__SNSECONDS_T_TYPE): Likewise.
27201 2012-04-10 Andreas Jaeger <aj@suse.de>
27204 * manual/time.texi (Processor Time): Return type of times is
27205 elapsed real time since an arbitrary point in the past.
27206 (CPU Time): Move CLK_TCK from here...
27207 (Processor Time): ...to here. Correct description.
27208 * manual/conf.texi (Constants for Sysconf): Correct description of
27211 2012-04-10 David S. Miller <davem@davemloft.net>
27214 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27215 where the is a gap between DT_REL(A) and DT_JMPREL.
27217 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27219 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27220 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27221 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27223 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27225 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27226 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27227 (dl_main): Handle --inhibit-cache.
27228 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27230 * elf/dl-load.c (_dl_map_object): Use it.
27231 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27233 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27236 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27237 (__ieee754_powl): Saturate large exponents rather than testing for
27238 overflow of y*log2(x).
27239 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27240 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27244 * math/s_ctan.c: Include <float.h>.
27245 (__ctan): Avoid internal overflow or cancellation in calculating
27247 * math/s_ctanf.c: Likewise.
27248 * math/s_ctanl.c: Likewise.
27249 * math/s_ctanh.c: Likewise.
27250 * math/s_ctanhf.c: Likewise.
27251 * math/s_ctanhl.c: Likewise.
27252 * math/libm-test.inc (ctan_test): Add more tests.
27253 (ctanh_test): Likewise.
27254 * sysdeps/i386/fpu/libm-test-ulps: Update.
27255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27257 2012-04-09 Andreas Jaeger <aj@suse.de>
27260 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27261 is an optional BSD extension.
27264 * manual/stdio.texi (Opening Streams): Document additional fopen
27267 2012-04-09 Roland McGrath <roland@hack.frob.com>
27269 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27270 %eax without telling the compiler.
27272 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27275 * manual/install.texi: Use sourceware.org.
27277 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27280 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27281 (__ieee754_pow): Generate overflow and underflow using huge*huge
27282 and tiny*tiny rather than just returning constant infinity or zero
27283 for large exponents.
27284 * math/libm-test.inc (pow_test): Require overflow exceptions for
27285 applicable cases of large exponents.
27288 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27289 (__ieee754_pow): Use iterative multiplication algorithm only for
27290 integer exponents with absolute value below 1024. Check for odd
27291 integer exponents when using algorithm for real exponents.
27292 * math/libm-test.inc (pow_test): Add more tests.
27293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27295 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27298 * math/libm-test.inc (exp_test): Do not allow overflow exception
27301 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27304 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27305 instead of __kernel_standard_f.
27307 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27309 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27310 * sysdeps/x86_64/memset_chk.S: Likewise.
27312 2012-04-08 Andreas Jaeger <aj@suse.de>
27315 * manual/startup.texi (Environment Access): Describe return value
27316 for putenv and setenv.
27319 * manual/filesys.texi (Directory Entries): Add description for
27323 * manual/filesys.texi (Directory Entries): Clarify that it's file
27324 system not operating system in the description of DT_UNKNOWN.
27327 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27329 2012-04-08 Stephen Compall <s11@member.fsf.org>
27332 * manual/llio.texi (Opening and Closing Files): Add cross
27333 reference to explain mode argument.
27335 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27337 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27338 * sysdeps/x86_64/memset_chk.S: Likewise.
27340 2012-04-07 David S. Miller <davem@davemloft.net>
27342 * elf/elf.h (R_SPARC_WDISP10): Define.
27343 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27345 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27346 R_SPARC_SIZE64 and R_SPARC_H34.
27348 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27350 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27351 conditions and remove no longer applicable assertion.
27353 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27355 * bits/byteswap.h: Include <features.h>.
27356 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27357 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27359 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27361 * bits/byteswap.h (__bswap_16): Removed.
27362 Include <bits/byteswap-16.h> to get __bswap_16.
27363 * sysdeps/i386/bits/byteswap.h: Likewise.
27364 * sysdeps/s390/bits/byteswap.h: Likewise.
27365 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27366 * bits/byteswap-16.h: New file.
27367 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27368 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27369 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27370 * string/Makefile (headers): Add bits/byteswap-16.h.
27372 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27375 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27377 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27378 * nss/tst-nss-static.c: New.
27380 2012-04-06 Robert Millan <rmh@gnu.org>
27383 * manual/llio.texi (File Position Primitive): lseek
27384 refers to WHENCE when it really means OFFSET.
27386 2012-04-06 Andreas Jaeger <aj@suse.de>
27388 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27389 strncmp declarations.
27391 * abilist/libc.abilist: Add __poll and __ppoll.
27393 2012-04-05 David S. Miller <davem@davemloft.net>
27395 * scripts/check-local-headers.sh: Accept a host triplet in the
27396 path matched by the exclude regexp.
27398 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27400 * sysdeps/powerpc/powerpc32/dl-machine.h
27401 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27402 * sysdeps/s390/s390-32/dl-machine.h
27403 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27404 * sysdeps/sparc/sparc32/dl-machine.h
27405 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27406 * sysdeps/sparc/sparc64/dl-machine.h
27407 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27409 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27411 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27412 undefined symbol errors.
27414 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27417 2012-04-05 Michael Matz <matz@suse.de>
27420 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27422 2012-04-05 Andreas Jaeger <aj@suse.de>
27425 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27428 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27430 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27431 which ROUND is no valid rounding mode.
27433 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27435 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27437 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27439 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27441 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27442 an exception using FPU order intentionally.
27444 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27446 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27447 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27448 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27449 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27451 2012-04-05 Simon Josefsson <simon@josefsson.org>
27454 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27455 EINVAL when BUFLEN is too smal.
27457 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27460 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27461 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27463 2012-04-03 Andreas Jaeger <aj@suse.de>
27466 * manual/setjmp.texi (System V contexts): Fix sentence.
27469 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27470 New macro for this case.
27471 [!__GNUC__] (__bswap_64): New inline function for this case.
27472 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27473 * bits/byteswap.h: Likewise.
27474 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27475 ull, guard with __GLIBC_HAVE_LONG_LONG.
27477 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27478 __GLIBC_HAVE_LONG_LONG.
27480 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27481 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27483 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27486 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27487 inptr and inend, rather than using last_ch.
27489 2012-04-02 David S. Miller <davem@davemloft.net>
27491 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27492 * stdio-common/printf-parse.h (read_int): Change return type to
27493 'int', return -1 on INT_MAX overflow.
27494 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27495 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27496 overflows INT_MAX. Check for overflow of in-format-string precision
27497 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27498 SIZE_MAX not INT_MAX for integer overflow test.
27499 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27500 skip the construct in the format string but do not record anything.
27501 * stdio-common/bug22.c: Adjust to test both width/prevision
27502 INT_MAX overflow as well as total length INT_MAX overflow. Check
27503 explicitly for proper errno values.
27505 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27507 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27509 * string/test-strcmp.c [! WIDE]: Likewise.
27510 * time/tst-mktime2.c: Likewise for INT_MAX.
27511 * string/test-string.h: #include <sys/param.h> for MIN.
27513 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27514 * sysdeps/i386/init-first.c (init): Likewise.
27515 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27516 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27517 * sysdeps/sh/init-first.c (init): Likewise.
27519 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27521 * po/ru.po: Update from translation team.
27522 * po/vi.po: Likewise.
27524 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27526 * resolv/nss_dns/dns-host.c: Merge copyright years.
27528 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27531 Optimize memcpy with prefetch if
27532 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27533 src, dst pointers have unequal 16 byte alignments.
27535 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27538 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27539 from a CNAME entry and return the minimum ttl for the query.
27540 (gaih_getanswer_slice): Likewise.
27542 2012-03-30 Jeff Law <law@redhat.com>
27544 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27546 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27547 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27549 * resolv/nss_dns/dns-host.c: Update copyright year.
27551 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27553 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27554 requests to save a system call. Fix check that all bytes are sent.
27556 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27557 comments for sendmmsg.
27559 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27562 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27563 with only 1 character between 0x0041 and 0x01b0.
27564 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27565 * wcsmbs/tst-mbsnrtowcs.c: New file.
27567 2012-03-29 David S. Miller <davem@davemloft.net>
27569 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27570 small copies by hand.
27572 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27575 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27576 _nss_compat_initgroups_dyn): Fall back to malloc/free
27577 for large group memberships.
27579 2012-03-28 David S. Miller <davem@davemloft.net>
27581 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27582 that branches into memcpy.
27583 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27586 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27589 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27590 implementation too.
27591 * sysdeps/sparc/mempcpy.S: New file.
27593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27594 the IFUNC routine in the libc case.
27595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27597 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27598 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27599 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27600 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27601 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27602 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27603 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27604 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27606 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27607 loop to 256 bytes instead of 64 bytes and fix test signedness.
27609 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27610 * sysdeps/sparc/sparc32/Makefile: rather than here...
27611 * sysdeps/sparc/sparc64/Makefile: and here.
27613 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27615 * malloc/mallocbug.c: Avoid warnings about unused variables.
27617 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27620 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27621 in the right place. Discard and retry query if response is
27622 larger than input buffer size.
27624 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27629 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27630 x for large integer exponent.
27631 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27632 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27633 sign of result as needed afterwards.
27634 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27635 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27636 result for underflowing pow the same as for overflow.
27637 (__kernel_standard_l): Handle powl overflow and underflow here
27638 rather than calling __kernel_standard.
27639 * math/libm-test.inc (pow_test): Add more tests.
27654 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27655 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27656 (__kernel_standard_l): New function.
27657 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27659 * math/w_acosl.c (__acosl): Likewise.
27660 * math/w_asinl.c (__asinl): Likewise.
27661 * math/w_atan2l.c (__atan2l): Likewise.
27662 * math/w_atanhl.c (__atanhl): Likewise.
27663 * math/w_coshl.c (__coshl): Likewise.
27664 * math/w_exp10l.c (__exp10l): Likewise.
27665 * math/w_exp2l.c (__exp2l): Likewise.
27666 * math/w_fmodl.c (__fmodl): Likewise.
27667 * math/w_hypotl.c (__hypotl): Likewise.
27668 * math/w_j0l.c (__j0l, __y0l): Likewise.
27669 * math/w_j1l.c (__j1l, __y1l): Likewise.
27670 * math/w_jnl.c (__jnl, __ynl): Likewise.
27671 * math/w_lgammal.c (__lgammal): Likewise.
27672 * math/w_log10l.c (__log10l): Likewise.
27673 * math/w_log2l.c (__log2l): Likewise.
27674 * math/w_logl.c (__logl): Likewise.
27675 * math/w_powl.c (__powl): Likewise.
27676 * math/w_remainderl.c (__remainderl): Likewise.
27677 * math/w_scalbl.c (sysv_scalbl): Likewise.
27678 * math/w_sinhl.c (__sinhl): Likewise.
27679 * math/w_sqrtl.c (__sqrtl): Likewise.
27680 * math/w_tgammal.c (__tgammal): Likewise.
27681 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27682 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27683 * math/libm-test.inc (acos_test): Add more tests.
27684 (acosh_test): Likewise.
27685 (asin_test): Likewise.
27686 (atanh_test): Likewise.
27687 (exp_test): Likewise.
27688 (exp10_test): Likewise.
27689 (exp2_test): Likewise.
27690 (expm1_test): Likewise.
27691 (lgamma_test): Likewise.
27692 (log_test): Likewise.
27693 (log10_test): Likewise.
27694 (log1p_test): Likewise.
27695 (log2_test): Likewise.
27696 (pow_test): Do not allow some spurious overflow exceptions.
27697 (sqrt_test): Add more tests.
27698 (tgamma_test): Likewise.
27699 (y0_test): Likewise.
27700 (y1_test): Likewise.
27701 (yn_test): Likewise.
27703 2012-03-27 Anton Blanchard <anton@samba.org>
27705 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27707 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27708 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27711 2012-03-27 David S. Miller <davem@davemloft.net>
27713 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27715 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27716 have-as-vis3 check.
27718 2012-03-27 Andreas Jaeger <aj@suse.de>
27720 * sysdeps/x86_64/elf/configure.in: Moved to ...
27721 * sysdeps/x86_64/configure.in: ... here.
27722 * sysdeps/x86_64/elf/start.S: Moved to ...
27723 * sysdeps/x86_64/start.S: ... here.
27724 * sysdeps/x86_64/elf/configure: Delete.
27726 * sysdeps/x86_64/configure.in: Merge contents from
27727 sysdeps/i386/configure.in (without i686 check).
27729 * sysdeps/i386/elf/Versions: Merge into ...
27730 * sysdeps/i386/Versions: ... this.
27731 * sysdeps/i386/elf/Versions: Delete file.
27732 * sysdeps/i386/elf/start.S: Moved to ...
27733 * sysdeps/i386/start.S: ...here.
27734 * sysdeps/i386/elf/configure.in: Merge into...
27735 * sysdeps/i386/configure.in: ...here.
27736 * sysdeps/i386/elf/configure.in: Delete file.
27737 * sysdeps/i386/elf/configure: Delete file.
27739 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27740 * debug/backtracesyms.c: ... here.
27741 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27742 * debug/backtracesymsfd.c: ... here.
27743 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27744 * sysdeps/generic/ifunc-sel.h: ... here.
27746 * sysdeps/unix/i386/start.c: Delete file.
27747 * sysdeps/unix/sparc/start.c: Delete file.
27748 * sysdeps/unix/start.c: Delete file.
27750 * sysdeps/sh/elf/configure.in: Moved to ...
27751 * sysdeps/sh/configure.in: ... here.
27752 * sysdeps/sh/elf/start.S: Moved to ...
27753 * sysdeps/sh/start.S: ... here.
27754 * sysdeps/sh/elf/configure: Delete file.
27756 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27757 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27758 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27759 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27760 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27761 * sysdeps/powerpc/powerpc64/start.S: here.
27762 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27763 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27764 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27765 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27766 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27768 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27769 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27770 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27771 * sysdeps/powerpc/powerpc32/start.S: ... here.
27772 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27773 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27774 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27776 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27777 * sysdeps/powerpc/ifunc-sel.h: ... here.
27778 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27779 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27781 * sysdeps/sparc/elf/configure.in: Moved to ...
27782 * sysdeps/sparc/configure.in: ... here.
27783 * sysdeps/sparc/elf/configure: Delete file.
27784 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27785 * sysdeps/sparc/sparc32/start.S: ... here.
27786 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27787 * sysdeps/sparc/sparc64/start.S: ... here.
27788 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27789 * sysdeps/sparc/sparc32/Makefile: ... this.
27790 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27791 * sysdeps/sparc/sparc64/Makefile: ... this.
27793 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27794 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27795 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27796 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27797 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27798 * sysdeps/s390/s390-32/setjmp.S: ... here.
27799 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27800 * sysdeps/s390/s390-32/configure.in: ... here.
27801 * sysdeps/s390/s390-32/elf/configure: Delete file.
27802 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27803 * sysdeps/s390/s390-32/start.S: ... here.
27805 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27806 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27807 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27808 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27809 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27810 * sysdeps/s390/s390-64/setjmp.S: ... here.
27811 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27812 * sysdeps/s390/s390-64/configure.in: ... here
27813 * sysdeps/s390/s390-64/elf/configure: Delete file.
27814 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27815 * sysdeps/s390/s390-64/start.S: ... here.
27816 * sysdeps/s390/s390-64/elf/configure: Delete.
27818 * configure.in: Remove support for elf directories in sysdeps.
27820 * configure: Regenerated.
27821 * sysdeps/i386/configure: Regenerated.
27822 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27823 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27824 * sysdeps/s390/s390-32/configure: Regenerated.
27825 * sysdeps/s390/s390-64/configure: Regenerated.
27826 * sysdeps/sh/configure: Regenerated.
27827 * sysdeps/sparc/configure: Regenerated.
27828 * sysdeps/x86_64/configure: Regenerated.
27830 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27834 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27835 denormal result into account.
27837 2012-03-25 Roland McGrath <roland@hack.frob.com>
27839 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27840 Reported by Allan McRae <allan@archlinux.org>.
27842 2012-03-23 Jeff Law <law@redhat.com>
27844 * nss/getnssent.c (__nss_getent): Fix typo.
27846 2012-03-23 David S. Miller <davem@davemloft.net>
27848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27850 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27852 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27853 to pad to uint64_t for each field.
27854 (dl_tls_index): Replace unsigned long with uint64_t.
27856 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27857 Paul Pluzhnikov <ppluzhnikov@google.com>
27860 * grp/Makefile (otherlibs): Don't set it.
27861 * inet/Makefile (otherlibs): Likewise.
27862 * login/Makefile (otherlibs): Likewise.
27863 * nscd/Makefile (otherlibs): Likewise.
27864 * posix/Makefile (otherlibs): Likewise.
27865 * pwd/Makefile (otherlibs): Likewise.
27866 * rt/Makefile (otherlibs): Likewise.
27867 * sunrpc/Makefile (otherlibs): Likewise.
27868 * nss/Makefile (otherlibs): Likewise.
27869 Add libnss_files to routines and static-only-routines.
27870 ($(objpfx)getent): Remove rule.
27871 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27872 static-only-routines.
27874 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27877 * math/s_cexp.c: Include <float.h>.
27878 (__cexp): Handle exp result overflowing not necessarily
27879 overflowing both real and imaginary parts of result.
27880 * math/s_cexpf.c: Likewise.
27881 * math/s_cexpl.c: Likewise.
27882 * math/libm-test.inc (cexp_test): Add more tests.
27883 * sysdeps/i386/fpu/libm-test-ulps: Update.
27884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27886 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27888 * include/link.h (ELFW): New macro.
27889 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27890 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27892 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27894 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27897 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27899 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27901 (struct La_x32_retval): Likewise.
27903 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27905 * sysdeps/x86_64/preconfigure.in: New file.
27906 * sysdeps/x86_64/preconfigure: New generated file.
27908 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27911 * math/e_exp2l.c: Include <float.h>.
27912 (__ieee754_exp2l): Handle overflow and underflow cases
27913 separately. Only pass fractional part of argument to
27915 * math/libm-test.inc (exp2_test): Add more tests.
27917 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27918 negating x to take absolute value.
27919 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27921 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27922 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27924 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27925 computing low part if x was negated.
27926 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27928 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27930 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27931 la_x32_gnu_pltexit.
27932 (pltexit): Cast int_retval to ptrdiff_t.
27933 * elf/tst-auditmod3b.c: Likewise.
27934 * elf/tst-auditmod4b.c: Likewise.
27935 * elf/tst-auditmod5b.c: Likewise.
27936 * elf/tst-auditmod6b.c: Likewise.
27937 * elf/tst-auditmod6c.c: Likewise.
27938 * elf/tst-auditmod7b.c: Likewise.
27940 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27941 and x32_gnu_pltexit.
27943 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27944 __ELF_NATIVE_CLASS.
27945 (La_x32_regs): New macro.
27946 (La_x32_retval): Likewise.
27947 (la_x32_gnu_pltenter): New function prototype.
27948 (la_x32_gnu_pltexit): Likewise.
27950 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27957 * configure.in (libc_cv_cc_nofma): Check for option to disable
27958 generation of FMA instructions.
27959 * configure: Regenerate.
27960 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27961 * sysdeps/ieee754/dbl-64/Makefile: New file.
27962 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27963 Remove brandred-fma4.
27964 (CFLAGS-brandred-fma4.c): Remove.
27965 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27966 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27968 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27971 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27973 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27974 LLONG_MAX != LONG_MAX.
27975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27976 (_fitoa_word): Likewise.
27977 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27978 LLONG_MAX != LONG_MAX.
27979 * stdio-common/_itowa.h: Include <_itoa.h>.
27980 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27981 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27982 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27983 only if not defined.
27984 (_ITOA_WORD_TYPE): Likewise.
27985 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27986 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27988 2012-03-21 David S. Miller <davem@davemloft.net>
27990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27992 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27994 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27995 of x86_64 when setting libc_cv_slibdir, libdir and
27997 * sysdeps/unix/sysv/linux/configure: Regenerated.
27999 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28001 * manual/lang.texi (Old Varargs): Remove section.
28002 (How Variadic): Update menu.
28003 (va_start): Do not mention varargs.h.
28005 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28006 Joseph Myers <joseph@codesourcery.com>
28008 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28010 * configure: Regenerated.
28012 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28014 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28015 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28018 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28021 * Makefile (files-for-dist): Remove NOTES.
28022 (NOTES): Remove rule.
28023 * README: Don't refer to NOTES.
28024 * manual/creature.texi: Don't include macros.texi.
28025 * manual/intro.texi (creature.texi): Remove comment referring to
28028 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28029 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28030 * configure: Regenerated.
28031 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28032 LIBC_TRY_CC_OPTION.
28033 (libc_cv_as_i686): Likewise.
28034 (libc_cv_cc_avx): Likewise.
28035 (libc_cv_cc_sse2avx): Likewise.
28036 (libc_cv_cc_fma4): Likewise.
28037 (libc_cv_cc_novzeroupper): Likewise.
28038 * sysdeps/i386/configure: Regenerated.
28041 * sysdeps/i386/fpu/s_cexp.S: Remove.
28042 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28043 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28044 * math/libm-test.inc (cexp_test): Add more tests.
28045 * sysdeps/i386/fpu/libm-test-ulps: Update.
28046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28048 2012-03-21 Allan McRae <allan@archlinux.org>
28050 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28052 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28055 * math/w_exp2.c: Do not include <float.h>.
28056 (o_threshold, u_threshold): Remove.
28057 (__exp2): Calculate result before checking finiteness and calling
28059 * math/w_exp2f.c: Likewise.
28060 * math/w_exp2l.c: Likewise.
28061 * math/libm-test.inc (exp2_test): Require overflow exception for
28065 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28066 range of signed 64-bit integers before using fistpll. Remove
28067 checks for whether integers fit in mantissa bits.
28068 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28069 the range of signed 32-bit integers before using fistpl. Remove
28070 checks for whether integers fit in mantissa bits.
28071 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28072 (__ieee754_powl): Test for y outside the range of signed 64-bit
28073 integers before using fistpll. Reduce 64-bit values to 63-bit
28075 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28076 divide-by-zero is raised for zero to large negative powers.
28077 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28078 (__ieee754_powl): Test for y outside the range of signed 64-bit
28079 integers before using fistpll. Reduce 64-bit values to 63-bit
28081 * math/libm-test.inc (pow_test): Add more tests.
28083 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28085 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28086 <stdio-common/_itoa.h>.
28087 * debug/segfault.c: Likewise.
28088 * elf/dl-cache.c: Likewise.
28089 * elf/dl-minimal.c: Likewise.
28090 * elf/dl-misc.c: Likewise.
28091 * elf/dl-sysdep.c: Likewise.
28092 * elf/dl-version.c: Likewise.
28093 * elf/rtld.c: Likewise.
28094 * hurd/hurdsock.c: Likewise.
28095 * hurd/lookup-retry.c: Likewise.
28096 * malloc/malloc.c: Likewise.
28097 * malloc/mtrace.c: Likewise.
28098 * nscd/nscd_getgr_r.c: Likewise.
28099 * nscd/nscd_getpw_r.c: Likewise.
28100 * nscd/nscd_getserv_r.c: Likewise.
28101 * posix/getopt_init.c: Likewise.
28102 * posix/wordexp.c: Likewise.
28103 * stdio-common/_itoa.c: Likewise.
28104 * stdio-common/printf_fphex.c: Likewise.
28105 * stdio-common/vfprintf.c: Likewise.
28106 * string/_strerror.c: Likewise.
28107 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28108 * sysdeps/i386/i686/hp-timing.h: Likewise.
28109 * sysdeps/mach/_strerror.c: Likewise.
28110 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28111 * sysdeps/mach/hurd/sethostid.c: Likewise.
28112 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28113 * sysdeps/mach/xpg-strerror.c: Likewise.
28114 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28115 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28116 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28117 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28118 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28119 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28120 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28121 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28122 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28123 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28124 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28125 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28126 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28127 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28128 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28129 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28130 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28131 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28132 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28133 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28134 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28136 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28138 * stdio-common/_itoa.h: Moved to ...
28139 * sysdeps/generic/_itoa.h: Here.
28141 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28143 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28144 instead of "_itoa.h" and "_itowa.h".
28145 * stdio-common/vfprintf.: Likewise.
28147 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28149 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28151 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28152 (__signbit): Likwise.
28153 (llrintf): Likwise.
28156 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28158 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28161 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28163 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28164 OVERFLOW_EXCEPTION_OK.
28165 * math/libm-test.inc ("Philosophy"): Update comment about
28167 (OVERFLOW_EXCEPTION): Define.
28168 (OVERFLOW_EXCEPTION_OK): Likewise.
28169 (INVALID_EXCEPTION_OK): Renumber.
28170 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28171 (IGNORE_ZERO_INF_SIGN): Likewise.
28172 (test_exceptions): Handle FE_OVERFLOW.
28173 (exp10_test): Expect overflow exceptions.
28174 (exp2_test): Likewise.
28175 (expm1_test): Likewise.
28176 (nextafter_test): Likewise.
28177 (pow_test): Likewise.
28178 (scalbn_test): Likewise.
28179 (scalbln_test): Likewise.
28181 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28183 * sysdeps/x86_64/bits/atomic.h
28184 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28186 (atomic_exchange_acq): Likewise.
28187 (__arch_exchange_and_add_body): Likewise.
28188 (__arch_add_body): Likewise.
28189 (atomic_add_negative): Likewise.
28190 (atomic_add_zero): Likewise.
28192 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28194 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28195 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28197 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28199 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28200 Check __x86_64__ instead of __WORDSIZE.
28202 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28204 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28206 2012-03-19 David S. Miller <davem@davemloft.net>
28208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28210 * sysdeps/sparc/fpu/fenv_private.h: New file.
28211 * sysdeps/sparc/fpu/math_private.h: Use it.
28212 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28214 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28215 (libc_feholdexcept_setroundl): Remove.
28216 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28218 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28219 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28221 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28223 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28224 int64_t instead of long int.
28225 (INSERT_WORDS64): Likwise.
28227 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28229 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28230 _Unwind_GetCFA return to _Unwind_Ptr first.
28232 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28235 * math/s_clog.c: Include <float.h>.
28236 (__clog): Scale large or subnormal inputs.
28237 * math/s_clogf.c: Likewise.
28238 * math/s_clogl.c: Likewise.
28239 * math/s_clog10.c: Include <float.h>.
28240 (M_LOG10_2): Define.
28241 (__clog10): Scale large or subnormal inputs.
28242 * math/s_clog10f.c: Likewise.
28243 * math/s_clog10l.c: Likewise.
28244 * math/libm-test.inc (clog_test): Add more tests.
28245 (clog10_test): Likewise.
28246 * sysdeps/i386/fpu/libm-test-ulps: Update.
28247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28250 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28252 * math/libm-test.inc (atan2_test): Add another test.
28254 * Makerules (common-objdir-compile): Remove.
28255 * sysdeps/unix/Makefile (config-generated): Do not add
28256 $(unix-generated) to variable.
28257 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28258 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28260 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28262 [generic bits/local_lim.h] (before-compile): Do not append to
28264 [generic bits/local_lim.h] (common-generated): Likewise.
28265 [generic sys/param.h] (before-compile): Do not append to variable.
28266 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28267 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28268 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28269 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28271 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28272 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28273 [generic sys/param.h] ($(addprefix
28274 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28275 [generic sys/param.h] (common-generated): Do not append to
28277 [generic sys/param.h] (sysdep_headers): Likewise.
28278 [generic bits/errno.h] (before-compile): Do not append to
28280 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28282 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28283 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28284 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28285 [generic bits/errno.h] (common-generated): Do not append to
28287 [generic bits/ioctls.h] (before-compile): Do not append to
28289 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28291 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28292 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28293 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28295 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28296 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28297 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28298 [generic bits/ioctls.h] (common-generated): Do not append to
28300 [generic sys/syscall.h] (syscall.h): Remove variable.
28301 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28303 [generic sys/syscall.h] (before-compile): Do not append to
28305 [generic sys/syscall.h] (common-generated): Likewise.
28306 * sysdeps/unix/errnos-tmpl.c: Remove file.
28307 * sysdeps/unix/errnos.awk: Likewise.
28308 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28309 * sysdeps/unix/ioctls.awk: Likewise.
28310 * sysdeps/unix/mk-local_lim.c: Likewise.
28311 * sysdeps/unix/snarf-ioctls: Likewise.
28313 2012-03-19 Richard Henderson <rth@twiddle.net>
28315 * sysdeps/i386/fpu/fenv_private.h: New file.
28316 * sysdeps/i386/fpu/math_private.h: Use it.
28317 (math_opt_barrier, math_force_eval): Remove.
28318 (libc_feholdexcept_setround_53bit): Remove.
28319 (libc_feupdateenv_53bit): Remove.
28320 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28321 (math_opt_barrier, math_force_eval): Remove.
28322 (libc_feholdexcept): Remove.
28323 (libc_feholdexcept_setround): Remove.
28324 (libc_fetestexcept, libc_fesetenv): Remove.
28325 (libc_feupdateenv_test): Remove.
28326 (libc_feupdateenv, libc_feholdsetround): Remove.
28327 (libc_feresetround): Remove.
28329 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28330 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28332 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28333 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28334 (libc_feupdateenv_testl): New.
28335 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28336 (libc_feupdateenv_testf): New.
28337 (libc_feupdateenv): Use libc_feupdateenv_test.
28338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28339 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28341 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28342 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28343 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28344 (libc_feresetround_noex): New.
28345 (libc_feresetround_noexf): New.
28346 (libc_feresetround_noexl): New.
28347 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28348 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28349 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28350 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28353 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28355 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28356 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28357 SET_RESTORE_ROUND_NOEX.
28358 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28359 SET_RESTORE_ROUND_NOEXF.
28360 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28361 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28362 (libc_feholdsetroundf): New.
28363 (libc_feresetround, libc_feresetroundf): New.
28365 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28366 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28367 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28369 * sysdeps/generic/math_private.h: Include <fenv.h>.
28370 (default_libc_feholdexcept): New.
28371 (default_libc_feholdexcept_setround): New.
28372 (default_libc_fesetenv, default_libc_feupdateenv): New.
28373 (libc_feholdexcept): Only define if undefined.
28374 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28375 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28376 (libc_feholdexcept_setroundl): Likewise.
28377 (libc_feholdexcept_setround_53bit): Likewise.
28378 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28379 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28380 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28381 (libc_feupdateenv_53bit): Likewise.
28382 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28383 (libc_feholdexcept): Convert from macro to inline function.
28384 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28385 (libc_fesetenv, libc_feupdateenv): Likewise.
28387 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28388 not previously defined.
28389 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28390 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28391 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28392 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28393 * sysdeps/ieee754/flt-32/math_private.h: New file.
28394 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28395 math_private.h below SET_FLOAT_WORD.
28396 (__isnan, __isinf_ns, __finite): Remove.
28397 (__isnanf, __isinf_nsf, __finitef): Remove.
28399 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28403 2012-03-17 David S. Miller <davem@davemloft.net>
28406 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28409 2012-03-16 David S. Miller <davem@davemloft.net>
28411 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28415 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28417 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28418 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28419 sysdep_routines when subdir is sysvipc.
28420 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28421 __getshmlba helper.
28423 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28425 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28427 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28430 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28432 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28433 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28434 (__lround): Renamed to ...
28435 (__llround): This. Replace long int with long long int.
28436 Define lround functions as aliases of llround functions.
28437 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28439 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28441 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28442 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28443 adresses to uintptr_t. Replace "long int" and "unsigned long
28444 int" with "greg_t" on va_arg.
28446 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28448 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28449 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28451 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28452 Move e_machine check before EI_CLASS check. Handle x32
28453 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28454 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28455 SKIP_EM_IA_64 and include
28456 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28458 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28459 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28460 (add_system_dir): New macro.
28462 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28463 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28465 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28476 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28478 * math/w_j0f.c (j0f): Likewise.
28480 * math/w_j0l.c (__j0l): Likewise.
28482 * math/w_j1.c (j1): Likewise.
28484 * math/w_j1f.c (j1f): Likewise.
28486 * math/w_j1l.c (__j1l): Likewise.
28488 * math/w_jn.c (jn): Likewise.
28490 * math/w_jnf.c (jnf): Likewise.
28492 * math/w_jnl.c (__jnl): Likewise.
28494 * math/libm-test.inc (j0_test): Add more tests.
28495 (j1_test): Likewise.
28496 (jn_test): Likewise. Add trailing semicolon to existing test.
28497 (y0_test): Likewise.
28498 (y1_test): Likewise.
28499 * sysdeps/i386/fpu/libm-test-ulps: Update.
28500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28504 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28505 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28506 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28507 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28508 (__tanl): Set errno for infinite argument.
28509 * sysdeps/i386/fpu/mptan.c: Remove.
28510 * sysdeps/i386/fpu/s_tan.S: Likewise.
28511 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28512 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28513 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28514 * math/libm-test.inc (tan_test): Add more tests and enable more
28515 tests for double and long double.
28516 * sysdeps/i386/fpu/libm-test-ulps: Update.
28517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28519 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28521 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28522 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28524 2012-03-16 Roland McGrath <roland@hack.frob.com>
28526 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28527 * configure.in: Use it for both main tree and add-ons.
28528 * configure: Regenerated.
28530 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28532 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28534 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28536 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28540 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28541 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28542 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28543 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28544 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28546 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28547 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28548 != 0 for prec == 2.
28549 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28550 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28551 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28552 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28553 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28554 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28555 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28556 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28557 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28558 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28559 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28560 * math/libm-test.inc (cos_test): Add more tests and enable more
28561 tests for long double.
28562 (sin_test): Likewise.
28563 (sincos_test): Likewise.
28564 * sysdeps/i386/fpu/libm-test-ulps: Update.
28565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28567 2012-03-16 David S. Miller <davem@davemloft.net>
28569 * sysdeps/sparc/fpu/math_private.h: New file.
28571 2012-03-15 David S. Miller <davem@davemloft.net>
28573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28587 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28588 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28590 * sysdeps/sparc/sparc-ifunc.h: New file.
28591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28631 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28633 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28636 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28638 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28642 2012-03-15 Andreas Jaeger <aj@suse.de>
28645 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28646 ieee754/flt-32 implementation for sin, cos and sincos.
28647 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28648 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28649 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28650 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28651 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28652 ieee754/flt-32 implementation for tan.
28654 * math/libm-test.inc (cos_test): Enable some large input tests for
28656 (sin_test): Likewise.
28657 (sincos_test): Likewise.
28658 (tan_test): Add tests for large input.
28660 * sysdeps/i386/fpu/libm-test-ulps: Update.
28662 2012-03-15 Andreas Jaeger <aj@suse.de>
28665 * math/libm-test.inc (cos_test): Add more test cases.
28666 (sin_test): Likewise.
28667 (sincos_test): Likewise.
28669 2012-03-15 Andreas Jaeger <aj@suse.de>
28672 * math/libm-test.inc (cos_test): Add a test case for large input
28674 (sin_test): Likewise.
28675 (sincos_test): Likewise.
28677 2012-03-15 Andreas Jaeger <aj@suse.de>,
28678 Joseph Myers <joseph@codesourcery.com>
28681 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28682 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28683 * sysdeps/i386/fpu/branred.c: Likewise.
28684 * sysdeps/i386/fpu/dosincos.c: Likewise.
28685 * sysdeps/i386/fpu/mpa.c: Likewise.
28686 * sysdeps/i386/fpu/s_cos.S: Likewise.
28687 * sysdeps/i386/fpu/s_sin.S: Likewise.
28688 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28689 * sysdeps/i386/fpu/sincos32.c: Likewise.
28691 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28693 (libc_feupdateenv_53bit): Define.
28694 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28696 (libc_feupdateenv_53bit): Define.
28698 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28699 53 bit (without extend i386 double precision).
28701 * math/libm-test.inc (sincos_test): Add tests for large input.
28705 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28707 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28711 2012-03-15 David S. Miller <davem@davemloft.net>
28713 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28714 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28715 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28716 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28741 fmin/fmax sysdep routines.
28742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28744 2012-03-14 David S. Miller <davem@davemloft.net>
28746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28770 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28818 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28823 * sysdeps/sparc/configure.in: New file.
28824 * sysdeps/sparc/configure: Generate.
28825 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28826 * configure: Regenerate.
28827 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28828 * config.make.in (have-as-vis3): New.
28829 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28830 available use -Av9d instead of -Av9a.
28831 * sysdeps/sparc/sparc64/Makefile: Likewise.
28832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28841 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28847 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28848 fzeros/fnegs to load 0x80000000 into a float register instead of
28850 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28852 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28856 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28857 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28858 ($(inst_includedir)/bits/syscall.h): Remove rule.
28859 ($(objpfx)bits/syscall.d): Include instead of
28860 $(objpfx)syscall-list.d.
28861 (generated): Change syscall-list.h and syscall-list.d to
28862 bits/syscall.h and bits/syscall.d.
28864 2012-03-14 Roland McGrath <roland@hack.frob.com>
28867 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28869 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28872 * math/s_csqrt.c: Include <float.h>.
28873 (__csqrt): Scale large or subnormal inputs.
28874 * math/s_csqrtf.c: Likewise.
28875 * math/s_csqrtl.c: Likewise.
28876 * math/libm-test.inc (csqrt_test): Add more tests.
28877 * sysdeps/i386/fpu/libm-test-ulps: Update.
28878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28881 * math/libm-test.inc (hypot_test): Add more tests.
28883 2012-03-13 David S. Miller <davem@davemloft.net>
28886 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28887 double-precision for the calculation instead of scaling.
28889 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28891 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28892 manipulate bits before adding and subtracting TWO52[sx].
28893 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28894 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28896 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28898 2012-03-13 David S. Miller <davem@davemloft.net>
28900 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28901 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28903 rtld-global-offsets.h
28904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28906 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28909 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28911 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28912 'err' in the ifdef scope in which it is actually used.
28914 * nss/nss_db/db-init.c: Include string.h
28916 2012-03-12 David S. Miller <davem@davemloft.net>
28918 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28919 masking out of the most significant byte of random value used.
28920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28921 Fix coding style in previous change.
28923 * sysdeps/unix/sysv/linux/kernel-features.h
28924 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28925 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28927 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28930 2012-03-11 David S. Miller <davem@davemloft.net>
28932 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28933 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28934 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28935 for 'resultvar' otherwise things get truncated on 64-bit.
28937 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28938 Fix masking out of the most significant byte of random value used.
28940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28942 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28946 2012-03-09 David S. Miller <davem@davemloft.net>
28948 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28949 variables with appropriate CPP guards.
28950 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28951 frame pointer, not the stack pointer. Correct layout comments. Fix test
28952 on resulting framesize and the management of the outregs buffer for pltexit.
28953 Preserve floating point return values across _dl_call_pltexit call.
28954 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28955 framesize and the management of the outregs buffer for pltexit.
28956 Preserve floating point return values across _dl_call_pltexit
28958 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28959 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28960 (print_exit): Fix format string for return register value.
28962 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28964 * sunrpc/Makefile (others): Add rpcgen.
28965 ($(objpfx)rpcgen): Remove special build rule and dependency on
28967 * sunrpc/rpcgen.c: New file.
28969 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28972 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28973 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28974 * sysdeps/i386/crti.S: Likewise.
28975 * sysdeps/i386/crtn.S: Likewise.
28976 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28977 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28978 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28979 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28980 * sysdeps/sh/crti.S: Likewise.
28981 * sysdeps/sh/crtn.S: Likewise.
28982 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28985 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28987 * locale/programs/locfile-kw.gperf: Likewise.
28988 * locale/programs/charmap-kw.h: Regenerated.
28989 * locale/programs/locfile-kw.h: Likewise.
28992 * intl/plural.y: Replace FSF snail mail address with URL.
28993 * intl/plural.c: Regenerated.
28995 2012-03-09 Richard Henderson <rth@twiddle.net>
28997 * include/math_private.h: Remove file.
28998 * math/math_private.h: Move file ...
28999 * sysdeps/generic/math_private.h: ... here.
29001 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29002 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29003 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29005 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29006 and <math_private.h>.
29007 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29008 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29009 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29010 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29011 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29025 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29026 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29028 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29029 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29031 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29032 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29033 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29034 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29036 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29037 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29038 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29039 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29040 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29041 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29042 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29043 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29044 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29045 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29068 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29070 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29071 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29075 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29076 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29078 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29079 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29080 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29081 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29082 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29086 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29087 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29088 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29089 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29090 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29094 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29095 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29096 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29097 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29098 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29099 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29100 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29101 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29102 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29103 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29104 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29105 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29106 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29107 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29108 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29109 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29110 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29111 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29112 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29113 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29114 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29115 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29116 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29117 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29118 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29119 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29120 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29121 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29122 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29123 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29124 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29125 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29126 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29127 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29128 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29129 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29130 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29131 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29132 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29133 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29134 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29135 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29136 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29137 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29138 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29139 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29140 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29141 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29142 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29143 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29144 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29145 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29146 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29147 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29148 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29149 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29150 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29151 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29152 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29153 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29154 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29155 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29156 * sysdeps/ieee754/k_standard.c: Likewise.
29157 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29158 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29159 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29160 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29161 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29165 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29176 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29183 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29184 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29239 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29247 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29248 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29250 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29252 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29272 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29276 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29277 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29279 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29280 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29284 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29289 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29290 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29291 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29292 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29293 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29294 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29301 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29303 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29304 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29305 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29306 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29307 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29315 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29317 * sysdeps/ieee754/s_lib_version.c: Likewise.
29318 * sysdeps/ieee754/s_matherr.c: Likewise.
29319 * sysdeps/ieee754/s_signgam.c: Likewise.
29320 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29321 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29322 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29323 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29324 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29325 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29326 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29327 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29328 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29329 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29330 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29331 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29332 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29333 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29334 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29335 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29336 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29337 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29338 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29342 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29344 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29345 * sunrpc/rpc_main.c: Likewise.
29346 * sunrpc/rpc_svcout.c: Likewise.
29348 2012-03-09 David S. Miller <davem@davemloft.net>
29350 * include/math_private.h: New file.
29352 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29354 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29355 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29356 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29357 from <bits/socket_type.h>.
29358 (enum __socket_type): Don't define here.
29359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29361 bits/socket_type.h.
29364 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29365 checking __USE_GNU.
29367 * Makerules ($(inst_includedir)/%.h): New rule.
29368 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29369 (install-others): Remove variable setting.
29370 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29372 2012-03-08 Richard Henderson <rth@twiddle.net>
29374 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29375 from macro to inline function; merge with the
29376 !__LIBC_INTERNAL_MATH_INLINES version.
29377 (__ieee754_sqrtf): Likewise.
29379 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29380 to inline function.
29381 (__rintf, __floor, __floorf): Likewise.
29383 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29384 macro to inline function.
29385 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29387 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29388 not <math/math_private.h>.
29390 2012-03-08 David S. Miller <davem@davemloft.net>
29392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29394 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29396 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29398 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29400 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29401 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29403 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29405 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29406 be defined individually, they must be defined as a block. Define
29407 S for printing a string instead of hidint the different by using a
29408 macro for adding the 'l'.
29409 * stdio-common/tst-fphex-wide.c: Adjust.
29411 2012-03-07 Marek Polacek <polacek@redhat.com>
29413 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29415 2012-03-08 Marek Polacek <polacek@redhat.com>
29418 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29419 * stdio-common/tst-fphex.c: Define a few macros to make the
29420 test reusable. Use them.
29421 * stdio-common/tst-fphex-wide.c: New file.
29423 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29426 * manual/macros.texi (gnusystems): New macro.
29427 (nongnusystems): Likewise.
29428 (gnulinuxhurdsystems): Likewise.
29429 (gnuhurdsystems): Likewise..
29430 (gnulinuxsystems): Likewise.
29431 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29432 variants of the GNU system, not "GNU system".
29433 * manual/conf.texi: Likewise.
29434 * manual/errno.texi: Likewise. Update example of errno macro
29436 * manual/filesys.texi: Likewise.
29437 (getumask): Document as specific to GNU/Hurd.
29438 * manual/install.texi: Likewise. Reword some references to
29440 * manual/intro.texi: Likewise.
29441 * manual/io.texi: Likewise.
29442 (File Name Portability): Detail which constraints are inapplicable
29443 to all GNU systems and which are only inapplicable to GNU/Hurd.
29444 * manual/job.texi: Likewise.
29445 * manual/llio.texi: Likewise.
29446 (O_NOCTTY): Document as present on GNU/Linux.
29447 * manual/maint.texi: Likewise.
29448 * manual/memory.texi: Likewise.
29449 * manual/pattern.texi: Likewise.
29450 * manual/pipe.texi: Likewise.
29451 * manual/process.texi: Likewise.
29452 * manual/resource.texi: Likewise.
29453 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29455 * manual/setjmp.texi: Likewise.
29456 * manual/signal.texi: Likewise.
29457 * manual/startup.texi: Likewise.
29458 * manual/stdio.texi: Likewise.
29459 * manual/terminal.texi: Likewise.
29460 (ONLCR): Document as POSIX.
29461 (OXTABS): Document availability on GNU/Linux as XTABS.
29462 (ONOEOT): Document availability separately from other bits.
29463 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29464 * manual/time.texi: Likewise.
29465 * manual/users.texi: Likewise.
29466 * INSTALL: Regenerated.
29467 * sysdeps/gnu/errlist.c: Regenerated.
29469 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29470 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29471 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29473 * configure: Regenerated.
29475 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29477 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29478 default includes instead of AC_HEADER_CHECK.
29479 * sysdeps/i386/configure: Regenerated.
29482 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29483 * math/s_cacoshf.c (__cacoshf): Likewise.
29484 * math/s_cacoshl.c (__cacoshl): Likewise.
29485 * math/s_casinh.c (__casinh): Set signs of result from argument.
29486 * math/s_casinhf.c (__casinhf): Likewise.
29487 * math/s_casinhl.c (__casinhl): Likewise.
29488 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29489 (casinh_test): Add more tests.
29490 * sysdeps/i386/fpu/libm-test-ulps: Update.
29491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29493 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29495 * po/zh_TW.po: Update from translation team.
29497 * login/Makefile (distribute): Remove variable.
29498 * catgets/Makefile: Likewise.
29499 * mach/Makefile: Likewise.
29500 * malloc/Makefile: Likewise.
29501 * misc/Makefile: Likewise.
29502 * iconv/Makefile: Likewise.
29503 * nscd/Makefile: Likewise.
29504 * hurd/Makefile: Likewise.
29505 * manual/Makefile: Likewise.
29506 * locale/Makefile: Likewise.
29507 * intl/Makefile: Likewise.
29508 * conform/Makefile: Likewise.
29509 * nss/Makefile: Likewise.
29510 * time/Makefile: Likewise.
29511 * soft-fp/Makefile: Likewise.
29512 * dirent/Makefile: Likewise.
29513 * gmon/Makefile: Likewise.
29514 * po/Makefile: Likewise.
29515 * rt/Makefile: Likewise.
29516 * socket/Makefile: Likewise.
29517 * math/Makefile: Likewise.
29518 * signal/Makefile: Likewise.
29519 * debug/Makefile: Likewise.
29520 * elf/Makefile: Likewise.
29521 * timezone/Makefile: Likewise.
29522 * stdlib/Makefile: Likewise.
29523 * iconvdata/Makefile: Likewise.
29524 * sunrpc/Makefile: Likewise.
29525 * io/Makefile: Likewise.
29526 * argp/Makefile: Likewise.
29527 * inet/Makefile: Likewise.
29528 * hesiod/Makefile: Likewise.
29529 * grp/Makefile: Likewise.
29530 * csu/Makefile: Likewise.
29531 * wctype/Makefile: Likewise.
29532 * crypt/Makefile: Likewise.
29533 * libio/Makefile: Likewise.
29534 * string/Makefile: Likewise.
29535 * nis/Makefile: Likewise.
29536 * resolv/Makefile: Likewise.
29537 * stdio-common/Makefile: Likewise.
29538 * wcsmbs/Makefile: Likewise.
29539 * dlfcn/Makefile: Likewise.
29540 * posix/Makefile: Likewise.
29543 * timezone/Makefile: Don't install timezone files, just the programs
29546 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29548 * nss/databases.def: Add missing gshadow entry.
29550 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29552 2012-03-06 Marek Polacek <polacek@redhat.com>
29555 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29556 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29557 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29558 * stdio-common/tst-long-dbl-fphex.c: New file.
29560 2012-03-06 David S. Miller <davem@davemloft.net>
29562 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29563 (set_obp_int): New function.
29564 (get_obp_int): New function.
29565 (__get_clockfreq_via_dev_openprom): Likewise.
29566 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29567 Avoid unused variable warnings on 'val' and use builtin_expect.
29568 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29570 (INLINE_CLONE_SYSCALL): Likewise.
29572 2012-03-05 David S. Miller <davem@davemloft.net>
29574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29576 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29580 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29581 only for |x| >= 40.
29582 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29584 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29586 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29587 Replace gettimeofday with __vdso_gettimeofday.
29589 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29590 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29591 __vdso_clock_gettime and __vdso_getcpu.
29593 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29594 time with __vdso_time.
29596 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29598 * manual/lang.texi (size_t): Note types to which size_t may be
29599 equivalent with the GNU C Library, but do not describe when
29600 differences between them are significant.
29602 2012-03-05 Andreas Jaeger <aj@suse.de>
29604 * sysdeps/i386/fpu/libm-test-ulps: Update.
29606 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29609 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29610 (__ieee754_pow): Save and restore rounding mode and use
29611 round-to-nearest for main computations.
29612 * math/libm-test.inc (pow_test_tonearest): New function.
29613 (pow_test_towardzero): Likewise.
29614 (pow_test_downward): Likewise.
29615 (pow_test_upward): Likewise.
29616 (main): Call the new functions.
29617 * sysdeps/i386/fpu/libm-test-ulps: Update.
29618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29621 * math/libm-test.inc (cosh_test_tonearest): New function.
29622 (cosh_test_towardzero): Likewise.
29623 (cosh_test_downward): Likewise.
29624 (cosh_test_upward): Likewise.
29625 (sinh_test_tonearest): Likewise.
29626 (sinh_test_towardzero): Likewise.
29627 (sinh_test_downward): Likewise.
29628 (sinh_test_upward): Likewise.
29629 (main): Call the new functions.
29630 * sysdeps/i386/fpu/libm-test-ulps: Update.
29631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29633 2012-03-05 Tom de Vries <tom@codesourcery.com>
29635 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29636 default stack guard is set in last bytes.
29637 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29639 2012-03-05 Kees Cook <keescook@chromium.org>
29641 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29644 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29645 possibly allocate from heap instead of stack.
29646 * stdio-common/bug-vfprintf-nargs.c: New file.
29647 * stdio-common/Makefile (tests): Add nargs overflow test.
29649 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29653 2012-03-03 Marek Polacek <polacek@redhat.com>
29655 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29656 * math/math_private.h: Likewise.
29657 * stdlib/tst-strtod.c: Likewise.
29658 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29659 * sysdeps/x86_64/bits/atomic.h: Likewise.
29661 2012-03-02 David S. Miller <davem@davemloft.net>
29663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29667 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29668 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29669 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29670 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29672 2012-03-02 Roland McGrath <roland@hack.frob.com>
29675 * manual/examples/README: New file, says the example source files
29676 can be used under GPL>=2.
29677 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29678 line containing just "*/".
29679 * manual/examples/add.c: Add copyright header (GPL>=2).
29680 * manual/examples/argp-ex1.c: Likewise.
29681 * manual/examples/argp-ex2.c: Likewise.
29682 * manual/examples/argp-ex3.c: Likewise.
29683 * manual/examples/argp-ex4.c: Likewise.
29684 * manual/examples/atexit.c: Likewise.
29685 * manual/examples/db.c: Likewise.
29686 * manual/examples/dir.c: Likewise.
29687 * manual/examples/dir2.c: Likewise.
29688 * manual/examples/execinfo.c: Likewise.
29689 * manual/examples/filecli.c: Likewise.
29690 * manual/examples/filesrv.c: Likewise.
29691 * manual/examples/fmtmsgexpl.c: Likewise.
29692 * manual/examples/genpass.c: Likewise.
29693 * manual/examples/inetcli.c: Likewise.
29694 * manual/examples/inetsrv.c: Likewise.
29695 * manual/examples/isockad.c: Likewise.
29696 * manual/examples/longopt.c: Likewise.
29697 * manual/examples/memopen.c: Likewise.
29698 * manual/examples/memstrm.c: Likewise.
29699 * manual/examples/mkfsock.c: Likewise.
29700 * manual/examples/mkisock.c: Likewise.
29701 * manual/examples/mygetpass.c: Likewise.
29702 * manual/examples/pipe.c: Likewise.
29703 * manual/examples/popen.c: Likewise.
29704 * manual/examples/rprintf.c: Likewise.
29705 * manual/examples/search.c: Likewise.
29706 * manual/examples/select.c: Likewise.
29707 * manual/examples/setjmp.c: Likewise.
29708 * manual/examples/sigh1.c: Likewise.
29709 * manual/examples/sigusr.c: Likewise.
29710 * manual/examples/stpcpy.c: Likewise.
29711 * manual/examples/strdupa.c: Likewise.
29712 * manual/examples/strftim.c: Likewise.
29713 * manual/examples/strncat.c: Likewise.
29714 * manual/examples/subopt.c: Likewise.
29715 * manual/examples/swapcontext.c: Likewise.
29716 * manual/examples/termios.c: Likewise.
29717 * manual/examples/testopt.c: Likewise.
29718 * manual/examples/testpass.c: Likewise.
29719 * manual/examples/timeval_subtract.c: Likewise.
29722 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29724 * manual/timeval_subtract.c.texi: ... here, new file.
29726 2012-03-02 David S. Miller <davem@davemloft.net>
29728 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29730 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29733 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29734 (__sin): Save and restore rounding mode and use round-to-nearest
29735 for all computations.
29736 (__cos): Save and restore rounding mode and use round-to-nearest
29737 for all computations.
29738 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29740 (tan): Save and restore rounding mode and use round-to-nearest for
29742 * math/libm-test.inc (cos_test_tonearest): New function.
29743 (cos_test_towardzero): Likewise.
29744 (cos_test_downward): Likewise.
29745 (cos_test_upward): Likewise.
29746 (sin_test_tonearest): Likewise.
29747 (sin_test_towardzero): Likewise.
29748 (sin_test_downward): Likewise.
29749 (sin_test_upward): Likewise.
29750 (tan_test_tonearest): Likewise.
29751 (tan_test_towardzero): Likewise.
29752 (tan_test_downward): Likewise.
29753 (tan_test_upward): Likewise.
29754 (main): Call the new functions.
29755 * sysdeps/i386/fpu/libm-test-ulps: Update.
29756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29759 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29760 small n, then large n, before computing and testing k+n.
29761 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29766 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29767 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29772 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29773 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29774 * math/libm-test.inc (scalbn_test): Add more tests.
29775 (scalbln_test): Likewise.
29777 * manual/filesys.texi (mode_t): Describe constraints on size and
29778 signedness, not exact equivalence to a particular type.
29780 (ino64_t): Likewise.
29782 (nlink_t): Likewise.
29783 (blkcnt_t): Likewise.
29784 (blkcnt64_t): Likewise.
29785 * manual/llio.texi (off_t): Likewise.
29788 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29789 (__ieee754_exp): Save and restore rounding mode and use
29790 round-to-nearest for all computations.
29791 * math/libm-test.inc (exp_test_tonearest): New function.
29792 (exp_test_towardzero): Likewise.
29793 (exp_test_downward): Likewise.
29794 (exp_test_upward): Likewise.
29795 (main): Call the new functions.
29796 * sysdeps/i386/fpu/libm-test-ulps: Update.
29797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29799 2012-03-01 Chris Demetriou <cgd@google.com>
29801 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29802 have predictable order.
29804 2012-03-01 David S. Miller <davem@davemloft.net>
29806 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29808 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29809 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29810 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29811 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29813 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29814 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29815 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29817 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29818 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29819 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29820 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29821 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29825 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29826 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29829 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29830 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29831 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29832 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29833 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29834 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29835 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29836 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29837 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29838 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29839 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29840 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29842 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29843 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29845 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29846 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29847 * sysdeps/sparc/elf/configure: Regenerated.
29849 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29851 * configure.in (AS, LD): Require binutils 2.20 or later.
29852 * configure: Regenerated.
29853 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29854 as required minimum version.
29855 * INSTALL: Regenerated.
29859 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29860 before squaring exponent.
29861 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29862 bottom long double and 27 bits of top long double before squaring
29864 * math/libm-test.inc (erfc_test): Add more tests.
29865 * sysdeps/i386/fpu/libm-test-ulps: Update.
29866 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29869 2012-03-01 Kai Tietz <ktietz@redhat.com>
29871 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29872 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29873 containing bit-fields.
29874 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29875 * soft-fp/single.h (_FP_UNION_S): Likewise.
29876 * soft-fp/double.h (_FP_UNION_D): Likewise.
29878 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29881 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29882 not include ../strcmp.S.
29883 [USE_AS_STRNCASECMP_L]: Likewise.
29884 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29885 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29886 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29887 (__strncasecmp_l_ia32): Define as alias to
29888 __strncasecmp_l_nonascii.
29891 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29892 * sysdeps/i386/fpu/libm-test-ulps: Update.
29893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29895 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29898 2012-02-29 Jeff Law <law@redhat.com>
29900 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29901 out of bounds read.
29903 2012-02-29 Marek Polacek <polacek@redhat.com>
29906 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29907 * elf/Makefile: Add rules to run tst-unused-dep.out.
29909 2012-02-28 David S. Miller <davem@davemloft.net>
29911 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29912 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29913 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29914 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29915 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29916 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29918 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29920 * math/libm-test.inc (llround_test): Move one test from
29921 lround_test. Use TEST_f_L in moved test.
29922 (lround_test): Move misplaced test to llround_test. Add testcase
29925 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29927 * sysdeps/x86_64/fpu/e_expf.S: New file.
29928 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29930 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29933 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29934 of remain_len that may cause incomplete multi-byte character and
29936 * posix/bug-regex33.c: New file.
29937 * posix/Makefile (tests): Add bug-regex33.
29939 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29941 * manual/macros.texi: New file.
29942 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29943 * manual/libc.texinfo: Include macros.texi.
29944 * manual/creatute.texi: Likewise.
29945 * manual/install.texi: Likewise.
29946 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29947 @glibcadj{} in references to the GNU C Library.
29948 * manual/charset.texi: Likewise.
29949 * manual/conf.texi: Likewise.
29950 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29951 when not using those macros.
29952 * manual/creature.texi: Likewise.
29953 * manual/crypt.texi: Likewise.
29954 * manual/errno.texi: Likewise.
29955 * manual/filesys.texi: Likewise.
29956 * manual/header.texi: Likewise.
29957 * manual/install.texi: Likewise.
29958 * manual/intro.texi: Likewise.
29959 * manual/io.texi: Likewise.
29960 * manual/job.texi: Likewise.
29961 * manual/lang.texi: Likewise.
29962 * manual/libc.texiinfo: Likewise.
29963 * manual/llio.texi: Likewise.
29964 * manual/locale.texi: Likewise.
29965 * manual/maint.texi: Likewise.
29966 * manual/math.texi: Likewise.
29967 * manual/memory.texi: Likewise.
29968 * manual/message.texi: Likewise.
29969 * manual/nss.texi: Likewise.
29970 * manual/pattern.texi: Likewise.
29971 * manual/process.texi: Likewise.
29972 * manual/resource.texi: Likewise.
29973 * manual/search.texi: Likewise.
29974 * manual/setjmp.texi: Likewise.
29975 * manual/signal.texi: Likewise.
29976 * manual/socket.texi: Likewise.
29977 * manual/startup.texi: Likewise.
29978 * manual/stdio.texi: Likewise.
29979 * manual/string.texi: Likewise.
29980 * manual/sysinfo.texi: Likewise.
29981 * manual/syslog.texi: Likewise.
29982 * manual/terminal.texi: Likewise.
29983 * manual/time.texi: Likewise.
29984 * manual/users.texi: Likewise.
29985 * INSTALL: Regenerated.
29986 * NOTES: Regenerated.
29987 * sysdeps/gnu/errlist.c: Regenerated.
29989 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29991 * include/dirent.h: Include <dirstream.h> before
29994 2012-02-28 David S. Miller <davem@davemloft.net>
29996 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29997 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29998 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29999 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30001 2012-02-27 David S. Miller <davem@davemloft.net>
30003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30005 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30006 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30009 frame pointer instead of stack pointer relative arg slot.
30010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30011 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30012 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30014 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30017 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30019 2012-02-27 David S. Miller <davem@davemloft.net>
30021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30025 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30026 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30027 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30028 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30030 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30032 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30033 later. Allow versions 5-9.
30034 * configure: Regenerated.
30035 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30036 required minimum version and 4.6 as recommended version. Do not
30037 mention bugs in GCC 2.7 and 2.8.
30038 * INSTALL: Regenerated.
30040 2012-02-27 David S. Miller <davem@davemloft.net>
30042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30046 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30047 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30048 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30049 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30051 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30052 manipulate bits before adding and subtracting TWO112[sx].
30053 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30055 2012-02-27 Roland McGrath <roland@hack.frob.com>
30058 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30059 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30060 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30061 being in POSIX, because they are in 1003.1-2008.
30063 * rt/tst-aio.c: Include <fcntl.h>.
30064 * rt/tst-aio7.c: Likewise.
30065 * rt/tst-aio64.c: Likewise.
30067 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30069 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30071 * manual/install.texi (--with-headers): Describe headers as
30072 interface headers, not private headers.
30073 (Specific advice for GNU/Linux systems): Describe use of headers
30074 from "make headers_install", not private headers from older
30076 * INSTALL: Regenerated.
30077 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30079 * sysdeps/unix/sysv/linux/configure: Regenerated.
30081 * manual/llio.texi (fclean): Remove documentation.
30083 * manual/Makefile (libc-texi-generated): New variable. Include
30085 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30086 $(libc-texi-generated), not duplicated list of files.
30087 (version.texi, stamp-version): New rules.
30088 (realclean): Remove $(libc-texi-generated), not individual files
30089 from that list. Do not remove dir-add.texinfo.
30090 * manual/libc.texinfo: Comment out uses of edition numbers and
30091 references to printed manual. Remove last-updated dates.
30092 (EDITION): Comment out.
30094 (VERSION, UPDATED): Remove.
30095 (version.texi): Include.
30097 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30099 * sysdeps/posix/spawni.c: Include <signal.h>.
30100 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30101 * sysdeps/pthread/aio_fsync.c: Likewise.
30103 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30105 * conform/Makefile (tests): Run only when not cross-compiling and
30106 when fast-check is not defined.
30108 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30109 * conform/data/limits.h-data: Fixes for POSIX2008.
30110 * conform/run-conformtest.sh: Run all tests.
30111 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30113 * include/bits/dlfcn.h: Likewise.
30114 * include/langinfo.h: Likewise.
30115 * include/monetary.h: Likewise.
30116 * include/sys/poll.h: Likewise.
30118 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30120 * posix/spawn.h: Define __need_sigset_t.
30121 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30122 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30123 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30124 to get sigevent_t only.
30125 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30126 only for __USE_GNU.
30127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30128 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30129 process_vm_writev only for __USE_GNU.
30130 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30132 * conform/Makefile: For now ignore errors from run-conformtest.
30133 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30134 POSIX to avoid namespace pollution. Don't prepend headers.
30135 * conform/data/aio.h-data: Fixes for POSIX testing.
30136 * conform/data/fcntl.h-data: Likewise.
30137 * conform/data/glob.h-data: Likewise.
30138 * conform/data/grp.h-data: Likewise.
30139 * conform/data/pthread.h-data: Likewise.
30140 * conform/data/pwd.h-data: Likewise.
30141 * conform/data/signal.h-data: Likewise.
30142 * conform/data/spawn.h-data: Likewise.
30143 * conform/data/stdio.h-data: Likewise.
30144 * conform/data/stdlib.h-data: Likewise.
30145 * conform/data/stropts.h-data: Likewise.
30146 * conform/data/sys/mman.h-data: Likewise.
30147 * conform/data/sys/stat.h-data: Likewise.
30148 * conform/data/sys/types.h-data: Likewise.
30149 * conform/data/sys/wait.h-data: Likewise.
30150 * conform/data/time.h-data: Likewise.
30151 * conform/data/unistd.h-data: Likewise.
30152 * conform/data/utime.h-data: Likewise.
30154 * io/sys/stat.h: fchmod was always in POSIX.
30155 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30156 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30157 * rt/aio.h: Define __need_timespec before including <time.h>.
30158 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30159 struct. Add forward declaration of pthread_attr_t and use it in
30161 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30162 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30163 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30164 always remove CLK_TCK definition.
30166 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30168 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30170 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30172 * conform/run-conformtest.sh: New file.
30173 * conform/Makefile: Run run-conformtest for tests.
30174 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30177 * conform/data/uchar.h-data: New file.
30178 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30179 * conform/data/arpa/inet.h-data: Likewise.
30180 * conform/data/assert.h-data: Likewise.
30181 * conform/data/complex.h-data: Likewise.
30182 * conform/data/cpio.h-data: Likewise.
30183 * conform/data/ctype.h-data: Likewise.
30184 * conform/data/dirent.h-data: Likewise.
30185 * conform/data/dlfcn.h-data: Likewise.
30186 * conform/data/errno.h-data: Likewise.
30187 * conform/data/fcntl.h-data: Likewise.
30188 * conform/data/float.h-data: Likewise.
30189 * conform/data/fmtmsg.h-data: Likewise.
30190 * conform/data/fnmatch.h-data: Likewise.
30191 * conform/data/ftw.h-data: Likewise.
30192 * conform/data/glob.h-data: Likewise.
30193 * conform/data/grp.h-data: Likewise.
30194 * conform/data/iconv.h-data: Likewise.
30195 * conform/data/inttypes.h-data: Likewise.
30196 * conform/data/langinfo.h-data: Likewise.
30197 * conform/data/libgen.h-data: Likewise.
30198 * conform/data/limits.h-data: Likewise.
30199 * conform/data/locale.h-data: Likewise.
30200 * conform/data/math.h-data: Likewise.
30201 * conform/data/monetary.h-data: Likewise.
30202 * conform/data/mqueue.h-data: Likewise.
30203 * conform/data/ndbm.h-data: Likewise.
30204 * conform/data/net/if.h-data: Likewise.
30205 * conform/data/netdb.h-data: Likewise.
30206 * conform/data/netinet/in.h-data: Likewise.
30207 * conform/data/nl_types.h-data: Likewise.
30208 * conform/data/poll.h-data: Likewise.
30209 * conform/data/pthread.h-data: Likewise.
30210 * conform/data/pwd.h-data: Likewise.
30211 * conform/data/regex.h-data: Likewise.
30212 * conform/data/sched.h-data: Likewise.
30213 * conform/data/search.h-data: Likewise.
30214 * conform/data/semaphore.h-data: Likewise.
30215 * conform/data/setjmp.h-data: Likewise.
30216 * conform/data/signal.h-data: Likewise.
30217 * conform/data/spawn.h-data: Likewise.
30218 * conform/data/stdarg.h-data: Likewise.
30219 * conform/data/stdio.h-data: Likewise.
30220 * conform/data/stdlib.h-data: Likewise.
30221 * conform/data/string.h-data: Likewise.
30222 * conform/data/strings.h-data: Likewise.
30223 * conform/data/stropts.h-data: Likewise.
30224 * conform/data/sys/ipc.h-data: Likewise.
30225 * conform/data/sys/mman.h-data: Likewise.
30226 * conform/data/sys/msg.h-data: Likewise.
30227 * conform/data/sys/resource.h-data: Likewise.
30228 * conform/data/sys/select.h-data: Likewise.
30229 * conform/data/sys/sem.h-data: Likewise.
30230 * conform/data/sys/shm.h-data: Likewise.
30231 * conform/data/sys/socket.h-data: Likewise.
30232 * conform/data/sys/stat.h-data: Likewise.
30233 * conform/data/sys/statvfs.h-data: Likewise.
30234 * conform/data/sys/time.h-data: Likewise.
30235 * conform/data/sys/timeb.h-data: Likewise.
30236 * conform/data/sys/times.h-data: Likewise.
30237 * conform/data/sys/types.h-data: Likewise.
30238 * conform/data/sys/uio.h-data: Likewise.
30239 * conform/data/sys/un.h-data: Likewise.
30240 * conform/data/sys/utsname.h-data: Likewise.
30241 * conform/data/sys/wait.h-data: Likewise.
30242 * conform/data/syslog.h-data: Likewise.
30243 * conform/data/tar.h-data: Likewise.
30244 * conform/data/termios.h-data: Likewise.
30245 * conform/data/utime.h-data: Likewise.
30246 * conform/data/utmpx.h-data: Likewise.
30247 * conform/data/varargs.h-data: Likewise.
30248 * conform/data/wchar.h-data: Likewise.
30249 * conform/data/wctype.h-data: Likewise.
30250 * conform/data/wordexp.h-data: Likewise.
30252 * include/stropts.h: New file.
30253 * include/uchar.h: New file.
30254 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30255 * include/assert.h: Likewise.
30256 * include/ctype.h: Likewise.
30257 * include/dirent.h: Likewise.
30258 * include/dlfcn.h: Likewise.
30259 * include/fcntl.h: Likewise.
30260 * include/fnmatch.h: Likewise.
30261 * include/glob.h: Likewise.
30262 * include/grp.h: Likewise.
30263 * include/libio.h: Likewise.
30264 * include/locale.h: Likewise.
30265 * include/math.h: Likewise.
30266 * include/net/if.h: Likewise.
30267 * include/netdb.h: Likewise.
30268 * include/netinet/in.h: Likewise.
30269 * include/pthread.h: Likewise.
30270 * include/pwd.h: Likewise.
30271 * include/regex.h: Likewise.
30272 * include/sched.h: Likewise.
30273 * include/search.h: Likewise.
30274 * include/setjmp.h: Likewise.
30275 * include/signal.h: Likewise.
30276 * include/stdio.h: Likewise.
30277 * include/stdlib.h: Likewise.
30278 * include/string.h: Likewise.
30279 * include/sys/cdefs.h: Likewise.
30280 * include/sys/mman.h: Likewise.
30281 * include/sys/msg.h: Likewise.
30282 * include/sys/resource.h: Likewise.
30283 * include/sys/select.h: Likewise.
30284 * include/sys/socket.h: Likewise.
30285 * include/sys/stat.h: Likewise.
30286 * include/sys/statvfs.h: Likewise.
30287 * include/sys/time.h: Likewise.
30288 * include/sys/times.h: Likewise.
30289 * include/sys/uio.h: Likewise.
30290 * include/sys/utsname.h: Likewise.
30291 * include/sys/wait.h: Likewise.
30292 * include/termios.h: Likewise.
30293 * include/time.h: Likewise.
30294 * include/ulimit.h: Likewise.
30295 * include/unistd.h: Likewise.
30296 * include/utime.h: Likewise.
30297 * include/wchar.h: Likewise.
30298 * include/wctype.h: Likewise.
30299 * include/wordexp.h: Likewise.
30301 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30303 * time/time.h: TIME_UTC must be a macro.
30304 Make timespec_get available for ISO C11 only as well.
30306 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30308 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30309 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30311 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30313 * configure.in: Use -o not -a in test for unsupported multi-arch.
30315 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30317 * manual/texinfo.tex: Update to version 2012-01-19.16.
30319 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30321 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30323 2012-02-24 Roland McGrath <roland@hack.frob.com>
30326 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30327 * manual/fdl-1.3.texi: New file.
30328 * manual/fdl-1.1.texi: File removed.
30331 * manual/libc.texinfo (FDL_VERSION): New @set.
30332 Use it for mention of FDL in cover text.
30333 (Documentation License): Use it in @include file name.
30335 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30336 Roland McGrath <roland@hack.frob.com>
30339 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30340 not LONG_LONG_MAX and LONG_LONG_MIN.
30341 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30342 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30344 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30346 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30350 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30351 manipulate bits before adding and subtracting TWO23[sx].
30352 * math/libm-test.inc (nearbyint_test): Add more tests.
30354 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30357 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30358 bits before adding and subtracting TWO23[sx].
30359 * math/libm-test.inc (rint_test): Add more tests.
30360 (rint_test_tonearest): Likewise.
30361 (rint_test_towardzero): Likewise.
30362 (rint_test_downward): Likewise.
30363 (rint_test_upward: Likewise.
30365 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30368 * include/stdc-predef.h: New file. Extracted from features.h.
30369 * include/features.h: Include stdc-predef.h.
30370 * Makefile (headers): Add stdc-predef.h.
30371 * CONFORMANCE (Compiler limitations): Update.
30373 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30375 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30377 2012-02-21 David S. Miller <davem@davemloft.net>
30379 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30380 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30382 2012-02-20 David S. Miller <davem@davemloft.net>
30384 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30385 using a normal save/restore sequence, rather than allocating a
30386 dummy stack frame just to store a frame pointer and restore.
30387 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30389 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30391 * manual/install.texi: Fix stray word in line-wrapped comment.
30393 2012-02-20 David S. Miller <davem@davemloft.net>
30395 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30396 both binutils and gcc support GOTDATA.
30398 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30399 "rd %pc" in the PIC register setup sequences.
30401 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30402 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30403 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30404 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30405 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30407 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30408 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30410 (SYSCALL_ERROR_HANDLER): Likewise.
30411 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30412 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30414 (SYSCALL_ERROR_HANDLER): Likewise.
30416 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30417 (HAVE_GCC_GOTDATA): New.
30418 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30419 relocation support in both binutils and gcc.
30420 * sysdeps/sparc/elf/configure: Regenerate.
30422 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30423 * sysdeps/sparc/sparc32/elf/configure: Delete.
30424 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30425 * sysdeps/sparc/sparc64/elf/configure: Delete.
30426 * sysdeps/sparc/elf/configure.in: New file.
30427 * sysdeps/sparc/elf/configure: Generate.
30429 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30430 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30431 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30432 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30433 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30435 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30437 * manual/install.texi: Do not mention specific glibc version
30439 * manual/libc.texinfo (VERSION, UPDATED): Update.
30440 (@copying): Use @copyright{} and range of years.
30442 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30445 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30446 [crti.S not in sysdirs] (generated): Do not append.
30447 [crti.S not in sysdirs] (omit-deps): Likewise.
30448 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30449 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30450 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30451 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30452 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30454 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30455 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30456 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30457 * csu/defs.awk: Remove file.
30458 * sysdeps/generic/initfini.c: Likewise.
30459 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30461 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30464 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30466 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30467 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30468 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30469 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30470 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30471 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30473 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30474 (__EPOLL_PACKED): Define to empty if not defined by
30476 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30480 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30482 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30483 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30484 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30485 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30487 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30491 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30493 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30495 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30496 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30497 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30500 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30502 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30503 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30505 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30507 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30508 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30510 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30512 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30515 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30517 * math/w_acos.c: Use non-signaling floating-point comparisons.
30518 * math/w_acosf.c: Likewise.
30519 * math/w_acosh.c: Likewise.
30520 * math/w_acoshf.c: Likewise.
30521 * math/w_acoshl.c: Likewise.
30522 * math/w_acosl.c: Likewise.
30523 * math/w_asin.c: Likewise.
30524 * math/w_asinf.c: Likewise.
30525 * math/w_asinl.c: Likewise.
30526 * math/w_atanh.c: Likewise.
30527 * math/w_atanhf.c: Likewise.
30528 * math/w_atanhl.c: Likewise.
30529 * math/w_exp2.c: Likewise.
30530 * math/w_exp2f.c: Likewise.
30531 * math/w_exp2l.c: Likewise.
30532 * math/w_j0.c: Likewise.
30533 * math/w_j0f.c: Likewise.
30534 * math/w_j0l.c: Likewise.
30535 * math/w_j1.c: Likewise.
30536 * math/w_j1f.c: Likewise.
30537 * math/w_j1l.c: Likewise.
30538 * math/w_jn.c: Likewise.
30539 * math/w_jnf.c: Likewise.
30540 * math/w_log.c: Likewise.
30541 * math/w_log10.c: Likewise.
30542 * math/w_log10f.c: Likewise.
30543 * math/w_log10l.c: Likewise.
30544 * math/w_log2.c: Likewise.
30545 * math/w_log2f.c: Likewise.
30546 * math/w_log2l.c: Likewise.
30547 * math/w_logf.c: Likewise.
30548 * math/w_logl.c: Likewise.
30549 * math/w_sqrt.c: Likewise.
30550 * math/w_sqrtf.c: Likewise.
30551 * math/w_sqrtl.c: Likewise.
30552 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30553 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30554 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30555 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30556 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30558 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30561 * manual/string.texi (strnlen): Use correct parameter name in
30562 equivalent expression.
30564 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30567 * manual/users.texi (seteuid): Consistently use neweuid for
30570 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30573 * manual/nss.texi (Services in the NSS configuration): Correct
30574 list of services in example configuration file.
30576 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30579 * manual/arith.texi: Remove statements about negative zero
30580 behaving identically to zero.
30582 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30585 * manual/install.texi: Do not document upgrading from libc5.
30587 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30590 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30592 2012-02-18 David S. Miller <davem@davemloft.net>
30594 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30595 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30596 %o7 across the call.
30597 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30599 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30600 SETUP_PIC_REG_LEAF.
30601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30602 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30603 * sysdeps/sparc/crtn.S: Likewise.
30605 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30607 * aout/Makefile: Remove.
30609 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30612 * manual/examples/argp-ex1.c (main): Format definition in GNU
30614 * manual/examples/argp-ex2.c (main): Likewise.
30615 * manual/examples/argp-ex3.c (main): Likewise.
30616 * manual/examples/argp-ex4.c (main): Likewise.
30617 * manual/examples/longopt.c (main): Use new-style prototype
30619 * manual/examples/strncat.c (main): Specify return type and use
30620 (void) for arguments.
30621 * manual/examples/subopt.c (main): Use char **argv argument.
30623 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30626 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30629 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30632 * manual/string.texi (strchr): Change when strchrnul is
30635 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30638 * manual/locale.texi (setlocale): Document LOCPATH.
30640 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30643 * manual/process.texi (execle): Move @dots{} before last argument.
30645 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30648 * manual/charset.texi (Generic Charset Conversion): Fix typo
30649 (LC_TYPE -> LC_CTYPE).
30651 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30654 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30655 (scalbnf): Likewise.
30656 (scalbnl): Likewise.
30657 (scalbln): Likewise.
30658 (scalblnf): Likewise.
30659 (scalblnl): Likewise.
30660 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30661 (vwarnx): Likewise.
30664 * manual/filesys.texi (telldir): Use braces around return type.
30665 * manual/llio.texi (mmap): Add space after comma.
30666 (mmap64): Likewise.
30667 * manual/math.texi (jn): Use @var{} on parameter names.
30673 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30675 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30677 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30678 (sched_get_priority_max): Likewise.
30679 * manual/signal.texi (sigvec): Add space after comma.
30680 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30682 (if_indextoname): Likewise.
30683 (if_freenameindex): Likewise.
30684 (sendto): Use ',' instead of '.' in prototype.
30685 * manual/startup.texi (syscall): Use @dots{} instead of literal
30687 * manual/stdio.texi (__fpending): Separate initial words of
30688 paragraph from @deftypefun line.
30689 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30691 (vsyslog): Use @var{} on parameter names.
30692 * manual/terminal.texi (stty): Use @var{} on parameter names.
30693 * manual/users.texi (getutmp): Use @var{} on parameter names.
30694 (getutmpx): Likewise.
30696 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30699 * manual/stdio.texi (fopen): Fix typos in description of
30702 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30705 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30706 get clock_id definition.
30708 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30711 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30712 (madvise): Cast every argument to void on its own.
30714 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30717 * manual/startup.texi (Exit Status): Fix typo.
30719 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30722 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30723 * manual/examples/argp-ex2.c: Likewise.
30724 * manual/examples/argp-ex3.c: Likewise.
30726 2012-02-16 Richard Henderson <rth@redhat.com>
30728 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30729 * sysdeps/s390/s390-32/initfini.c: Remove.
30730 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30731 * sysdeps/s390/s390-64/initfini.c: Remove.
30733 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30735 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30736 compiler output for sysdeps/generic/initfini.c.
30737 * sysdeps/sh/elf/initfini.c: Remove file.
30739 2012-02-16 David S. Miller <davem@davemloft.net>
30742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30744 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30745 * sysdeps/sparc/crti.S: New file.
30746 * sysdeps/sparc/crtn.S: New file.
30747 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30748 * sysdeps/sparc/sparc64/Makefile: Likewise.
30750 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30753 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30755 2012-02-15 Roland McGrath <roland@hack.frob.com>
30758 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30760 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30761 (write, read, close): Likewise.
30762 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30764 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30766 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30767 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30768 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30769 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30771 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30775 2012-02-14 Marek Polacek <polacek@redhat.com>
30777 * sysdeps/x86_64/crti.S: New file.
30778 * sysdeps/x86_64/crtn.S: New file.
30779 * sysdeps/x86_64/elf/initfini.c: Remove file.
30781 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30783 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30784 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30785 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30786 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30788 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30792 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30794 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30795 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30796 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30797 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30799 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30803 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30805 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30806 __feraiseexcept instead of feraiseexcept.
30808 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30809 nanosleep invocations.
30810 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30811 strings, and add error checking for a nanosleep invocations.
30813 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30815 Replace FSF snail mail address with URLs, as per GNU coding standards.
30816 Most of the snail mail addresses were wrong anyway, and omitting
30817 them makes the source code easier to maintain. Almost all of the
30818 changes are to license notices and to locale LC_IDENTIFICATION
30819 addresses, except for this one:
30820 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30821 not its snail mail address.
30823 2012-02-09 Richard Henderson <rth@twiddle.net>
30825 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30826 of kernel-features.h.
30828 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30830 2012-02-08 Marek Polacek <polacek@redhat.com>
30832 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30833 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30834 * sysdeps/gnu/_G_config.h: Likewise.
30835 * sysdeps/generic/_G_config.h: Likewise.
30837 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30839 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30843 * sysdeps/powerpc/powerpc32/crti.S: New file.
30844 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30845 * sysdeps/powerpc/powerpc64/crti.S: New file.
30846 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30848 * Makeconfig (have-initfini): Don't set.
30849 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30850 * configure.in (nopic_initfini): Don't substitute.
30851 * config.h.in (HAVE_INITFINI): Don't #undef.
30852 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30853 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30855 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30857 Support crti.S and crtn.S provided directly by architectures.
30858 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30859 [crti.S in sysdirs] (omit-deps): Likewise.
30860 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30861 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30862 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30863 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30864 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30865 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30866 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30867 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30868 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30869 compiler output for sysdeps/generic/initfini.c.
30870 * sysdeps/i386/elf/Makefile: Remove file.
30871 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30873 2012-02-07 Marek Polacek <polacek@redhat.com>
30875 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30876 * sysdeps/gnu/_G_config.h: Likewise.
30877 * sysdeps/mach/hurd/_G_config.h: Likewise.
30879 2012-02-07 Marek Polacek <polacek@redhat.com>
30881 * math/Makefile (tests): Add tst-CMPLX2.
30882 * math/tst-CMPLX2.c: New file.
30884 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30886 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30888 * math/libm-test.inc (jn_test): Add missing L suffix.
30890 2012-02-06 Marek Polacek <polacek@redhat.com>
30892 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30893 * sysdeps/i386/fpu/e_powf.S: Likewise.
30894 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30895 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30896 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30897 * sysdeps/i386/fpu/e_pow.S: Likewise.
30898 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30899 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30900 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30901 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30902 * sysdeps/i386/fpu/e_log2.S: Likewise.
30903 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30904 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30905 * sysdeps/i386/fpu/e_powl.S: Likewise.
30906 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30907 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30908 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30909 * sysdeps/i386/fpu/e_logl.S: Likewise.
30910 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30911 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30912 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30913 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30914 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30915 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30916 * sysdeps/i386/fpu/e_log.S: Likewise.
30917 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30918 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30919 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30920 * sysdeps/i386/fpu/e_logf.S: Likewise.
30921 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30922 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30923 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30924 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30925 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30926 * sysdeps/i386/fpu/e_log10.S: Likewise.
30927 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30928 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30929 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30930 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30931 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30932 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30933 * sysdeps/i386/asm-syntax.h: Likewise.
30934 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30935 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30936 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30937 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30938 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30939 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30940 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30941 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30942 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30943 * sysdeps/powerpc/sysdep.h: Likewise.
30944 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30945 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30947 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30950 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30952 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30954 * sysdeps/i386/sysdep.h: Include <features.h>.
30955 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30958 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30960 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30962 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30965 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30967 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30968 (SETUP_PIC_REG): Use GET_PC_THUNK.
30969 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30972 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30974 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30975 for non-PIC compilation.
30976 (SETUP_PIC_REG): Add .p2align directive.
30977 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30978 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30979 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30980 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30981 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30982 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30983 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30984 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30985 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30986 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30987 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30988 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30989 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30990 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30991 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30992 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30993 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30994 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30995 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30996 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30997 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30999 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31000 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31001 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31002 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31003 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31004 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31005 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31006 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31007 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31008 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31009 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31010 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31012 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31016 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31017 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31019 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31021 * math/tst-CMPLX.c: Include <stdio.h>.
31023 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31025 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31027 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31028 * sysdeps/sparc/bits/mathdef.h: Likewise.
31030 2012-01-31 Marek Polacek <polacek@redhat.com>
31032 * libio/libio.h: Don't define _PARAMS.
31033 * locale/programs/config.h: Don't define PARAMS.
31034 * stdlib/strtol_l.c: Likewise.
31035 (__strtol_l): Remove PARAMS from the prototype.
31037 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31039 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31040 names. Just use the correct names. Remove unnecessary wrapper
31042 * malloc/arena.c: Likewise.
31043 * malloc/hooks.c: Likewise.
31045 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31046 ARENA_TEST says not to. Simplify test for creation of a new arena.
31047 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31049 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31051 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31053 (update_get_addr): New function.
31054 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31055 GET_ADDR_MODULE parameter.
31057 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31059 * crypt/cert.c: Remove __STDC__ conditionals.
31060 * crypt/crypt-entry.c: Likewise.
31061 * crypt/crypt_util.c: Likewise.
31062 * libio/filedoalloc.c: Likewise.
31063 * libio/fileops.c: Likewise.
31064 * libio/genops.c: Likewise.
31065 * libio/iofclose.c: Likewise.
31066 * libio/iofdopen.c: Likewise.
31067 * libio/iofopen.c: Likewise.
31068 * libio/iofopen64.c: Likewise.
31069 * libio/iogetdelim.c: Likewise.
31070 * libio/iopopen.c: Likewise.
31071 * libio/obprintf.c: Likewise.
31072 * libio/oldfileops.c: Likewise.
31073 * libio/oldiofclose.c: Likewise.
31074 * libio/oldiofdopen.c: Likewise.
31075 * libio/oldiofopen.c: Likewise.
31076 * libio/oldiopopen.c: Likewise.
31077 * libio/wfiledoalloc.c: Likewise.
31078 * libio/wgenops.c: Likewise.
31079 * locale/programs/xmalloc.c: Likewise.
31080 * misc/syslog.c: Likewise.
31081 * stdio-common/xbug.c: Likewise.
31082 * string/memchr.c: Likewise.
31083 * string/memcmp.c: Likewise.
31084 * string/memrchr.c: Likewise.
31085 * string/rawmemchr.c: Likewise.
31086 * sysdeps/posix/getcwd.c: Likewise.
31087 * time/strftime_l.c: Likewise.
31089 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31091 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31092 * config.make.in (config-cflags-sse2avx): Define.
31093 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31096 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31098 * scripts/config.guess: Update from upstream config git repository.
31099 * scripts/config.sub: Likewise.
31101 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31103 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31105 (R_TILEPRO_*, R_TILEGX_*): New macros.
31107 * scripts/firstversions.awk: Fix bug in version range handling.
31109 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31111 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31113 * include/sys/epoll.h: New file.
31114 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31117 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31119 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31120 Avoid unnecessary __WORDSIZE == 64 test.
31121 (fmaxf): Use VEX format if possible.
31126 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31127 * math/math_private.h: Remove libc_fegetround* and
31129 * sysdeps/i386/configure.in: Check for -msse2avx.
31130 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31131 also if SSE2AVX is defined.
31132 Remove libc_fegetround* and libc_fesetround*.
31133 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31134 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31135 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31137 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31138 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31139 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31140 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31141 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31143 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31145 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31147 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31149 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31151 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31154 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31156 * Makeconfig (libm): Define.
31157 * elf/Makefile: Add rules to build and run tst-relsort1.
31158 * elf/tst-relsort1.c: New file.
31159 * elf/tst-relsort1mod1.c: New file.
31160 * elf/tst-relsort1mod2.c: New file.
31162 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31164 * math/s_ldexp.c: Remove __STDC__ conditionals.
31165 * math/s_ldexpf.c: Likewise.
31166 * math/s_ldexpl.c: Likewise.
31167 * math/s_nextafter.c: Likewise.
31168 * math/s_nexttowardf.c: Likewise.
31169 * math/s_significand.c: Likewise.
31170 * math/s_significandf.c: Likewise.
31171 * math/s_significandl.c: Likewise.
31172 * math/w_jnl.c: Likewise.
31173 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31174 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31175 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31176 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31177 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31178 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31179 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31180 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31181 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31182 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31183 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31184 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31185 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31186 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31187 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31188 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31189 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31190 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31192 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31193 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31194 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31195 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31196 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31197 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31198 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31199 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31200 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31201 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31202 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31203 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31204 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31205 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31206 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31207 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31208 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31209 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31210 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31211 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31212 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31213 * sysdeps/ieee754/k_standard.c: Likewise.
31214 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31215 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31217 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31232 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31233 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31237 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31239 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31246 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31257 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31260 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31262 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31263 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31265 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31266 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31267 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31270 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31271 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31272 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31274 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31275 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31277 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31278 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31279 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31280 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31281 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31282 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31283 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31284 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31285 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31286 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31289 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31290 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31291 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31292 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31293 * sysdeps/ieee754/s_matherr.c: Likewise.
31294 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31295 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31296 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31299 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31301 * crypt/md5.h: Remove __STDC__ conditionals.
31302 * libio/libioP.h: Likewise.
31303 * locale/programs/config.h: Likewise.
31304 * sysdeps/generic/sysdep.h: Likewise.
31305 * sysdeps/i386/asm-syntax.h: Likewise.
31306 * sysdeps/s390/asm-syntax.h: Likewise.
31307 * sysdeps/unix/sysdep.h: Likewise.
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31311 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31313 * libio/libio.h: Remove __STDC__ conditionals.
31314 * malloc/obstack.h: Likewise.
31315 * math/complex.h: Likewise.
31316 * math/math.h: Likewise.
31317 * sysdeps/generic/_G_config.h: Likewise.
31318 * sysdeps/gnu/_G_config.h: Likewise.
31319 * sysdeps/mach/hurd/_G_config.h: Likewise.
31320 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31321 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31322 * sysdeps/sparc/bits/mathdef.h: Likewise.
31324 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31327 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31328 Clean up HAS_* macros.
31329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31330 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31332 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31334 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31335 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31336 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31337 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31338 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31340 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31342 * elf/tst-unique3.cc (gets): Remove declaration.
31343 * elf/tst-unique3lib.cc (gets): Likewise.
31344 * elf/tst-unique3lib2.cc (gets): Likewise.
31345 * elf/tst-unique4.cc (gets): Likewise.
31347 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31349 * include/stdio.h: Add C++ protection. Add gets declarations and
31351 * debug/tst-chk1.c: Don't declare gets here.
31352 * stdio-common/tst-gets.c: Likewise.
31354 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31356 * posix/glob: Remove directory.
31358 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31360 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31362 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31364 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31365 of the non-standard EPFNOSUPPORT.
31367 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31369 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31370 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31371 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31373 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31375 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31377 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31379 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31381 * nscd/grpcache.c (cache_addgr): Likewise.
31382 * nscd/hstcache.c (cache_addhst): Likewise.
31383 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31384 * nscd/pwdcache.c (cache_addpw): Likewise.
31385 * nscd/servicescache.c (cache_addserv): Likewise.
31387 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31389 * malloc/malloc.c: Various cleanups.
31390 * malloc/hooks.c: Likewise.
31392 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31393 * stdlib/bug-fmtmsg1.c: New file.
31395 * stdlib/fmtmsg.c (init): Add missing unlock.
31396 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31398 2012-01-12 Marek Polacek <polacek@redhat.com>
31400 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31403 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31405 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31406 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31407 macro to ensure uniqueness of label name.
31408 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31409 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31411 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31413 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31415 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31416 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31420 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31422 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31424 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31425 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31426 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31428 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31430 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31431 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31432 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31433 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31435 * math/bits/math-finite.h: Add ldexp support.
31437 2012-01-10 Marek Polacek <polacek@redhat.com>
31439 * locale/programs/localedef.h (show_archive_content): Add noreturn
31442 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31444 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31446 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31448 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31450 * io/Makefile (headers): Add bits/poll2.h.
31452 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31455 typo #include statement.
31457 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31459 * include/sys/cdefs.h: Define __attribute_alloc_size.
31460 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31461 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31462 * elf/pldd.c: Likewise.
31463 * iconv/iconv_charmap.c: Likewise.
31464 * iconv/iconvconfig.c: Likewise.
31465 * iconv/strtab.c: Likewise.
31466 * locale/programs/locale.c: Likewise.
31467 * locale/programs/localedef.h: Likewise.
31468 * locale/programs/simple-hash.c: Likewise.
31469 * nscd/nscd.h: Likewise.
31470 * nss/makedb.c: Likewise.
31471 * sysdeps/generic/ldconfig.h: Likewise.
31472 * locale/programs/localedef.c: Remove xmalloc prototype.
31473 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31475 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31477 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31480 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31482 * math/Makefile (tests): Add tst-CMPLX.
31483 * math/tst-CMPLX.c: New file.
31485 * math/complex.h (CMPLXL): Fix typo.
31487 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31488 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31490 * debug/tst-chk1.c: Add poll and ppoll tests.
31491 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31492 * include/sys/poll.h: Add hidden proto for ppoll.
31493 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31494 * sysdeps/mach/hurd/ppoll.c: Likewise.
31495 * io/ppoll.c: Likewise.
31496 * debug/poll_chk.c: New file.
31497 * debug/ppoll_chk.c: New file.
31498 * include/bits/poll2.h: New file.
31499 * io/bits/poll2.h: New file.
31502 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31504 * configure.in: static is always set to yes. Remove.
31505 * config.make.in: Don't set build-static.
31506 * Makeconfig: Remove use of build-static.
31507 * dlfcn/Makefile: Likewise.
31508 * elf/Makefile: Likewise.
31509 * math/Makefile: Likewise.
31510 * misc/Makefile: Likewise.
31511 * nptl/Makefile: Likewise.
31512 * sysdeps/mach/hurd/Makefile: Likewise.
31514 * configure.in: PWD_P is not used anymore.
31515 * config.make.in: Remove PWD_P entry.
31517 * configure.in: Remove last remnants of RANLIB.
31518 No need to check for signed size_t anymore.
31519 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31521 Remove __builtin_expect test because we require at least gcc 3.4.
31522 * aclocal.m4: Likewise.
31524 * wcsmbs/mbrtoc16.c: Implement using towc function.
31525 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31526 * wcsmbs/wcsmbsload.c: Likewise.
31527 * iconv/gconv_simple.c: Likewise.
31528 * iconv/gconv_int.h: Likewise.
31529 * iconv/gconv_builtin.h: Likewise.
31530 * iconv/iconv_prog.c: Remove CHAR16 handling.
31532 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31534 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31536 * configure.in: Remove --with-elf and --enable-bounded options.
31537 Dont set base_machine for ia64. More non-ELF conditions removed.
31538 Remove testing and setting of leading underscore information.
31539 * config.make.in (build-bounded): Set to no.
31540 * config.h.in: Remove NO_UNDERSCORES entry.
31541 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31543 * csu/start.c: Remove !NO_UNDERSCORE code.
31544 * locale/localeinfo.h: Likewise.
31545 * sysdeps/generic/machine-gmon.h: Likewise.
31546 * sysdeps/generic/sysdep.h: Likewise.
31547 * sysdeps/i386/sysdep.h: Likewise.
31548 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31549 * sysdeps/mach/sysdep.h: Likewise.
31550 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31551 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31552 * sysdeps/sh/sysdep.h: Likewise.
31553 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31554 * sysdeps/unix/i386/sysdep.S: Likewise.
31555 * sysdeps/unix/sparc/start.c: Likewise.
31556 * sysdeps/unix/sparc/sysdep.S: Likewise.
31557 * sysdeps/unix/sparc/sysdep.h: Likewise.
31558 * sysdeps/unix/start.c: Likewise.
31559 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31560 * sysdeps/x86_64/sysdep.h: Likewise.
31562 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31565 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31567 * argp/argp-fmtstream.h: Use const instead __const.
31568 * argp/argp.h: Likewise.
31569 * assert/assert.h: Likewise.
31570 * bits/fenv.h: Likewise.
31571 * bits/sched.h: Likewise.
31572 * bits/sigset.h: Likewise.
31573 * bits/sigthread.h: Likewise.
31574 * catgets/nl_types.h: Likewise.
31575 * conform/data/pthread.h-data: Likewise.
31576 * crypt/crypt-private.h: Likewise.
31577 * crypt/crypt.h: Likewise.
31578 * crypt/crypt_util.c: Likewise.
31579 * ctype/ctype.h: Likewise.
31580 * debug/execinfo.h: Likewise.
31581 * debug/mbsnrtowcs_chk.c: Likewise.
31582 * debug/mbsrtowcs_chk.c: Likewise.
31583 * debug/wcsnrtombs_chk.c: Likewise.
31584 * debug/wcsrtombs_chk.c: Likewise.
31585 * debug/wcstombs_chk.c: Likewise.
31586 * dirent/dirent.h: Likewise.
31587 * dlfcn/dlfcn.h: Likewise.
31588 * elf/neededtest4.c: Likewise.
31589 * grp/grp.h: Likewise.
31590 * gshadow/gshadow.h: Likewise.
31591 * iconv/gconv.h: Likewise.
31592 * iconv/gconv_int.h: Likewise.
31593 * iconv/gconv_simple.c: Likewise.
31594 * iconv/iconv.h: Likewise.
31595 * iconv/loop.c: Likewise.
31596 * iconv/skeleton.c: Likewise.
31597 * include/aio.h: Likewise.
31598 * include/aliases.h: Likewise.
31599 * include/argz.h: Likewise.
31600 * include/arpa/inet.h: Likewise.
31601 * include/assert.h: Likewise.
31602 * include/dirent.h: Likewise.
31603 * include/dlfcn.h: Likewise.
31604 * include/execinfo.h: Likewise.
31605 * include/fcntl.h: Likewise.
31606 * include/fenv.h: Likewise.
31607 * include/glob.h: Likewise.
31608 * include/grp.h: Likewise.
31609 * include/libintl.h: Likewise.
31610 * include/mntent.h: Likewise.
31611 * include/netdb.h: Likewise.
31612 * include/pwd.h: Likewise.
31613 * include/rpc/netdb.h: Likewise.
31614 * include/sched.h: Likewise.
31615 * include/search.h: Likewise.
31616 * include/shadow.h: Likewise.
31617 * include/signal.h: Likewise.
31618 * include/stdio.h: Likewise.
31619 * include/stdlib.h: Likewise.
31620 * include/string.h: Likewise.
31621 * include/sys/socket.h: Likewise.
31622 * include/sys/stat.h: Likewise.
31623 * include/sys/statfs.h: Likewise.
31624 * include/sys/statvfs.h: Likewise.
31625 * include/sys/syslog.h: Likewise.
31626 * include/sys/time.h: Likewise.
31627 * include/sys/uio.h: Likewise.
31628 * include/time.h: Likewise.
31629 * include/unistd.h: Likewise.
31630 * include/utmp.h: Likewise.
31631 * include/wchar.h: Likewise.
31632 * include/wctype.h: Likewise.
31633 * inet/aliases.h: Likewise.
31634 * inet/arpa/inet.h: Likewise.
31635 * inet/netinet/ether.h: Likewise.
31636 * inet/netinet/in.h: Likewise.
31637 * intl/libintl.h: Likewise.
31638 * io/bits/fcntl2.h: Likewise.
31639 * io/fcntl.h: Likewise.
31640 * io/ftw.h: Likewise.
31641 * io/sys/poll.h: Likewise.
31642 * io/sys/stat.h: Likewise.
31643 * io/sys/statfs.h: Likewise.
31644 * io/sys/statvfs.h: Likewise.
31645 * io/utime.h: Likewise.
31646 * libio/bits/stdio.h: Likewise.
31647 * libio/bits/stdio2.h: Likewise.
31648 * libio/libio.h: Likewise.
31649 * libio/libioP.h: Likewise.
31650 * libio/stdio.h: Likewise.
31651 * locale/lc-ctype.c: Likewise.
31652 * locale/locale.h: Likewise.
31653 * login/utmp.h: Likewise.
31654 * malloc/arena.c: Likewise.
31655 * malloc/malloc.c: Likewise.
31656 * malloc/malloc.h: Likewise.
31657 * malloc/mcheck.c: Likewise.
31658 * malloc/mtrace.c: Likewise.
31659 * math/bits/mathcalls.h: Likewise.
31660 * math/fenv.h: Likewise.
31661 * math/math_private.h: Likewise.
31662 * misc/bits/error.h: Likewise.
31663 * misc/bits/syslog.h: Likewise.
31664 * misc/err.h: Likewise.
31665 * misc/error.h: Likewise.
31666 * misc/fstab.h: Likewise.
31667 * misc/mntent.h: Likewise.
31668 * misc/regexp.h: Likewise.
31669 * misc/search.h: Likewise.
31670 * misc/sgtty.h: Likewise.
31671 * misc/sys/mman.h: Likewise.
31672 * misc/sys/syslog.h: Likewise.
31673 * misc/sys/uio.h: Likewise.
31674 * misc/sys/xattr.h: Likewise.
31675 * misc/ttyent.h: Likewise.
31676 * nis/rpcsvc/ypclnt.h: Likewise.
31677 * nss/nss.h: Likewise.
31678 * posix/bits/unistd.h: Likewise.
31679 * posix/fnmatch.h: Likewise.
31680 * posix/glob.h: Likewise.
31681 * posix/sched.h: Likewise.
31682 * posix/spawn.h: Likewise.
31683 * posix/sys/wait.h: Likewise.
31684 * posix/unistd.h: Likewise.
31685 * posix/wordexp.h: Likewise.
31686 * pwd/pwd.h: Likewise.
31687 * resolv/netdb.h: Likewise.
31688 * resource/sys/resource.h: Likewise.
31689 * rt/aio.h: Likewise.
31690 * rt/bits/mqueue2.h: Likewise.
31691 * rt/mqueue.h: Likewise.
31692 * shadow/shadow.h: Likewise.
31693 * signal/signal.h: Likewise.
31694 * socket/send.c: Likewise.
31695 * socket/sendto.c: Likewise.
31696 * socket/sys/socket.h: Likewise.
31697 * stdio-common/printf.h: Likewise.
31698 * stdlib/bits/stdlib.h: Likewise.
31699 * stdlib/fmtmsg.h: Likewise.
31700 * stdlib/monetary.h: Likewise.
31701 * stdlib/stdlib.h: Likewise.
31702 * stdlib/ucontext.h: Likewise.
31703 * streams/stropts.h: Likewise.
31704 * string/argz.h: Likewise.
31705 * string/bits/string2.h: Likewise.
31706 * string/string.h: Likewise.
31707 * string/strings.h: Likewise.
31708 * sunrpc/rpc/auth.h: Likewise.
31709 * sunrpc/rpc/auth_des.h: Likewise.
31710 * sunrpc/rpc/clnt.h: Likewise.
31711 * sunrpc/rpc/netdb.h: Likewise.
31712 * sunrpc/rpc/pmap_clnt.h: Likewise.
31713 * sunrpc/rpc/xdr.h: Likewise.
31714 * sysdeps/generic/inttypes.h: Likewise.
31715 * sysdeps/generic/net/if.h: Likewise.
31716 * sysdeps/generic/sys/swap.h: Likewise.
31717 * sysdeps/gnu/net/if.h: Likewise.
31718 * sysdeps/gnu/utmpx.h: Likewise.
31719 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31720 * sysdeps/i386/i486/bits/string.h: Likewise.
31721 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31722 * sysdeps/s390/bits/string.h: Likewise.
31723 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31724 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31725 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31726 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31727 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31728 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31729 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31730 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31731 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31732 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31733 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31734 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31735 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31736 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31737 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31738 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31739 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31740 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31741 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31742 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31743 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31744 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31745 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31746 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31747 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31748 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31749 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31750 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31751 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31752 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31753 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31754 * sysvipc/sys/ipc.h: Likewise.
31755 * sysvipc/sys/msg.h: Likewise.
31756 * sysvipc/sys/sem.h: Likewise.
31757 * sysvipc/sys/shm.h: Likewise.
31758 * termios/termios.h: Likewise.
31759 * time/sys/time.h: Likewise.
31760 * time/time.h: Likewise.
31761 * wcsmbs/bits/wchar2.h: Likewise.
31762 * wcsmbs/uchar.h: Likewise.
31763 * wcsmbs/wchar.h: Likewise.
31764 * wctype/wctype.h: Likewise.
31767 * Makeconfig: Remove all but ELF support including AIX support.
31768 * Makerules: Likewise.
31769 * config.h.in: Likewise.
31770 * config.make.in: Likewise.
31771 * configure: Likewise.
31772 * configure.in: Likewise.
31773 * csu/Makefile: Likewise.
31774 * csu/version.c: Likewise.
31775 * debug/Makefile: Likewise.
31776 * dlfcn/Makefile: Likewise.
31777 * elf/Makefile: Likewise.
31778 * extra-lib.mk: Likewise.
31779 * iconv/Makefile: Likewise.
31780 * include/libc-symbols.h: Likewise.
31781 * include/shlib-compat.h: Likewise.
31782 * resolv/Makefile: Likewise.
31783 * resolv/res_libc.c: Likewise.
31784 * rt/Makefile: Likewise.
31785 * sysdeps/i386/asm-syntax.h: Likewise.
31786 * sysdeps/i386/sysdep.h: Likewise.
31787 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31788 * sysdeps/mach/sysdep.h: Likewise.
31789 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31790 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31791 * sysdeps/s390/asm-syntax.h: Likewise.
31792 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31793 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31794 * sysdeps/sh/sysdep.h: Likewise.
31795 * sysdeps/unix/sparc/sysdep.h: Likewise.
31796 * sysdeps/wordsize-32/divdi3.c: Likewise.
31797 * sysdeps/x86_64/sysdep.h: Likewise.
31799 * argp/Versions: Remove _argp_unlock_xxx.
31802 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31803 * abilist/libBrokenLocale.abilist: Likewise.
31804 * abilist/libanl.abilist: Likewise.
31805 * abilist/libc.abilist: Likewise.
31806 * abilist/libcrypt.abilist: Likewise.
31807 * abilist/libdl.abilist: Likewise.
31808 * abilist/libm.abilist: Likewise.
31809 * abilist/libnsl.abilist: Likewise.
31810 * abilist/libpthread.abilist: Likewise.
31811 * abilist/libresolv.abilist: Likewise.
31812 * abilist/librt.abilist: Likewise.
31813 * abilist/libthread_db.abilist: Likewise.
31814 * abilist/libutil.abilist: Likewise.
31815 * abilist/libnss_db.abilist: New file.
31817 * scripts/abilist.awk: Add support for indirect functions.
31819 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31821 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31823 * shlib-versions: Remove entries for ports architectures.
31825 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31827 * elf/stackguard-macros.h: Remove support for IA-64.
31828 * elf/tst-auditmod1.c: Likewise.
31829 * sysdeps/generic/ldsodefs.h: Likewise.
31831 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31832 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31836 * configure.in: Remove --enable-omitfp support.
31838 * config.make.in: Likewise.
31839 * Makeconfig: Likewise.
31840 * manual/install.texi: Likewise.
31842 In case anyone cares, the IA-64 architecture could move to ports.
31843 * sysdeps/ia64/*: Removed.
31844 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31845 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31848 * configure.in: Remove entries for unsupported architectures.
31851 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31852 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31854 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31855 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31856 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31857 fall back to using wcrtomb.
31858 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31859 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31861 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31862 * wcsmbs/tst-c16c32-1.c: New file.
31864 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31867 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31869 * elf/tst-unique3.cc: Add explicit declaration of gets.
31870 * elf/tst-unique3lib.cc: Likewise.
31871 * elf/tst-unique3lib2.cc: Likewise.
31872 * elf/tst-unique4.cc: Likewise.
31874 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31876 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31879 * assert/assert.h (static_assert): Don't define for C++.
31880 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31881 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31883 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31885 * iconv/loop.c (single loop): Fix assertion in storing of
31888 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31890 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31892 * posix/getconf.c: Update copyright year.
31893 * nss/getent.c: Likewise.
31894 * nss/makedb.c: Likewise.
31895 * iconv/iconvconfig.c: Likewise.
31896 * iconv/iconv_prog.c: Likewise.
31897 * elf/ldconfig.c: Likewise.
31898 * elf/pldd.c: Likewise.
31899 * elf/sotruss.ksh: Likewise.
31900 * catgets/gencat.c: Likewise.
31901 * csu/version.c: Likewise.
31902 * elf/ldd.bash.in: Likewise.
31903 * elf/sprof.c (print_version): Likewise.
31904 * locale/programs/locale.c: Likewise.
31905 * locale/programs/localedef.c: Likewise.
31906 * login/programs/pt_chown.c: Likewise.
31907 * nscd/nscd.c (print_version): Likewise.
31908 * debug/xtrace.sh: Likewise.
31909 * malloc/memusage.sh: Likewise.
31910 * malloc/mtrace.pl: Likewise.
31911 * debug/catchsegv.sh: Likewise.
31913 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31915 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31918 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31921 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31922 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31924 * iconv/gconv_int.h: Likewise.
31925 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31926 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31927 from libc for GLIBC_2.16.
31928 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31929 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31930 * wcsmbs/uchar.h: Really define mbstate_t.
31931 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31932 * wcsmbs/c16rtomb.c: New file.
31933 * wcsmbs/mbrtoc16.c: New file.
31934 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31935 for C/POSIX locale.
31936 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31937 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31939 * wcsmbs/wchar.h: Add missing __restrict.
31941 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31944 * time/Makefile (routines): Add timespec_get.
31945 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31946 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31947 timespec for ISO C11.
31948 * time/timespec_get.c: New file.
31949 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31950 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31953 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31954 * stdlib/stdlib.h: Declare aligned_alloc.
31955 * Versions.def: Add GLIBC_2.16 for libc.
31956 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31959 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31962 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31966 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31969 * assert/assert.h (static_assert): Define.
31971 * version.h: Update for 2.16 development version.
31974 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31977 * version.h (RELEASE): Bump for 2.15 release.
31978 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31980 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31981 Patch by Marek Polacek <mpolacek@redhat.com>.
31983 * bits/byteswap.h: Protect long long constants with __extension__.
31984 * sysdeps/i386/bits/byteswap.h: Likewise.
31985 * sysdeps/ia64/bits/byteswap.h: Likewise.
31986 * sysdeps/s390/bits/byteswap.h: Likewise.
31987 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31989 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31992 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31993 destination buffer.
31994 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31996 2011-12-23 Marek Polacek <polacek@redhat.com>
31998 * elf/dl-addr.c (determine_info): Add inline keyword.
31999 * elf/tst-auditmod4b.c (check_avx): Likewise.
32000 * elf/tst-auditmod6b.c (check_avx): Likewise.
32001 * elf/tst-auditmod6c.c (check_avx): Likewise.
32002 * elf/tst-auditmod7b.c (check_avx): Likewise.
32004 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32006 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32009 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32012 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32013 processing for last bytes.
32015 2011-08-06 Bruno Haible <bruno@clisp.org>
32018 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32019 U+0385, not to U+1FEE.
32022 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32023 entry for U+00A5 U+0301.
32025 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32028 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32029 buffer for the output is too small.
32031 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32035 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32036 SSE flags if possible.
32038 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32041 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32042 processing for last bytes.
32044 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32046 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32047 (syscall-list-default-options, syscall-list-default-condition)
32048 (syscall-list-includes): Define.
32049 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32050 list of ABIs and options and #if conditions for each ABI. Do not
32051 handle common syscalls between ABIs specially.
32052 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32054 (syscall-list-variants, syscall-list-32bit-options)
32055 (syscall-list-32bit-condition, syscall-list-64bit-options)
32056 (syscall-list-64bit-condition): Define.
32057 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32058 (syscall-list-variants, syscall-list-32bit-options)
32059 (syscall-list-32bit-condition, syscall-list-64bit-options)
32060 (syscall-list-64bit-condition): Define.
32061 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32063 (syscall-list-variants, syscall-list-32bit-options)
32064 (syscall-list-32bit-condition, syscall-list-64bit-options)
32065 (syscall-list-64bit-condition): Define.
32066 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32068 (syscall-list-variants, syscall-list-32bit-options)
32069 (syscall-list-32bit-condition, syscall-list-64bit-options)
32070 (syscall-list-64bit-condition): Define.
32072 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32074 * locale/iso-639.def: Add brx entry.
32077 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32078 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32080 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32081 __feraiseexcept_renamed.
32083 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32086 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32087 EPOLLET with unsigned values.
32088 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32089 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32091 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32092 to large cancellation.
32093 * math/s_cacoshf.c: Likewise.
32094 * math/s_cacoshl.c: Likewise.
32096 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32100 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32101 * math/s_cacoshf.c: Likewise.
32102 * math/s_cacoshl.c: Likewise.
32104 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32107 * iconv/gconv.h: Define __GCONV_SWAP.
32108 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32109 * iconvdata/utf-16.c: Likewise.
32110 * iconvdata/utf-32.c: Likewise.
32112 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32116 numerator after shifting it by one limb.
32118 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32120 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32121 under [__USE_EXTERN_INLINES].
32123 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32126 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32128 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32130 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32131 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32133 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32134 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32135 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32136 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32137 for strncasecmp/strncasecmp_l compilation.
32138 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32139 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32141 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32144 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32147 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32150 * time/tzfile.c (__tzfile_read): Check values from file header.
32152 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32154 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32155 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32156 * powerpc/powerpc32/dl-start.S: Likewise.
32157 * powerpc/powerpc32/elf/start.S: Likewise.
32158 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32159 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32160 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32161 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32162 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32163 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32164 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32165 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32166 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32167 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32168 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32169 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32170 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32171 * powerpc/powerpc32/memset.S: Likewise.
32172 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32173 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32174 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32175 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32176 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32177 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32178 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32179 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32180 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32181 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32182 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32183 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32184 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32186 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32188 * math/libm-test.inc: Added more nearbyint tests.
32189 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32190 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32191 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32194 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32196 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32199 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32201 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32202 Add wcscpy-ssse3 wcscpy-c.
32203 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32204 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32205 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32206 * sysdeps/x86_64/wcschr.S: New file.
32207 * sysdeps/x86_64/wcsrchr.S: New file.
32208 * string/test-strcmp.c: Remove checking of wcscmp function for
32210 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32211 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32212 wcsrchr-sse2 wcsrchr-c.
32213 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32214 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32215 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32216 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32217 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32218 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32219 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32220 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32221 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32222 * wcsmbc/wcschr.c (WCSCHR): New macro.
32224 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32226 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32227 * wcsmbs/test-wcsrchr.c: New file.
32228 * string/test-strrchr.c: Add wcsrchr support.
32230 * wcsmbs/test-wcscpy.c: New file.
32231 * string/test-strcpy.c: Add wcscpy support.
32234 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32236 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32239 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32242 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32244 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32246 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32247 Minor optimizations.
32249 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32250 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32251 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32253 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32255 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32256 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32257 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32258 for gcc to avoid warnings.
32259 * inet/Makefile (tests): Add tst-checks.
32260 * inet/tst-checks.c: New file.
32262 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32265 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32268 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32269 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32271 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32273 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32275 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32278 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32280 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32282 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32283 conditional on GCC version.
32284 (__arch_compare_and_exchange_val_8_acq)
32285 (__arch_compare_and_exchange_val_16_acq)
32286 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32287 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32288 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32290 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32292 * sysdeps/sh/backtrace.c: New file.
32294 2011-12-02 Andreas Schwab <schwab@redhat.com>
32296 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32299 2011-12-01 Andreas Schwab <schwab@redhat.com>
32301 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32302 falling back to utime.
32304 2011-11-30 Andreas Schwab <schwab@redhat.com>
32306 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32307 expectations for float.
32309 2011-11-29 Andreas Schwab <schwab@redhat.com>
32311 * locale/weight.h (findidx): Add parameter len.
32312 * locale/weightwc.h (findidx): Likewise.
32313 * posix/fnmatch_loop.c (FCT): Adjust caller.
32314 * posix/regcomp.c (build_equiv_class): Likewise.
32315 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32316 * posix/regexec.c (check_node_accept_bytes): Likewise.
32317 * string/strcoll_l.c (STRCOLL): Likewise.
32318 * string/strxfrm_l.c (STRXFRM): Likewise.
32320 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32322 * Makefile.in: Remove CVSOPT handling.
32323 * configure.in: Remove use of AC_REVISION.
32324 * iconvdata/Makefile (distribute): No need to filter out CVS.
32325 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32328 2011-11-16 Andreas Schwab <schwab@redhat.com>
32330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32331 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32332 [USE_AS_STRNCASECMP_L]: Likewise.
32333 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32334 NO_TLS_DIRECT_SEG_REFS.
32335 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32336 Fix argument offsets for non-PIC.
32337 [USE_AS_STRNCASECMP_L]: Likewise.
32338 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32339 NO_TLS_DIRECT_SEG_REFS.
32341 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32343 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32345 * locale/loadlocale.c (_nl_load_locale): Likewise.
32347 2011-11-15 Andreas Schwab <schwab@redhat.com>
32349 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32350 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32351 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32352 (SYSCALL_GETTIME): Set errno on error.
32354 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32355 count references to noai6ai_cached.
32357 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32359 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32361 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32362 FD_CLOEXEC for /proc/self/maps.
32364 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32365 FD_CLOEXEC for /proc/meminfo.
32367 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32370 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32371 FD_CLOEXEC for given file.
32373 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32375 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32376 FD_CLOEXEC for /etc/hosts.
32377 (_gethtent): Likewise.
32379 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32381 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32382 cancellation and set FD_CLOEXEC for /etc/netgroup.
32384 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32385 reading /etc/publickey.
32387 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32388 allow cancellation when reading /etc/group.
32390 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32392 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32394 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32395 when using data file.
32397 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32399 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32400 (write_nis_obj): Use "c" and "e" in fopen.
32402 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32404 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32406 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32408 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32410 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32413 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32415 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32417 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32419 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32420 file parsing and set FD_CLOEXEC.
32422 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32424 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32426 2011-11-14 Andreas Schwab <schwab@redhat.com>
32428 * malloc/arena.c (arena_get2): Don't call reused_arena when
32429 _int_new_arena failed.
32431 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32433 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32434 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32435 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32436 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32437 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32438 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32439 to compile strcasecmp and strncasecmp.
32440 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32441 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32445 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32447 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32448 locale-defines.sym to gen-as-const-headers.
32449 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32450 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32452 to compile strcasecmp and strncasecmp.
32453 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32454 strcasecmp_l and strncasecmp_l.
32455 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32456 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32457 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32458 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32459 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32460 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32461 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32462 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32463 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32464 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32465 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32467 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32469 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32470 result of SYSDEP_GETTIME_CPU to retval.
32471 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32472 parameter list to macro. Remove trailing semicolon. Adjust users.
32474 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32477 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32479 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32481 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32482 from unused variable.
32484 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32486 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32489 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32492 * sunrpc/rpc_prot.c (rejected): Fix case value.
32494 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32495 unsigned long long int to avoid warnings in shift.
32497 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32499 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32502 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32503 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32504 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32506 * nis/nis_table.c (nis_list): Use variable of correct type for
32507 result of __follow_path call.
32509 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32511 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32512 of math functions ceil, trunc, floor, round, and sqrt, when
32513 avaliable on the platform.
32514 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32516 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32517 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32518 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32520 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32522 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32523 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32525 2011-11-11 Roland McGrath <roland@hack.frob.com>
32527 * include/unistd.h: Fix __readlink return type.
32528 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32530 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32532 * stdlib/ucontext.h: Undo last change for makecontext.
32534 2011-11-11 Andreas Schwab <schwab@redhat.com>
32536 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32538 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32539 * setjmp/setjmp.h: Mark functions as non-leaf.
32540 * setjmp/bits/setjmp2.h: Likewise.
32541 * stdlib/ucontext.h: Likewise.
32543 2011-11-10 Andreas Schwab <schwab@redhat.com>
32545 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32546 (reused_arena): Don't check arena limit.
32547 (arena_get2): Atomically check arena limit.
32549 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32551 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32552 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32557 2011-11-07 Andreas Schwab <schwab@redhat.com>
32559 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32560 handler when locking.
32562 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32563 Fix size of allocated buffer.
32565 2011-11-04 Andreas Schwab <schwab@redhat.com>
32568 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32569 declarations for long double functions.
32570 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32572 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32574 2011-11-03 Andreas Schwab <schwab@redhat.com>
32576 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32579 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32582 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32584 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32586 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32588 * include/alloca.h (stackinfo_alloca_round): Define.
32589 (extend_alloca): Use it.
32590 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32591 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32594 * scripts/check-local-headers.sh: Ignore libaudit.h.
32596 * nscd/Makefile (extra-objs): Make recursively expanded.
32598 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32600 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32601 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32603 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32604 * posix/tst-rfc3484-2.c: Likewise.
32605 * posix/tst-rfc3484-3.c: Likewise.
32607 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32609 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32611 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32612 process_vm_writev from libc using GLIBC_2.15 version.
32614 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32616 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32618 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32621 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32624 * nss/getent.c (initgroups_keys): Show error message in case no group
32627 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32628 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32629 __bump_nl_timestamp.
32630 * nscd/connections (nscd_init): When host database is served open
32631 netlink socket and request notification about configuration changes.
32632 (main_loop_poll): Track netlink file descriptor and bump timestamp
32633 in case data becomes available.
32634 (main_loop_epoll): Likewise.
32635 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32636 (database_pers_head): Add extra_data fileds.
32637 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32638 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32639 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32641 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32642 in6ai data, call __free_in6ai.
32643 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32644 Add -DHAVE_NETLINK.
32645 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32646 interface information. Reuse previous data if netlink timestamp
32648 (__bump_nl_timestamp): New function.
32649 (__free_in6ai): New function.
32651 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32653 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32654 close_not_cancel_no_status here.
32655 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32657 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32660 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32663 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32664 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32665 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32667 2011-07-03 Andreas Jaeger <aj@suse.de>
32670 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32671 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32672 * math/libm-test.inc (sin_test): Add test case.
32674 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32677 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32678 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32680 * elf/chroot_canon.c (chroot_canon): Cleanups.
32682 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32685 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32686 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32688 * string/test-strchr.c: Make usable for strchrnul testing.
32689 * string/test-strchrnul.c: New file.
32690 * string/Makefile (strop-tests): Add strchrnul.
32692 * po/it.po: Update from translation team.
32693 * po/es.po: Likewise.
32695 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32697 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32698 the three constants needed as parameters. Drop the others.
32699 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32700 __m128i_strloadu_tolower.
32701 Create and initialize variable zero and use it in all the places
32702 where _mm_setzero_si128 was used.
32704 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32705 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32706 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32707 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32709 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32710 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32711 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32712 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32713 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32714 __mpranred, __mptan.
32715 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32716 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32717 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32718 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32719 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32720 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32721 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32722 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32723 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32725 2011-10-28 Andreas Schwab <schwab@redhat.com>
32727 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32728 redefine if SHARED.
32729 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32732 wide char related routines to wcsmbs subdir.
32734 2011-10-27 Andreas Schwab <schwab@redhat.com>
32737 * misc/sys/cdefs.h (__THROWNL): Define.
32738 * posix/unistd.h: Use __THREADNL instead of __THREAD
32739 for memory synchronization functions.
32741 2011-10-26 Roland McGrath <roland@hack.frob.com>
32744 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32746 * manual/stdio.texi (Obstack Streams): Node removed.
32748 2011-10-26 Andreas Schwab <schwab@redhat.com>
32750 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32751 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32752 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32754 * math/math_private.h (math_force_eval): Allow non-addressable
32756 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32758 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32760 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32761 file is not needed.
32763 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32764 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32765 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32766 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32767 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32769 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32770 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32772 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32773 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32774 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32775 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32776 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32777 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32778 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32779 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32780 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32781 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32782 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32783 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32784 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32785 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32786 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32787 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32788 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32789 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32790 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32792 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32793 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32795 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32796 place. Use VEX encoding when compiling for AVX.
32798 2011-10-25 Andreas Schwab <schwab@redhat.com>
32800 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32801 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32803 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32805 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32807 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32808 useless if() expression.
32809 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32810 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32811 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32812 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32813 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32814 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32815 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32816 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32817 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32818 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32819 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32820 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32821 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32822 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32823 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32824 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32825 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32826 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32827 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32829 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32831 2011-10-25 Andreas Schwab <schwab@redhat.com>
32833 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32835 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32837 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32839 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32840 .text section. Avoid duplicate constants.
32841 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32843 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32845 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32847 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32848 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32849 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32850 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32851 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32852 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32853 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32854 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32855 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32856 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32857 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32858 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32859 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32861 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32862 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32863 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32864 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32865 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32866 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32867 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32868 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32869 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32870 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32871 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32872 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32873 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32874 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32875 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32876 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32877 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32878 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32879 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32880 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32881 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32883 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32884 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32885 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32887 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32889 * sysdeps/x86_64/dla.h: Move to ...
32890 * sysdeps/x86_64/fpu/dla.h: ...here.
32891 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32892 situations. Use __builtin_fma only for gcc 4.6 and up.
32894 * config.make.in: Add have-mfma4 entry.
32895 * configure.in: Substitute libc_cv_cc_fma4.
32896 * math/Makefile (dbl-only-routines): Add sincostab.
32897 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32898 Use __sincostab not sincos.
32899 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32901 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32906 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32907 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32908 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32909 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32911 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32912 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32914 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32915 define aliases when function name is a macro.
32916 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32917 sysdeps/ieee754/dbl-64/sincos.tbl.
32918 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32919 fma4-enabled routines.
32920 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32921 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32922 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32923 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32924 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32925 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32926 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32927 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32928 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32929 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32930 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32931 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32932 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32933 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32934 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32935 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32936 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32937 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32938 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32939 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32940 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32941 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32942 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32943 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32944 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32945 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32946 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32947 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32948 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32949 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32951 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32953 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32955 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32958 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32960 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32962 2011-10-24 Andreas Schwab <schwab@redhat.com>
32964 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32966 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32968 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32970 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32972 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32974 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32975 Remove unused variable magic_bits.
32976 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32978 * string/strnlen.c: Define and use STRNLEN macro.
32979 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32980 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32982 * wcsmbs/wcslen.c: Define and use WCSLEN.
32983 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32984 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32985 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32986 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32987 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32988 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32989 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32991 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32994 strnlen-sse2-no-bsf.
32995 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32996 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32997 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32998 Add strnlen support.
32999 (USE_AS_STRNLEN): New macro.
33000 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33001 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33002 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33003 * sysdeps/x86_64/wcslen.S: New file.
33005 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33007 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33008 XMM-moves are used for copying on small sizes.
33010 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33012 * wcsmbs/Makefile (strop-tests): Add wcschr.
33013 * wcsmbs/test-wcschr.c: New file.
33014 * string/test-strchr.c: Update.
33015 Add wcschr support.
33018 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33020 * wcsmbs/Makefile (strop-tests): Add wcslen.
33021 * wcsmbs/test-wcslen.c: New file.
33022 * string/test-strlen.c: Update.
33023 Add wcslen support.
33026 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33028 * po/it.po: Update from translation team.
33030 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33032 * sysdeps/x86_64/wcscmp.S: Update.
33033 Fix wrong comparison semantics.
33034 wcscmp shall use signed comparison not unsigned.
33035 Don't use substraction to avoid overflow bug.
33036 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33037 * wcsmbc/wcscmp.c: Likewise.
33038 * string/test-strcmp.c: Likewise.
33039 Add new tests to check cases with negative values.
33041 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33043 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33044 * sysdeps/x86_64/dla.h: ...here. New file.
33045 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33055 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33058 __ynl_finite aliases.
33060 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33064 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33066 [DLA_FMA] (EMULV): Use DLA_FMA.
33067 [DLA_FMA] (MUL12): Use EMULV.
33068 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33069 that are not needed.
33070 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33075 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33076 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33078 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33080 * math/s_nan.c: Undef __nan.
33081 * math/s_nanf.c: Undef __nanf.
33082 * math/s_nanl.c: Undef __nanl.
33083 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33086 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33088 * math/s_catan.c: Add branch predictions.
33089 * math/s_catanf.c: Likewise.
33090 * math/s_catanh.c: Likewise.
33091 * math/s_catanhf.c: Likewise.
33092 * math/s_catanhl.c: Likewise.
33093 * math/s_catanl.c: Likewise.
33094 * math/s_cexp.c: Likewise.
33095 * math/s_cexpf.c: Likewise.
33096 * math/s_cexpl.c: Likewise.
33097 * math/s_clog.c: Likewise.
33098 * math/s_clog10.c: Likewise.
33099 * math/s_clog10f.c: Likewise.
33100 * math/s_clog10l.c: Likewise.
33101 * math/s_clogf.c: Likewise.
33102 * math/s_clogl.c: Likewise.
33103 * math/s_csqrt.c: Likewise.
33104 * math/s_csqrtf.c: Likewise.
33105 * math/s_csqrtl.c: Likewise.
33106 * math/s_ctanf.c: Likewise.
33107 * math/s_ctanh.c: Likewise.
33108 * math/s_ctanhf.c: Likewise.
33109 * math/s_ctanhl.c: Likewise.
33110 * math/s_ctanl.c: Likewise.
33112 * math/math_private.h: Define __nan, __nanf, __nanl.
33113 * math/s_cacosh.c: Include <math_private.h>.
33114 * math/s_cacoshl.c: Likewise.
33115 * math/s_casinh.c: Likewise.
33116 * math/s_casinhf.c: Likewise.
33117 * math/s_casinhl.c: Likewise.
33118 * math/s_ccos.c: Rely entire on ccosh.
33119 * math/s_ccosf.c: Rely entire on ccoshf.
33120 * math/s_ccosl.c: Rely entirely on ccoshl.
33121 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33122 Remove tests for FE_INVALID.
33123 * math/s_ccoshf.c: Likewise.
33124 * math/s_ccoshl.c: Likewise.
33125 * math/s_csin.c: Likewise.
33126 * math/s_csinf.c: Likewise.
33127 * math/s_csinh.c Likewise.
33128 * math/s_csinhf.c: Likewise.
33129 * math/s_csinhl.c: Likewise.
33130 * math/s_csinl.c: Likewise.
33131 * math/s_ctan.c: Likewise.
33132 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33133 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33134 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33136 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33139 compilation problems.
33141 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33144 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33146 * sysdeps/i386/configure.in: Test for -mfma4 option.
33147 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33148 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33149 COMMON_CPUID_INDEX_80000001.
33150 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33151 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33152 use it if FMA3 is not supported.
33153 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33155 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33156 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33158 2011-10-20 Andreas Schwab <schwab@redhat.com>
33161 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33162 it would create a cycle with a link time dependency.
33164 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33166 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33168 * string/Makefile (strop-tests): Add rawmemchr.
33169 * string/test-rawmemchr.c: New file.
33171 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33172 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33173 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33174 when compiling str{,n}casecmp and when AVX is available. Hook up
33175 new optimized code in initializers.
33177 2011-10-19 Andreas Schwab <schwab@redhat.com>
33179 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33180 __feraiseexcept instead of feraiseexcept.
33182 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33184 * math/math_private.h: Define defaults for libc_fetestexcept and
33186 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33187 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33188 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33189 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33190 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33191 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33192 libc_fetestexcept and libc_feupdateenv.
33194 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33195 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33196 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33197 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33198 libc_feholdexcept_setround.
33200 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33201 Add s_nearbyint-c and s_nearbyintf-c.
33202 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33203 nearbyintf inlines.
33204 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33205 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33206 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33207 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33209 * math/math_private.h: Define defaults for libc_fegetround,
33210 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33211 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33212 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33213 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33214 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33215 standard functions.
33216 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33217 Remove comments and hacks for old compiler versions.
33218 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33219 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33220 libc_feholdexceptl.
33222 2011-10-18 Andreas Schwab <schwab@redhat.com>
33224 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33225 (__feraiseexcept_renamed): Add __NTH.
33226 (feraiseexcept): Add __NTH. Rename local variables to fix
33227 namespace violations.
33229 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33231 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33233 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33235 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33236 recently added interfaces.
33237 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33239 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33240 about macro parameter expansion.
33242 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33243 __NO_MATH_INLINES is defined. Cleanups.
33245 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33246 and __floorf is target has SSE4.1.
33247 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33248 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33249 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33250 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33252 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33254 (floorf): Likewise.
33256 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33258 2011-10-17 Andreas Schwab <schwab@redhat.com>
33260 * misc/sys/cdefs.h: Fix last change.
33262 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33265 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33267 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33269 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33271 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33272 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33273 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33274 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33275 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33276 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33277 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33278 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33279 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33280 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33281 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33282 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33283 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33284 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33285 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33286 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33287 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33288 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33289 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33290 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33292 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33293 ceil, ceilf, floor, floorf.
33295 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33296 Perform IRELATIVE relocations last.
33298 * elf/do-rel.h: Add another parameter nrelative, replacing the
33299 local variable with the same name. Change name of the function
33300 to end in Rel or Rela (uppercase).
33301 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33302 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33303 elf_dynamic_do_##reloc function.
33305 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33307 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33308 is sufficient, at least on modern CPUs.
33310 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33312 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33313 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33315 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33317 * math/bits/math-finite.h: Add entries for exp.
33318 * math/e_expl.c: Add __*_finite alias.
33319 * sysdeps/i386/fpu/e_exp.S: Likewise.
33320 * sysdeps/i386/fpu/e_expf.S: Likewise.
33321 * sysdeps/i386/fpu/e_expl.c: Likewise.
33322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33323 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33324 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33326 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33327 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33328 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33330 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33331 is sufficient, at least on modern CPUs.
33333 * ctype/ctype-info.c (__ctype_init): Define.
33334 * include/ctype.h (__ctype_init): Declare.
33335 (__ctype_b_loc): The variable is always initialized.
33336 (__ctype_toupper_loc): Likewise.
33337 (__ctype_tolower_loc): Likewise.
33338 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33339 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33341 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33343 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33345 * configure.in: Also look in $cxxmachine/include for C++ system
33348 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33350 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33351 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33352 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33353 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33354 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33355 (USE_AS_WMEMCMP): New macro.
33357 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33358 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33359 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33360 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33362 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33363 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33364 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33365 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33366 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33367 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33368 (USE_AS_WMEMCMP): New macro.
33369 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33370 * sysdeps/string/test-memcmp.c: Update.
33371 Fix simple_wmemcmp.
33373 * wcsmbs/wmemcmp.c: Update.
33374 (WMEMCMP): New macro.
33377 2011-10-12 Andreas Jaeger <aj@suse.de>
33380 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33382 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33384 * libio/iofwide.c (do_length): Avoid warning.
33386 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33388 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33390 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33392 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33393 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33394 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33395 * sysdeps/i386/i686/fpu/e_log.S: New file.
33396 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33397 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33399 * ctype/ctype.h: Add support for inlined isXXX functions when
33400 compiling C++ code.
33402 2011-10-14 Andreas Schwab <schwab@redhat.com>
33404 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33406 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33408 2011-10-13 Roland McGrath <roland@hack.frob.com>
33411 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33413 2011-10-13 Andreas Schwab <schwab@redhat.com>
33415 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33416 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33419 * sysdeps/x86_64/memrchr.S: Check for zero size.
33421 * string/stratcliff.c: Add memrchr tests.
33423 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33426 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33427 rawmemchr-sse2 rawmemchr-sse2-bsf.
33428 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33429 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33430 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33431 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33432 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33433 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33434 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33435 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33436 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33437 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33438 * string/memrchr.c (MEMRCHR): New macro.
33440 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33442 Add integration with gcc's -ffinite-math-only and optimize wrapper
33444 * Versions.def: Define GLIBC_2.15 version for libm.
33445 * math/Makefile (headers): Add bits/math-finite.h.
33446 * math/bits/math-finite.h: New file.
33447 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33448 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33449 * math/e_acoshl.c: Add __*_finite alias.
33450 * math/e_acosl.c: Likewise.
33451 * math/e_asinl.c: Likewise.
33452 * math/e_atan2l.c: Likewise.
33453 * math/e_atanhl.c: Likewise.
33454 * math/e_coshl.c: Likewise.
33455 * math/e_exp10.c: Likewise.
33456 * math/e_exp10f.c: Likewise.
33457 * math/e_exp10l.c: Likewise.
33458 * math/e_exp2l.c: Likewise.
33459 * math/e_fmodl.c: Likewise.
33460 * math/e_gammal_r.c: Likewise.
33461 * math/e_hypotl.c: Likewise.
33462 * math/e_j0l.c: Likewise.
33463 * math/e_j1l.c: Likewise.
33464 * math/e_jnl.c: Likewise.
33465 * math/e_lgammal_r.c: Likewise.
33466 * math/e_log10l.c: Likewise.
33467 * math/e_log2l.c: Likewise.
33468 * math/e_logl.c: Likewise.
33469 * math/e_powl.c: Likewise.
33470 * math/e_sinhl.c: Likewise.
33471 * math/e_sqrtl.c: Likewise.
33472 * math/e_scalb.c: Completely rewritten and optimized.
33473 * math/e_scalbf.c: Likewise.
33474 * math/e_scalbl.c: Likewise.
33475 * math/w_acos.c: Likewise.
33476 * math/w_acosf.c: Likewise.
33477 * math/w_acosl.c: Likewise.
33478 * math/w_acosh.c: Likewise.
33479 * math/w_acoshf.c: Likewise.
33480 * math/w_acoshl.c: Likewise.
33481 * math/w_asin.c: Likewise.
33482 * math/w_asinf.c: Likewise.
33483 * math/w_asinl.c: Likewise.
33484 * math/w_atan2.c: Likewise.
33485 * math/w_atan2f.c: Likewise.
33486 * math/w_atan2l.c: Likewise.
33487 * math/w_atanh.c: Likewise.
33488 * math/w_atanhf.c: Likewise.
33489 * math/w_atanhl.c: Likewise.
33490 * math/w_exp10.c: Likewise.
33491 * math/w_exp10f.c: Likewise.
33492 * math/w_exp10l.c: Likewise.
33493 * math/w_fmod.c: Likewise.
33494 * math/w_fmodf.c: Likewise.
33495 * math/w_fmodl.c: Likewise.
33496 * math/w_j0.c: Likewise.
33497 * math/w_j0f.c: Likewise.
33498 * math/w_j0l.c: Likewise.
33499 * math/w_j1.c: Likewise.
33500 * math/w_j1f.c: Likewise.
33501 * math/w_j1l.c: Likewise.
33502 * math/w_jn.c: Likewise.
33503 * math/w_jnf.c: Likewise.
33504 * math/w_log.c: Likewise.
33505 * math/w_logf.c: Likewise.
33506 * math/w_logl.c: Likewise.
33507 * math/w_log10.c: Likewise.
33508 * math/w_log10f.c: Likewise.
33509 * math/w_log10l.c: Likewise.
33510 * math/w_log2.c: Likewise.
33511 * math/w_log2f.c: Likewise.
33512 * math/w_log2l.c: Likewise.
33513 * math/w_pow.c: Likewise.
33514 * math/w_powf.c: Likewise.
33515 * math/w_powl.c: Likewise.
33516 * math/w_remainder.c: Likewise.
33517 * math/w_remainderf.c: Likewise.
33518 * math/w_remainderl.c: Likewise.
33519 * math/w_scalb.c: Likewise.
33520 * math/w_scalbf.c: Likewise.
33521 * math/w_scalbl.c: Likewise.
33522 * math/w_sqrt.c: Likewise.
33523 * math/w_sqrtf.c: Likewise.
33524 * math/w_sqrtl.c: Likewise.
33525 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33526 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33528 * math/math_private.h: Declare __kernel_standard_f.
33529 * math/w_cosh.c: Remove cruft and optimize a bit.
33530 * math/w_coshf.c: Likewise.
33531 * math/w_coshl.c: Likewise.
33532 * math/w_exp2.c: Likewise.
33533 * math/w_exp2f.c: Likewise.
33534 * math/w_exp2l.c: Likewise.
33535 * math/w_hypot.c: Likewise.
33536 * math/w_hypotf.c: Likewise.
33537 * math/w_hypotl.c: Likewise.
33538 * math/w_lgamma.c: Likewise.
33539 * math/w_lgamma_r.c: Likewise.
33540 * math/w_lgammaf.c: Likewise.
33541 * math/w_lgammaf_r.c: Likewise.
33542 * math/w_lgammal.c: Likewise.
33543 * math/w_lgammal_r.c: Likewise.
33544 * math/w_sinh.c: Likewise.
33545 * math/w_sinhf.c: Likewise.
33546 * math/w_sinhl.c: Likewise.
33547 * math/w_tgamma.c: Likewise.
33548 * math/w_tgammaf.c: Likewise.
33549 * math/w_tgammal.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33551 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33552 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33553 Minor optimizations. Pretty printing. Remove cruft.
33554 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33555 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33556 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33557 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33558 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33559 * sysdeps/i386/fpu/e_asin.S: Likewise.
33560 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33561 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33562 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33563 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33564 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33565 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33566 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33567 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33568 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33569 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33570 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33571 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33572 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33573 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33574 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33575 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33576 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33577 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33578 * sysdeps/i386/fpu/e_log.S: Likewise.
33579 * sysdeps/i386/fpu/e_log10.S: Likewise.
33580 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33581 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33582 * sysdeps/i386/fpu/e_log2.S: Likewise.
33583 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33584 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33585 * sysdeps/i386/fpu/e_logf.S: Likewise.
33586 * sysdeps/i386/fpu/e_logl.S: Likewise.
33587 * sysdeps/i386/fpu/e_pow.S: Likewise.
33588 * sysdeps/i386/fpu/e_powf.S: Likewise.
33589 * sysdeps/i386/fpu/e_powl.S: Likewise.
33590 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33591 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33592 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33593 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33594 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33595 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33596 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33597 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33598 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33600 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33602 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33603 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33604 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33605 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33606 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33608 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33609 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33610 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33611 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33612 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33613 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33614 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33615 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33616 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33617 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33620 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33621 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33622 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33624 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33625 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33626 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33628 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33630 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33631 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33632 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33633 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33634 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33635 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33636 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33637 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33638 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33639 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33640 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33643 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33651 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33652 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33654 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33679 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33682 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33684 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33685 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33687 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33690 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33691 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33692 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33693 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33694 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33695 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33696 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33697 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33698 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33699 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33700 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33701 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33702 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33703 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33704 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33705 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33706 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33707 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33708 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33709 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33710 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33711 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33712 (__isnanf): Likewise.
33713 (__isinf_ns): Likewise.
33714 (__isinf_nsf): Likewise.
33715 (__finite): Likewise.
33716 (__finitef): Likewise.
33717 (__ieee754_sqrt): Define as macro.
33718 (__ieee754_sqrtf): Define as macro.
33719 (__ieee754_sqrtl): Define as macro.
33720 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33722 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33723 __FINITE_MATH_ONLY__ consistent.
33724 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33726 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33728 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33731 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33733 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33735 * po/ja.po: Update from translation team.
33737 2011-10-08 Roland McGrath <roland@hack.frob.com>
33739 * locale/programs/locarchive.c (prepare_address_space): New function.
33740 (create_archive, enlarge_archive, open_archive): Use it.
33742 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33743 inside [SHARED], where it is used.
33745 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33747 * nss/getent.c (netgroup_keys): Remove unused variable.
33748 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33750 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33752 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33753 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33754 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33755 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33756 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33757 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33758 * math/Makefile (libm-calls): Add s_isinf_ns.
33759 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33760 * math/multc3.c: Likewise.
33761 * math/s_casin.c: Likewise.
33762 * math/s_casinf.c: Likewise.
33763 * math/s_casinl.c: Likewise.
33764 * math/s_ccos.c: Likewise.
33765 * math/s_ccosf.c: Likewise.
33766 * math/s_ccosl.c: Likewise.
33767 * math/s_ctan.c: Likewise.
33768 * math/s_ctanf.c: Likewise.
33769 * math/s_ctanh.c: Likewise.
33770 * math/s_ctanhf.c: Likewise.
33771 * math/s_ctanhl.c: Likewise.
33772 * math/s_ctanl.c: Likewise.
33773 * math/w_fmod.c: Likewise.
33774 * math/w_fmodf.c: Likewise.
33775 * math/w_fmodl.c: Likewise.
33776 * math/w_remainder.c: Likewise.
33777 * math/w_remainderf.c: Likewise.
33778 * math/w_remainderl.c: Likewise.
33779 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33780 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33781 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33783 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33784 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33785 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33786 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33788 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33790 * stdio-common/printf_fphex.c: Likewise.
33791 * stdio-common/printf_size.c: Likewise.
33793 * math/e_exp10.c: Include math_private.h using <...> not "...".
33794 * math/e_exp10f.c: Likewise.
33795 * math/e_exp10l.c: Likewise.
33796 * math/e_exp2l.c: Likewise.
33797 * math/e_j0l.c: Likewise.
33798 * math/e_j1l.c: Likewise.
33799 * math/e_jnl.c: Likewise.
33800 * math/e_lgammal_r.c: Likewise.
33801 * math/e_rem_pio2l.c: Likewise.
33802 * math/e_scalb.c: Likewise.
33803 * math/e_scalbf.c: Likewise.
33804 * math/e_scalbl.c: Likewise.
33805 * math/k_cosl.c: Likewise.
33806 * math/k_sinl.c: Likewise.
33807 * math/k_tanl.c: Likewise.
33808 * math/s_cacoshf.c: Likewise.
33809 * math/s_catan.c: Likewise.
33810 * math/s_catanf.c: Likewise.
33811 * math/s_catanh.c: Likewise.
33812 * math/s_catanhf.c: Likewise.
33813 * math/s_catanhl.c: Likewise.
33814 * math/s_catanl.c: Likewise.
33815 * math/s_ccosh.c: Likewise.
33816 * math/s_ccoshf.c: Likewise.
33817 * math/s_ccoshl.c: Likewise.
33818 * math/s_cexp.c: Likewise.
33819 * math/s_cexpf.c: Likewise.
33820 * math/s_cexpl.c: Likewise.
33821 * math/s_clog.c: Likewise.
33822 * math/s_clog10.c: Likewise.
33823 * math/s_clog10f.c: Likewise.
33824 * math/s_clog10l.c: Likewise.
33825 * math/s_clogf.c: Likewise.
33826 * math/s_clogl.c: Likewise.
33827 * math/s_csin.c: Likewise.
33828 * math/s_csinf.c: Likewise.
33829 * math/s_csinh.c: Likewise.
33830 * math/s_csinhf.c: Likewise.
33831 * math/s_csinhl.c: Likewise.
33832 * math/s_csinl.c: Likewise.
33833 * math/s_csqrt.c: Likewise.
33834 * math/s_csqrtf.c: Likewise.
33835 * math/s_csqrtl.c: Likewise.
33836 * math/s_ctan.c: Likewise.
33837 * math/s_ctanf.c: Likewise.
33838 * math/s_ctanh.c: Likewise.
33839 * math/s_ctanhf.c: Likewise.
33840 * math/s_ctanhl.c: Likewise.
33841 * math/s_ctanl.c: Likewise.
33842 * math/s_ldexp.c: Likewise.
33843 * math/s_ldexpf.c: Likewise.
33844 * math/s_ldexpl.c: Likewise.
33845 * math/s_significand.c: Likewise.
33846 * math/s_significandf.c: Likewise.
33847 * math/s_significandl.c: Likewise.
33848 * math/w_acos.c: Likewise.
33849 * math/w_acosf.c: Likewise.
33850 * math/w_acosh.c: Likewise.
33851 * math/w_acoshf.c: Likewise.
33852 * math/w_acoshl.c: Likewise.
33853 * math/w_acosl.c: Likewise.
33854 * math/w_asin.c: Likewise.
33855 * math/w_asinf.c: Likewise.
33856 * math/w_asinl.c: Likewise.
33857 * math/w_atan2.c: Likewise.
33858 * math/w_atan2f.c: Likewise.
33859 * math/w_atan2l.c: Likewise.
33860 * math/w_atanh.c: Likewise.
33861 * math/w_atanhf.c: Likewise.
33862 * math/w_atanhl.c: Likewise.
33863 * math/w_cosh.c: Likewise.
33864 * math/w_coshf.c: Likewise.
33865 * math/w_coshl.c: Likewise.
33866 * math/w_dremf.c: Likewise.
33867 * math/w_exp10.c: Likewise.
33868 * math/w_exp10f.c: Likewise.
33869 * math/w_exp10l.c: Likewise.
33870 * math/w_exp2.c: Likewise.
33871 * math/w_exp2f.c: Likewise.
33872 * math/w_fmod.c: Likewise.
33873 * math/w_fmodf.c: Likewise.
33874 * math/w_fmodl.c: Likewise.
33875 * math/w_hypot.c: Likewise.
33876 * math/w_hypotf.c: Likewise.
33877 * math/w_hypotl.c: Likewise.
33878 * math/w_j0.c: Likewise.
33879 * math/w_j0f.c: Likewise.
33880 * math/w_j0l.c: Likewise.
33881 * math/w_j1.c: Likewise.
33882 * math/w_j1f.c: Likewise.
33883 * math/w_j1l.c: Likewise.
33884 * math/w_jn.c: Likewise.
33885 * math/w_jnf.c: Likewise.
33886 * math/w_jnl.c: Likewise.
33887 * math/w_lgamma.c: Likewise.
33888 * math/w_lgamma_r.c: Likewise.
33889 * math/w_lgammaf.c: Likewise.
33890 * math/w_lgammaf_r.c: Likewise.
33891 * math/w_lgammal.c: Likewise.
33892 * math/w_lgammal_r.c: Likewise.
33893 * math/w_log.c: Likewise.
33894 * math/w_log10.c: Likewise.
33895 * math/w_log10f.c: Likewise.
33896 * math/w_log10l.c: Likewise.
33897 * math/w_log2.c: Likewise.
33898 * math/w_log2f.c: Likewise.
33899 * math/w_log2l.c: Likewise.
33900 * math/w_logf.c: Likewise.
33901 * math/w_logl.c: Likewise.
33902 * math/w_pow.c: Likewise.
33903 * math/w_powf.c: Likewise.
33904 * math/w_powl.c: Likewise.
33905 * math/w_remainder.c: Likewise.
33906 * math/w_remainderf.c: Likewise.
33907 * math/w_remainderl.c: Likewise.
33908 * math/w_scalb.c: Likewise.
33909 * math/w_scalbf.c: Likewise.
33910 * math/w_scalbl.c: Likewise.
33911 * math/w_sinh.c: Likewise.
33912 * math/w_sinhf.c: Likewise.
33913 * math/w_sinhl.c: Likewise.
33914 * math/w_sqrt.c: Likewise.
33915 * math/w_sqrtf.c: Likewise.
33916 * math/w_sqrtl.c: Likewise.
33917 * math/w_tgamma.c: Likewise.
33918 * math/w_tgammaf.c: Likewise.
33919 * math/w_tgammal.c: Likewise.
33921 * po/ja.po: Update from translation team.
33923 2011-09-29 Andreas Jaeger <aj@suse.de>
33926 * sunrpc/netname.c (netname2host): Fix logic.
33930 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33932 * math/w_remainder.c (__remainder): Likewise.
33933 * math/w_remainderf.c (__remainderf): Likewise.
33934 * math/libm-test.inc (remainder_test): Add test cases.
33936 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33938 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33941 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33943 * string/test-memcmp.c: Avoid unncessary #defines.
33944 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33946 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33948 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33949 Use new sse2 version for core i3 - i7 as it's faster
33950 than sse42 version.
33951 (bit_Prefer_PMINUB_for_stringop): New.
33952 * sysdeps/x86_64/rawmemchr.S: Update.
33953 Replace with faster SSE2 version.
33954 * sysdeps/x86_64/memrchr.S: New file.
33955 * sysdeps/x86_64/memchr.S: Update.
33956 Replace with faster SSE2 version.
33958 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33960 * elf/dl-load.c (lose): Add cast to avoid warning.
33962 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33964 * po/ca.po: Update from translation team.
33966 * inet/getnetgrent_r.c: Hook up nscd.
33967 * nscd/Makefile (routines): Add nscd_netgroup.
33968 (nscd-modules): Add netgroupcache.
33969 (CFLAGS-netgroupcache.c): Define.
33970 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33971 (cache_search): Add const to second parameter.
33972 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33974 (dbs): Add netgrdb entry.
33975 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33976 (verify_persistent_db): Handle netgrdb.
33977 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33978 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33980 (netgroup_response_header): Define.
33981 (innetgroup_response_header): Define.
33982 (datahead): Add netgroup_response_header and innetgroup_response_header
33984 * nscd/nscd.conf: Add entries for netgroup cache.
33985 * nscd/nscd.h (dbtype): Add netgrdb.
33986 (_PATH_NSCD_NETGROUP_DB): Define.
33987 (netgroup_iov_disabled): Declare.
33988 (xmalloc, xcalloc, xrealloc): Move declarations here.
33989 (cache_search): Adjust prototype.
33990 Add netgroup-related prototypes.
33991 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33992 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33993 (__nscd_innetgr): Declare.
33994 * nscd/selinux.c (perms): Use access_vector_t as element type and
33995 add netgroup-related initializers.
33996 * nscd/netgroupcache.c: New file.
33997 * nscd/nscd_netgroup.c: New file.
33998 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33999 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34000 For four parameters use innetgr.
34001 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34002 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34003 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34004 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34006 * nscd/connections.c (register_traced_file): Don't register file
34007 for disabled databases.
34009 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34011 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34013 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34014 from tree and freeing node.
34016 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34018 * nss/nsswitch.c (__nss_database_lookup): Handle
34019 nss_parse_service_list out of memory case.
34021 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34023 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34024 out of memory case.
34026 2011-10-04 Andreas Schwab <schwab@redhat.com>
34028 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34029 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34031 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34032 elf_machine_rela, elf_machine_lazy_rel.
34033 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34034 (ELF_DYNAMIC_DO_REL): Likewise.
34035 (ELF_DYNAMIC_DO_RELA): Likewise.
34036 (ELF_DYNAMIC_RELOCATE): Likewise.
34037 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34038 to ELF_DYNAMIC_DO_REL.
34039 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34040 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34041 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34043 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34044 skip_ifunc, don't call ifunc function if non-zero.
34045 (elf_machine_rela): Likewise.
34046 (elf_machine_lazy_rel): Likewise.
34047 (elf_machine_lazy_rela): Likewise.
34048 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34049 (elf_machine_lazy_rel): Likewise.
34050 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34052 (elf_machine_lazy_rel): Likewise.
34053 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34055 (elf_machine_lazy_rel): Likewise.
34056 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34057 (elf_machine_lazy_rel): Likewise.
34058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34059 (elf_machine_lazy_rel): Likewise.
34060 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34061 (elf_machine_lazy_rel): Likewise.
34062 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34063 (elf_machine_lazy_rel): Likewise.
34064 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34065 (elf_machine_lazy_rel): Likewise.
34066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34067 (elf_machine_lazy_rel): Likewise.
34069 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34071 * nss/nss_files/files-init.c (_nss_files_init): Use static
34072 initialization for all the *_traced_file variables.
34074 2011-09-28 Andreas Schwab <schwab@redhat.com>
34076 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34078 2011-09-27 Roland McGrath <roland@hack.frob.com>
34081 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34083 2011-09-27 Andreas Schwab <schwab@redhat.com>
34085 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34086 Reread the line before reparsing it.
34088 2011-09-26 Andreas Schwab <schwab@redhat.com>
34090 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34092 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34093 Maxim Kuvyrkov <maxim@codesourcery.com>
34094 Joseph Myers <joseph@codesourcery.com>
34096 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34097 if needed for __stack_chk_guard.
34099 2011-09-19 Roland McGrath <roland@hack.frob.com>
34101 * sysdeps/posix/spawni.c (script_execute): Always define it.
34102 It will be optimized away if unused.
34103 (maybe_script_execute): New function.
34104 (__spawni): Call it.
34106 * Makerules: Don't include tls.make.
34107 (config-tls): Always set to thread.
34108 * tls.make.c: File removed.
34110 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34112 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34113 * config.make.in (CPPFLAGS-config): New substituted variable.
34115 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34117 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34120 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34121 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34123 2011-09-15 Roland McGrath <roland@hack.frob.com>
34125 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34126 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34127 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34128 (CALL_FAIL): Likewise.
34129 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34130 (CALL_FAIL): Macro removed.
34131 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34133 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34135 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34136 for __FINITE_MATH_ONLY__ == 1.
34138 2011-09-15 Andreas Schwab <schwab@redhat.com>
34140 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34141 __ieee754_sqrt instead of sqrt.
34142 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34143 __ieee754_sqrtf instead of sqrtf.
34144 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34145 __floorf instead of floorf.
34146 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34147 __floorf, __truncf instead of floorf, truncf.
34149 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34151 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34153 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34154 __extern_always_inline.
34155 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34158 2011-09-14 Andreas Schwab <schwab@redhat.com>
34160 * elf/rtld.c (dl_main): Also relocate in dependency order when
34161 doing symbol dependency testing.
34163 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34165 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34166 Always define `refsym'.
34168 2011-09-13 Andreas Schwab <schwab@redhat.com>
34170 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34171 (__FD_ELT): Renamed from __FDELT.
34172 * misc/bits/select2.h (__FD_ELT): Likewise.
34173 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34174 __FD_MASK instead of __FDELT, __FDMASK.
34175 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34177 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34180 * elf/Makefile (gen-ldd): Fix pattern.
34182 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34183 (init_tls): Likewise.
34185 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34187 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34189 2011-09-12 Andreas Schwab <schwab@redhat.com>
34191 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34192 `struct cmsghdr *' instead of `void *'.
34193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34196 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34198 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34200 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34201 ldd_rewrite_script.
34203 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34205 * configure.in: Remove --with-tls option.
34206 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34207 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34208 out in case it is missing.
34209 * sysdeps/ia64/elf/configure.in: Likewise.
34210 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34211 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34212 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34213 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34214 * sysdeps/sh/elf/configure.in: Likewise.
34215 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34216 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34217 * sysdeps/x86_64/elf/configure.in: Likewise.
34218 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34219 * sysdeps/mach/hurd/tls.h: Likewise.
34222 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34225 * configure.in: Fix use of AC_INIT.
34227 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34229 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34231 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34233 * malloc/hooks.c: Likewise.
34236 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34237 variables statically.
34238 (narenas): Initialize.
34239 (list_lock): Initialize.
34240 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34241 initializtion of main_arena and list_lock. Small cleanups.
34242 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34243 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34244 Add initializers to main_arena and mp_.
34245 (malloc_state): Remove pagesize member. Change all users to use
34248 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34249 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34250 is always initialized.
34252 * malloc/malloc.c: Removed unused configurations and dead code.
34253 * malloc/arena.c: Likewise.
34254 * malloc/hooks.c: Likewise.
34255 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34257 * include/tls.h: Removed. USE___THREAD must always be defined.
34258 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34259 * elf/dl-libc.c: Likewise.
34260 * elf/dl-tsd.c: Likewise.
34261 * include/errno.h: Likewise.
34262 * include/netdb.h: Likewise.
34263 * include/resolv.h: Likewise.
34264 * inet/herrno-loc.c: Likewise.
34265 * inet/herrno.c: Likewise.
34266 * malloc/arena.c: Likewise.
34267 * malloc/hooks.c: Likewise.
34268 * malloc/malloc.c: Likewise.
34269 * resolv/res-state.c: Likewise.
34270 * resolv/res_libc.c: Likewise.
34271 * sysdeps/i386/dl-machine.h: Likewise.
34272 * sysdeps/ia64/dl-machine.h: Likewise.
34273 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34274 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34275 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34276 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34277 * sysdeps/sh/dl-machine.h: Likewise.
34278 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34279 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34280 * sysdeps/unix/i386/sysdep.S: Likewise.
34281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34282 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34283 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34287 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34291 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34292 * sysdeps/x86_64/dl-machine.h: Likewise.
34293 * tls.make.c: Likewise.
34295 * configure.in: Remove --with-__thread option. Make tests for
34296 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34297 tls_model attribute fail if no support is available. Remove
34299 * Makeconfig: Adjust for dropped configure option. All features are
34301 * Makerules: Likewise.
34302 * Versions.def: Likewise.
34303 * argp/argp-fmtstream.c: Likewise.
34304 * argp/argp-fmtstream.h: Likewise.
34305 * argp/argp-help.c: Likewise.
34306 * assert/assert.c: Likewise.
34307 * config.h.in: Likewise.
34308 * config.make.in: Likewise.
34309 * configure: Likewise.
34310 * configure.in: Likewise.
34311 * csu/Versions: Likewise.
34312 * csu/init.c: Likewise.
34313 * elf/tst-audit2.c: Likewise.
34314 * elf/tst-tls10.c: Likewise.
34315 * elf/tst-tls10.h: Likewise.
34316 * elf/tst-tls11.c: Likewise.
34317 * elf/tst-tls12.c: Likewise.
34318 * elf/tst-tls14.c: Likewise.
34319 * elf/tst-tlsmod11.c: Likewise.
34320 * elf/tst-tlsmod12.c: Likewise.
34321 * elf/tst-tlsmod13.c: Likewise.
34322 * elf/tst-tlsmod13a.c: Likewise.
34323 * elf/tst-tlsmod14a.c: Likewise.
34324 * elf/tst-tlsmod15b.c: Likewise.
34325 * elf/tst-tlsmod16a.c: Likewise.
34326 * elf/tst-tlsmod16b.c: Likewise.
34327 * elf/tst-tlsmod7.c: Likewise.
34328 * elf/tst-tlsmod8.c: Likewise.
34329 * elf/tst-tlsmod9.c: Likewise.
34330 * gmon/gmon.c: Likewise.
34331 * grp/fgetgrent_r.c: Likewise.
34332 * grp/putgrent.c: Likewise.
34333 * hurd/fopenport.c: Likewise.
34334 * include/libc-symbols.h: Likewise.
34335 * include/tls.h: Likewise.
34336 * intl/gettextP.h: Likewise.
34337 * intl/loadinfo.h: Likewise.
34338 * locale/global-locale.c: Likewise.
34339 * locale/localeinfo.h: Likewise.
34340 * mach/devstream.c: Likewise.
34341 * malloc/arena.c: Likewise.
34342 * malloc/set-freeres.c: Likewise.
34343 * misc/err.c: Likewise.
34344 * misc/getttyent.c: Likewise.
34345 * misc/mntent_r.c: Likewise.
34346 * posix/getopt.c: Likewise.
34347 * posix/wordexp.c: Likewise.
34348 * pwd/fgetpwent_r.c: Likewise.
34349 * resolv/Versions: Likewise.
34350 * resolv/res_hconf.c: Likewise.
34351 * shadow/fgetspent_r.c: Likewise.
34352 * shadow/putspent.c: Likewise.
34353 * stdio-common/printf_fphex.c: Likewise.
34354 * stdio-common/tmpfile.c: Likewise.
34355 * stdlib/abort.c: Likewise.
34356 * stdlib/fmtmsg.c: Likewise.
34357 * sunrpc/auth_unix.c: Likewise.
34358 * sunrpc/clnt_perr.c: Likewise.
34359 * sunrpc/clnt_tcp.c: Likewise.
34360 * sunrpc/clnt_udp.c: Likewise.
34361 * sunrpc/clnt_unix.c: Likewise.
34362 * sunrpc/openchild.c: Likewise.
34363 * sunrpc/svc_simple.c: Likewise.
34364 * sunrpc/svc_tcp.c: Likewise.
34365 * sunrpc/svc_udp.c: Likewise.
34366 * sunrpc/svc_unix.c: Likewise.
34367 * sunrpc/xdr.c: Likewise.
34368 * sunrpc/xdr_array.c: Likewise.
34369 * sunrpc/xdr_rec.c: Likewise.
34370 * sunrpc/xdr_ref.c: Likewise.
34371 * sunrpc/xdr_stdio.c: Likewise.
34373 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34375 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34377 2011-07-03 Andreas Jaeger <aj@suse.de>
34379 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34380 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34381 regenerate with gen-libm-tests.pl.
34383 2010-05-12 Petr Baudis <pasky@suse.cz>
34386 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34387 around j0() zero points by switching to j1().
34388 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34389 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34390 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34391 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34393 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34395 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34397 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34399 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34400 Patch in part by Pavel Roskin <proski@gnu.org>.
34403 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34405 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34406 Free memory block if necessary.
34409 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34410 be NULL. Don't lock in this case.
34412 2011-09-09 Roland McGrath <roland@hack.frob.com>
34414 * elf/elf.h (ELFOSABI_GNU): New macro.
34415 (ELFOSABI_LINUX): Define to that.
34417 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34419 * string/strncat.c (strncat): Undef the symbol in case it has been
34420 defined in bits/string.h.
34422 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34424 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34426 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34429 2011-08-17 Andreas Jaeger <aj@suse.de>
34431 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34433 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34434 Ian Lance Taylor <iant@google.com>
34436 * math/libm-test.inc (lround_test): New testcase.
34437 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34439 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34441 * Makefile: Remove support for automatic cvs check-ins.
34442 * Makerules: Likewise.
34443 * config.make.in: Likewise.
34444 * configure.in: Likewise.
34445 * intl/Makefile: Likewise.
34446 * locale/Makefile: Likewise.
34447 * po/Makefile: Likewise.
34448 * posix/Makefile: Likewise.
34449 * sysdeps/gnu/Makefile: Likewise.
34450 * sysdeps/mach/hurd/Makefile: Likewise.
34451 * sysdeps/sparc/sparc32/Makefile: Likewise.
34454 * posix/Makefile (bug-regex32-ENV): Define.
34455 Patch by John Stanley <jpsinthemix@verizon.net>.
34457 * misc/Makefile (headers): Add bits/select2.h.
34458 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34459 * misc/bits/select2.h: New file.
34460 * include/bits/select2.h: New file.
34461 * debug/Makefile (routines): Add fdelt_chk.
34462 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34463 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34465 * debug/fdelt_chk.c: New file.
34467 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34468 * wcsmbs/test-wmemcmp.c: Likewise.
34469 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34470 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34472 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34474 * string/Makefile (strop-tests): Add memcmp.
34475 * string/test-wmemcmp.c: New file.
34476 * string/test-memcmp.c: Add wmemcmp support.
34478 2011-09-08 Roland McGrath <roland@hack.frob.com>
34481 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34484 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34485 garbage value in a __mach_port_mod_refs call in the cases of the
34486 task-self and thread-self ports.
34488 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34490 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34492 2011-09-08 Andreas Schwab <schwab@redhat.com>
34494 * elf/dl-load.c (lose): Check for non-null L.
34496 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34498 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34500 * elf/dl-libc.c (dlerror_run): Pass back error code from
34504 * elf/dl-load.c (lose): Free l_origin if it is valid.
34506 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34508 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34509 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34510 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34511 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34512 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34513 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34515 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34517 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34518 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34519 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34520 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34521 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34522 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34523 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34524 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34525 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34526 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34528 2011-08-15 Alan Modra <amodra@gmail.com>
34531 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34532 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34533 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34534 ppc_mcount to static-only-routines.
34535 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34537 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34538 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34540 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34542 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34543 for finite and infinity parameters.
34545 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34548 and add nop instructions for throughput optimization.
34549 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34551 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34553 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34554 aligned copy for power7 with vector-scalar instructions.
34555 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34557 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34562 2011-09-07 Andreas Schwab <schwab@redhat.com>
34565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34568 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34570 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34571 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34572 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34573 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34576 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34578 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34579 Forgot to demangle the pointer.
34581 * sysdeps/i386/sysdep.h: Define atom_text_section.
34582 * sysdeps/x86_64/sysdep.h: Likewise.
34583 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34584 section with atom_text_section.
34585 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34586 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34587 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34588 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34589 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34591 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34592 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34593 already be defined. Change to take two parameters and don't assign
34594 result to variable. Adjust all users.
34595 Define INTERNAL_GETTIME if not already defined.
34596 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34599 HAVE_CLOCK_GETTIME_VSYSCALL.
34600 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34603 gettimeofday vsyscall, just use time.
34605 2011-09-06 Andreas Schwab <schwab@redhat.com>
34607 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34610 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34612 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34614 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34616 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34617 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34618 syscall if possible.
34620 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34622 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34623 e_ident. Don't pass to find_mapsXX.
34624 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34626 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34629 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34630 * sysdeps/x86_64/multiarch/strchr.S: Update.
34631 Check bit_slow_BSF bit.
34632 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34633 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34634 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34636 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34639 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34641 (tryshell): Define.
34642 (__spawni): Change last parameter to be flag. Test
34643 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34644 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34645 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34646 * posix/spawni.c: Likewise.
34647 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34648 * posix/spawnp.c: Likewise. Change normal version to use
34649 SPAWN_XFLAGS_USE_PATH.
34650 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34651 SPAWN_XFLAGS_TRY_SHELL.
34654 * posix/glob.h: Remove gcc 1.x support.
34657 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34659 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34661 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34662 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34664 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34665 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34666 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34667 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34668 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34669 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34671 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34673 * sysdeps/x86_64/wcscmp.S: New file.
34675 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34676 wcscmp-c wcscmp-sse2
34677 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34678 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34679 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34680 * wcsmbs/wcscmp.c: Allow renaming.
34682 2011-09-05 David S. Miller <davem@davemloft.net>
34684 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34685 stack slot, rather than the struct return pointer slot.
34686 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34687 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34689 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34691 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34693 * po/ja.po: Update from translation team.
34696 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34697 kernel in 64-bit binaries.
34699 2011-09-01 David S. Miller <davem@davemloft.net>
34701 * elf/elf.h (HWCAP_SPARC_*): Move to..
34702 * sysdeps/sparc/sysdep.h: this new file and add new values.
34703 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34704 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34705 _DL_HWCAP_COUNT to 24.
34706 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34708 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34709 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34710 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34711 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34712 instead of magic constants.
34713 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34715 2011-08-31 David S. Miller <davem@davemloft.net>
34717 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34719 Reimplement to do errno handling inline.
34720 (SYSCALL_ERROR_HANDLER): New macro.
34721 (__SYSCALL_STRING): Do not do errno handling in asm.
34722 (__CLONE_SYSCALL_STRING): Delete.
34723 (__INTERNAL_SYSCALL_STRING): Delete.
34724 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34725 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34726 (PSEUDO): Reimplement to do errno handling inline.
34727 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34728 (SYSCALL_ERROR_HANDLER): New macro.
34729 (__SYSCALL_STRING): Do not do errno handling in asm.
34730 (__CLONE_SYSCALL_STRING): Delete.
34731 (__INTERNAL_SYSCALL_STRING): Delete.
34732 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34733 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34735 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34736 (inline_syscall*): Add 'err' argument.
34737 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34738 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34739 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34740 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34742 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34743 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34745 2011-08-30 Andreas Schwab <schwab@redhat.com>
34747 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34749 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34751 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34754 2011-08-24 David S. Miller <davem@davemloft.net>
34756 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34758 2011-08-24 Andreas Schwab <schwab@redhat.com>
34760 * elf/Makefile: Add rules to build and run unload8 test.
34761 * elf/unload8.c: New file.
34762 * elf/unload8mod1.c: New file.
34763 * elf/unload8mod1x.c: New file.
34764 * elf/unload8mod2.c: New file.
34765 * elf/unload8mod3.c: New file.
34767 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34770 2011-08-23 David S. Miller <davem@davemloft.net>
34772 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34773 subtract stack bias.
34774 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34775 %sp not %fp in calculations.
34776 (_JMPBUF_UNWINDS_ADJ): Likewise.
34778 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34779 (aio_suspend): Call it to force an exception region around the
34780 AIO_MISC_WAIT() invocation.
34782 2011-08-23 Andreas Schwab <schwab@redhat.com>
34784 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34787 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34789 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34791 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34792 and <dl-machine.h>.
34793 (Elf64_FuncDesc): Remove.
34795 2011-08-22 David S. Miller <davem@davemloft.net>
34797 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34798 sigaltstack check, add missing cfi directives.
34799 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34800 missing cfi directives, and sigaltstack handling.
34802 2011-08-16 Andreas Schwab <schwab@redhat.com>
34805 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34806 object is seen twice.
34807 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34809 * elf/Makefile (distribute): Add tst-initorder2.c.
34810 (tests): Add tst-initorder2.
34811 (modules-names): Add tst-initorder2a tst-initorder2b
34812 tst-initorder2c tst-initorder2d. Add rules to build them.
34813 ($(objpfx)tst-initorder2.out): New rule.
34814 * elf/tst-initorder2.c: New file.
34815 * elf/tst-initorder2.exp: New file.
34817 2011-08-22 Andreas Schwab <schwab@redhat.com>
34819 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34821 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34822 dependencies back to end of function.
34824 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34825 $(elfobjdir)/ld.so.
34827 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34829 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34830 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34832 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34833 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34834 of __vdso_gettimeofday.
34835 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34836 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34838 (_libc_vdso_platform_setup): Remove initialization of
34839 __vdso_gettimeofday and __vdso_time.
34841 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34843 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34844 and fgetc_unlocked.
34845 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34848 * elf/dl-open.c (add_to_global): Report additions to the global scope
34849 for LD_DEBUG=scopes.
34850 (dl_open_worker): Also print scope of newly loaded dependencies.
34851 (_dl_show_scope): Indicate if there is no scope.
34854 * stdio-common/Makefile (tests): Add bug24.
34855 * stdio-common/bug24.c: New file.
34857 2011-08-19 Andreas Jaeger <aj@suse.de>
34860 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34861 non-existant file when using close-on-exec mode.
34863 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34866 the very first instruction.
34868 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34869 the CFI state in the end.
34870 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34871 inclusion of dl-trampoline.h.
34872 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34874 2011-08-19 Andreas Schwab <schwab@redhat.com>
34876 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34877 expectations for long double.
34879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34880 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34882 2011-08-14 David S. Miller <davem@davemloft.net>
34884 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34885 artificual limit depends upon the system page size.
34887 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34889 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34890 * resolv/Makefile: Define CFLAGS-libresolv.
34892 2011-08-17 Andreas Schwab <schwab@redhat.com>
34894 * nss/makedb.c (compute_tables): Make variables used in nested
34897 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34899 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34900 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34901 if buffer was too small.
34903 * elf/pldd.c (main): Attach to all threads in the process.
34904 Rewrite /proc handling to use *at functions.
34906 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34908 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34909 specifies first scope to show.
34910 (dl_open_worker): Update callers. Move printing scope of new
34911 object to before the relocation.
34912 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34913 * sysdeps/generic/ldsodefs.h: Update declaration.
34915 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34916 string for the scope number.
34918 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34920 * nscd/servicescache.c (cache_addserv): Make sure written is always
34923 2011-08-14 Roland McGrath <roland@hack.frob.com>
34925 * sysdeps/i386/i486/bits/atomic.h
34926 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34927 statement expression, so as to suppress "set but not used" warning.
34928 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34930 * string/strncat.c (STRNCAT): Use prototype definition.
34932 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34933 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34935 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34936 (localedef-modules): Add localedef.
34937 (locale-modules): Add locale.
34939 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34940 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34941 to avoid a warning.
34943 2011-08-14 David S. Miller <davem@davemloft.net>
34945 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34946 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34948 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34950 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34951 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34952 * elf/rtld.c (dl_main): Set l_name of vDSO.
34953 Call _dl_show_scope when DL_DEBUG_SCOPES.
34954 (process_dl_debug): Recognize scopes flag and also set it for all.
34955 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34956 Declare _dl_show_scope.
34958 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34959 (do_dlopen): Pass caller_dlopen to dl_open.
34960 (__libc_dlopen_mode): Initialize caller_dlopen.
34962 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34963 of libc. Make tolower call locale-independent. Optimize a bit by
34964 using isdigit instead of isalnum.
34965 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34967 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34969 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34970 was a dependency or dynamically loaded.
34972 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34974 * intl/l10nflist.c: Allow architecture-specific pop function.
34975 * sysdeps/x86_64/l10nflist.c: New file.
34977 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34980 2011-08-10 Andreas Schwab <schwab@redhat.com>
34982 * include/dirent.h: Add libc_hidden_proto for scandirat and
34983 scandirat64. Don't declare __scandirat64.
34984 * dirent/scandirat.c: Add libc_hidden_def.
34985 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34986 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34988 2011-08-10 David S. Miller <davem@davemloft.net>
34990 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34993 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34996 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34998 * Versions.def [libc]: Add GLIBC_2.15.
34999 * dirent/Makefile (routines): Add scandirat and scandirat64.
35000 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35002 * dirent/dirent.h: Declare scandirat and scandirat64.
35003 * dirent/scandirat.c: New file.
35004 * dirent/scandirat64.c: New file.
35005 * sysdeps/wordsize-64/scandirat.c: New file.
35006 * sysdeps/wordsize-64/scandirat64.c: New file.
35007 * dirent/opendir.c: Define opendirat.
35008 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35010 * dirent/scandir64.c: Adjust for scandir.c change.
35011 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35012 __scandirat64, and __scandir_cancel_handler.
35013 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35014 additional parameter and use openat instead of open (outside of ld.so).
35015 Add new __opendir as wrapper around __opendirat.
35016 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35017 here without requiring old scandirat implementation.
35019 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35021 * dirent/scandir.c (cancel_handler): Renamed to
35022 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35023 defined. Adjust users.
35024 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35025 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35027 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35029 * string/test-string.h (IMPL): Use __STRING to expand name and then
35032 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35035 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35037 * string/Makefile: Update.
35038 (strop-tests): Append strncat.
35039 * string/test-wcscmp.c: New file.
35040 New comprehensive test for wcscmp.
35041 * string/test-strcmp.c: Update.
35042 (WIDE): New define.
35044 2011-07-22 Andreas Schwab <schwab@redhat.com>
35046 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35049 2011-07-26 Andreas Schwab <schwab@redhat.com>
35051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35052 encoding to ACE if AI_IDN.
35054 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35057 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35059 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35061 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35062 Fix overflow bug in strncat.
35063 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35065 * string/test-strncat.c: Update.
35066 Add new tests for checking overflow bugs.
35068 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35071 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35072 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35073 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35074 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35075 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35076 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35077 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35078 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35080 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35081 (USE_AS_STRCAT): Define.
35082 Add strcat and strncat support.
35083 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35085 2011-07-25 Andreas Schwab <schwab@redhat.com>
35087 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35088 __n bigger than INT_MAX+1.
35089 (__strncmp_g): Likewise.
35091 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35093 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35094 * libio/stido.h: Likewise.
35096 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35101 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35103 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35104 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35105 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35108 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35113 (_dl_x86_64_save_sse): Likewise.
35115 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35117 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35119 (_dl_x86_64_save_sse): Likewise.
35121 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35123 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35125 2011-07-21 Andreas Schwab <schwab@redhat.com>
35127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35129 (_dl_x86_64_save_sse): Use correct AVX check.
35131 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35133 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35134 bug in strncpy/strncat.
35135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35137 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35139 * string/tester.c (test_strcat): Add tests for different alignments
35140 of source and destination.
35141 (test_strncat): Likewise.
35143 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35146 * posix/glob.c (glob): Check passed in values before using them in
35147 expressions to avoid some overflows.
35148 (glob_in_dir): Likewise.
35151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35152 check for AVX enablement so that we don't crash with old kernels and
35154 * elf/tst-audit4.c: Add same checks here.
35155 * elf/tst-audit6.c: Likewise.
35157 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35159 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35161 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35163 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35165 * po/cs.po: Update from translation team.
35166 * po/bg.po: Likewise.
35168 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35170 * misc/sys/cdefs.h: Add support for const attribute.
35171 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35172 to gnu_dev_{major,minor,makedev} functions.
35174 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35176 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35178 2011-07-20 Andreas Schwab <schwab@redhat.com>
35180 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35183 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35185 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35186 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35187 register in order to avoid conflicts with the soft frame pointer
35188 being held in r11 when necessary.
35189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35190 (INTERNAL_VSYSCALL_NCS): Likewise.
35192 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35194 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35195 * elf/dl-fini.c (_dl_fini): Adjust caller.
35196 * elf/dl-close.c (_dl_close_worker): Likewise.
35197 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35199 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35201 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35202 "aux_cache->nlibs < 0".
35204 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35205 in the reload-count case.
35207 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35210 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35211 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35212 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35213 * sysdeps/x86_64/multiarch/strcat.S: New file.
35214 * sysdeps/x86_64/multiarch/strncat.S: New file.
35215 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35216 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35217 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35218 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35219 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35220 (USE_AS_STRCAT): Define.
35221 Add strcat and strncat support.
35222 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35223 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35224 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35225 * string/strncat.c: Update.
35226 (USE_AS_STRNCAT): Define.
35227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35228 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35230 * sysdeps/x86_64/multiarch/init-arch.h
35231 (bit_Prefer_PMINUB_for_stringop): New.
35232 (index_Prefer_PMINUB_for_stringop): Likewise.
35233 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35234 bit_Prefer_PMINUB_for_stringop.
35236 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35238 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35240 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35241 of casting of buffer.
35242 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35243 buffer32 and buffer64.
35244 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35245 writes instead of casting of buffer.
35246 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35248 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35251 2011-07-19 Andreas Schwab <schwab@redhat.com>
35253 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35255 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35257 * nscd/nscd.c (termination_handler): Don't do anything for a database
35258 if it has not yet been initialized.
35260 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35262 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35264 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35266 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35268 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35270 * po/nl.po: Update from translation team.
35271 * po/sv.po: Likewise.
35273 2011-07-16 Roland McGrath <roland@hack.frob.com>
35275 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35276 now disallowed by GCC.
35278 * configure.in (use-default-link): Default to yes if a test -shared
35279 link meets our qualifications.
35280 * configure: Regenerated.
35282 * config.make.in (output-format): New variable.
35283 * configure.in: Check for ld --print-output-format support.
35284 * configure: Regenerated.
35285 * Makerules ($(common-objpfx)format.lds)
35286 [$(output-format) != unknown]: Just use $(output-format),
35287 instead of the linker-script munging.
35289 2011-07-14 Roland McGrath <roland@hack.frob.com>
35291 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35292 of $(common-objpfx)shlib.lds.
35293 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35295 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35296 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35298 * configure.in (-z relro check): Adjust test code to add a large
35299 writable data section after it.
35300 * configure: Regenerated.
35302 2011-07-11 Roland McGrath <roland@hack.frob.com>
35304 * configure.in (-z relro check): Fix test code to make the variable
35306 * configure: Regenerated.
35308 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35310 * nscd/nscd.h (struct traced_file): Define.
35311 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35312 elements. Add traced_files.
35313 (inotify_fd): Declare.
35314 (register_traced_file): Declare.
35315 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35316 (inotify_fd): Export.
35317 (resolv_conf_descr): Remove.
35318 (nscd_init): Move inotify descriptor creation to main.
35319 Don't register files for notification here.
35320 (register_traced_file): New function.
35321 (invalidate_cache): Don't use reset_res to determine whether to call
35322 res_init, go through the list of registered files.
35323 (main_loop_poll): The inotify descriptors are now stored in the
35324 structures for the traced files.
35325 (main_loop_epoll): Likewise
35326 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35327 to __nss_disable_nscd.
35328 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35329 for a database anymore. Check the records for all the registered
35331 * nss/Makefile (libnss_files-routines): Add files-init.
35332 (libnss_db-routines): Add db-init.
35333 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35334 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35335 * nss/nss_db/db-init.c: New file.
35336 * nss/nss_files/files-init.c: New file.
35337 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35338 __nss_lookup_function.
35339 (__nss_lookup_function): Call nss_load_library.
35340 (nss_load_all_libraries): New function.
35341 (__nss_disable_nscd): Take parameter with callback function for files
35342 to register. Set is_nscd. Load all the DSOs for the NSS modules
35343 used for the cached services.
35344 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35345 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35346 options for features to all the files in nscd.
35348 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35350 2011-07-10 Roland McGrath <roland@hack.frob.com>
35352 * csu/elf-init.c (__libc_csu_init): Comment typo.
35354 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35356 * po/pl.po: Update from translation team.
35357 * po/ja.po: Likewise.
35358 * po/ru.po: Likewise.
35359 * po/ko.po: Likewise.
35360 * po/fr.po: Likewise.
35362 2011-07-09 Roland McGrath <roland@hack.frob.com>
35364 * configure.in (.ctors/.dtors header and trailer check):
35365 Use an empirical test on a built program.
35366 * configure: Regenerated.
35368 * configure.in (-z relro check): Use an empirical test on a built DSO.
35369 Detect, but do not require, on ia64.
35370 * configure: Regenerated.
35372 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35373 Update tests that use readelf to use $READELF instead.
35374 * configure: Regenerated.
35376 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35378 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35379 if the result is not used.
35381 2011-07-05 Andreas Jaeger <aj@suse.de>
35384 * stdlib/tst-strtod.c: Add testcase.
35386 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35388 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35389 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35390 The latter has a higher limit. Take additional parameter to pass to
35392 (__pathconf): Pass file to __statfs_link_max.
35393 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35395 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35399 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35400 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35402 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35403 (__statfs_filesize_max): Likewise.
35404 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35406 2011-07-05 Andreas Jaeger <aj@suse.de>
35408 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35410 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35412 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35414 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35417 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35419 * Makefile (strop-tests): Add strncat.
35420 * string/test-strncat.c: New file.
35422 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35424 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35426 2011-06-21 Andreas Jaeger <aj@suse.de>
35428 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35429 Copy rule from iconvdata/Makefile.
35431 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35434 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35435 but no long options are defined, just return 'W'.
35437 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35440 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35442 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35444 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35446 (innetgr): Likewise.
35448 2011-07-05 Roland McGrath <roland@hack.frob.com>
35450 * config.make.in (install_root): Default to $(DESTDIR).
35452 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35454 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35456 2011-07-02 Roland McGrath <roland@hack.frob.com>
35458 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35460 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35461 containing directory rather than embedding absolute directory names.
35463 * scripts/check-local-headers.sh: Rewritten using awk.
35464 Match by word, not by line. Print error messages for matches.
35465 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35467 * Makerules [shlib-lds-flags empty]:
35468 ($(common-objpfx)libc_pic.opts): New target.
35469 ($(common-objpfx)libc_pic.os.clean): New target.
35470 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35472 * config.make.in (OBJCOPY): New variable.
35473 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35474 * configure: Regenerated.
35476 * config.make.in (use-default-link): New variable.
35477 * configure.in (use_default_link): Grok --with-default-link to set it.
35478 * configure: Regenerated.
35479 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35480 (shlib-lds, shlib-lds-flags): Define to empty.
35482 * Makerules (shlib-lds): New variable.
35483 (shlib-lds-flags): New variable.
35484 (build-shlib, build-moduile, build-module-asneeded): Use it.
35485 ($(common-objpfx)libc.so): Use $(shlib-lds).
35486 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35487 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35489 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35490 DT_FLAGS/DT_FLAGS_1 with zero flags.
35492 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35493 linker script munging.
35495 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35497 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35499 * crypt/sha512.c (sha512_process_block): Perform total addition using
35500 128-bit if possible.
35501 (__sha512_finish_ctx): Likewise.
35502 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35504 * crypt/sha256.c (SWAP64): Define.
35505 (sha256_process_block): Perform total addition using 64-bit if
35507 (__sha256_finish_ctx): Likewise.
35509 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35511 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35512 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35513 * nscd/hstcache.c (cache_addhst): Likewise.
35514 * nscd/grpcache.c (cache_addgr): Likewise.
35515 * nscd/aicache.c (addhstaiX): Likewise
35516 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35518 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35520 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35521 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35522 * nscd/hstcache.c (cache_addhst): Likewise.
35523 * nscd/grpcache.c (cache_addgr): Likewise.
35524 * nscd/aicache.c (addhstaiX): Likewise
35526 2011-07-01 Andreas Schwab <schwab@redhat.com>
35528 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35529 domain only when needed.
35531 2011-06-30 Andreas Schwab <schwab@redhat.com>
35533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35534 is always restored.
35536 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35538 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35539 are re-adding the entry.
35540 * nscd/servicescache.c (cache_addserv): Likewise.
35542 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35544 * sysdeps/generic/dl-irel.h: fix protection against multiple
35546 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35548 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35551 * malloc/memusage.sh: Fix quoting in message.
35552 * debug/xtrace.sh: Likewise.
35554 * configure.in: Remove support for --experimental-malloc option, make
35556 * config.make.in: Likewise.
35557 * malloc/Makefile: Likewise.
35559 2011-06-27 Andreas Schwab <schwab@redhat.com>
35561 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35562 two-byte characters.
35564 2011-06-27 Roland McGrath <roland@hack.frob.com>
35566 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35567 AC_CACHE_CHECK invocation.
35568 * configure: Regenerated.
35570 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35572 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35575 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35576 bit from old_res_options.
35578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35580 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35581 value type for setfct.
35583 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35585 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35586 __gettimeofday instead of gettimeofday.
35588 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35590 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35592 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35594 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35596 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35599 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35602 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35603 strcpy-sse2-unaligned strncpy-sse2-unaligned
35604 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35605 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35606 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35607 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35608 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35609 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35610 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35611 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35612 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35613 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35614 (STRCPY): Support SSE2 and SSSE3 versions.
35616 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35619 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35620 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35621 kernels which artificially limit size of requests.
35623 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35626 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35627 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35628 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35629 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35630 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35631 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35632 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35633 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35634 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35635 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35636 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35637 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35638 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35639 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35641 Enable unaligned load optimization for Intel Core i3, i5 and i7
35643 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35645 (index_Fast_Unaligned_Load): Define.
35646 (HAS_FAST_UNALIGNED_LOAD): Define.
35648 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35650 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35652 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35655 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35656 until it is clear that the information is realy needed.
35657 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35659 2011-06-22 Andreas Schwab <schwab@redhat.com>
35661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35663 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35665 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35666 /sys/devices/system/cpu/online if it is usable.
35668 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35669 reading the information from the /proc filesystem to once a second.
35671 2011-06-21 Andreas Jaeger <aj@suse.de>
35673 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35674 NULL after inclusion of kernel headers.
35676 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35678 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35679 calls to internal_setent.
35682 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35683 addresses using gethostbyname4_r ignore IPv4 addresses.
35685 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35686 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35688 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35690 2011-06-20 David S. Miller <davem@davemloft.net>
35692 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35694 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35696 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35697 (elf_irel): Use it.
35698 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35699 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35700 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35701 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35702 * sysdeps/x86_64/dl-irel.h: Likewise.
35704 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35705 * elf/dl-sym.c: Likewise.
35707 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35709 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35710 need to dereference resplen2.
35712 2011-06-14 Andreas Schwab <schwab@redhat.com>
35714 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35716 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35718 * Makeconfig: Define vardbdir and inst_vardbdir.
35719 * nss/Makefile: Add rules to install db-Makefile.
35721 * nss/nss_db/db-XXX.c: Cleanup.
35723 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35724 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35726 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35727 * nss/makedb.c: Implement -g option to specify that value strings
35728 are generated and should not be added to table iterated over for
35730 * nss/nss_db/db-initgroups.c: New file.
35732 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35735 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35736 (internal_getgrouplist): Adjust to name change.
35737 Update use_initgroups_entry if this is not the first call.
35738 * nss/databases.def: Add initgroups entry.
35740 * nss/makedb.c (compute_tables): Check result of multiple hash table
35741 sizes to minimize maximum chain length.
35743 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35745 * Versions.def: Add entry for libnss_db.
35746 * shlib-versions: Likewise.
35747 * nss/Makefile: Add rules to build libnss_db.
35748 * nss/Versions: Add libnss_db information. Organize libnss_files
35750 * nss/db-Makefile: Add gshadow support. Change rules for the new
35751 makedb progra. Some minor improvements to generate smaller files.
35752 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35754 * nss/makedb.c: ...here.
35755 Improve database format to be smaller and require less memory at
35757 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35759 * nss/nss_db/db-netgrp.c: Likewise.
35760 * nss/nss_db/db-open.c: Likewise.
35761 * nss/nss_files/flies-XXX.x: Adjust comments.
35762 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35763 * nss/nss_files/files-grp.c: Likewise.
35764 * nss/nss_files/files-hosts.c: Likewise.
35765 * nss/nss_files/files-network.c: Likewise.
35766 * nss/nss_files/files-proto.c: Likewise.
35767 * nss/nss_files/files-pwd.c: Likewise.
35768 * nss/nss_files/files-rpc.c: Likewise.
35769 * nss/nss_files/files-service.c: Likewise.
35770 * nss/nss_files/files-sgrp.c: Likewise.
35771 * nss/nss_files/files-spwd.c: Likewise.
35772 * nss/nss_db/db-alias.c: Removed.
35773 * nss/nss_db/dummy-db.h: Removed.
35775 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35777 * nss/makedb.c: Rewritten to not use database library.
35778 * nss/Makefile: Update to build new makedb program.
35780 2011-06-14 Andreas Jaeger <aj@suse.de>
35782 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35783 memset declaration.
35785 2011-06-10 Andreas Schwab <schwab@redhat.com>
35787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35790 2011-06-10 Roland McGrath <roland@hack.frob.com>
35792 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35793 * elf/Makefile ($(objpfx)ld.so): Likewise.
35795 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35796 Don't list ld.so twice in dependencies.
35798 * posix/bug-regex31.c: Include <stdlib.h>.
35800 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35802 * nis/nss_compat/compat-spwd.c
35803 (getspent_next_nss_netgr): Remove unused variable.
35804 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35806 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35807 nonmembers" output to use the right array.
35809 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35811 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35813 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35814 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35815 * catgets/gencat.c (read_input_file): Likewise.
35816 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35818 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35819 variable definition inside #if's controlling its use.
35821 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35823 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35825 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35827 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35830 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35832 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35833 * configure: Regenerated.
35835 * Makerules: Revert last change.
35836 * elf/Makefile: Likewise.
35838 2011-06-09 Roland McGrath <roland@hack.frob.com>
35840 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35841 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35842 (reloc-link): Likewise.
35844 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35846 * elf/Makefile: Add rules to build pldd.
35847 * elf/pldd.c: New file.
35848 * elf/pldd-xx.c: New file.
35850 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35852 * version.h: Update for 2.15 development version.
35854 2011-06-07 David S. Miller <davem@davemloft.net>
35856 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35859 elf_machine_lazy_rel): Likewise.
35860 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35861 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35862 elf_machine_lazy_rel): Likewise.
35863 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35864 dl_hwcap via passed in argument.
35865 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35868 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35870 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35872 2011-06-06 Roland McGrath <roland@hack.frob.com>
35875 * manual/fdl-1.1.texi: New file, verbatim from:
35876 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35877 * manual/lgpl-2.1.texi: New file, verbatim from:
35878 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35879 * manual/Makefile (licenses): New variable, list those new file names.
35881 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35883 * manual/fdl.texi: File removed.
35884 * manual/lesser.texi: File removed.
35885 * manual/libc.texinfo (Copying, Documentation License):
35886 Use new @include file names, put @appendix directive before @include.
35888 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35891 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35892 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35893 (mq_open): Add __NTH.
35895 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35898 Assume Intel Core i3/i5/i7 processor if AVX is available.
35900 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35902 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35905 2011-05-31 Andreas Schwab <schwab@redhat.com>
35907 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35908 memory. Use alloca_account. Fix memory leak when retrying.
35910 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35912 * version.h (RELEASE): Bump for 2.14 release.
35913 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35915 * config.make.in (RANLIB): Remove entry.
35917 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35919 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35920 (libc.pot): Work around missing support for .ksh extension in xgettext.
35923 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35924 if both request failed.
35925 (send_dg): In case of server errors clear resplen or *resplen2.
35928 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35929 when there are multiple maps.
35930 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35931 (_dl_fini): Remove test here.
35933 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35935 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35938 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35939 bit from old_res_options.
35940 (gaih_inet): Likewise.
35943 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35946 * resolv/res_init.c (res_setoptions): Make the code more compact.
35949 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35953 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35955 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35958 * malloc/malloc.h: Declare malloc hook variables as volatile.
35960 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35964 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35965 raise in the comment.
35966 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35967 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35968 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35970 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35973 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35974 grow the buffers more if it already has to be sufficient.
35975 (build_wcs_upper_buffer): Likewise.
35976 * posix/regexec.c (check_matching): Likewise.
35977 (clean_state_log_if_needed): Likewise.
35978 (extend_buffers): Don't enlarge buffers beyond size of the input
35980 Patches mostly by Emil Wojak <emil@wojak.eu>.
35981 * posix/bug-regex32.c: New file.
35982 * posix/Makefile (tests): Add bug-regex32.
35984 * locale/findlocale.c (_nl_find_locale): Return right away if
35985 _nl_explode_name failed.
35986 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35988 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35990 * debug/xtrace.sh: Unify messages.
35991 * malloc/memusage.sh: Likewise.
35994 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35995 time symbol from vDSO. Substitute with vsyscall if not available.
35996 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35999 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36000 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36001 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36002 Add sendmmsg and internal_sendmmsg.
36003 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36004 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36005 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36007 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36008 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36009 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36011 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36014 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36015 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36017 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36021 * iconvdata/Makefile (tests): Add bug-iconv9.
36022 * iconvdata/bug-iconv9.c: New file.
36024 2011-05-27 Andreas Schwab <schwab@redhat.com>
36027 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36029 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36031 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36032 (struct user_regs_struct): Change intcs field back to cs.
36034 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36036 * po/ja.po: Update from translation team.
36038 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36041 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36042 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36044 2011-05-20 Andreas Schwab <schwab@redhat.com>
36046 * stdlib/longlong.h: Update from GCC.
36048 2011-05-23 Andreas Schwab <schwab@redhat.com>
36050 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36052 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36053 Add parameter name.
36054 (__sysconf): Pass it down.
36056 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36059 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36061 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36062 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36063 add in in __libc_use_alloca calls. Adjust callers.
36064 (glob): Use malloc in some situations.
36066 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36067 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36070 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36072 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36073 and CLOCK_BOOTTIME_ALARM.
36076 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36079 * string/_strerror.c (__strerror_r): Print negative errors as signed
36083 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36084 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36085 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36087 * configure.in: Fix typo in redirection and correct removal of test
36088 files in two cases.
36091 * locale/setlocale.c (new_composite_name): Fix test to check for
36092 identical name of all categories.
36095 * libio/filedoalloc.c (local_isatty): New function.
36096 (_IO_file_doallocate): Use local_isatty.
36097 * stdio-common/perror.c (perror): In case a new stream is used
36098 forward the stream error.
36099 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36102 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36107 * include/alloca.h (extend_alloca_account): Define.
36110 * posix/regex.h: Fix comments with documentation of user-accessible
36111 fields after compilation and describe correct free'ing of pattern
36112 after re_compile_pattern.
36113 Patch by Reuben Thomas <rrt@sc3d.org>.
36115 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36117 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36118 and -mno-altivec to prevent the compiler from using Altivec and/or
36119 VSX instructions when the corresponding registers are not available.
36121 2011-05-19 Andreas Schwab <schwab@redhat.com>
36123 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36125 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36127 * libio/freopen.c (freopen): Use __dup2, not dup2.
36128 * libio/freopen64.c (freopen64): Likewise.
36130 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36133 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36134 * math/Makefile (tests): Add test-powl.
36135 (CFLAGS-test-powl.c): Define.
36136 * math/test-powl.c: New file.
36138 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36140 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36142 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36145 * iconvdata/gb18030.c: Update to GB18020-2005.
36147 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36149 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36150 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36151 Patch by Aharon Robbins <arnold@skeeve.com>.
36154 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36158 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36159 through underflows.
36162 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36163 point to strings before performing equality test for error_one_per_line
36167 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36170 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36171 (struct user_fpregs_struct): Avoid __uint*_t types.
36174 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36175 symbol info. Use it instead of calling _dl_addr locally.
36176 (lock_and_info): New function.
36177 (tr_freehook): Call lock_and_info and pass symbol info as additional
36178 parameter to tr_where.
36179 (tr_mallochook): Likewise.
36180 (tr_reallochook): Likewise.
36181 (tr_memalignhook): Likewise.
36183 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36184 used and couldn't be at all thread-safe.
36186 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36188 * libio/freopen.c (freopen): Don't close old file descriptor
36189 before the new one is opened. Instead dup the new file descriptor
36190 to the old one after the new stream is created.
36191 * libio/freopen64.c (freopen64): Likewise.
36192 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36193 * libio/fileops.c (_IO_new_file_close_it): Handle new
36194 _IO_FLAGS2_NOCLOSE flag.
36195 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36196 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36197 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36198 _IO_FLAGS2_NOCLOSE flag.
36199 * include/unistd.h: Add hidden_proto for dup3.
36200 Define __have_dup3.
36201 * io/dup3.c: Define hidden symbol.
36202 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36205 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36206 when an incomplete long option is used.
36207 * posix/tst-getopt_long1.c: New file.
36208 * posix/Makefile (tests): Add tst-getopt_long1.
36211 * scripts/config.guess: Update from autoconf-2.68.
36212 * scripts/config.sub: Likewise.
36215 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36217 (has_cpuclock): ...this. New function.
36218 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36219 macro here based on has_cpuclock code.
36222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36223 First byte (not low byte) is now always NUL.
36224 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36227 Use non-cancelable interfaces.
36230 * locale/iso-639.def: Add entry for Sorani.
36233 * include/stdlib.h: Move include protection to the right place.
36234 Define abort_msg_s. Declare __abort_msg with it.
36235 * stdlib/abort.c (__abort_msg): Adjust type.
36236 * assert/assert.c (__assert_fail_base): New function. Majority
36237 of code from __assert_fail. Allocate memory for __abort_msg with
36239 (__assert_fail): Now call __assert_fail_base.
36240 * assert/assert-perr.c: Remove bulk of implementation. Use
36241 __assert_fail_base.
36242 * include/assert.hL Declare __assert_fail_base.
36243 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36245 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36247 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36251 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36252 until all modules are registered in the DTV.
36253 * elf/Makefile: Add rules to build and run tst-tls19.
36254 * elf/tst-tls19.c: New file.
36255 * elf/tst-tls19mod1.c: New file.
36256 * elf/tst-tls19mod2.c: New file.
36257 * elf/tst-tls19mod3.c: New file.
36258 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36261 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36265 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36266 two-byte sequence errors.
36267 * iconvdata/Makefile (tests): Add bug-iconv8.
36268 * iconvdata/bug-iconv8.c: New file.
36271 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36274 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36277 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36278 (dummy_getcfa): New function.
36279 (init): Get _Unwind_GetCFA address, use dummy if not found.
36280 (backtrace_helper): In recursion check, also check whether CFA changes.
36281 (__backtrace): Completely initialize arg.
36283 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36284 storing incomplete byte sequence in state object. Avoid testing for
36285 guaranteed too small input if we know there is enough data available.
36287 2011-05-11 Andreas Schwab <schwab@redhat.com>
36289 * Makeconfig (+link-pie): Indent.
36290 * Rules (binaries-pie): Define if $(have-fpie) and
36292 (binaries-shared): Also filter out $(binaries-pie).
36293 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36294 * nscd/Makefile (others-pie): Add nscd.
36295 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36296 ($(objpfx)nscd): Remove command override.
36297 * login/Makefile (others-pie): Add pt_chown.
36298 ($(objpfx)pt_chown): Remove command override.
36299 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36300 remove command overrides.
36302 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36304 * libio/tst_putwc.c: Fix error messages.
36307 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36308 currently writing and seek to current position when not.
36309 * libio/Makefile (tests): Add bug-fclose1.
36310 * libio/bug-fclose1.c: New file.
36312 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36315 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36316 don't set DF_1_NODELETE here.
36317 (do_lookup_x): When entering new entry test for copy relocation
36318 and if necessary set DF_1_NODELETE flag.
36319 * elf/tst-unique4.cc: New file.
36320 * elf/tst-unique4.h: New file.
36321 * elf/tst-unique4lib.cc: New file.
36322 * elf/Makefile: Add rules to build and run tst-unique4.
36323 Patch by Piotr Bury <pbury@goahead.com>.
36325 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36328 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36331 * misc/mntent_r.c (addmntent): Flush the stream after the output
36334 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36335 (is_trusted_path_normalize): Skip initial colon. Append slash
36336 to empty buffer. Duplicate is_trusted_path code but allow
36337 constructed patch to be prefix.
36338 (is_dst): Allow $ORIGIN followed by /.
36339 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36340 Correct testing of result of is_trusted_path_normalize
36341 (decompose_rpath): Fix warning.
36343 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36346 * grp/initgroups.c (internal_getgrouplist): When we found the service
36347 list through the initgroups entry in nsswitch.conf do not always
36348 continue on a successful lookup. Don't always use the
36349 __nss_group_database value if it is set.
36350 * nss/nsswitch.conf (initgroups): Change action for successful db
36351 lookup to continue for compatibility.
36353 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36356 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36358 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36360 * iconvdata/tst-tables.sh: Likewise.
36361 * iconvdata/cp770.c: New file.
36362 * iconvdata/cp771.c: New file.
36363 * iconvdata/cp772.c: New file.
36364 * iconvdata/cp773.c: New file.
36365 * iconvdata/cp774.c: New file.
36366 * iconvdata/testdata/CP770: New file.
36367 * iconvdata/testdata/CP770..UTF8: New file.
36368 * iconvdata/testdata/CP771: New file.
36369 * iconvdata/testdata/CP771..UTF8: New file.
36370 * iconvdata/testdata/CP772: New file.
36371 * iconvdata/testdata/CP772..UTF8: New file.
36372 * iconvdata/testdata/CP773: New file.
36373 * iconvdata/testdata/CP773..UTF8: New file.
36374 * iconvdata/testdata/CP774: New file.
36375 * iconvdata/testdata/CP774..UTF8: New file.
36377 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36379 * iconvdata/gen-8bit-gap.sh: Likewise.
36380 * iconvdata/gen-8bit.sh: Likewise.
36382 * locale/iso-639.def: Add ary entry.
36385 * locale/C-translit.h.in: Add U20A1 transliteration.
36388 * locale/iso-639.def: Add wae entry.
36389 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36392 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36396 * locale/C-translit.h.in: Add entry for U20B9.
36397 Patch by pravin.d.s@gmail.com.
36399 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36402 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36403 ENAMETOOLONG use generic getcwd.
36404 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36405 in rtld. Use *stat64.
36406 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36407 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36408 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36409 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36410 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36411 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36412 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36413 __fstatat64 macros.
36414 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36415 * dirent/rewinddir.c: Add libc_hidden_def.
36416 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36417 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36419 * include/dirent.h (__alloc_dir): Add flags parameter.
36420 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36421 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36423 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36424 from fdopendir if O_CLOEXEC is already set.
36426 2011-03-15 Alan Modra <amodra@gmail.com>
36428 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36429 l_tls_firstbyte_offset non-zero. Save padding offset in
36430 l_tls_firstbyte_offset for later use.
36431 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36432 freeing static tls block.
36434 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36436 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36437 where #ifdef was intended. The intent is to prevent ARG_MAX from
36438 being defined by the kernel headers.
36440 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36443 * resolv/resolv.h: Define RES_NOTLDQUERY.
36444 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36445 no-tld-query and set RES_NOTLDQUERY.
36446 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36447 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36448 modern BIND to search name as TLD unless forbidden.
36450 2011-05-07 Petr Baudis <pasky@suse.cz>
36451 Ulrich Drepper <drepper@gmail.com>
36454 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36455 (is_trusted_path): ...to here.
36456 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36457 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36458 using is_trusted_path_normalize() in setuid scripts.
36460 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36462 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36463 __BEGIN/__END_DECLS.
36465 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36467 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36468 NSS_STATUS_NOTFOUND if no record was found.
36470 2011-05-05 Andreas Schwab <schwab@redhat.com>
36472 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36473 (headers-not-in-tirpc): Remove rpc/netdb.h
36474 * resolv/netdb.h: Revert last change.
36476 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36478 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36479 circular dependency between libgcc.a and libc.a.
36481 2011-05-05 Andreas Schwab <schwab@redhat.com>
36483 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36484 * nis/Makefile: Don't install rpcsvc/*.
36485 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36486 instead of <rpc/types.h>.
36487 (MAXHOSTNAMELEN): Define.
36489 2011-05-03 Andreas Schwab <schwab@redhat.com>
36491 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36493 2011-04-28 Maciej Babinski <mbabinski@google.com>
36496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36497 gethostbyname4_r when IPv6 results are possible.
36499 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36502 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36503 _PC_PIPE_BUF handling.
36505 2011-04-30 Bruno Haible <bruno@clisp.org>
36508 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36509 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36511 * inet/getnameinfo.c (getnameinfo): Likewise.
36513 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36515 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36516 to groups setting in database lookup.
36517 * nss/nsswitch.conf: Add initgroups entry.
36519 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36522 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36524 Patch by Eric Blake <eblake@redhat.com>.
36526 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36528 * sunrpc/Makefile (need-export-routines): Add svc_run.
36529 (routines): Remove svc_run.
36530 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36531 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36532 * sunrpc/svc_run.c (svc_run): Likewise.
36533 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36535 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36537 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36538 problem in reallocation in last patch.
36540 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36542 * sunrpc/Makefile: Move inclusion of Rules.
36544 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36546 * nss/nss_files/files-initgroups.c: New file.
36547 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36548 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36549 _nss_files_initgroups_dyn.
36551 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36553 * elf/elf.h (R_ARM_IRELATIVE): Define.
36555 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36557 * po/ru.po: Update from translation team.
36559 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36561 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36564 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36567 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36568 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36569 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36570 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36573 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36575 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36577 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36578 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36581 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36584 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36586 * stdlib/bug-getcontext.c: New file.
36587 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36589 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36591 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36592 instructions into .machine "z9-109".
36593 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36594 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36596 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36598 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36599 between environment variables and auxiliary vector.
36601 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36603 * Makefile: Add rules to build linkobj/libc.so.
36604 * include/libc-symbols.h: Define libc_hidden_nolink.
36605 * include/rpc/auth.h: Mark functions which are to be hidden.
36606 * include/rpc/auth_des.h: Likewise.
36607 * include/rpc/auth_unix.h: Likewise.
36608 * include/rpc/clnt.h: Likewise.
36609 * include/rpc/des_crypt.h: Likewise.
36610 * include/rpc/key_prot.h: Likewise.
36611 * include/rpc/pmap_clnt.h: Likewise.
36612 * include/rpc/pmap_prot.h: Likewise.
36613 * include/rpc/pmap_rmt.h: Likewise.
36614 * include/rpc/rpc_msg.h: Likewise.
36615 * include/rpc/svc.h: Likewise.
36616 * include/rpc/svc_auth.h: Likewise.
36617 * include/rpc/xdr.h: Likewise.
36618 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36619 * nss/Makefile: Likewise.
36620 * sunrpc/Makefile: Don't install headers. Build library with normal
36621 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36622 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36623 for the compat linking library. Remove use of INTDEF/INTUSE.
36624 * sunrpc/auth_none.c: Likewise.
36625 * sunrpc/auth_unix.c: Likewise.
36626 * sunrpc/authdes_prot.c: Likewise.
36627 * sunrpc/authuxprot.c: Likewise.
36628 * sunrpc/clnt_gen.c: Likewise.
36629 * sunrpc/clnt_perr.c: Likewise.
36630 * sunrpc/clnt_raw.c: Likewise.
36631 * sunrpc/clnt_simp.c: Likewise.
36632 * sunrpc/clnt_tcp.c: Likewise.
36633 * sunrpc/clnt_udp.c: Likewise.
36634 * sunrpc/clnt_unix.c: Likewise.
36635 * sunrpc/des_crypt.c: Likewise.
36636 * sunrpc/des_soft.c: Likewise.
36637 * sunrpc/get_myaddr.c: Likewise.
36638 * sunrpc/key_call.c: Likewise.
36639 * sunrpc/key_prot.c: Likewise.
36640 * sunrpc/netname.c: Likewise.
36641 * sunrpc/pm_getmaps.c: Likewise.
36642 * sunrpc/pm_getport.c: Likewise.
36643 * sunrpc/pmap_clnt.c: Likewise.
36644 * sunrpc/pmap_prot.c: Likewise.
36645 * sunrpc/pmap_prot2.c: Likewise.
36646 * sunrpc/pmap_rmt.c: Likewise.
36647 * sunrpc/publickey.c: Likewise.
36648 * sunrpc/rpc_cmsg.c: Likewise.
36649 * sunrpc/rpc_common.c: Likewise.
36650 * sunrpc/rpc_dtable.c: Likewise.
36651 * sunrpc/rpc_prot.c: Likewise.
36652 * sunrpc/rpc_thread.c: Likewise.
36653 * sunrpc/rtime.c: Likewise.
36654 * sunrpc/svc.c: Likewise.
36655 * sunrpc/svc_auth.c: Likewise.
36656 * sunrpc/svc_authux.c: Likewise.
36657 * sunrpc/svc_raw.c: Likewise.
36658 * sunrpc/svc_run.c: Likewise.
36659 * sunrpc/svc_simple.c: Likewise.
36660 * sunrpc/svc_tcp.c: Likewise.
36661 * sunrpc/svc_udp.c: Likewise.
36662 * sunrpc/svc_unix.c: Likewise.
36663 * sunrpc/svcauth_des.c: Likewise.
36664 * sunrpc/xcrypt.c: Likewise.
36665 * sunrpc/xdr.c: Likewise.
36666 * sunrpc/xdr_array.c: Likewise.
36667 * sunrpc/xdr_float.c: Likewise.
36668 * sunrpc/xdr_intXX_t.c: Likewise.
36669 * sunrpc/xdr_mem.c: Likewise.
36670 * sunrpc/xdr_rec.c: Likewise.
36671 * sunrpc/xdr_ref.c: Likewise.
36672 * sunrpc/xdr_sizeof.c: Likewise.
36673 * sunrpc/xdr_stdio.c: Likewise.
36675 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36678 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36679 * sysdeps/ia64/dl-tls.h: Likewise.
36680 * sysdeps/powerpc/dl-tls.h: Likewise.
36681 * sysdeps/s390/dl-tls.h: Likewise.
36682 * sysdeps/sh/dl-tls.h: Likewise.
36683 * sysdeps/sparc/dl-tls.h: Likewise.
36684 * sysdeps/x86_64/dl-tls.h: Likewise.
36685 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36687 2011-03-14 Andreas Schwab <schwab@redhat.com>
36689 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36690 rpath element also skip the following colon.
36691 (expand_dynamic_string_token): Add is_path parameter and pass
36692 down to DL_DST_REQUIRED and _dl_dst_substitute.
36693 (decompose_rpath): Call expand_dynamic_string_token with
36694 non-zero is_path. Ignore empty rpaths.
36695 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36698 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36703 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36706 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36707 Patch by Filipe David Manana <fdmanana@apache.org>.
36709 2011-04-07 Andreas Schwab <schwab@redhat.com>
36711 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36712 Maintain aligned stack.
36713 (CHECK_RSP): Remove unused macro.
36715 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36717 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36718 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36720 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36722 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36724 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36726 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36729 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36730 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36731 * sysdeps/x86_64/memmove.c: New file.
36732 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36733 (memcpy): Renamed to ...
36734 (__new_memcpy): This.
36735 (memcpy): Provide GLIBC_2_14 memcpy.
36736 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36737 (memcpy): Provide GLIBC_2_2_5 memcpy.
36739 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36742 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36744 2011-03-30 Andreas Schwab <schwab@redhat.com>
36746 * misc/syncfs.c: New file.
36747 * misc/Makefile (routines): Add syncfs.
36748 * posix/unistd.h: Declare syncfs.
36749 * sysdeps/unix/syscalls.list: Add syncfs.
36751 2011-04-01 Andreas Schwab <schwab@redhat.com>
36753 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36755 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36756 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36758 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36760 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36763 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36765 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36766 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36767 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36769 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36771 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36773 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36774 sync_file_range.c with -fexceptions.
36775 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36776 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36777 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36778 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36779 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36780 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36782 sync_file_range as cancellation point
36783 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36784 now a wrapper around __call_sync_file_range with cancellation handling.
36785 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36786 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36787 function name to __call_sync_file_range.
36788 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36789 Add call_sync_file_range.
36791 2011-04-01 Andreas Schwab <schwab@redhat.com>
36793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36796 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36798 * iconv/iconv.h: Fix typo in comment.
36799 * io/fcntl.h: Likewise.
36800 * libio/stdio.h: Likewise.
36801 * posix/spawn.h: Likewise.
36802 * posix/unistd.h: Likewise.
36803 * stdlib/stdlib.h: Likewise.
36804 * time/time.h: Likewise.
36805 * wcsmbs/wchar.h: Likewise.
36807 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36808 open_by_handle): Add.
36809 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36810 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36811 Augment a few comments.
36812 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36813 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36814 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36815 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36817 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36820 * io/fcntl.h (AT_EMPTY_PATH): Define.
36822 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36824 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36825 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36826 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36828 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36829 * Versions.def: Add GLIBC_2.14.
36830 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36833 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36835 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36837 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36839 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36842 * string/test-strncmp.c (do_page_test): New function.
36843 (check2): Likewise.
36844 (test_main): Call check2.
36845 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36847 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36850 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36851 Handle cache information in CPU leaf 4.
36852 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36854 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36857 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36858 character representation.
36859 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36861 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36863 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36864 END(__isnan) to END(__isnanf) to match function entry point/label
36865 EALIGN(__isnanf,...).
36867 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36869 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36871 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36874 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36875 copy from the symbol referenced in the relocation to initialize the
36877 Patch by Piotr Bury <pbury@goahead.com>.
36878 * elf/Makefile: Add rules to build and tst-unique3.
36879 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36880 * elf/tst-unique3.cc: New file.
36881 * elf/tst-unique3.h: New file.
36882 * elf/tst-unique3lib.cc: New file.
36883 * elf/tst-unique3lib2.cc: New file.
36885 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36887 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36889 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36890 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36893 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36895 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36896 to-be-loaded object along a path to loader is ld.so.
36898 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36899 Ulrich Drepper <drepper@gmail.com>
36901 * sysdeps/x86_64/memset.S: After aligning destination, code
36902 branches to different locations depending on the value of
36903 misalignment, when multiarch is enabled. Fix this.
36905 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36907 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36908 Set _x86_64_preferred_memory_instruction for AMD processsors.
36909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36910 Set bit_Prefer_SSE_for_memop for AMD processors.
36912 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36914 * libio/fmemopen.c (fmemopen): Optimize a bit.
36916 2011-03-03 Andreas Schwab <schwab@redhat.com>
36918 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36920 2011-03-03 Roland McGrath <roland@redhat.com>
36922 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36924 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36926 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36927 __bzero_ultra1 instead of __memset_ultra1.
36929 2011-02-23 Andreas Schwab <schwab@redhat.com>
36930 Ulrich Drepper <drepper@gmail.com>
36933 * include/link.h (struct link_map): Add l_orig_initfini.
36934 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36935 returning unsuccessfully.
36936 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36937 close of a file loaded at startup, restore the original l_initfini
36939 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36940 list, store the pointer.
36941 * elf/Makefile ($(objpfx)noload-mem): New rule.
36942 (noload-ENV): Define.
36943 (tests): Add $(objpfx)noload-mem.
36944 * elf/noload.c: Include <memcheck.h>.
36945 (main): Call mtrace. Close all opened handles.
36947 2011-02-17 Andreas Schwab <schwab@redhat.com>
36950 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36951 dependencies are missing.
36953 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36955 Fix __if_freereq crash: Unlike the generic version which uses free,
36957 * sysdeps/mach/hurd/ifreq.h: New file.
36959 2011-01-27 Petr Baudis <pasky@suse.cz>
36960 Ulrich Drepper <drepper@gmail.com>
36963 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36964 to extend_alloca().
36965 * stdio-common/bug23.c: New file.
36966 * stdio-common/Makefile (tests): Add bug23.
36968 2010-09-28 Andreas Schwab <schwab@redhat.com>
36969 Ulrich Drepper <drepper@gmail.com>
36972 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36973 before performing relro protection. At old place add assertion
36974 to make sure nothing changed.
36976 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36977 Glauber de Oliveira Costa <glommer@gmail.com>
36979 * elf/elf.h: Add new ARM TLS relocs.
36981 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36984 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36986 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36988 * sysdeps/wordsize-64/tst-writev.c: New file.
36990 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36992 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36993 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36994 insns in _dl_start to prevent a TOC reference before relocs are
36997 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37000 * Makeconfig: Remove RANLIB definition.
37001 * Makerules: Don't use RANLIB.
37002 * aclocal.m4: Remove ranlib test.
37003 * configure.in: No need to check for ranlib.
37004 * elf/rtld-Rules: Don't use RANLIB.
37006 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37008 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37010 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37011 inclusion protection macro.
37013 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37014 SIGRTMIN and SIGRTMAX and print information in that case only when
37015 SIGRTMIN is defined.
37017 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37019 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37020 arginfo fn returning -1.
37022 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37023 and thousands string is zero terminated.
37025 2011-02-03 Andreas Schwab <schwab@redhat.com>
37027 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37028 sysdeps/unix/sysv/linux/bits/socket.h.
37030 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37032 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37033 (__CPU_COUNT): Remove old macros.
37034 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37035 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37036 (__CPU_ALLOC, __CPU_FREE): Add macros.
37037 (__sched_cpualloc, __sched_cpufree): Add declarations.
37039 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37041 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37042 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37043 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37044 (readdhstai): Return value of addhstaiX call.
37045 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37046 (addgrbyX): Return value returned by cache_addgr.
37047 (readdgrbyname): Return value returned by addgrbyX.
37048 (readdgrbygid): Likewise.
37049 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37050 (addpwbyX): Return value returned by cache_addpw.
37051 (readdpwbyname): Return value returned by addhstbyX.
37052 (readdpwbyuid): Likewise.
37053 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37054 (addservbyX): Return value returned by cache_addserv.
37055 (readdservbyname): Return value returned by addservbyX:
37056 (readdservbyport): Likewise.
37057 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37058 (addhstbyX): Return value returned by cache_addhst.
37059 (readdhstbyname): Return value returned by addhstbyX.
37060 (readdhstbyaddr): Likewise.
37061 (readdhstbynamev6): Likewise.
37062 (readdhstbyaddrv6): Likewise.
37063 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37064 (readdinitgroups): Return value returned by addinitgroupsX.
37065 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37066 (prune_cache): Keep track of timeout value of re-added entries.
37067 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37068 * nscd/nscd.h: Adjust prototypes of readd* functions.
37070 2011-02-04 Roland McGrath <roland@redhat.com>
37072 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37073 (nis_stats): Likewise.
37074 * nis/nis_modify.c (nis_modify): Likewise.
37075 * nis/nis_remove.c (nis_remove): Likewise.
37076 * nis/nis_add.c (nis_add): Likewise.
37078 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37080 * posix/fnmatch_loop.c: Add some consts.
37082 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37084 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37087 * config.make.in (config-cflags-novzeroupper): Define.
37088 * configure.in: Substitute libc_cv_cc_novzeroupper.
37089 * elf/Makefile (AVX-CFLAGS): Define.
37090 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37091 (CFLAGS-tst-auditmod4a.c): Likewise.
37092 (CFLAGS-tst-auditmod4b.c): Likewise.
37093 (CFLAGS-tst-auditmod6b.c): Likewise.
37094 (CFLAGS-tst-auditmod6c.c): Likewise.
37095 (CFLAGS-tst-auditmod7b.c): Likewise.
37096 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37098 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37100 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37101 function to the callback.
37102 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37104 2011-02-02 Andreas Schwab <schwab@redhat.com>
37106 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37109 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37112 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37114 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37116 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37119 * elf/Makefile: Add rules to build and run new test.
37120 * elf/tst-initorder.c: New file.
37121 * elf/tst-initorder.exp: New file.
37122 * elf/tst-initordera1.c: New file.
37123 * elf/tst-initordera2.c: New file.
37124 * elf/tst-initordera3.c: New file.
37125 * elf/tst-initordera4.c: New file.
37126 * elf/tst-initorderb1.c: New file.
37127 * elf/tst-initorderb2.c: New file.
37128 * elf/tst-order-a1.c: New file.
37129 * elf/tst-order-a2.c: New file.
37130 * elf/tst-order-a3.c: New file.
37131 * elf/tst-order-a4.c: New file.
37132 * elf/tst-order-b1.c: New file.
37133 * elf/tst-order-b2.c: New file.
37134 * elf/tst-order-main.c: New file.
37135 New test case by George Gensure <werkt0@gmail.com>.
37137 2010-10-01 Andreas Schwab <schwab@redhat.com>
37139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37140 decoding ACE if AI_CANONIDN.
37142 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37144 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37146 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37148 * version.h (RELEASE): Bump for 2.13 release.
37149 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37151 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37153 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37155 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37156 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37157 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37158 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37160 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37162 * posix/getconf.c: Update copyright year.
37163 * catgets/gencat.c: Likewise.
37164 * csu/version.c: Likewise.
37165 * debug/catchsegv.sh: Likewise.
37166 * debug/xtrace.sh: Likewise.
37167 * elf/ldconfig.c: Likewise.
37168 * elf/ldd.bash.in: Likewise.
37169 * elf/sprof.c (print_version): Likewise.
37170 * iconv/iconv_prog.c: Likewise.
37171 * iconv/iconvconfig.c: Likewise.
37172 * locale/programs/locale.c: Likewise.
37173 * locale/programs/localedef.c: Likewise.
37174 * malloc/memusage.sh: Likewise.
37175 * malloc/mtrace.pl: Likewise.
37176 * nscd/nscd.c (print_version): Likewise.
37177 * nss/getent.c: Likewise.
37179 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37180 PF_CAIF, and PF_ALG.
37181 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37183 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37185 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37186 (modules-names): Use them.
37187 (ifunc-test-modules, ifunc-pie-tests): Define.
37188 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37189 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37190 (test-extras): Likewise.
37191 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37192 $(compile-command.c).
37193 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37194 (all-built-dso): Define.
37195 (check-textrel.out, check-execstack.out): Depend on it.
37197 * configure.in: Don't override --enable-multi-arch.
37199 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37202 * nscd/hstcache.c (tryagain): Define.
37203 (cache_addhst): Return tryagain not notfound for temporary errors.
37204 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37207 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37210 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37211 to make the syscall.
37212 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37215 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37216 and fall back to matching as normal character if the string ends before
37217 the matching ']' is found. This is what POSIX requires.
37218 * posix/testfnm.c: Adjust test result.
37219 * posix/globtest.sh: Adjust test result. Add new test.
37220 * posix/tst-fnmatch.input: Likewise.
37221 * posix/tst-fnmatch2.c: Add new test.
37223 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37225 * elf/Makefile (check-execstack): Revert last change. Depend on
37227 (check-execstack.h): New target.
37228 (generated): Add check-execstack.h.
37229 * elf/check-execstack.c: Include "check-execstack.h".
37230 (main): Revert last change.
37231 (handle_file): Return zero if GNU_STACK is absent and
37232 DEFAULT_STACK_PERMS doesn't include PF_X.
37234 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37236 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37237 in child fails because the descriptor is already closed.
37238 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37239 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37240 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37243 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37247 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37248 temporary buffer used to handle multi lookups locally.
37249 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37251 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37253 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37256 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37258 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37259 alignment for SSE2.
37261 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37264 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37265 characters. When rounding increased number of integer digits recompute
37267 * stdio-common/tst-grouping.c: New file.
37268 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37270 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37272 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37273 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37275 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37277 * bits/select.h: Likewise.
37279 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37281 * po/ja.po: Update from translation team.
37283 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37286 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37287 implementation just like for lxstat, fxstatat, et al.
37289 2010-12-27 Jim Meyering <meyering@redhat.com>
37292 * posix/regexec.c (build_trtable): Return failure indication upon
37293 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37295 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37298 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37299 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37300 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37301 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37304 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37307 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37308 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37310 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37312 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37313 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37314 script has SORT_BY_INIT_PRIORITY.
37315 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37316 NO_CTORS_DTORS_SECTIONS is defined.
37317 * elf/soinit.c: Likewise.
37318 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37319 NO_CTORS_DTORS_SECTIONS is defined.
37320 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37321 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37322 * sysdeps/sh/init-first.c: Likewise.
37323 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37325 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37327 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37328 always use the slow path.
37330 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37332 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37333 similar rule which adds the sysdep directories to the header search in
37334 order to pick up the correct platform stackinfo.h.
37335 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37336 perform test if it is, otherwise return successfully without testing.
37337 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37338 DEFAULT_STACK_PERMS define in stackinfo.h.
37339 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37340 defined in stackinfo.h.
37341 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37342 DEFAULT_STACK_PERMS defined in stackinfo.h.
37343 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37344 * sysdeps/ia64/stackinfo.h: Likewise.
37345 * sysdeps/s390/stackinfo.h: Likewise.
37346 * sysdeps/sh/stackinfo.h: Likewise.
37347 * sysdeps/sparc/stackinfo.h: Likewise.
37348 * sysdeps/x86_64/stackinfo.h: Likewise.
37349 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37350 PF_X for powerpc64. Retain PF_X for powerpc32.
37352 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37354 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37356 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37357 GETDENTS_64BIT_ALIGNED.
37359 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37361 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37363 2010-12-10 Andreas Schwab <schwab@redhat.com>
37365 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37368 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37369 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37371 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37372 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37374 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37377 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37380 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37382 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37384 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37386 * po/it.po: Update from translation team.
37388 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37390 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37393 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37395 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37397 2010-11-24 Andreas Schwab <schwab@redhat.com>
37399 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37401 (gaih_getanswer_slice): Likewise.
37403 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37407 2010-05-31 Petr Baudis <pasky@suse.cz>
37410 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37411 silently even in the chroot mode.
37413 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37415 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37416 last patch a bit. Pretty printing
37418 2010-05-31 Petr Baudis <pasky@suse.cz>
37421 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37422 initialization of skip_initgroups_dyn.
37424 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37426 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37427 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37429 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37431 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37433 2010-11-11 Andreas Schwab <schwab@redhat.com>
37435 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37436 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37437 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37438 ($(objpfx)tst-fnmatch-mem): New rule.
37439 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37440 * posix/tst-fnmatch.c (main): Call mtrace.
37442 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37445 Support Intel processor model 6 and model 0x2c.
37447 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37449 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37452 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37455 * string/test-strncasecmp.c (check_result): New function.
37456 (do_one_test): Use it.
37457 (check1): New function.
37458 (test_main): Use it.
37459 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37460 Support strcasecmp and strncasecmp.
37462 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37465 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37466 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37468 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37470 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37474 * sysdeps/x86_64/multiarch/bzero.S: New file.
37475 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37476 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37477 * sysdeps/x86_64/multiarch/memset.S: New file.
37478 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37480 Set bit_Prefer_SSE_for_memop for Intel processors.
37481 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37483 (index_Prefer_SSE_for_memop): Define.
37484 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37486 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37488 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37489 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37491 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37494 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37495 (__x86_64_raw_data_cache_size_half): Likewise.
37496 (__x86_64_raw_shared_cache_size): Likewise.
37497 (__x86_64_raw_shared_cache_size_half): Likewise.
37499 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37500 (__x86_64_raw_data_cache_size_half): Likewise.
37501 (__x86_64_raw_shared_cache_size): Likewise.
37502 (__x86_64_raw_shared_cache_size_half): Likewise.
37503 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37504 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37505 and __x86_64_raw_shared_cache_size_half. Round
37506 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37507 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37508 to multiple of 256 bytes.
37510 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37513 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37514 of inacessible symlinks. Verify result of symlink before returning it.
37515 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37516 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37518 2010-10-28 Erich Ritz <erichritz@gmail.com>
37520 * math/math.h (isinf): Fix typo in comment.
37522 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37524 * po/da.po: Update from translation team.
37526 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37528 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37529 is added to the list.
37531 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37532 Ulrich Drepper <drepper@gmail.com>
37534 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37535 the global list here. Move code to...
37536 (_dl_add_to_namespace_list): ...here. New function.
37537 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37538 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37539 * elf/dl-load.c (lose): Don't remove the element from the list.
37540 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37541 (_dl_map_object): Likewise.
37543 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37546 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37547 into all bytes of SSE register.
37548 Patch by Richard Li <richardpku@gmail.com>.
37550 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37553 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37556 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37558 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37559 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37560 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37561 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37566 2010-10-22 Andreas Schwab <schwab@redhat.com>
37568 * include/dlfcn.h (__RTLD_SECURE): Define.
37569 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37570 mode & __RTLD_SECURE instead.
37571 (open_path): Rename preloaded parameter to secure.
37572 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37573 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37574 * elf/dl-deps.c (openaux): Likewise.
37575 * elf/rtld.c (struct map_args): Remove is_preloaded.
37576 (map_doit): Don't use it.
37577 (dl_main): Likewise.
37578 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37579 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37581 2010-09-09 Andreas Schwab <schwab@redhat.com>
37583 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37584 (sysd-rules-targets): Remove duplicates.
37585 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37586 rtld-%.$o dependency.
37588 2010-10-18 Andreas Schwab <schwab@redhat.com>
37590 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37591 _dl_map_object do it.
37593 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37595 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37596 fast fma builtins, define the macros in the C99 standard.
37597 (FP_FAST_FMAF): Likewise.
37598 (FP_FAST_FMAL): Likewise.
37599 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37601 * bits/mathdef.h: Update copyright year.
37602 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37604 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37606 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37607 builtins, define the macros in the C99 standard.
37608 (FP_FAST_FMAF): Likewise.
37609 (FP_FAST_FMAL): Likewise.
37610 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37612 (FP_FAST_FMAF): Likewise.
37614 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37617 * math/libm-test.inc (fma_test): Some new testcases.
37618 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37619 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37620 y and infinite z. Do multiplication by C already in long double.
37621 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37623 y and infinite z. Do bitwise or of inexact bit into u.d.
37624 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37625 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37626 * sysdeps/i386/fpu/s_fma.S: Removed.
37627 * sysdeps/i386/fpu/s_fmal.S: Removed.
37629 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37632 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37634 computation is not scheduled after fetestexcept. Fix value
37635 of minimum denormal long double.
37637 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37640 * math/libm-test.inc (fma_test): Add some more tests.
37641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37644 2010-10-15 Andreas Schwab <schwab@redhat.com>
37646 * scripts/data/localplt-s390-linux-gnu.data: New file.
37647 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37649 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37652 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37653 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37655 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37657 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37659 if one of x and y is very large and the other is subnormal.
37660 * sysdeps/s390/fpu/s_fmaf.c: New file.
37661 * sysdeps/s390/fpu/s_fma.c: New file.
37662 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37663 * sysdeps/powerpc/fpu/s_fma.S: New file.
37664 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37665 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37666 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37668 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37671 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37673 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37674 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37675 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37676 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37677 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37678 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37679 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37681 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37684 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37685 * posix/bug-regex31.input: Add test case.
37687 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37689 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37690 * posix/bug-regex31.input: New file.
37693 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37694 (parse_sub_exp): Fix last change, use postorder.
37696 * posix/bug-regex31.c: New file.
37697 * posix/Makefile: Add rules to build and run bug-regex31.
37699 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37702 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37705 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37706 to have entries in sys_siglist.
37709 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37712 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37715 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37716 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37717 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37718 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37719 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37720 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37721 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37722 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37723 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37724 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37725 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37726 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37727 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37728 * math/ftestexcept.c (fetestexcept): Likewise.
37729 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37730 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37731 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37732 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37733 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37734 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37735 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37737 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37740 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37743 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37745 * string/bug-strstr1.c: New file.
37746 * string/Makefile: Add rules to build and run bug-strstr1.
37748 2010-10-05 Eric Blake <eblake@redhat.com>
37751 * string/str-two-way.h (two_way_long_needle): Always clear memory
37752 when skipping input due to the shift table.
37754 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37757 * malloc/mcheck.c: Handle large requests.
37760 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37761 for strncmp and strncasecmp.
37762 * string/stratcliff.c: Add tests for strcmp and strncmp.
37763 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37765 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37767 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37770 2010-09-30 Andreas Jaeger <aj@suse.de>
37772 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37773 (CGROUP_SUPER_MAGIC): Define.
37774 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37775 Handle btrfs and cgroup file systems.
37776 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37779 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37781 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37782 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37784 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37787 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37788 trying to locate the ELF header.
37790 2010-09-27 Andreas Schwab <schwab@redhat.com>
37793 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37794 Mask out sign-bit copies when constructing f_fsid.
37796 2010-09-24 Petr Baudis <pasky@suse.cz>
37798 * debug/stack_chk_fail_local.c: Add missing licence exception.
37799 * debug/warning-nop.c: Likewise.
37801 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37803 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37804 implementing getdents64 using getdents syscall, set d_type if
37805 __ASSUME_GETDENTS32_D_TYPE.
37807 2010-09-16 Andreas Schwab <schwab@redhat.com>
37809 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37810 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37812 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37815 * posix/unistd.h: Undo change of feature selection for ftruncate from
37818 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37820 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37823 2010-09-20 Andreas Schwab <schwab@redhat.com>
37825 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37827 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37829 2010-09-14 Andreas Schwab <schwab@redhat.com>
37831 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37832 variables after CHECK_SP call.
37833 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37835 2010-09-13 Andreas Schwab <schwab@redhat.com>
37836 Ulrich Drepper <drepper@redhat.com>
37838 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37839 re-relocationg ld.so.
37840 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37841 _dl_init_paths call.
37842 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37845 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37847 * resolv/res_init.c (__res_vinit): Count the default server we added.
37849 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37850 Ulrich Drepper <drepper@redhat.com>
37853 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37854 (____longjmp_chk): Use %ebx for saving value across system call.
37857 2010-09-06 Andreas Schwab <schwab@redhat.com>
37859 * manual/Makefile: Don't mix pattern rules with normal rules.
37861 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37863 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37865 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37866 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37867 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37868 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37869 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37872 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37875 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37876 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37878 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37880 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37881 * sysdeps/x86_64/addmul_1.S: Likewise.
37882 * sysdeps/x86_64/lshift.S: Likewise.
37883 * sysdeps/x86_64/mul_1.S: Likewise.
37884 * sysdeps/x86_64/rshift.S: Likewise.
37885 * sysdeps/x86_64/sub_n.S: Likewise.
37886 * sysdeps/x86_64/submul_1.S: Likewise.
37888 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37890 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37891 Define __sched_param instead of SCHED_* and sched_param when
37892 <bits/sched.h> is included with __need_schedparam defined.
37893 * bits/sched.h [__need_schedparam]
37894 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37895 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37896 (__defined_schedparam): Define to 1.
37897 (__sched_param): New structure, identical to sched_param.
37898 (__need_schedparam): Undefine.
37900 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37902 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37903 (epoll_create1): Declare.
37905 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37907 2010-08-31 Andreas Schwab <schwab@redhat.com>
37910 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37911 shifting retval into place.
37913 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37915 * nis/rpcsvc/nis.h: Update copyright notice.
37916 * nis/rpcsvc/nis.x: Likewise.
37917 * nis/rpcsvc/nis_callback.h: Likewise.
37918 * nis/rpcsvc/nis_callback.x: Likewise.
37919 * nis/rpcsvc/nis_object.x: Likewise.
37920 * nis/rpcsvc/nis_tags.h: Likewise.
37921 * nis/rpcsvc/yp.h: Likewise.
37922 * nis/rpcsvc/yp.x: Likewise.
37923 * nis/rpcsvc/ypupd.h: Likewise.
37924 * nis/yp_xdr.c: Likewise.
37925 * nis/ypupdate_xdr.c: Likewise.
37927 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37928 mainly the body of pmap_getport. Add parameters to specify timeouts.
37929 (pmap_getport): Use __libc_rpc_getport.
37930 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37931 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37932 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37934 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37939 2010-08-27 Roland McGrath <roland@redhat.com>
37941 * sysdeps/i386/i686/multiarch/Makefile
37942 (CFLAGS-varshift.c): New variable.
37944 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37946 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37947 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37951 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37953 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37955 * sysdeps/x86_64/strlen.S: Unroll the loop.
37956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37957 strlen-sse2 strlen-sse2-bsf.
37958 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37959 __strlen_no_bsf if bit_Slow_BSF is set.
37960 (__strlen_sse42): Removed.
37961 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37962 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37964 2010-08-25 Roland McGrath <roland@redhat.com>
37966 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37967 * sysdeps/x86_64/multiarch/varshift.c: New file.
37968 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37969 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37970 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37971 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37973 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37976 strlen-sse2 strlen-sse2-bsf.
37977 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37978 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37979 (__strlen_sse2): Removed.
37980 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37983 bit_Slow_BSF for Atom.
37984 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37985 (index_Slow_BSF): Define.
37986 (HAS_SLOW_BSF): Define.
37988 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37991 * resolv/res_init.c (__res_vinit): When no server address at all
37992 is given default to loopback.
37994 2010-08-24 Roland McGrath <roland@redhat.com>
37996 * configure.in: Remove config-name.h generation.
37997 * configure: Regenerated.
37998 * config-name.in: File removed.
37999 * scripts/config-uname.sh: New file.
38000 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38001 ($(objdir)config-name.h): New target.
38003 * sunrpc/rpc_parse.h: Avoid nested comment.
38005 2010-08-24 Richard Henderson <rth@redhat.com>
38006 Ulrich Drepper <drepper@redhat.com>
38007 H.J. Lu <hongjiu.lu@intel.com>
38009 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38011 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38012 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38013 _mm_alignr_epi8 with _mm_loadu_si128.
38014 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38015 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38016 (__m128i_shift_right): Removed.
38017 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38018 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38019 * sysdeps/x86_64/multiarch/varshift.h: New file.
38020 * sysdeps/x86_64/multiarch/varshift.S: New file.
38022 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38024 * configure.in: Move assembler checks to before sysdep dir checking.
38026 2010-08-20 Petr Baudis <pasky@suse.cz>
38028 * LICENSES: Sync the sunrpc license.
38030 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38032 * sunrpc/auth_des.c: Update copyright notice once again.
38033 * sunrpc/auth_none.c: Likewise.
38034 * sunrpc/auth_unix.c: Likewise.
38035 * sunrpc/authdes_prot.c: Likewise.
38036 * sunrpc/authuxprot.c: Likewise.
38037 * sunrpc/bindrsvprt.c: Likewise.
38038 * sunrpc/clnt_gen.c: Likewise.
38039 * sunrpc/clnt_perr.c: Likewise.
38040 * sunrpc/clnt_raw.c: Likewise.
38041 * sunrpc/clnt_simp.c: Likewise.
38042 * sunrpc/clnt_tcp.c: Likewise.
38043 * sunrpc/clnt_udp.c: Likewise.
38044 * sunrpc/clnt_unix.c: Likewise.
38045 * sunrpc/des_crypt.c: Likewise.
38046 * sunrpc/des_soft.c: Likewise.
38047 * sunrpc/get_myaddr.c: Likewise.
38048 * sunrpc/getrpcport.c: Likewise.
38049 * sunrpc/key_call.c: Likewise.
38050 * sunrpc/key_prot.c: Likewise.
38051 * sunrpc/openchild.c: Likewise.
38052 * sunrpc/pm_getmaps.c: Likewise.
38053 * sunrpc/pm_getport.c: Likewise.
38054 * sunrpc/pmap_clnt.c: Likewise.
38055 * sunrpc/pmap_prot.c: Likewise.
38056 * sunrpc/pmap_prot2.c: Likewise.
38057 * sunrpc/pmap_rmt.c: Likewise.
38058 * sunrpc/rpc/auth.h: Likewise.
38059 * sunrpc/rpc/auth_unix.h: Likewise.
38060 * sunrpc/rpc/clnt.h: Likewise.
38061 * sunrpc/rpc/des_crypt.h: Likewise.
38062 * sunrpc/rpc/key_prot.h: Likewise.
38063 * sunrpc/rpc/netdb.h: Likewise.
38064 * sunrpc/rpc/pmap_clnt.h: Likewise.
38065 * sunrpc/rpc/pmap_prot.h: Likewise.
38066 * sunrpc/rpc/pmap_rmt.h: Likewise.
38067 * sunrpc/rpc/rpc.h: Likewise.
38068 * sunrpc/rpc/rpc_des.h: Likewise.
38069 * sunrpc/rpc/rpc_msg.h: Likewise.
38070 * sunrpc/rpc/svc.h: Likewise.
38071 * sunrpc/rpc/svc_auth.h: Likewise.
38072 * sunrpc/rpc/types.h: Likewise.
38073 * sunrpc/rpc/xdr.h: Likewise.
38074 * sunrpc/rpc_clntout.c: Likewise.
38075 * sunrpc/rpc_cmsg.c: Likewise.
38076 * sunrpc/rpc_common.c: Likewise.
38077 * sunrpc/rpc_cout.c: Likewise.
38078 * sunrpc/rpc_dtable.c: Likewise.
38079 * sunrpc/rpc_hout.c: Likewise.
38080 * sunrpc/rpc_main.c: Likewise.
38081 * sunrpc/rpc_parse.c: Likewise.
38082 * sunrpc/rpc_parse.h: Likewise.
38083 * sunrpc/rpc_prot.c: Likewise.
38084 * sunrpc/rpc_sample.c: Likewise.
38085 * sunrpc/rpc_scan.c: Likewise.
38086 * sunrpc/rpc_scan.h: Likewise.
38087 * sunrpc/rpc_svcout.c: Likewise.
38088 * sunrpc/rpc_tblout.c: Likewise.
38089 * sunrpc/rpc_util.c: Likewise.
38090 * sunrpc/rpc_util.h: Likewise.
38091 * sunrpc/rpcinfo.c: Likewise.
38092 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38093 * sunrpc/rpcsvc/key_prot.x: Likewise.
38094 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38095 * sunrpc/rpcsvc/mount.x: Likewise.
38096 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38097 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38098 * sunrpc/rpcsvc/rex.x: Likewise.
38099 * sunrpc/rpcsvc/rstat.x: Likewise.
38100 * sunrpc/rpcsvc/rusers.x: Likewise.
38101 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38102 * sunrpc/rpcsvc/spray.x: Likewise.
38103 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38104 * sunrpc/rtime.c: Likewise.
38105 * sunrpc/svc.c: Likewise.
38106 * sunrpc/svc_auth.c: Likewise.
38107 * sunrpc/svc_authux.c: Likewise.
38108 * sunrpc/svc_raw.c: Likewise.
38109 * sunrpc/svc_run.c: Likewise.
38110 * sunrpc/svc_simple.c: Likewise.
38111 * sunrpc/svc_tcp.c: Likewise.
38112 * sunrpc/svc_udp.c: Likewise.
38113 * sunrpc/svc_unix.c: Likewise.
38114 * sunrpc/svcauth_des.c: Likewise.
38115 * sunrpc/xcrypt.c: Likewise.
38116 * sunrpc/xdr.c: Likewise.
38117 * sunrpc/xdr_array.c: Likewise.
38118 * sunrpc/xdr_float.c: Likewise.
38119 * sunrpc/xdr_mem.c: Likewise.
38120 * sunrpc/xdr_rec.c: Likewise.
38121 * sunrpc/xdr_ref.c: Likewise.
38122 * sunrpc/xdr_sizeof.c: Likewise.
38123 * sunrpc/xdr_stdio.c: Likewise.
38125 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38128 2010-08-19 Andreas Schwab <schwab@redhat.com>
38130 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38132 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38134 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38135 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38136 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38137 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38138 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38139 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38140 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38141 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38142 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38143 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38144 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38145 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38146 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38147 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38149 2010-07-26 Anton Blanchard <anton@samba.org>
38151 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38152 * malloc/arena.c (heap_trim): Likewise.
38154 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38156 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38158 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38159 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38161 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38163 * sysdeps/i386/elf/Makefile: New file.
38165 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38167 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38168 from fanotify_init.
38169 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38170 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38172 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38174 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38176 * sysdeps/multiarch/strcmp.S: Likewise.
38178 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38180 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38181 strncase_l-nonascii.
38182 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38183 Add strncase_l-ssse3.
38184 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38185 * sysdeps/x86_64/strcmp.S: Likewise.
38186 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38187 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38188 * sysdeps/x86_64/strncase.S: New file.
38189 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38190 * sysdeps/x86_64/strncase_l.S: New file.
38191 * string/Makefile (strop-tests): Add strncasecmp.
38192 * string/test-strncasecmp.c: New file.
38194 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38197 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38198 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38200 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38202 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38204 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38206 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38208 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38210 2010-05-01 Alan Modra <amodra@gmail.com>
38212 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38213 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38214 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38215 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38216 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38217 tidying. Don't tail-call __sigjmp_save for static lib.
38218 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38220 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38221 (CALL_MCOUNT): Add eh info, and nop after bl.
38222 (TAIL_CALL_SYSCALL_ERROR): New macro.
38223 (PSEUDO_RET): Use it.
38224 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38225 Correct save location of integer regs and cr.
38226 (_dl_profile_resolve): Correct cr save location. Delete nops
38227 after bl when SHARED. Reduce cfi size a little by better
38228 placement of cfi directives.
38229 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38230 make a stack frame. Instead use parm save area as a temp.
38231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38232 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38234 Don't make a stack frame for parent, use parm save area.
38235 Increase child stack frame to 112 bytes. Don't save unused reg,
38236 and adjust reg usage. Set up cfi on error recovery and
38237 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38239 (__makecontext): Add dummy nop after jump to exit.
38240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38241 Use correct parm save area and cr save, reduce stack frame.
38242 Correct cfi for possible PSEUDO_RET frame setup.
38243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38244 Branch to local label emitted by PSEUDO_RET rather than
38247 2010-08-12 Andreas Schwab <schwab@redhat.com>
38250 * locale/programs/locale.c (print_assignment): New function.
38251 (show_locale_vars): Use it.
38253 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38255 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38257 (struct statfs64): Likewise.
38258 (_STATFS_F_FLAGS): Define.
38259 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38260 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38261 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38262 (ST_VALID): Define locally.
38263 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38264 __statvfs_getflags, use the provided value.
38265 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38266 __ASSUME_STATFS_F_FLAGS.
38268 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38270 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38271 Add sys/fanotify.h.
38272 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38273 fanotify_mask for GLIBC_2.13.
38274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38275 fanotify_init and fanotify_mark.
38276 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38277 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38279 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38281 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38282 prlimit64 for GLIBC_2.13.
38283 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38285 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38288 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38289 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38290 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38291 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38293 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38296 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38297 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38299 * nss/Makefile: Add rules to build and run tst-nss-test1.
38300 * shlib-versions: Add entry for libnss_test1.
38301 * nss/nss_test1.c: New file.
38302 * nss/tst-nss-test1.c: New file.
38304 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38305 (__nss_configure_lookup): Set appropriate entry in
38306 __nss_configure_lookup to true.
38307 * nss/nsswitch.h: Define enum with indeces of databases in
38308 databases and __nss_database_custom arrays. Declare
38309 __nss_database_custom.
38310 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38311 to avoid using nscd when custom rules are installed.
38312 * nss/getXXbyYY_r.c: Likewise.
38313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38315 * nss/nss_files/files-parse.c: Whitespace fixes.
38317 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38320 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38321 * posix/fnmatch_loop.c: Likewise.
38323 2010-07-17 Andi Kleen <ak@linux.intel.com>
38325 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38326 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38327 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38328 * Versions.def [GLIBC_2.13]: Add.
38330 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38333 Also fail if tpwd after pwuid call is NULL.
38335 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38337 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38338 when converting to ms.
38340 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38342 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38343 EOPNOTSUPP errors with ENOTTY.
38344 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38345 EOPNOTSUPP errors with ENOTTY.
38347 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38349 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38350 Add strcasecmp_l-ssse3.
38351 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38353 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38354 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38355 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38357 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38359 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38361 * string/Makefile (strop-tests): Add strcasecmp.
38362 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38363 strcasecmp_l-nonascii.
38364 (gen-as-const-headers): Add locale-defines.sym.
38365 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38366 * sysdeps/x86_64/strcasecmp.S: New file.
38367 * sysdeps/x86_64/strcasecmp_l.S: New file.
38368 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38369 * sysdeps/x86_64/locale-defines.sym: New file.
38370 * string/test-strcasecmp.c: New file.
38372 * string/test-strcasestr.c: Test both ends of the range of characters.
38373 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38375 2010-07-29 Roland McGrath <roland@redhat.com>
38378 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38380 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38382 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38385 2010-07-27 Andreas Schwab <schwab@redhat.com>
38387 * manual/memory.texi (Malloc Tunable Parameters): Document
38390 2010-07-26 Roland McGrath <roland@redhat.com>
38393 * configure.in (-fgnu89-inline check): Set and substitute
38394 gnu89_inline, not libc_cv_gnu89_inline.
38395 * configure: Regenerated.
38396 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38398 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38400 * string/test-strnlen.c: New file.
38401 * string/Makefile (strop-tests): Add strnlen.
38402 * string/tester.c (test_strnlen): Add a few more test cases.
38403 * string/tst-strlen.c: Better error reporting.
38405 * sysdeps/x86_64/strnlen.S: New file.
38407 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38409 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38410 lower-latency instructions.
38412 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38414 * string/test-strcasestr.c: New file.
38415 * string/test-strstr.c: New file.
38416 * string/Makefile (strop-tests): Add strstr and strcasestr.
38417 * string/str-two-way.h: Don't undefine MAX.
38418 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38420 2010-07-21 Andreas Schwab <schwab@redhat.com>
38422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38423 strcasestr-nonascii.
38424 (CFLAGS-strcasestr-nonascii.c): Define.
38425 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38426 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38427 Remove unused attribute.
38429 2010-07-20 Roland McGrath <roland@redhat.com>
38431 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38432 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38433 ld.so.cache was broken. With it, there is no way to disable dsocaps
38434 like LD_HWCAP_MASK can disable hwcaps.
38436 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38438 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38440 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38442 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38443 call in strcasestr.
38444 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38445 __strcasestr_sse42_nonascii.
38446 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38447 strcasestr-nonascii.c.
38448 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38450 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38452 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38453 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38454 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38455 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38457 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38459 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38462 2010-07-06 Andreas Schwab <schwab@redhat.com>
38465 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38468 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38470 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38471 _PC_PIPE_BUF using F_GETPIPE_SZ.
38473 2010-07-05 Roland McGrath <roland@redhat.com>
38475 * manual/arith.texi (Rounding Functions): Fix rint description
38476 implicit in round description.
38478 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38480 * elf/Makefile: Fix linking for a few tests to make recent linker
38483 2010-06-30 Andreas Schwab <schwab@redhat.com>
38485 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38486 $(common-objpfx)libc_nonshared.a.
38488 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38490 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38491 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38492 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38493 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38494 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38495 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38496 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38497 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38512 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38513 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38514 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38515 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38516 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38517 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38518 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38519 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38520 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38521 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38522 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38523 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38539 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38541 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38542 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38543 * string/memmove.c (memmove): Renamed to ...
38544 (MEMMOVE): ...this. Default to memmove.
38545 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38546 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38549 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38550 mempcpy-ssse3-back memmove-ssse3-back.
38551 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38552 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38554 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38555 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38556 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38557 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38558 * sysdeps/x86_64/multiarch/memmove.c: New file.
38559 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38560 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38561 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38562 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38563 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38564 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38566 (index_Fast_Copy_Backward): Define.
38567 (HAS_ARCH_FEATURE): Define.
38568 (HAS_FAST_REP_STRING): Define.
38569 (HAS_FAST_COPY_BACKWARD): Define.
38571 2010-06-21 Andreas Schwab <schwab@redhat.com>
38573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38574 Restore proper fallback handling.
38576 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38579 * posix/group_member.c (__group_member): Correct checking loop.
38581 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38582 OOM in getpwuid_r correctly. Return error number when the caller
38583 should return, otherwise -1.
38584 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38585 call returning > 0 value.
38586 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38588 2010-06-07 Andreas Schwab <schwab@redhat.com>
38590 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38591 libc_nonshared.a from targets in modules-names.
38593 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38595 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38598 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38600 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38601 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38602 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38605 2010-06-02 Andreas Schwab <schwab@redhat.com>
38607 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38609 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38611 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38613 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38614 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38616 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38617 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38618 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38620 2010-06-14 Roland McGrath <roland@redhat.com>
38622 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38624 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38626 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38627 __REDIRECT followed by __THROW.
38628 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38629 * posix/getopt.h (getopt): Likewise.
38631 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38633 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38634 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38635 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38637 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38638 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38640 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38644 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38648 Properly check family and model.
38650 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38652 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38654 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38656 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38658 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38660 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38663 2010-05-19 Andreas Schwab <schwab@redhat.com>
38665 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38668 2010-05-21 Andreas Schwab <schwab@redhat.com>
38670 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38671 and internal_recvmmsg.
38672 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38673 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38674 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38675 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38677 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38678 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38679 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38681 2010-05-20 Andreas Schwab <schwab@redhat.com>
38683 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38685 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38687 POWER7 optimizations.
38688 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38689 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38691 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38693 * version.h: Update for 2.13 development version.
38695 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38697 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38698 exceptions. Return 0.
38700 2010-05-07 Roland McGrath <roland@redhat.com>
38702 * elf/ldconfig.c (main): Add a const.
38704 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38706 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38707 (args_options): Add no-idn option.
38708 (ahosts_keys_int): Add idn_flags to ai_flags.
38709 (parse_option): Handle 'i' option to clear idn_flags.
38711 * malloc/malloc.c (_int_free): Possible race in the most recently
38712 added check. Only act on the data if no current modification
38715 See ChangeLog.17 for earlier changes.