1 2014-02-03 Carlos O'Donell <carlos@redhat.com>
3 * manual/startup.texi: Add next, previous, and top entries for
4 the `Program Arguments' and `Environment Variables' nodes.
6 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8 * manual/macros.texi: Add comments before MTASC-safety macros.
10 * manual/users.texi: Document MTASC-safety properties.
12 * manual/threads.texi (pthread_key_create, pthread_key_delete,
13 pthread_getspecific, pthread_setspecific): Format with
14 @deftypefun, and add @safety note.
15 * manual/signal.texi: Move comments that analyze the above
16 functions to their home place.
18 2014-02-03 Allan McRae <allan@archlinux.org>
20 * po/sl.po: Update Slovenian translation from translation project.
22 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
24 * manual/time.texi (timegm): Add missing blank after @c.
25 Reported by Joseph Myers <joseph@codesourcery.com>.
27 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
29 * manual/check-safety.sh: New.
30 * manual/Makefile ($(objpfx)stamp-summary): Run it.
32 * manual/terminal.texi: Document MTASC-safety properties.
34 * manual/filesys.texi: Document MTASC-safety properties.
36 * manual/errno.texi: Document MTASC-safety properties.
38 * manual/intro.texi: Document safety identifiers and
41 * manual/string.texi (wcstok): Fix prototype.
42 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44 * manual/time.texi: Document MTASC-safety properties.
46 * manual/string.texi: Document MTASC-safety properties.
48 * manual/threads.texi: Document MTASC-safety properties.
50 * manual/stdio.texi: Document MTASC-safety properties.
52 * manual/syslog.texi: Document MTASC-safety properties.
54 * manual/sysinfo.texi: Document MTASC-safety properties.
56 * manual/startup.texi: Document MTASC-safety properties.
58 * manual/socket.texi: Document MTASC-safety properties.
60 * manual/signal.texi: Document MTASC-safety properties.
62 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
64 * manual/setjmp.texi: Document MTASC-safety properties.
66 * manual/search.texi: Document MTASC-safety properties.
68 * manual/resource.texi: Document MTASC-safety properties.
70 * manual/process.texi: Document MTASC-safety properties.
72 * manual/platform.texi: Document MTASC-safety properties.
74 * manual/pipe.texi: Document MTASC-safety properties.
76 * manual/pattern.texi: Document MTASC-safety properties.
78 * manual/message.texi: Document MTASC-safety properties.
81 * manual/memory.texi: Document MTASC-safety properties.
83 * manual/math.texi: Document MTASC-safety properties.
85 * manual/locale.texi: Document MTASC-safety properties.
87 * manual/llio.texi: Document MTASC-safety properties.
89 * manual/libdl.texi: New.
91 * manual/lang.texi: Document MTASC-safety properties.
93 * manual/job.texi: Document MTASC-safety properties.
95 * manual/getopt.texi: Document MTASC-safety properties.
97 * manual/ctype.texi: Document MTASC-safety properties.
99 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
102 * csu/libc-tls.c (static_map): Remove variable.
103 (__libc_setup_tls): Use main executable's link map for TLS data.
104 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
105 casing for LM_ID_BASE and GL(dl_nns).
106 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
107 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
108 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
109 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
110 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
112 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
115 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
117 * manual/debug.texi: Document MTASC-safety properties.
119 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
122 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
123 of __x86_64__ when disabling x87 inline functions.
125 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
127 * manual/charset.texi: Document MTASC-safety properties.
129 * manual/crypt.texi: Document MTASC-safety properties.
131 * manual/conf.texi: Document MTASC-safety properties.
133 * manual/arith.texi: Document MTASC-safety properties.
135 * manual/argp.texi: Document MTASC-safety properties.
137 * manual/macros.texi: Introduce macros to document multi
138 thread, asynchronous signal and asynchronous cancellation
140 * manual/intro.texi: Introduce the properties themselves.
142 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
144 * sysdeps/sh/sh4/Makefile: New file.
146 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
148 * math/gen-libm-test.pl ($srcdir): New variable.
149 ($auto_input): Use it.
151 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
154 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
155 access beyond array bounds when parsing netgroups file.
157 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
158 the old buffer before realloc.
160 2014-01-27 Allan McRae <allan@archlinux.org>
162 * po/fr.po: Update French translation from translation project.
164 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
166 * sysdeps/sh/libm-test-ulps: Regenerate.
168 2014-01-24 David S. Miller <davem@davemloft.net>
170 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
172 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
174 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
175 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
177 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
180 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
181 string pointers after reallocation.
183 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
185 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
186 __SH4A__ instead of __SH_FPU_ANY__.
188 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
190 * sysdeps/sh/fpu_control.h: New file.
191 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
192 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
193 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
194 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
195 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
196 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
197 * sysdeps/sh/sys/ucontext.h: Remove.
198 * sysdeps/sh/sys: Remove directory.
200 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
202 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
204 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
205 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
207 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
210 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
212 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
216 Adjust the vDSO correctly for internal calls.
217 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
219 2014-01-20 Allan McRae <allan@archlinux.org>
221 * po/ca.po: Update Catalan translation from translation project.
223 2014-01-16 Mike Frysinger <vapier@gentoo.org>
225 * sysdeps/s390/sotruss-lib.c: New file.
227 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
230 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
231 (__GI___gettimeofday): Alias for a different internal symbol to avoid
232 local calls issues by not having a PLT stub required for IFUNC calls.
233 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
235 2014-01-16 Joseph Myers <joseph@codesourcery.com>
237 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
238 * math/test-fpucw-static.c: Likewise.
240 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
243 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
245 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
247 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
248 implementation for powerpc.
250 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
253 * sysdeps/posix/system.c (__libc_system): Do not enable
254 asynchronous cancellation.
256 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
259 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
260 handling only for numbers special also in the IEEE case.
262 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
264 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
266 2014-01-11 Allan McRae <allan@archlinux.org>
268 * po/bg.po: Update Bulgarian translation from translation project.
270 * po/de.po: Update German translation from translation project.
272 2014-01-10 Roland McGrath <roland@hack.frob.com>
274 * sysdeps/generic/gcc-compat.h: New file.
276 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
278 * benchtests/asin-inputs: Correct slow inputs.
279 * benchtests/acos-inputs: Likewise.
281 2014-01-10 Allan McRae <allan@archlinux.org>
283 * po:sv.po: Update Swedish translation from translation project.
285 * po/vi.po: Update Vietnamese translation from translation project.
287 * po/eo.po: Update Esperanto translation from translation project.
289 * po/cs.po: Update Czech translation from translation project.
291 * po/nl.po: Update Dutch translation from translation project.
293 * po/pl.po: Update Polish translation from translation project.
295 * po/ru.po: Update Russian translation from translation project.
297 * po/uk.po: Update Ukrainian translation from translation project.
299 2014-01-08 Brooks Moses <bmoses@google.com>
301 * elf/dl-load.c: Fix comment typo.
303 2014-01-08 Carlos O'Donell <carlos@redhat.com>
305 * po/header.pot: Rename to...
306 * po/pot.header: ... this.
307 * po/Makefile: Use pot.header.
309 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
310 Maxim Kuvyrkov <maxim@kugelworks.com>
313 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
314 SRC and DEST against LEN.
316 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
319 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
321 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
323 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
327 2014-01-08 Joseph Myers <joseph@codesourcery.com>
330 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
331 for large positive arguments.
333 2014-01-07 Joseph Myers <joseph@codesourcery.com>
335 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
337 * math/auto-libm-test-in: Mark various tests with
338 xfail-rounding:ldbl-128ibm.
339 * math/auto-libm-test-out: Regenerated.
342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
343 Increase overflow threshold.
345 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
348 * stdio-common/vfprintf.c: Check for integer overflow.
350 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
352 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
353 the first argument and return value of __tls_get_addr_internal.
355 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
357 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
358 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
360 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
362 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
363 * sysdeps/s390/rtld-global-offsets.sym: New file.
364 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
366 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
367 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
368 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
370 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
371 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
377 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
378 halfs of GPRs for high_gprs contexts.
379 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
380 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
382 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
384 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
386 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
387 for high GPRs (uc_high_gprs) and for future extensions
389 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
390 for future extensions (__reserved).
391 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
393 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
394 SC_HIGHGPRS offset definition.
395 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
396 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
398 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
400 * Versions.def: Add GLIBC_2.19 for libpthread.
401 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
402 siglongjmp for libpthread with GLIBC_2.19 symver.
403 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
404 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
405 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
406 * sysdeps/s390/__longjmp.c: New file.
407 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
408 * sysdeps/s390/longjmp.c: New file.
409 * sysdeps/s390/setjmp.S: New file.
410 * sysdeps/s390/sigjmp.S: New file.
411 * sysdeps/s390/v1-longjmp.c: New file.
412 * sysdeps/s390/v1-setjmp.h: New file.
413 * sysdeps/s390/v1-sigjmp.c: New file.
414 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
415 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
417 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
418 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
419 versioned symbols for ____longjmp_chk.
420 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
430 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
431 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
432 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
433 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
434 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
435 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
436 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
437 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
438 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
439 * sysdeps/s390/rtld-__longjmp.c: New file.
440 * sysdeps/s390/rtld-setjmp.S: New file.
442 2014-01-06 Joseph Myers <joseph@codesourcery.com>
445 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
446 Return -__logl (x) for small positive arguments without evaluating
449 2014-01-06 Mike Frysinger <vapier@gentoo.org>
451 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
453 (__ptrace_peeksiginfo_args): ... this.
454 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
455 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
456 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
458 2014-01-06 Allan McRae <allan@archlinux.org>
460 * inet/netinet/in.h: Fix typo in comment.
462 2014-01-05 Andreas Jaeger <aj@suse.de>
464 * sysdeps/i386/fpu/libm-test-ulps: Update.
466 2014-01-05 Allan McRae <allan@archlinux.org>
468 * po/libc.pot: Regenerated.
470 * malloc/memusagestat.c: Fix gettext call formatting.
472 2014-01-04 Sami Kerola <kerolasa@iki.fi>
474 * nscd/nscd.c: Improve usage() output.
476 2014-01-04 Mike Frysinger <vapier@gentoo.org>
478 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
479 * sysdeps/unix/sysv/linux/configure: Regenerated.
480 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
481 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
483 2014-01-03 Joseph Myers <joseph@codesourcery.com>
486 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
487 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
489 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
491 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
492 extra tokens at end of #undef directive.
493 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
494 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
495 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
497 2014-01-03 Andrew Hunter <ahh@google.com>
499 * elf/dl-open.c (dl_open_worker): New comment.
500 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
501 atomic_compare_and_exchange_bool_acq
502 (_dl_allocate_static_tls): Block signals.
503 * elf/dl-tls.c (allocate_and_init): Return void.
504 (_dl_update_slotinfo): Block signals, use atomic update.
506 2014-01-03 Joseph Myers <joseph@codesourcery.com>
508 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
510 * math/auto-libm-test-in: Mark various tests with
511 xfail-rounding:ldbl-128ibm.
512 * math/auto-libm-test-out: Regenerated.
514 2014-01-02 Joseph Myers <joseph@codesourcery.com>
517 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
518 numbers with subnormal high part when calculating exponent.
521 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
525 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
527 (__ieee754_acoshl): Use __log1pl not __log1p.
529 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
531 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
532 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
533 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
534 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
535 Convert to GNU style.
536 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
537 mem2mem_check, mem2chunk_check, top_check, realloc_check,
538 memalign_check, __malloc_set_state): Likewise.
539 * malloc/mallocbug.c (main): Likewise.
540 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
541 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
542 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
543 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
544 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
545 * malloc/malloc.h: Likewise.
546 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
547 memalignhook, reallochook, mabort): Likewise.
548 * malloc/mcheck.h: Likewise.
549 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
550 mmap64, mremap, munmap, dest): Likewise.
551 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
552 * malloc/morecore.c (__default_morecore): Likewise.
553 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
554 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
555 _obstack_allocated_p, obstack_free, _obstack_memory_used,
556 print_and_abort): Likewise.
557 * malloc/obstack.h: Likewise.
558 * malloc/set-freeres.c (__libc_freeres): Likewise.
559 * malloc/tst-mallocstate.c (main): Likewise.
560 * malloc/tst-mtrace.c (main): Likewise.
561 * malloc/tst-realloc.c (do_test): Likewise.
563 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
566 * nscd/netgroupcache.c (do_notfound): New function.
567 (addgetnetgrentX): Use it.
570 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
573 2014-01-01 Joseph Myers <joseph@codesourcery.com>
575 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
578 2014-01-01 Allan McRae <allan@archlinux.org>
580 * scripts/update-copyrights: Update configure input file suffix.
582 * NEWS: Update copyright year.
583 * catgets/gencat.c: Likewise.
584 * csu/version.c: Likewise.
585 * debug/catchsegv.sh: Likewise.
586 * debug/pcprofiledump.c: Likewise.
587 * debug/xtrace.sh: Likewise.
588 * elf/ldconfig.c: Likewise.
589 * elf/ldd.bash.in: Likewise.
590 * elf/pldd.c: Likewise.
591 * elf/sotruss.ksh: Likewise.
592 * elf/sprof.c: Likewise.
593 * iconv/iconv_prog.c: Likewise.
594 * iconv/iconvconfig.c: Likewise.
595 * locale/programs/locale.c: Likewise.
596 * locale/programs/localedef.c: Likewise.
597 * login/programs/pt_chown.c: Likewise.
598 * malloc/memusage.sh: Likewise.
599 * malloc/memusagestat.c: Likewise.
600 * malloc/mtrace.pl: Likewise.
601 * manual/libc.texinfo: Likewise.
602 * nscd/nscd.c: Likewise.
603 * nss/getent.c: Likewise.
604 * nss/makedb.c: Likewise.
605 * posix/getconf.c: Likewise.
606 * scripts/test-installation.pl: Likewise.
608 * All files with FSF copyright notices: Update copyright dates
609 using scripts/update-copyrights.
610 * intl/plural.c: Regenerated.
611 * locale/programs/charmap-kw.h: Likewise.
612 * locale/programs/locfile-kw.h: Likewise.
614 2013-12-31 Mike Frysinger <vapier@gentoo.org>
616 * sysdeps/unix/sysv/linux/configure: Regenerated.
617 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
618 the linux/fanotify.h header.
619 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
620 HAVE_LINUX_FANOTIFY_H is defined.
622 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
624 * benchtests/cos-inputs: New inputs.
625 * benchtests/sin-inputs: Likewise.
627 * benchtests/atan-inputs: New inputs. Fix name of multiple
628 precision fallback inputs.
630 * benchtests/atanh-inputs: New inputs.
631 * benchtests/tanh-inputs: Likewise.
633 * benchtests/acosh-inputs: New inputs.
634 * benchtests/asinh-inputs: Likewise.
636 * benchtests/cosh-inputs: New inputs.
637 * benchtests/sinh-inputs: Likewise.
639 * benchtests/acos-inputs: Add more inputs.
640 * benchtests/asin-inputs: Likewise.
642 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
645 * manual/arith.texi: Fix spelling.
646 * manual/charset.texi: Likewise.
647 * manual/errno.texi: Likewise.
648 * manual/filesys.texi: Likewise.
649 * manual/lang.texi: Likewise.
650 * manual/llio.texi: Likewise.
651 * manual/locale.texi: Likewise.
652 * manual/message.texi: Likewise.
653 * manual/resource.texi: Likewise.
654 * manual/search.texi: Likewise.
655 * manual/setjmp.texi: Likewise.
656 * manual/stdio.texi: Likewise.
657 * manual/string.texi: Likewise.
658 * manual/sysinfo.texi: Likewise.
659 * manual/time.texi: Likewise.
661 2013-12-27 Carlos O'Donell <carlos@redhat.com>
663 * po/sl.po: New file.
665 2013-12-27 Mike Frysinger <vapier@gentoo.org>
667 * .gitignore: Add core/.gdbinit/.gdb_history.
669 2013-12-27 Allan McRae <allan@archlinux.org>
672 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
673 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
675 2013-12-24 Brooks Moses <bmoses@google.com>
677 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
678 all compilers that claim C++98 compliance, not just GCC.
679 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
682 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
684 * NEWS: Restore accidentally deleted bug-fix entries.
686 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
687 Ondřej Bílka <neleai@seznam.cz>
690 * malloc/malloc.c (_int_free): Perform sanity check only if we
693 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
696 * manual/stdio.texi (String Input Conversions): Clarify that character
697 classes are not supported.
699 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
703 2013-12-22 Joseph Myers <joseph@codesourcery.com>
706 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
707 Calculate results for small negative arguments directly rather
708 than using reflection formula with special underflow handling.
710 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
711 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
712 sysdeps/unix/bsd/bsd4.4/syscalls.list.
713 (fchflags): Likewise.
715 (setlogin): Likewise.
716 (sigaltstack): Likewise.
719 (sigsetmask): Likewise.
722 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
723 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
725 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
726 * sysdeps/unix/bsd/Makefile: ... here.
727 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
728 * sysdeps/unix/bsd/Versions: ... here.
729 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
730 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
731 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
732 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
733 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
734 * sysdeps/unix/bsd/sigblock.c: ... here.
735 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
736 * sysdeps/unix/bsd/sigsetmask.c: ... here.
737 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
738 * sysdeps/unix/bsd/sigvec.c: ... here.
739 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
740 * sysdeps/unix/bsd/tcdrain.c: ... here.
741 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
742 * sysdeps/unix/bsd/tcgetattr.c: ... here.
743 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
744 * sysdeps/unix/bsd/tcsetattr.c: ... here.
745 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
746 * sysdeps/unix/bsd/wait.c: ... here.
747 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
748 * sysdeps/unix/bsd/wait3.c: ... here.
749 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
750 * sysdeps/unix/bsd/waitpid.c: ... here.
752 2013-12-21 Joseph Myers <joseph@codesourcery.com>
755 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
756 round-to-nearest for [!USE_AS_EXPM1L].
757 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
758 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
759 more tests of exp and exp10. Expect some exp10 tests to miss
760 exceptions or fail in directed rounding modes.
761 * math/auto-libm-test-out: Regenerated.
762 * math/libm-test.inc (exp10_tonearest_test_data): New array.
763 (exp10_test_tonearest): New function.
764 (exp10_towardzero_test_data): New array.
765 (exp10_test_towardzero): New function.
766 (exp10_downward_test_data): New array.
767 (exp10_test_downward): New function.
768 (exp10_upward_test_data): New array.
769 (exp10_test_upward): New function.
770 (main): Call the new functions.
771 * sysdeps/i386/fpu/libm-test-ulps: Update.
772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
774 2013-12-20 Joseph Myers <joseph@codesourcery.com>
776 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
777 asinh, atan, atan2, atanh, cbrt, cos and cosh.
778 * math/auto-libm-test-out: Regenerated.
779 * math/libm-test.inc (acosh_test_data): Add more tests.
780 (atanh_test_data): Likewise.
781 (ceil_test_data): Likewise.
782 (copysign_test_data): Likewise.
783 * sysdeps/i386/fpu/libm-test-ulps: Update.
784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
786 * timezone/checktab.awk: Update from tzcode 2013i.
787 * timezone/private.h: Likewise.
788 * timezone/scheck.c: Likewise.
789 * timezone/tzfile.h: Likewise.
790 * timezone/tzselect.ksh: Likewise.
791 * timezone/zdump.c: Likewise.
792 * timezone/zic.c: Likewise.
794 * math/auto-libm-test-in: Add tests of cpow.
795 * math/auto-libm-test-out: Regenerated.
796 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
797 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
799 (func_calc_desc): Add mpc_cc_c union field.
800 (test_functions): Add cpow.
801 (special_fill_2pi): New function.
802 (special_real_inputs): Add 2pi.
803 (calc_generic_results): Handle mpc_cc_c.
804 * sysdeps/i386/fpu/libm-test-ulps: Update.
805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
807 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
808 csqrt, ctan and ctanh.
809 * math/auto-libm-test-out: Regenerated.
810 * math/libm-test.inc (TEST_COND_x86_64): New macro.
811 (TEST_COND_x86): Likewise.
812 (ccos_test_data): Use AUTO_TESTS_c_c.
813 (ccosh_test_data): Likewise.
814 (cexp_test_data): Likewise.
815 (clog_test_data): Likewise.
816 (csqrt_test_data): Likewise.
817 (ctan_test_data): Likewise.
818 (ctan_tonearest_test_data): Likewise.
819 (ctan_towardzero_test_data): Likewise.
820 (ctan_downward_test_data): Likewise.
821 (ctan_upward_test_data): Likewise.
822 (ctanh_test_data): Likewise.
823 (ctanh_tonearest_test_data): Likewise.
824 (ctanh_towardzero_test_data): Likewise.
825 (ctanh_downward_test_data): Likewise.
826 (ctanh_upward_test_data): Likewise.
827 * math/gen-auto-libm-tests.c (func_calc_method): Add value
829 (func_calc_desc): Add mpc_c_c union field.
830 (FUNC_mpc_c_c): New macro.
831 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
832 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
834 (special_fill_min_subnorm_p120): New function.
835 (special_real_inputs): Add min_subnorm_p120.
836 (calc_generic_results): Handle mpc_c_c.
837 * sysdeps/i386/fpu/libm-test-ulps: Update.
838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
840 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
842 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
843 do_sin_slow): New functions.
844 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
845 cslow2, csloww1, csloww2): Use the new functions.
847 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
848 Use M to change sign of result instead of X. Assume X is
854 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
859 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
861 (sloww1): Don't adjust sign of DX.
863 (sloww2): Use X directly and don't adjust sign of DX.
866 2013-12-19 Joseph Myers <joseph@codesourcery.com>
868 * math/auto-libm-test-in: Add tests of cabs and carg.
869 * math/auto-libm-test-out: Regenerated.
870 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
871 (carg_test_data): Likewise.
872 * math/gen-auto-libm-tests.c (func_calc_method): Add value
874 (func_calc_desc): Add mpc_c_f union field.
875 (test_functions): Add cabs and carg.
876 (calc_generic_results): Handle mpc_c_f.
878 * sysdeps/powerpc/powerpc32/libgcc-compat.S
879 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
880 as a macro and a compat symbol.
881 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
882 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
883 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
884 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
885 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
886 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
888 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
890 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
892 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
894 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
896 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
898 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
899 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
902 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
906 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
908 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
909 (__signal_safe_memalign, __signal_safe_free): Use it.
910 (__signal_safe_realloc): Likewise.
912 2013-12-19 Joseph Myers <joseph@codesourcery.com>
914 * manual/texinfo.tex: Update to version 2013-11-26.10 with
915 trailing whitespace removed.
916 * scripts/config.guess: Update to version 2013-11-29.
917 * scripts/config.sub: Update to version 2013-10-01.
919 * math/auto-libm-test-in: Add tests of sincos.
920 * math/auto-libm-test-out: Regenerated.
921 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
922 * math/gen-auto-libm-tests.c (func_calc_method): Add value
924 (func_calc_desc): Add mpfr_f_11 union field.
925 (test_functions): Add sincos.
926 (calc_generic_results): Handle mpfr_f_11.
927 * sysdeps/i386/fpu/libm-test-ulps: Update.
928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
930 2013-12-19 Andreas Schwab <schwab@suse.de>
932 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
935 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
936 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
938 2013-12-19 Joseph Myers <joseph@codesourcery.com>
940 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
941 * sysdeps/i386/fpu/libm-test-ulps: Update.
942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
945 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
946 round-to-nearest mode when using frndint.
947 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
948 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
949 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
951 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
953 * math/auto-libm-test-out: Regenerated.
954 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
955 (TEST_COND_x86): Likewise.
956 (expm1_tonearest_test_data): New array.
957 (expm1_test_tonearest): New function.
958 (expm1_towardzero_test_data): New array.
959 (expm1_test_towardzero): New function.
960 (expm1_downward_test_data): New array.
961 (expm1_test_downward): New function.
962 (expm1_upward_test_data): New array.
963 (expm1_test_upward): New function.
964 (main): Run the new test functions.
965 * sysdeps/i386/fpu/libm-test-ulps: Update.
966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
968 * include/features.h: Update comment documenting feature test
969 macros. Mention _DEFAULT_SOURCE in comment.
970 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
971 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
972 _BSD_SOURCE and _SVID_SOURCE.
973 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
974 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
975 !_SVID_SOURCE]: Likewise.
976 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
977 (__USE_POSIX_IMPLICITLY): Define.
978 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
979 (_POSIX_SOURCE): Undefine and redefine.
980 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
981 (_POSIX_C_SOURCE): Likewise.
982 * manual/creature.texi (_DEFAULT_SOURCE): Document.
983 (Feature Test Macros): Update documentation of default features.
985 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
987 * benchtests/Makefile: Add bench-strtok.
988 * benchtests/bench-strtok.c: New file: strtok benchtest.
990 2013-12-19 Allan McRae <allan@archlinux.org>
992 * manual/install.texi: Suppress menu for plain text output.
993 * INSTALL: Regenerated.
995 2013-12-18 Andrew Hunter <ahh@google.com>
997 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
998 (__signal_safe_malloc, __signal_safe_free): Likewise.
999 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
1000 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
1001 (__signal_safe_memalign, __signal_safe_malloc): New function.
1002 (__signal_safe_free, __signal_safe_realloc): Likewise.
1003 (__signal_safe_calloc): Likewise.
1004 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
1006 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
1008 2013-12-18 Andrew Hunter <ahh@google.com>
1010 * elf/Versions (ld): Add _dl_clear_dtv.
1011 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
1012 * elf/dl-tls.c (_dl_clear_dtv): New function.
1013 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
1015 2013-12-18 Andrew Hunter <ahh@google.com>
1017 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
1018 (_dl_unmask_signals): Likewise.
1019 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
1020 (_dl_unmask_all_signals): Likewise.
1021 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
1022 (_dl_unmask_all_signals): Likewise.
1023 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
1024 (_dl_unmask_signals): Likewise.
1026 2013-12-18 Brooks Moses <bmoses@google.com>
1029 * misc/getauxval.c: Include errno.h.
1030 (__getauxval): Set errno to ENOENT if the requested type is not
1032 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1033 don't declare with __attribute_const__.
1034 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1035 * manual/startup.texi: Document that getauxval sets errno.
1037 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1039 * math/auto-libm-test-in: Add tests of jn and yn.
1040 * math/auto-libm-test-out: Regenerated.
1041 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1042 (yn_test_data): Likewise.
1043 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1045 (func_calc_desc): Add mpfr_if_f union field.
1046 (FUNC_mpfr_if_f): New macro.
1047 (test_functions): Add jn and yn.
1048 (calc_generic_results): Assert type of second input for
1049 mpfr_ff_f. Handle mpfr_if_f.
1050 (output_for_one_input_case): Disable all checking for arguments
1051 fitting floating-point types in case of an integer argument.
1052 * sysdeps/i386/fpu/libm-test-ulps: Update.
1053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1056 Don't expect fegetround reference in libm.so.
1058 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1060 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1061 $(config-cflags-nofma).
1063 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1065 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1066 * math/auto-libm-test-out: Regenerated.
1069 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1070 to determine exponent and adjust argument to have exponent of -1.
1071 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1073 * math/auto-libm-test-out: Regenerated.
1074 * sysdeps/i386/fpu/libm-test-ulps: Update.
1075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1077 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1079 * manual/probes.texi: Remove cases when per-thread arenas are
1082 2013-12-18 Andreas Schwab <schwab@suse.de>
1084 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1085 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1086 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1087 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1088 * sysdeps/i386/i686/multiarch/Makefile: Update.
1089 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1091 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1093 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1094 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1096 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1098 Support TZ transition times < 00:00:00.
1099 This is needed for version-3 tz-format files; it supports time
1100 stamps past 2037 for America/Godthab (the only entry in the tz
1101 database for which this change is relevant).
1102 * manual/time.texi (TZ Variable): Document transition times
1103 from -167:59:59 through -00:00:01.
1104 * time/tzset.c (tz_rule): Time of day is now signed.
1105 (__tzset_parse_tz): Parse negative time of day.
1107 Document TZ transition times >= 25:00:00.
1108 * manual/time.texi (TZ Variable): Document transition times from
1109 25:00:00 through 167:59:59. These are already supported, and this
1110 support will help with version-3 tz-format files.
1112 * manual/time.texi (TZ Variable): Modernize North America example
1113 to reflect current (i.e., 2007-and-later) daylight saving rules.
1115 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1117 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1119 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1120 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1123 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1124 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1125 * sysdeps/unix/bsd/clock.c: Likewise.
1126 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1127 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1128 * sysdeps/unix/bsd/init-posix.c: Likewise.
1129 * sysdeps/unix/bsd/poll.c: Likewise.
1130 * sysdeps/unix/bsd/ptsname.c: Likewise.
1131 * sysdeps/unix/bsd/seekdir.c: Likewise.
1132 * sysdeps/unix/bsd/setegid.c: Likewise.
1133 * sysdeps/unix/bsd/seteuid.c: Likewise.
1134 * sysdeps/unix/bsd/setgid.c: Likewise.
1135 * sysdeps/unix/bsd/setrgid.c: Likewise.
1136 * sysdeps/unix/bsd/setruid.c: Likewise.
1137 * sysdeps/unix/bsd/setsid.c: Likewise.
1138 * sysdeps/unix/bsd/setuid.c: Likewise.
1139 * sysdeps/unix/bsd/sigaction.c: Likewise.
1140 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1141 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1142 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1143 * sysdeps/unix/bsd/telldir.c: Likewise.
1144 * sysdeps/unix/bsd/times.c: Likewise.
1145 * sysdeps/unix/bsd/usleep.c: Likewise.
1147 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1148 ($(objpfx)libbsd-compat.a): Remove rule.
1150 * include/features.h (__FAVOR_BSD): Do not define.
1151 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1152 features conflicting with POSIX.
1153 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1154 (_BSD_SOURCE): Remove description of not being a subset of other
1155 feature test macros.
1156 * manual/job.texi (getpgrp): Do not document BSD version.
1157 (getpgid): Do not document by reference to BSD getpgrp.
1158 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1159 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1160 * signal/signal.h [__FAVOR_BSD]: Likewise.
1161 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1162 instead of making contents conditional on [__FAVOR_BSD].
1163 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1165 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1169 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1172 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1173 values below 2**-450, not 2**-500.
1174 * math/auto-libm-test-in: Don't allow spurious underflow from
1176 * math/auto-libm-test-out: Regenerated.
1180 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1181 values of ha and hb and sort them after adjusting subnormal
1183 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1185 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1186 values of ea and eb and sort them after adjusting subnormal
1188 * math/auto-libm-test-in: Do not expect some hypot tests of
1189 subnormals to fail. Add more hypot tests.
1190 * math/auto-libm-test-out: Regenerated.
1192 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1195 * sysdeps/sh/s_fma.c: New file.
1196 * sysdeps/sh/s_fmaf.c: New file.
1197 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1199 * sysdeps/sh/Implies: Add sh/soft-fp.
1201 2013-12-16 Roland McGrath <roland@hack.frob.com>
1203 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1204 level of indirection to members `objname', `errstring', `malloced'.
1205 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1206 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1207 it as the __longjmp argument (just pass 1 instead).
1208 (_dl_catch_error): Initialize C with argument pointers and address of
1209 volatile local ERRCODE rather than copying values out of C at return.
1211 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1213 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1214 * math/auto-libm-test-out: Regenerated.
1215 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1216 (hypot_test_data): Likewise.
1217 (pow_test_data): Likewise.
1218 (pow_tonearest_test_data): Likewise.
1219 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1221 (func_calc_desc): Add mpfr_ff_f union field.
1222 (FUNC_mpfr_ff_f): New macro.
1223 (test_functions): Add atan2, hypot and pow.
1224 (special_fill_min): New function.
1225 (special_fill_minus_min): Likewise.
1226 (special_fill_min_subnorm): Likewise.
1227 (special_fill_minus_min_subnorm): Likewise.
1228 (special_real_inputs): Add min, -min, min_subnorm and
1230 (calc_generic_results): Handle mpfr_ff_f.
1231 * sysdeps/i386/fpu/libm-test-ulps: Update.
1232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1234 2013-12-16 Will Newton <will.newton@linaro.org>
1236 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1237 (Aligned Memory Blocks): Add documentation for aligned_alloc
1238 and suggest it as an alternative to posix_memalign.
1239 (Hooks for Malloc): Document __memalign_hook is also called
1240 for aligned_alloc. (Summary of Malloc): Add summary for
1241 aligned alloc. Document __memalign_hook is also called
1244 2013-12-16 Will Newton <will.newton@linaro.org>
1246 * manual/memory.texi (Malloc Examples): Clarify default
1247 alignment documentation. Suggest posix_memalign rather
1248 than memalign or valloc.
1249 (Aligned Memory Blocks): Remove suggestion to use memalign
1250 or valloc. Remove obsolete comment about BSD.
1251 Document memalign errno values and mark the function obsolete.
1252 Document posix_memalign returned error codes. Mark valloc
1253 as obsolete. (Hooks for Malloc): __memalign_hook is also
1254 called for posix_memalign and valloc.
1255 (Summary of Malloc): Add posix_memalign to function summary.
1256 __memalign_hook is also called for posix_memalign and valloc.
1258 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1260 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1264 (sloww): Use mynumber union. Expand ternary operator into
1266 (cslow): use mynumber union.
1268 2013-12-16 Allan McRae <allan@archlinux.org>
1270 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1271 * configure: Regenerated.
1273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1276 * configure.ac: Added --enable-maintainer-mode. Check for
1277 autoconf when enabled.
1278 * configure: Regenerated.
1280 * nscd/nscd.service: New file.
1281 * nscd/nscd.tmpfiles: New file.
1283 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1286 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1287 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1288 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1289 (strstr): Add __strstr_sse2_unaligned ifunc.
1290 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1291 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1292 (strcasestr): Remove __strcasestr_sse42 ifunc.
1293 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1297 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1299 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1300 * sysdeps/sh/bits/fenv.h: ... here.
1301 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1303 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1307 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1310 hypotf multiarch implementations.
1311 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1314 multiarch hypot for PPC64.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1316 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1317 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1318 multiarch hypotf for PPC64.
1320 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1323 modff multiarch implementations.
1324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1327 multiarch modf for PPC64.
1328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1331 multiarch modff for PPC64.
1333 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1336 and logl multiarch implementations.
1337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1340 multiarch logb for PPC64.
1341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1344 multiarch logb for PPC64.
1345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1348 multiarch logb for PPC64.
1350 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1353 isinff multiarch implementation.
1354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1358 multiarch isinf for PPC64.
1359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1362 multiarch isinff for PPC64.
1364 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1367 finitef multiarch implementation.
1368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1372 multiarch finite for PPC64.
1373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1376 multiarch finitef for PPC64.
1378 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1381 lrint multiarch implementation.
1382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1386 multiarch llrint for PPC64.
1387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1388 multiarch lrint for PPC64.
1390 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1393 copysignf multiarch implementation.
1394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1399 multiarch copysign for PPC64.
1400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1401 multiarch copysignf for PPC64.
1403 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1406 multiarch implementation.
1407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1415 multiarch llround for PPC64.
1416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1417 multiarch trunc for PPC64.
1418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1419 multiarch truncf for PPC64.
1421 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1424 multiarch implementation.
1425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1433 multiarch llround for PPC64.
1434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1435 multiarch round for PPC64.
1436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1437 multiarch roundf for PPC64.
1439 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1442 multiarch implementation.
1443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1451 multiarch llround for PPC64.
1452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1453 multiarch floor for PPC64.
1454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1455 multiarch floorf for PPC64.
1457 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1460 multiarch implementation.
1461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1469 multiarch llround for PPC64.
1470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1471 multiarch ceil for PPC64.
1472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1473 multiarch ceilf for PPC64.
1475 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1478 multiarch implementation.
1479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1486 multiarch llround for PPC64.
1487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1488 multiarch lround for PPC64.
1490 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1493 multiarch implementation.
1494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1501 multiarch isnan for PPC64.
1502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1503 multiarch isnanf for PPC64.
1505 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1507 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1508 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1509 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1510 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1511 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1514 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1516 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1517 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1518 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1519 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1521 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1524 multiarch implementations.
1525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1526 (__libc_ifunc_impl_list): Likewise.
1527 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1528 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1529 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1530 multiarch stpcpy for PPC64.
1532 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1535 multiarch implementations.
1536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1537 (__libc_ifunc_impl_list): Likewise.
1538 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1539 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1540 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1541 multiarch strcpy for PPC64.
1543 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1545 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1546 redefine function name.
1547 (_wordcopy_fwd_dest_aligned): Likewise.
1548 (_wordcopy_bwd_aligned): Likewise.
1549 (_wordcopy_bwd_dest_aligned): Likewise.
1550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1551 multiarch implementations.
1552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1553 (__libc_ifunc_impl_list): Likewise.
1554 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1555 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1557 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1558 multiarch wcscpy for PPC64.
1560 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1563 multiarch implementations.
1564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1565 (__libc_ifunc_impl_list): Likewise.
1566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1567 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1568 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1569 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1570 multiarch wcscpy for PPC64.
1572 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1575 multiarch implementations.
1576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1577 (__libc_ifunc_impl_list): Likewise.
1578 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1579 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1580 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1581 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1582 multiarch wcsrchr for PPC64.
1584 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1587 multiarch implementations.
1588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1589 (__libc_ifunc_impl_list): Likewise.
1590 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1591 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1592 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1593 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1594 multiarch wcschr for PPC64.
1596 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1599 multiarch implementations.
1600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1601 (__libc_ifunc_impl_list): Likewise.
1602 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1603 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1604 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1605 multiarch strchrnul for PPC64.
1607 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1612 (__libc_ifunc_impl_list): Likewise.
1613 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1614 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1615 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1616 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1619 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1624 (__libc_ifunc_impl_list): Likewise.
1625 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1626 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1627 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1628 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1631 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1634 multiarch implementations.
1635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1636 (__libc_ifunc_impl_list): Likewise.
1637 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1638 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1639 strncasecmp for PPC64.
1640 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1641 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1642 multiarch strncasecmp_l for PPC64.
1644 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1647 multiarch implementations.
1648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1649 (__libc_ifunc_impl_list): Likewise.
1650 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1651 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1652 multiarch strcasecmp for PPC64.
1653 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1655 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1656 multiarch strcasecmp_l for PPC64.
1658 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1663 (__libc_ifunc_impl_list): Likewise.
1664 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1665 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1666 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1669 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1674 (__libc_ifunc_impl_list): Likewise.
1675 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1676 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1677 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1680 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1685 (__libc_ifunc_impl_list): Likewise.
1686 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1687 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1688 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1689 rawmemrchr for PPC64.
1691 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1696 (__libc_ifunc_impl_list): Likewise.
1697 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1698 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1699 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1702 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1707 (__libc_ifunc_impl_list): Likewise.
1708 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1709 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1710 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1713 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1718 (__libc_ifunc_impl_list): Likewise.
1719 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1720 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1721 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1724 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1726 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1727 avoid cretion of __bzero symbol.
1728 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1730 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1732 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1735 multiarch implementations.
1736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1737 (__libc_ifunc_impl_list): Likewise.
1738 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1739 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1740 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1741 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1743 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1744 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1745 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1746 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1747 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1749 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1751 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1753 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1757 (__libc_ifunc_impl_list): Likewise.
1758 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1759 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1760 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1761 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1764 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1767 multiarch for POWER/PPC64.
1768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1769 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1771 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1775 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1776 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1779 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1781 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1782 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1783 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1784 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1785 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1786 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1787 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1788 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1789 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1790 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1791 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1792 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1793 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1794 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1795 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1804 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1806 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1808 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1810 * benchtests/Makefile (bench): Add exp2 and log2.
1811 (LDLIBS-bench-exp2): Add -lm.
1812 (LDLIBS-bench-log2): Likewise.
1813 * benchtests/exp2-inputs: New inputs file.
1814 * benchtests/log2-inputs: New inputs file.
1815 * benchtests/log-inputs: Add new inputs.
1816 * benchtests/tan-inputs: Likewise.
1818 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1820 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1822 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1823 csloww1, csloww2): ... from here.
1825 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1826 instead of structures.
1827 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1828 (POLYNOMIAL): Likewise.
1829 (TAYLOR_SLOW): Likewise.
1837 (bsloww1): Likewise.
1838 (bsloww2): Likewise.
1841 (csloww1): Likewise.
1842 (csloww2): Likewise.
1844 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1846 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1847 (__malloc_assert, __libc_realloc, __libc_calloc,
1848 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1850 * malloc/hooks.c (realloc_check): Likewise.
1852 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1854 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1855 * malloc/arena.c: Remove PER_THREAD conditional.
1856 [!PER_THREAD]: Remove code.
1857 (ptmalloc_unlock_all2): Likewise.
1858 (ptmalloc_init): Likewise.
1859 (_int_new_arena): Likewise.
1860 (arena_get2): Likewise.
1861 * malloc/hooks.c (__malloc_get_state): Likewise.
1862 (__malloc_set_state): Likewise.
1863 * malloc/malloc.c: Likewise.
1864 (struct malloc_state): Likewise.
1865 (struct malloc_par): Likewise.
1866 (__libc_realloc): Likewise.
1867 (__libc_mallopt): Likewise.
1869 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1871 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1873 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1875 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1876 macro to a function. Check for zero perturb_byte.
1877 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1879 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1881 * malloc/malloc.c: (force_reg): Remove.
1882 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1883 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1884 force_reg by atomic_forced_read.
1885 * malloc/arena.c (ptmalloc_init): Likewise.
1886 * malloc/hooks.c (top_check): Likewise.
1888 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1892 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1896 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1898 * math/auto-libm-test-in: Add tests of lgamma.
1899 * math/auto-libm-test-out: Regenerated.
1900 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1901 (M_LOG_2_SQRT_PIl): Likewise.
1902 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1903 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1905 (func_calc_desc): Add mpfr_f_f1 union field.
1914 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1915 (test_functions): Add lgamma.
1916 (calc_generic_results): Handle mpfr_f_f1.
1917 * sysdeps/i386/fpu/libm-test-ulps: Update.
1918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1920 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1923 __mpn_add_n for PowerPC64/POWER7.
1924 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1925 __mpn_sub_n for PowerPC64/POWER7.
1927 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1929 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1930 __mpn_addmul_1 for PowerPC64.
1931 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1932 __mpn_submul_1 for PowerPC64.
1933 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1935 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1938 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1941 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1943 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1945 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1947 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1949 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1950 add multiarch folders.
1951 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1952 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1953 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1954 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1955 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1956 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1957 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1958 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1959 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1960 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1961 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1969 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1972 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1978 multiarch __ieee754_hypot for PowerPC32.
1979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1984 multiarch __ieee754_hypotf for PowerPC32.
1986 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1989 long_double_symbol only if __logbl is defined.
1990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1991 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1993 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1995 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1997 path for implementation.
1998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1999 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2001 logb, and logbl multiarch implementations for PowerPC32.
2002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2007 multiarch logb for PowerPC32.
2008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2013 multiarch logbf for PowerPC32.
2014 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2018 multiarch logbl implementation for PowerPC32.
2020 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2023 and modff multiarch implementations.
2024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2029 multiarch modf for PowerPC32.
2030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2035 multiarch modff for PowerPC32.
2037 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2040 and lrintf multiarch implementations.
2041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2046 multiarch lrint for PowerPC32.
2047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2048 file: multiarch lrintf for PowerPC32.
2050 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2053 and lroundf multiarch implementations.
2054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2061 multiarch lround for PowerPC32.
2062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2063 file: multiarch lroundf for PowerPC32.
2065 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2068 copysign and copysignf multiarch implementations.
2069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2074 file: multiarch copysign for PowerPC32.
2075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2076 file: multiarch copysignf for PowerPC32.
2078 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2081 and truncf multiarch implementations.
2082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2087 multiarch trunc for PowerPC32.
2088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2093 multiarch truncf for PowerPC32.
2095 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2098 and roundf multiarch implementations.
2099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2104 multiarch round for PowerPC32.
2105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2110 multiarch roundf for PowerPC32.
2112 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2115 and floorf multiarch implementations.
2116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2121 multiarch floor for PowerPC32.
2122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2127 multiarch floorf for PowerPC32.
2129 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2132 and ceilf multiarch implementations.
2133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2138 multiarch ceil for PowerPC32.
2139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2144 multiarch ceilf for PowerPC32.
2146 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2148 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2150 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2153 and finitef multiarch implementations.
2154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2159 multiarch finite for PowerPC32.
2160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2163 file: multiarch finitef for PowerPC32.
2165 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2168 and isinff multiarch implementations.
2169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2174 multiarch isinf for PowerPC32.
2175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2178 multiarch isinff for PowerPC32.
2180 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2182 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2183 alias when __isnan is defined.
2184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2185 and isnanf multiarch implementations.
2186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2195 multiarch isnan for PowerPC32.
2196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2201 multiarch isnanf for PowerPC32.
2203 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2206 and sqrtf multiarch implementations.
2207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2212 multiarch sqrt for PowerPC32.
2213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2218 multiarch sqrtf for PowerPC32.
2220 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2223 and llroundf multiarch implementations.
2224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2231 file: multiarch llround for PowerPC32.
2232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2233 file: multiarch llroundf for PowerPC32.
2235 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2238 multiarch PowerPC32 fpu implementations.
2239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2244 multiarch llrint for PowerPC32.
2245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2252 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2256 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2258 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2260 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2262 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2264 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2265 multiarch wordcopy for PPC32.
2266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2269 (__libc_ifunc_impl_list): Likewise.
2270 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2271 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2272 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2273 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2274 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2275 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2277 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2279 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2287 multiarch wcscpy for PPC32.
2288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2291 (__libc_ifunc_impl_list): Likewise.
2292 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2293 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2294 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2295 sysdeps/powerpc/power6/wcscpy.c.
2297 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2307 multiarch wcsrchr for PPC32.
2308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2311 (__libc_ifunc_impl_list): Likewise.
2312 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2313 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2314 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2315 sysdeps/powerpc/power6/wcsrchr.c.
2317 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2325 multiarch wcschr for PPc32.
2326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2329 (__libc_ifunc_impl_list): Likewise.
2330 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2331 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2332 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2333 sysdeps/powerpc/power6/wcschr.c.
2335 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2337 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2338 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2341 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2342 file: multiarch strchr for PPC32.
2343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2346 (__libc_ifunc_impl_list): Likewise.
2348 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2350 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2352 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2354 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2356 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2357 multiarch strchrnul for PPC32.
2358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2361 (__libc_ifunc_impl_list): Likewise.
2363 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2367 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2368 multiarch strncasecmp for PPC32.
2369 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2371 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2372 multiarch strncasecmp_l for PPC32.
2373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2374 strncasecmp multiarch objects.
2375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2376 (__libc_ifunc_impl_list): Likewise.
2378 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2380 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2382 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2383 multiarch strncasecmp for PPC32.
2384 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2386 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2387 multiarch strcasecmp_l for PPC32.
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2391 (__libc_ifunc_impl_list): Likewise.
2393 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2395 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2397 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2399 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2400 multiarch strncmp for PPC32.
2401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2404 (__libc_ifunc_impl_list): Likewise.
2406 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2409 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2411 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2412 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2416 (__libc_ifunc_impl_list): Likewise.
2418 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2424 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2425 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2427 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2428 (__libc_ifunc_impl_list): Likewise.
2430 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2432 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2434 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2436 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2437 multiarch rawmemchr for PPC32.
2438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2441 (__libc_ifunc_impl_list): Likewise.
2443 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2445 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2447 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2449 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2450 file: memrchr multiarch for PPC32.
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2454 (__libc_ifunc_impl_list): Likewise.
2456 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2458 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2459 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2461 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2462 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2463 multiarch memchr for PPC32.
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2467 (__libc_ifunc_impl_list): Likewise.
2469 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2471 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2472 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2474 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2476 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2477 file: multiarch mempcpy for PPC32.
2478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2480 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2481 (__libc_ifunc_impl_list): Likewise.
2483 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2485 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2486 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2487 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2488 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2489 multiarch bzero for PPC32.
2490 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2492 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2494 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2495 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2496 file: multiarch memset for PPC32.
2497 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2499 memset multiarch objects.
2500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2501 (__libc_ifunc_impl_list): Likewise.
2503 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2508 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2510 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2514 (__libc_ifunc_impl_list): Likewise.
2516 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2519 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2520 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2522 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2524 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2527 multiarch memcpy for PPC32.
2528 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2530 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2531 (__libc_ifunc_impl_list): Likewise.
2533 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2536 support multiarch for POWER/PPC32.
2537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2539 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2541 Implies file to make multiarch folder appers before the fpu and
2542 default folder for power4 configuration.
2544 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2546 * scripts/bench.pl: Append volatile keyword to type.
2548 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2550 * sysdeps/sh/sotruss-lib.c: New file.
2551 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2553 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2557 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2560 * math/w_tgamma.c: Include <errno.h>.
2561 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2562 * math/w_tgammaf.c: Include <errno.h>.
2563 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2564 * math/w_tgammal.c: Include <errno.h>.
2565 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2566 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2567 underflow. Add more tgamma tests.
2568 * math/auto-libm-test-out: Regenerated.
2569 * sysdeps/i386/fpu/libm-test-ulps: Update.
2570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2572 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2573 sin, sinh, tan, tanh, tgamma, y0 and y1.
2574 * math/auto-libm-test-out: Regenerated.
2575 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2576 (TEST_COND_x86): Likewise.
2577 (M_E2l): Remove macro.
2579 (M_2_SQRT_PIl): Likewise.
2580 (M_SQRT_PIl): Likewise.
2581 (M_1_DIV_El): Likewise.
2582 (log_test_data): Use AUTO_TESTS_f_f.
2583 (log10_test_data): Likewise.
2584 (log1p_test_data): Likewise.
2585 (log2_test_data): Likewise.
2586 (sin_test_data): Likewise.
2587 (sin_tonearest_test_data): Likewise.
2588 (sin_towardzero_test_data): Likewise.
2589 (sin_downward_test_data): Likewise.
2590 (sin_upward_test_data): Likewise.
2591 (sinh_test_data): Likewise.
2592 (sinh_tonearest_test_data): Likewise.
2593 (sinh_towardzero_test_data): Likewise.
2594 (sinh_downward_test_data): Likewise.
2595 (sinh_upward_test_data): Likewise.
2596 (tan_test_data): Likewise.
2597 (tan_tonearest_test_data): Likewise.
2598 (tan_towardzero_test_data): Likewise.
2599 (tan_downward_test_data): Likewise.
2600 (tan_upward_test_data): Likewise.
2601 (tanh_test_data): Likewise.
2602 (tgamma_test_data): Likewise.
2603 (y0_test_data): Likewise.
2604 (y1_test_data): Likewise.
2605 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2606 (special_real_inputs): Add pi/4.
2607 * sysdeps/i386/fpu/libm-test-ulps: Update.
2608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2610 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2612 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2613 "longjmp_target" static probes.
2614 (__longjmp): Rename to __longjmp_symbol.
2615 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2616 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2617 on which longjmp to generate.
2618 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2619 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2621 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2622 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2623 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2624 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2625 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2626 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2628 __longjmp_symbol based on which __longjmp to generate.
2629 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2631 (setjmp): Rename to setjmp_symbol.
2632 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2633 (_setjmp): Rename to _setjmp_symbol.
2634 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2635 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2636 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2637 which setjmp to generate.
2638 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2639 "longjmp_target" static probes.
2641 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2643 * benchtests/README: Add note about output arguments.
2644 * benchtests/bench-sincos.c: Remove file.
2645 * benchtests/sincos-inputs: New file.
2646 * scripts/bench.pl: Identify output arguments and define
2647 static variables for them.
2649 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2652 * Makefile (INSTALL): Add install-plain.texi as the primary
2654 * manual/install-plain.texi: New file.
2655 * manual/install.texi: Include node directive only for
2656 non-plaintext output.
2658 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2660 * stdlib/longlong.h: Update from GCC.
2664 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2665 * math/w_j0f.c (y0f): Likewise.
2666 * math/w_j0l.c (__y0l): Likewise.
2667 * math/w_j1.c (y1): Likewise.
2668 * math/w_j1f.c (y1f): Likewise.
2669 * math/w_j1l.c (__y1l): Likewise
2670 * math/w_jn.c (yn): Likewise.
2671 * math/w_jnf.c (ynf): Likewise.
2672 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2673 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2674 value for Bessel function domain errors outside _SVID_ mode.
2675 Adjust sign of return value for yn (negative integer, 0).
2676 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2677 by zero in return for negative x and set sign appropriately for
2679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2680 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2681 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2682 expectations in error cases.
2683 (y1_test_data): Likewise.
2684 (yn_test_data): Likewise.
2685 * sysdeps/i386/fpu/libm-test-ulps: Update.
2686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2688 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2690 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2691 "64" to "64-v1". Add "64-v2".
2692 (abi-64-options): Rename to ...
2693 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2694 (abi-64-condition): Rename to ...
2695 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2696 (abi-64-ld-soname): Rename to ...
2697 (abi-64-v1-ld-soname): ... this.
2698 (abi-64-v2-options): Define.
2699 (abi-64-v2-condition): Likewise.
2700 (abi-64-v2-ld-soname): Likewise.
2701 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2702 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2707 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2708 Alan Modra <amodra@gmail.com>
2710 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2711 New versions for use with the ELFv2 ABI.
2712 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2713 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2715 (struct La_ppc64v2_retval): Likewise.
2716 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2717 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2718 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2719 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2720 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2722 Do not save or restore CR.
2723 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2724 (_dl_profile_resolve): Do no save or restore CR. Support extended
2725 return values for ELFv2 ABI. Fix location of FPR return registers.
2726 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2727 updated values for _CALL_ELF == 2.
2728 (La_regs, La_retval, int_retval): Likewise.
2730 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2732 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2733 (FRAME_MIN_SIZE_PARM): Likewise.
2734 (FRAME_BACKCHAIN): Likewise.
2735 (FRAME_CR_SAVE): Likewise.
2736 (FRAME_LR_SAVE): Likewise.
2737 (FRAME_TOC_SAVE): Likewise.
2738 (FRAME_PARM_SAVE): Likewise.
2739 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2740 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2741 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2742 (call_mcount_parm_offset): New macro.
2743 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2744 (PROF): Use symbolic stack frame offsets.
2745 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2746 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2747 Redefine in terms of FRAME_MIN_SIZE.
2748 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2749 (_dl_profile_resolve): Likewise. Update comment.
2750 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2751 symbols stack frame offsets.
2752 (__sigsetjmp): Likewise.
2753 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2754 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2755 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2756 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2759 (FRAME_BACKCHAIN): Remove.
2760 (FRAME_CR_SAVE): Likewise.
2761 (FRAME_LR_SAVE): Likewise.
2762 (FRAME_COMPILER_DW): Likewise.
2763 (FRAME_LINKER_DW): Likewise.
2764 (FRAME_TOC_SAVE): Likewise.
2765 (FRAME_PARM_SAVE): Likewise.
2766 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2767 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2768 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2770 (CHECK_SP): Use symbolic stack frame offsets.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2772 zone" instead of caller's parameter save area for temp storage.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2774 Likewise. Also, use symbolic stack frame offsets.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2776 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2777 our own stack frame instead of the caller's.
2778 (__socket): Use symbolic stack frame offsets.
2780 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2781 Alan Modra <amodra@gmail.com>
2783 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2785 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2786 PPC64_LOCAL_ENTRY_OFFSET): Define.
2787 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2789 (elf_machine_fixup_plt): Call it.
2790 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2792 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2793 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2794 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2795 r2 before calling target.
2797 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2798 Alan Modra <amodra@gmail.com>
2800 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2801 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2802 versions of macros to support ELFv2 ABI.
2803 (LOCALENTRY): New macro.
2804 (ENTRY, EALIGN): Use it.
2805 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2806 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2807 fall through into ENTRY entry point.
2808 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2809 Only define if _CALL_ELF != 2.
2811 (elf_machine_matches_host): Verify ABI version matches.
2812 (RTLD_START): Use LOCALENTRY.
2813 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2814 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2815 (PLT_ENTRY_WORDS): New macro.
2816 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2817 (elf_machine_runtime_setup): Support ELFv2 ABI.
2818 (elf_machine_fixup_plt): Likewise.
2819 (elf_machine_plt_conflict): Likewise.
2820 (resolve_ifunc): Likewise.
2821 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2822 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2825 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2827 (makecontext): Support ELFv2 ABI.
2828 * elf/elf.h (EF_PPC64_ABI): Define.
2830 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2832 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2833 New assembler macro.
2834 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2835 [ASSEMBLER] (ENTRY): ... but instead here ...
2836 [ASSEMBLER] (EALIGN): ... and here.
2837 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2838 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2839 [!ASSEMBLER] (ENTRY_2): Use it.
2840 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2841 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2842 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2843 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2844 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2846 Use PPC64_LOAD_FUNCPTR.
2848 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2850 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2852 2013-12-04 Alan Modra <amodra@gmail.com>
2854 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2855 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2856 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2857 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2859 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2860 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2861 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2862 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2863 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2864 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2866 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2869 (__makecontext): Fix incorrect CFI when backtracing out of
2870 context created via makecontext.
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2872 (__setcontext): Fix incorrect CFI during switch to new context.
2873 (__novec_setcontext): Likewise.
2875 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2878 * time/strptime_l.c (__strptime_internal): Allow modifiers
2880 * time/tst-strptime.c (day_tests): Add testcase.
2883 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2885 * scripts/bench.pl: Skip over blank lines.
2887 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2890 * manual/time.texi (Calendar Time): Clarify what timezone functions
2893 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2897 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2899 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2901 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2902 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2903 * debug/memset_chk.c (__memset_chk): Likewise.
2904 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2905 * debug/strncpy_chk.c: Likewise.
2907 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2911 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2912 (__ieee754_exp): For possibly underflowing results, check size of
2913 result and force underflow exception if required.
2914 * math/auto-libm-test-in: Add more tests of exp.
2915 * math/auto-libm-test-out: Regenerated.
2916 * sysdeps/i386/fpu/libm-test-ulps: Update.
2917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2920 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2921 * math/w_exp2f.c (__exp2f): Likewise.
2922 * math/w_exp2l.c (__exp2l): Likewise.
2923 * math/auto-libm-test-in: Do not allow missing errno on exp2
2925 * math/auto-libm-test-out: Regenerated.
2927 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2930 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2931 handle filename validation.
2932 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2935 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2938 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2939 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2940 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2942 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2943 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2944 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2945 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2946 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2947 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2948 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2949 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2950 Add more erfc tests.
2951 * math/auto-libm-test-out: Regenerated.
2952 * sysdeps/i386/fpu/libm-test-ulps: Update.
2953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2955 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2956 exp2, expm1, j0 and j1.
2957 * math/auto-libm-test-out: Regenerated.
2958 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2959 (erfc_test_data): Likewise.
2960 (exp_test_data): Likewise.
2961 (exp_tonearest_test_data): Likewise.
2962 (exp_towardzero_test_data): Likewise.
2963 (exp_downward_test_data): Likewise.
2964 (exp_upward_test_data): Likewise.
2965 (exp10_test_data): Likewise.
2966 (exp2_test_data): Likewise.
2967 (expm1_test_data): Likewise.
2968 (j0_test_data): Likewise.
2969 (j1_test_data): Likewise.
2970 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2971 (input_flag_type): Add flag_xfail_rounding.
2972 (input_flags): Add xfail-rounding.
2973 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2974 (output_for_one_input_case): Handle flag_xfail_rounding.
2975 * sysdeps/i386/fpu/libm-test-ulps: Update.
2976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2978 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2981 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2984 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2987 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2988 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2989 (STAP_PROBE0): New macro.
2990 (STAP_PROBE1): Likewise.
2991 (STAP_PROBE2): Likewise.
2992 (STAP_PROBE3): Likewise.
2993 (STAP_PROBE4): Likewise.
2995 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2997 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2999 2013-12-02 Steve Ellcey <sellcey@mips.com>
3001 * benchtests/Makefile (bench): Add sqrt.
3002 (LDLIBS-bench-sqrt): New.
3003 * benchtests/sqrt-input: New.
3005 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3007 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3008 (GAIH_EAI): Likewise.
3009 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3010 (gaih_inet): Likewise.
3011 (getaddrinfo): Don't use GAIH_EAI.
3013 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3014 (struct gaih): Remove definition.
3016 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3018 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3019 Use HERRNOP directly.
3021 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3025 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3027 * math/gen-auto-libm-tests.c (test_functions): Add more
3028 single-argument functions.
3029 (special_fill_pi_2): New function.
3030 (special_fill_minus_pi_2): Likewise.
3031 (special_fill_pi_6): Likewise.
3032 (special_fill_minus_pi_6): Likewise.
3033 (special_fill_pi_3): Likewise.
3034 (special_fill_2pi_3): Likewise.
3035 (special_fill_e): Likewise.
3036 (special_fill_1_e): Likewise.
3037 (special_fill_e_minus_1): Likewise.
3038 (special_real_inputs): Add more special inputs.
3039 (output_for_one_input_case): Do not require ERANGE on underflow to
3040 zero if round-to-nearest result does not underflow to zero, unless
3041 exact results required.
3042 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3043 atan, atanh, cbrt, cos and cosh.
3044 * math/auto-libm-test-out: Regenerated.
3045 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3046 (acos_tonearest_test_data): Likewise.
3047 (acos_towardzero_test_data): Likewise.
3048 (acos_downward_test_data): Likewise.
3049 (acos_upward_test_data): Likewise.
3050 (acosh_test_data): Likewise.
3051 (asin_test_data): Likewise.
3052 (asin_tonearest_test_data): Likewise.
3053 (asin_towardzero_test_data): Likewise.
3054 (asin_upward_test_data): Likewise.
3055 (asinh_test_data): Likewise.
3056 (atan_test_data): Likewise.
3057 (atanh_test_data): Likewise.
3058 (cbrt_test_data): Likewise.
3059 (cos_test_data): Likewise.
3060 (cos_tonearest_test_data): Likewise.
3061 (cos_towardzero_test_data): Likewise.
3062 (cos_downward_test_data): Likewise.
3063 (cos_upward_test_data): Likewise.
3064 (cosh_test_data): Likewise.
3065 (cosh_tonearest_test_data): Likewise.
3066 (cosh_towardzero_test_data): Likewise.
3067 (cosh_downward_test_data): Likewise.
3068 (cosh_upward_test_data): Likewise.
3069 * sysdeps/i386/fpu/libm-test-ulps: Update.
3070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3072 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3075 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3076 * math/w_exp10f.c (__exp10f): Likewise.
3077 * math/w_exp10l.c (__exp10l): Likewise.
3078 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3079 errno settings in existing tests.
3082 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3083 precision control set to double precision.
3084 * sysdeps/i386/fpu/w_sqrt.c: New file.
3085 * math/auto-libm-test-in: Add more tests.
3086 * math/auto-libm-test-out: Update.
3088 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3089 (sqrt_test_tonearest): New function.
3090 (sqrt_towardzero_test_data): New variable.
3091 (sqrt_test_towardzero): New function.
3092 (sqrt_downward_test_data): New variable.
3093 (sqrt_test_downward): New function.
3094 (sqrt_upward_test_data): New variable.
3095 (sqrt_test_upward): New function.
3096 (main): Call the new functions.
3098 * math/gen-auto-libm-tests.c: New file.
3099 * math/auto-libm-test-in: Likewise.
3100 * math/auto-libm-test-out: New generated file.
3101 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3103 (%beautify): Add generated representations of zero.
3104 (top level): Set $auto_input and call parse_auto_input.
3105 (beautify): Remove trailing "f" from hex float constants.
3106 (parse_args): Handle XFAIL_TEST.
3107 (convert_condition): New function.
3108 (or_value): Likewise.
3109 (or_cond_value): Likewise.
3110 (generate_testfile): Handle AUTO_TESTS_* lines.
3111 (parse_auto_input): New function.
3112 * math/libm-test.inc (XFAIL_TEST): New macro.
3113 (ERRNO_UNCHANGED): Update value.
3114 (ERRNO_EDOM): Likewise.
3115 (ERRNO_ERANGE): Likewise.
3116 (IGNORE_RESULT): Likewise.
3117 (TEST_COND_flt_32): New macro.
3118 (TEST_COND_dbl_64): Likewise.
3119 (TEST_COND_ldbl_96_intel): Likewise.
3120 (TEST_COND_ldbl_96_m68k): Likewise.
3121 (TEST_COND_ldbl_128): Likewise.
3122 (TEST_COND_ldbl_128ibm): Likewise.
3123 (TEST_COND_long32): Likewise.
3124 (TEST_COND_long64): Likewise.
3125 (TEST_COND_before_rounding): Likewise.
3126 (TEST_COND_after_rounding): Likewise.
3127 (enable_test): Handle XFAIL_TEST flag.
3128 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3129 with finite results.
3130 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3133 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3134 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3137 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3138 __tls_get_addr_internal instead of __tls_get_offset in order to
3139 avoid GOT pointer dependency. Make rtld export
3140 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3141 __tls_get_addr since we are a __tls_get_offset platform.
3142 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3143 GOT pointer being set up before.
3144 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3146 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3148 * manual/math.texi (Errors in Math Functions): Document accuracy
3152 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3153 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3154 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3155 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3156 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3157 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3158 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3159 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3160 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3161 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3162 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3163 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3164 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3165 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3169 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3170 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3171 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3172 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3173 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3175 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3177 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3179 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3180 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3181 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3182 atomic-feupdateenv and flt-rounds.
3183 * sysdeps/powerpc/nofpu/Versions (libc): Add
3184 __atomic_feholdexcept, __atomic_feclearexcept,
3185 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3186 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3187 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3188 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3189 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3194 * manual/arith.texi (FP Exceptions): Document that exceptions may
3195 not be raised when matherr is used.
3196 (Math Error Reporting): Document overflow in directed rounding
3197 modes. Document that errno may not be set when finite values are
3198 returned on overflow. Document intent to set errno on underflow
3199 only for underflow to zero.
3202 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3203 round-to-nearest then adjust result for other rounding modes.
3204 * include/fenv.h (fegetround): Use libm_hidden_proto.
3205 * math/fegetround.c (fegetround): Use libm_hidden_def.
3206 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3207 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3208 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3209 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3211 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3212 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3213 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3214 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3216 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3219 * nss/Versions (libnss_files): Add
3220 _nss_files_gethostbyname3_r.
3221 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3223 (HOST_DB_LOOKUP): Remove macro.
3224 (_nss_files_gethostbyname_r): Implement function without the
3225 HOST_DB_LOOKUP macro.
3226 (_nss_files_gethostbyname2_r): Likewise.
3228 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3230 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3232 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3234 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3235 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3238 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3240 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3241 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3242 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3243 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3244 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3245 __fe_nomask_env_priv and attribute_hidden.
3246 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3247 (libc_feupdateenv_test_ppc): Likewise.
3248 (libc_feresetround_ppc): Likewise.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3250 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3251 compat_symbol macro.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3253 (__fe_nomask_env): Likewise.
3254 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3256 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3258 * string/Makefile: Remove ifunc tests.
3259 * string/test-string.h: Define TEST_IFUNC.
3260 * string/test-bcopy-ifunc.c: Remove.
3261 * string/test-bzero-ifunc.c: Likewise.
3262 * string/test-memccpy-ifunc.c: Likewise.
3263 * string/test-memchr-ifunc.c: Likewise.
3264 * string/test-memcmp-ifunc.c: Likewise.
3265 * string/test-memcpy-ifunc.c: Likewise.
3266 * string/test-memmem-ifunc.c: Likewise.
3267 * string/test-memmove-ifunc.c: Likewise.
3268 * string/test-mempcpy-ifunc.c: Likewise.
3269 * string/test-memrchr-ifunc.c: Likewise.
3270 * string/test-memset-ifunc.c: Likewise.
3271 * string/test-rawmemchr-ifunc.c: Likewise.
3272 * string/test-stpcpy-ifunc.c: Likewise.
3273 * string/test-stpncpy-ifunc.c: Likewise.
3274 * string/test-strcasecmp-ifunc.c: Likewise.
3275 * string/test-strcasestr-ifunc.c: Likewise.
3276 * string/test-strcat-ifunc.c: Likewise.
3277 * string/test-strchr-ifunc.c: Likewise.
3278 * string/test-strchrnul-ifunc.c: Likewise.
3279 * string/test-strcmp-ifunc.c: Likewise.
3280 * string/test-strcpy-ifunc.c: Likewise.
3281 * string/test-strcspn-ifunc.c: Likewise.
3282 * string/test-strlen-ifunc.c: Likewise.
3283 * string/test-strncasecmp-ifunc.c: Likewise.
3284 * string/test-strncat-ifunc.c: Likewise.
3285 * string/test-strncmp-ifunc.c: Likewise.
3286 * string/test-strncpy-ifunc.c: Likewise.
3287 * string/test-strnlen-ifunc.c: Likewise.
3288 * string/test-strpbrk-ifunc.c: Likewise.
3289 * string/test-strrchr-ifunc.c: Likewise.
3290 * string/test-strspn-ifunc.c: Likewise.
3291 * string/test-strstr-ifunc.c: Likewise.
3293 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3295 * benchtests/Makefile: Remove ifunc tests.
3296 * benchtests/bench-string.h: Define TEST_IFUNC.
3297 * benchtests/bench-bcopy-ifunc.c: Remove.
3298 * benchtests/bench-bzero-ifunc.c: Likewise.
3299 * benchtests/bench-memccpy-ifunc.c: Likewise.
3300 * benchtests/bench-memchr-ifunc.c: Likewise.
3301 * benchtests/bench-memcmp-ifunc.c: Likewise.
3302 * benchtests/bench-memcpy-ifunc.c: Likewise.
3303 * benchtests/bench-memmem-ifunc.c: Likewise.
3304 * benchtests/bench-memmove-ifunc.c: Likewise.
3305 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3306 * benchtests/bench-memrchr-ifunc.c: Likewise.
3307 * benchtests/bench-memset-ifunc.c: Likewise.
3308 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3309 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3310 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3311 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3312 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3313 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3314 * benchtests/bench-strcat-ifunc.c: Likewise.
3315 * benchtests/bench-strchr-ifunc.c: Likewise.
3316 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3317 * benchtests/bench-strcmp-ifunc.c: Likewise.
3318 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3319 * benchtests/bench-strcpy-ifunc.c: Likewise.
3320 * benchtests/bench-strcspn-ifunc.c: Likewise.
3321 * benchtests/bench-strlen-ifunc.c: Likewise.
3322 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3323 * benchtests/bench-strncat-ifunc.c: Likewise.
3324 * benchtests/bench-strncmp-ifunc.c: Likewise.
3325 * benchtests/bench-strncpy-ifunc.c: Likewise.
3326 * benchtests/bench-strnlen-ifunc.c: Likewise.
3327 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3328 * benchtests/bench-strrchr-ifunc.c: Likewise.
3329 * benchtests/bench-strsep-ifunc.c: Likewise.
3330 * benchtests/bench-strspn-ifunc.c: Likewise.
3331 * benchtests/bench-strstr-ifunc.c: Likewise.
3333 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3335 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3337 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3339 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3340 * rt/aio.h: Likewise.
3341 * sysdeps/gnu/bits/utmp.h: Likewise.
3342 * sysdeps/gnu/bits/utmpx.h: Likewise.
3343 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3344 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3345 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3346 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3347 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3348 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3349 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3350 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3351 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3352 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3354 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3355 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3357 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3358 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3359 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3360 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3361 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3362 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3363 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3364 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3365 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3366 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3367 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3368 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3369 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3370 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3371 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3372 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3373 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3374 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3375 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3376 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3377 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3378 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3379 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3380 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3381 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3382 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3383 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3384 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3386 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3389 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3390 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3392 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3394 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3395 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3398 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3400 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3401 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3402 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3403 (__fesetround): Remove define.
3404 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3405 rounding and exceptions handling.
3406 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3407 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3408 (__fe_nomask_env): Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3410 __fegetround instead of fegetround.
3411 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3412 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3414 2013-11-21 Roland McGrath <roland@hack.frob.com>
3416 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3419 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3421 2013-11-21 Meador Inge <meadori@codesourcery.com>
3424 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3425 (encrypt_r): Likewise.
3426 * malloc/obstack.h (obstack_free): Likewise.
3427 * posix/unistd.h (encrypt): Likewise.
3429 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3431 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3432 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3433 DL_CALL_DT_FINI() that call the functions directly.
3434 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3435 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3436 * elf/dl-fini.c: Likewise.
3438 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3440 * malloc/hooks.c (memalign_check): Add alignment rounding.
3441 * malloc/malloc.c (_mid_memalign): New function.
3442 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3443 Implement by calling _mid_memalign.
3444 * manual/probes.texi (Memory Allocation Probes): Remove
3445 memory_valloc_retry and memory_pvalloc_retry.
3447 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3449 * locale/programs/locarchive.c (open_archive): Add const
3450 qualifier to ARCHIVEFNAME and copy default fname to
3454 * libio/tst-widetext.input: Rename Oriya to Odia.
3455 * locale/iso-639.def: Likewise.
3457 * manual/probes.texi (Mathematical Function Probes): Add
3458 documentation for sin, cos, asin and acos probes.
3459 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3460 (__sin32): Add slowasin probe.
3461 (__cos32): Add slowacos probe.
3462 (__mpsin): Add slowsin probe.
3463 (__mpcos): Add slowcos probe.
3465 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3468 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3469 thread-local __sim_exceptions_thread and global
3470 __sim_exceptions_global.
3471 (__sim_disabled_exceptions): Change to thread-local
3472 __sim_disabled_exceptions_thread and global
3473 __sim_disabled_exceptions_global.
3474 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3475 and global __sim_round_mode_global.
3476 (__simulate_exceptions): Use thread-local floating-point state and
3477 set global state from it as needed.
3478 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3479 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3480 __sim_round_mode_thread.
3481 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3482 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3483 and global __sim_exceptions_global.
3484 (__sim_disabled_exceptions): Change to thread-local
3485 __sim_disabled_exceptions_thread and global
3486 __sim_disabled_exceptions_global.
3487 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3488 and global __sim_round_mode_global.
3489 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3490 (SIM_SET_GLOBAL): Likewise.
3491 * sysdeps/powerpc/soft-fp/sfp-machine.h
3492 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3493 __sim_round_mode_thread.
3494 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3495 __sim_disabled_exceptions_thread.
3496 (__sim_exceptions): Change to __sim_exceptions_thread.
3497 (__sim_disabled_exceptions): Change to
3498 __sim_disabled_exceptions_thread.
3499 (__sim_round_mode): Change to __sim_round_mode_thread.
3500 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3501 thread-local floating-point state and set global state from it as
3503 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3504 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3505 (__sim_disabled_exceptions): Remove extern declaration.
3506 (feenableexcept): Use thread-local floating-point state and set
3507 global state from it as needed.
3508 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3510 (__sim_disabled_exceptions): Likewise.
3511 (__sim_round_mode): Likewise.
3512 (__fegetenv): Use thread-local floating-point state.
3513 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3514 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3515 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3516 floating-point state and set global state from it as needed.
3517 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3518 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3519 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3521 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3522 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3524 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3525 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3526 Use __sim_round_mode_thread.
3527 * math/test-fenv-tls.c: New file.
3528 * math/Makefile (tests): Add test-fenv-tls.
3529 ($(objpfx)test-fenv-tls): Depend on
3530 $(common-objpfx)nptl/libpthread.so.
3532 2013-11-19 Andreas Schwab <schwab@suse.de>
3534 * locale/programs/locale.c (show_info): Decode wordarray elements.
3535 * locale/categories.def (LC_MONETARY): Add element for
3536 _NL_MONETARY_CRNCYSTR.
3537 * locale/C-monetary.c (conversion_rate): New variable.
3538 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3541 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3543 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3544 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3546 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3548 * elf/Makefile (tst-auxv): New test.
3549 * elf/tst-auxv.c: New
3550 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3552 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3554 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3555 (hidden_proto): Caller changed.
3556 (hidden_tls_proto): New macro.
3557 (libc_hidden_tls_proto): Likewise.
3558 (rtld_hidden_tls_proto): Likewise.
3559 (libm_hidden_tls_proto): Likewise.
3560 (libresolv_hidden_tls_proto): Likewise.
3561 (librt_hidden_tls_proto): Likewise.
3562 (libdl_hidden_tls_proto): Likewise.
3563 (libnss_files_hidden_tls_proto): Likewise.
3564 (libnsl_hidden_tls_proto): Likewise.
3565 (libnss_nisplus_hidden_tls_proto): Likewise.
3566 (libutil_hidden_tls_proto): Likewise.
3568 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3571 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3572 (decompose_rpath): Defer expansion to fillin_rpath.
3573 (_dl_init_paths): Pass linkmap to fillin_rpath.
3575 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3577 * benchtests/Makefile: Add strsep.
3578 * benchtests/bench-strsep.c: New file: strsep benchtest.
3579 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3581 2013-11-18 Andreas Schwab <schwab@suse.de>
3583 * locale/programs/locale.c (show_info) [case byte]: Check for
3584 '\377' instead of '\177'.
3585 * locale/C-monetary.c (not_available): Always use "\377".
3586 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3587 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3588 detect unavailable sign_posn locale elements.
3589 * locale/localeconv.c (__localeconv): For grouping and
3590 mon_grouping handle "\177" and "\377" like no grouping.
3591 (INT_ELEM): New macro. Use it to set all numeric members.
3592 * locale/programs/ld-monetary.c (monetary_read)
3593 <tok_mon_grouping>: Normalize single -1 to the empty string.
3594 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3597 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3600 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3601 when we match (nil).
3602 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3604 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3606 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3607 (NO_TEST_INLINE): Update value.
3608 (ERRNO_UNCHANGED): Likewise.
3609 (ERRNO_EDOM): Likewise.
3610 (ERRNO_ERANGE): Likewise.
3611 (IGNORE_RESULT): Likewise.
3612 (check_float_internal): Check signs of NaN results if
3614 (check_complex): Pass TEST_NAN_SIGN flag through to second
3615 check_float_internal call.
3616 (copysign_test_data): Add tests with quiet NaNs as second
3617 argument. Use TEST_NAN_SIGN.
3618 (fabs_test_data): Add test of negative quiet NaN argument. Use
3620 (signbit_test_data): Add tests of quiet NaN argument.
3621 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3623 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3625 (parse_args): Handle function results specified as IGNORE.
3626 * math/libm-test.inc (IGNORE_RESULT): New macro.
3627 (check_float_internal): Do not check numerical result if flag
3629 (check_complex): Pass through IGNORE_RESULT to second
3630 check_float_internal call.
3631 (check_int): Do not check numerical result if flag IGNORE_RESULT
3633 (check_long): Likewise.
3634 (check_bool): Likewise.
3635 (check_longlong): Likewise.
3636 (lrint_test_data): Add tests of infinite and NaN arguments.
3637 (lrint_tonearest_test_data): Likewise.
3638 (lrint_towardzero_test_data): Likewise.
3639 (lrint_downward_test_data): Likewise.
3640 (lrint_upward_test_data): Likewise.
3641 (llrint_test_data): Likewise.
3642 (llrint_tonearest_test_data): Likewise.
3643 (llrint_towardzero_test_data): Likewise.
3644 (llrint_downward_test_data): Likewise.
3645 (llrint_upward_test_data): Likewise.
3646 (lround_test_data): Likewise.
3647 (llround_test_data): Likewise.
3649 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3650 (ERRNO_UNCHANGED): Update value.
3651 (ERRNO_EDOM): Likewise.
3652 (ERRNO_ERANGE): Likewise.
3653 (NO_TEST_INLINE_FLOAT): New macro.
3654 (NO_TEST_INLINE_DOUBLE): Likewise.
3655 (enable_test): New function.
3656 (RUN_TEST_f_f): Check enable_test before running test.
3657 (RUN_TEST_2_f): Likewise.
3658 (RUN_TEST_fff_f): Likewise.
3659 (RUN_TEST_c_f): Likewise.
3660 (RUN_TEST_f_f1): Likewise.
3661 (RUN_TEST_fF_f1): Likewise.
3662 (RUN_TEST_fI_f1): Likewise.
3663 (RUN_TEST_ffI_f1): Likewise.
3664 (RUN_TEST_c_c): Likewise.
3665 (RUN_TEST_cc_c): Likewise.
3666 (RUN_TEST_f_i): Likewise.
3667 (RUN_TEST_f_i_tg): Likewise.
3668 (RUN_TEST_ff_i_tg): Likewise.
3669 (RUN_TEST_f_b): Likewise.
3670 (RUN_TEST_f_b_tg): Likewise.
3671 (RUN_TEST_f_l): Likewise.
3672 (RUN_TEST_f_L): Likewise.
3673 (RUN_TEST_fFF_11): Likewise.
3674 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3676 (cosh_test_data): Likewise.
3677 (exp_test_data): Likewise.
3678 (expm1_test_data): Likewise.
3679 (hypot_test_data): Likewise.
3680 (pow_test_data): Likewise.
3681 (sinh_test_data): Likewise.
3682 (tanh_test_data): Likewise.
3683 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3686 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3687 tests with quiet NaN input and output.
3688 (acosh_test_data): Likewise.
3689 (asin_test_data): Likewise.
3690 (asinh_test_data): Likewise.
3691 (atan_test_data): Likewise.
3692 (atanh_test_data): Likewise.
3693 (atan2_test_data): Likewise.
3694 (cbrt_test_data): Likewise.
3695 (cos_test_data): Likewise.
3696 (cosh_test_data): Likewise.
3697 (erf_test_data): Likewise.
3698 (erfc_test_data): Likewise.
3699 (exp_test_data): Likewise.
3700 (exp10_test_data): Likewise.
3701 (exp2_test_data): Likewise.
3702 (expm1_test_data): Likewise.
3703 (hypot_test_data): Likewise.
3704 (j0_test_data): Likewise.
3705 (j1_test_data): Likewise.
3706 (jn_test_data): Likewise.
3707 (lgamma_test_data): Likewise.
3708 (log_test_data): Likewise.
3709 (log10_test_data): Likewise.
3710 (log1p_test_data): Likewise.
3711 (log2_test_data): Likewise.
3712 (pow_test_data): Likewise.
3713 (scalb_test_data): Likewise.
3714 (sin_test_data): Likewise.
3715 (sincos_test_data): Likewise.
3716 (sinh_test_data): Likewise.
3717 (tan_test_data): Likewise.
3718 (tanh_test_data): Likewise.
3719 (tgamma_test_data): Likewise.
3720 (y0_test_data): Likewise.
3721 (y1_test_data): Likewise.
3722 (yn_test_data): Likewise.
3725 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3726 argument being NaN and avoid computations with second argument in
3728 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3729 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3730 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3732 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3734 * locale/iso-639.def: Add Chitwani Tharu (the).
3736 2013-11-14 Andreas Schwab <schwab@suse.de>
3738 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3739 word instead of empty string.
3741 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3744 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3746 (__fe_nomask_env): Likewise.
3748 2013-11-13 Steve Ellcey <sellcey@mips.com>
3750 * benchtests/bench-timing.h: Include time.h.
3752 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3755 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3757 * sysdeps/unix/sysv/linux/configure: Regenerated.
3759 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3762 * stdlib/strtod_l.c (round_and_return): Do not consider
3763 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3764 exponent one less than half the least subnormal exponent.
3765 * stdlib/test-strtod-round-data: Add more tests.
3766 * stdlib/tst-strtod-round.c (tests): Regenerated.
3768 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3771 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3772 (__fe_mask_env): Likewise.
3773 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3774 libm_hidden_proto and add function prototype.
3775 (__fe_mask_env): Add function prototype.
3776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3777 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3779 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3781 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3783 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3785 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3786 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3788 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3790 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3791 of htab_find_slot().
3793 2013-11-11 David S. Miller <davem@davemloft.net>
3796 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3797 symbol in the non-vis3 case in static builds.
3798 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3799 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3800 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3801 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3803 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3806 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3809 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3811 * benchtests/Makefile: Add bench-strtod.
3812 * benchtests/bench-strtod.c: New file: strtod benchtest
3814 2013-11-11 Andreas Schwab <schwab@suse.de>
3817 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3818 terminating NUL in key length.
3820 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3822 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3823 Add artificial ODP entry for vDSO symbol for PPC64.
3824 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3825 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3827 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3830 * nss/getent.c (services_keys): Recognize services starting with digit.
3832 2013-11-06 David S. Miller <davem@davemloft.net>
3835 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3836 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3838 2013-11-06 Will Newton <will.newton@linaro.org>
3840 * manual/memory.texi (Malloc Examples): Remove register
3841 keyword from examples.
3843 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3845 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3847 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3849 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3850 depending on [__GCC_IEC_559 > 0].
3851 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3852 depending on [__GCC_IEC_559_COMPLEX > 0].
3854 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3856 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3859 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3861 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3863 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3866 * malloc/malloc (malloc_info): Do not handle first bin as
3869 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3871 * locale/iso-639.def: Add Central Nahuatl (nhn).
3873 2013-11-01 Bruno Haible <bruno@clisp.org>
3876 * manual/math.texi (BSD Random): Specify range upper bound as
3879 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3881 * locale/iso-639.def: Add Meadow Mari (mhr).
3883 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3885 [BZ #14752], [BZ #15763]
3886 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3888 * rt/tst_shm.c: Add test for escaping directory.
3890 2013-10-31 Andreas Schwab <schwab@suse.de>
3893 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3894 followed by 'x' as part of digit sequence.
3895 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3897 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3900 * configure.ac: allow GNU Make 4.0 and greater.
3901 * configure: Regenerated.
3903 2013-10-30 Will Newton <will.newton@linaro.org>
3906 * malloc/hooks.c (memalign_check): Limit alignment to the
3907 maximum representable power of two.
3908 * malloc/malloc.c (__libc_memalign): Likewise.
3909 * malloc/tst-memalign.c (do_test): Add test for very
3910 large alignment values.
3911 * malloc/tst-posix_memalign.c (do_test): Likewise.
3913 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3916 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3917 (munmap_chunk): Likewise.
3918 (mremap_chunk): Likewise.
3920 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3923 * stdlib/div.c (div): Remove obsolete code.
3924 * stdlib/ldiv.c (ldiv): Likewise.
3925 * stdlib/lldiv.c (lldiv): Likewise.
3927 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3930 * nss/nss_files/files-XXX.c (get_contents_ret): New
3932 (get_contents): New function.
3933 (internal_getent): Use it. Expand size of LINEBUFLEN.
3935 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3937 * configure.in: Moved to ...
3938 * configure.ac: ... here. Change reference to configure.in
3940 * sysdeps/arm/preconfigure.ac: ... here.
3941 configure.in to configure.ac.
3942 * sysdeps/gnu/configure.in: Moved to ...
3943 * sysdeps/gnu/configure.ac: ... here.
3944 * sysdeps/i386/configure.in: Moved to ...
3945 * sysdeps/i386/configure.ac: ... here.
3946 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3947 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3948 * sysdeps/mach/configure.in: Moved to ...
3949 * sysdeps/mach/configure.ac: ... here.
3950 * sysdeps/mach/hurd/configure.in: Moved to ...
3951 * sysdeps/mach/hurd/configure.ac: ... here.
3952 * sysdeps/powerpc/configure.in: Moved to ...
3953 * sysdeps/powerpc/configure.ac: ... here.
3954 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3955 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3956 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3957 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3958 * sysdeps/s390/s390-32/configure.in: Moved to ...
3959 * sysdeps/s390/s390-32/configure.ac: ... here.
3960 * sysdeps/s390/s390-64/configure.in: Moved to ...
3961 * sysdeps/s390/s390-64/configure.ac: ... here.
3962 * sysdeps/sh/configure.in: Moved to ...
3963 * sysdeps/sh/configure.ac: ... here.
3964 * sysdeps/sparc/configure.in: Moved to ...
3965 * sysdeps/sparc/configure.ac: ... here.
3966 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3967 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3968 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3969 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3970 * sysdeps/x86_64/configure.in: Moved to ...
3971 * sysdeps/x86_64/configure.ac: ... here.
3972 * sysdeps/x86_64/preconfigure.in: Moved to ...
3973 * sysdeps/x86_64/preconfigure.ac: ... here.
3974 * aclocal.m4: Change reference to configure.in to configure.ac.
3975 * config.h.in: Likewise.
3976 * manual/install.texi: Likewise.
3977 * manual/maint.texi: Likewise.
3978 * Makefile: Likewise.
3979 * malloc/Makefile: Likewise.
3980 * nscd/Makefile: Likewise.
3981 * Makeconfig: Change reference to configure.in and
3982 preconfigure.in to configure.ac and preconfigure.ac
3984 * INSTALL: Regenerated.
3985 * configure: Likewise.
3986 * sysdeps/gnu/configure: Likewise.
3987 * sysdeps/i386/configure: Likewise.
3988 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3989 * sysdeps/mach/configure: Likewise.
3990 * sysdeps/mach/hurd/configure: Likewise.
3991 * sysdeps/powerpc/configure: Likewise.
3992 * sysdeps/powerpc/powerpc32/configure: Likewise.
3993 * sysdeps/powerpc/powerpc64/configure: Likewise.
3994 * sysdeps/s390/s390-32/configure: Likewise.
3995 * sysdeps/s390/s390-64/configure: Likewise.
3996 * sysdeps/sh/configure: Likewise.
3997 * sysdeps/sparc/configure: Likewise.
3998 * sysdeps/unix/sysv/linux/configure: Likewise.
3999 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4000 * sysdeps/x86_64/configure: Likewise.
4001 * sysdeps/x86_64/preconfigure: Likewise.
4003 2013-10-29 Andreas Schwab <schwab@suse.de>
4005 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4007 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4009 * benchtests/pow-inputs: Add new inputs.
4011 * benchtests/exp-inputs: Add new inputs.
4013 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4014 conditional check for return value.
4015 (__cos32): Likewise.
4017 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4019 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4020 to provide a boost for large inputs with word alignment.
4021 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4022 implementation based on optimized PPC64 strcpy.
4023 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4024 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4025 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4026 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4028 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4031 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4033 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4036 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4037 * time/tst-strptime.c (day_tests): Add testcase.
4039 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4042 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4044 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4047 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4048 MAP_FAILED on error.
4050 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4053 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4054 heap for large requests.
4056 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4059 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4060 result if the result has no associated interface.
4061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4062 interface for all 127.X.Y.Z addresses.
4064 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4066 * locale/iso-639.def: Add Ligurian (lij)
4068 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4071 * sunrpc/rpc_main.c: Document rpcgen -5.
4073 2013-10-19 Michael Stahl <mstahl@redhat.com>
4075 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4077 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4080 * posix/glob.c: Match only directories when trailing slash is present.
4081 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4082 (main): Add testcase.
4084 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4087 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4089 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4091 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4092 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4093 AUTH_DES and cindex for FIPS 140-2.
4094 (DES Encryption): Add cindex FIPS 46-3.
4096 * locale/locarchive.h (struct locarhandle): Add fname.
4097 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4098 if an optional argument was specified to --list-archive,
4100 * locale/programs/locarchive.c (show_archive_content): Take new
4101 argument fname and pass it via ah.fname to open_archive.
4102 * locale/programs/localedef.h: Update decl.
4103 (open_archive): If AH->fname is non-null, open that file
4104 rather than the default file name, and don't ignore ENOENT.
4105 (create_archive): Set AH.fname to NULL.
4106 (delete_locales_from_archive): Likewise.
4107 (add_locales_to_archive): Likewise.
4108 * locale/programs/locfile.c (write_all_categories): Likewise.
4110 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4111 Aldy Hernandez <aldyh@redhat.com>
4113 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4114 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4115 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4116 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4117 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4118 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4119 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4120 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4121 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4122 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4123 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4124 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4125 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4126 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4127 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4129 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4131 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4133 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4135 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4136 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4138 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4139 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4140 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4141 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4143 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4144 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4145 * sysdeps/powerpc/preconfigure: Likewise.
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4148 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4149 Replace contents of file by #include of <fenv_libc.h>.
4150 * sysdeps/powerpc/soft-fp/sfp-machine.h
4151 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4153 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4154 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4155 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4156 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4157 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4158 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4160 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4161 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4162 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4163 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4164 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4166 Allow copysignl PLT reference to be missing.
4168 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4169 Joseph Myers <joseph@codesourcery.com
4172 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4174 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4176 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4178 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4179 * elf/tst-tls1.c: Likewise.
4180 * elf/tst-tls10.h: Likewise.
4181 * elf/tst-tls14.c: Likewise.
4182 * elf/tst-tls2.c: Likewise.
4183 * elf/tst-tls3.c: Likewise.
4184 * elf/tst-tls4.c: Likewise.
4185 * elf/tst-tls5.c: Likewise.
4186 * elf/tst-tls6.c: Likewise.
4187 * elf/tst-tls7.c: Likewise.
4188 * elf/tst-tls8.c: Likewise.
4189 * elf/tst-tls9.c: Likewise.
4190 * elf/tst-tlsmod1.c: Likewise.
4191 * elf/tst-tlsmod13.c: Likewise.
4192 * elf/tst-tlsmod13a.c: Likewise.
4193 * elf/tst-tlsmod14a.c: Likewise.
4194 * elf/tst-tlsmod16a.c: Likewise.
4195 * elf/tst-tlsmod16b.c: Likewise.
4196 * elf/tst-tlsmod2.c: Likewise.
4197 * elf/tst-tlsmod3.c: Likewise.
4198 * elf/tst-tlsmod4.c: Likewise.
4199 * elf/tst-tlsmod5.c: Likewise.
4200 * elf/tst-tlsmod6.c: Likewise.
4202 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4205 * malloc/malloc.c: remove checks for statistics.
4207 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4210 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4211 * inet/tst-network.c: Add testcase.
4213 2013-10-17 Andreas Schwab <schwab@suse.de>
4216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4217 to determine canonical name.
4219 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4221 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4222 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4238 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4239 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4245 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4246 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4251 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4280 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4283 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4284 make result into a quiet NaN.
4286 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4288 * soft-fp/adddf3.c: Fix horizontal whitespace.
4289 * soft-fp/addsf3.c: Likewise.
4290 * soft-fp/addtf3.c: Likewise.
4291 * soft-fp/divdf3.c: Likewise.
4292 * soft-fp/divsf3.c: Likewise.
4293 * soft-fp/divtf3.c: Likewise.
4294 * soft-fp/double.h: Likewise.
4295 * soft-fp/eqdf2.c: Likewise.
4296 * soft-fp/eqsf2.c: Likewise.
4297 * soft-fp/eqtf2.c: Likewise.
4298 * soft-fp/extenddftf2.c: Likewise.
4299 * soft-fp/extended.h: Likewise.
4300 * soft-fp/extendsfdf2.c: Likewise.
4301 * soft-fp/extendsftf2.c: Likewise.
4302 * soft-fp/extendxftf2.c: Likewise.
4303 * soft-fp/fixdfdi.c: Likewise.
4304 * soft-fp/fixdfsi.c: Likewise.
4305 * soft-fp/fixdfti.c: Likewise.
4306 * soft-fp/fixsfdi.c: Likewise.
4307 * soft-fp/fixsfsi.c: Likewise.
4308 * soft-fp/fixsfti.c: Likewise.
4309 * soft-fp/fixtfdi.c: Likewise.
4310 * soft-fp/fixtfsi.c: Likewise.
4311 * soft-fp/fixtfti.c: Likewise.
4312 * soft-fp/fixunsdfdi.c: Likewise.
4313 * soft-fp/fixunsdfsi.c: Likewise.
4314 * soft-fp/fixunsdfti.c: Likewise.
4315 * soft-fp/fixunssfdi.c: Likewise.
4316 * soft-fp/fixunssfsi.c: Likewise.
4317 * soft-fp/fixunssfti.c: Likewise.
4318 * soft-fp/fixunstfdi.c: Likewise.
4319 * soft-fp/fixunstfsi.c: Likewise.
4320 * soft-fp/fixunstfti.c: Likewise.
4321 * soft-fp/floatdidf.c: Likewise.
4322 * soft-fp/floatdisf.c: Likewise.
4323 * soft-fp/floatditf.c: Likewise.
4324 * soft-fp/floatsidf.c: Likewise.
4325 * soft-fp/floatsisf.c: Likewise.
4326 * soft-fp/floatsitf.c: Likewise.
4327 * soft-fp/floattidf.c: Likewise.
4328 * soft-fp/floattisf.c: Likewise.
4329 * soft-fp/floattitf.c: Likewise.
4330 * soft-fp/floatundidf.c: Likewise.
4331 * soft-fp/floatundisf.c: Likewise.
4332 * soft-fp/floatunditf.c: Likewise.
4333 * soft-fp/floatunsidf.c: Likewise.
4334 * soft-fp/floatunsisf.c: Likewise.
4335 * soft-fp/floatunsitf.c: Likewise.
4336 * soft-fp/floatuntidf.c: Likewise.
4337 * soft-fp/floatuntisf.c: Likewise.
4338 * soft-fp/floatuntitf.c: Likewise.
4339 * soft-fp/fmadf4.c: Likewise.
4340 * soft-fp/fmasf4.c: Likewise.
4341 * soft-fp/fmatf4.c: Likewise.
4342 * soft-fp/gedf2.c: Likewise.
4343 * soft-fp/gesf2.c: Likewise.
4344 * soft-fp/getf2.c: Likewise.
4345 * soft-fp/ledf2.c: Likewise.
4346 * soft-fp/lesf2.c: Likewise.
4347 * soft-fp/letf2.c: Likewise.
4348 * soft-fp/muldf3.c: Likewise.
4349 * soft-fp/mulsf3.c: Likewise.
4350 * soft-fp/multf3.c: Likewise.
4351 * soft-fp/negdf2.c: Likewise.
4352 * soft-fp/negsf2.c: Likewise.
4353 * soft-fp/negtf2.c: Likewise.
4354 * soft-fp/op-1.h: Likewise.
4355 * soft-fp/op-2.h: Likewise.
4356 * soft-fp/op-4.h: Likewise.
4357 * soft-fp/op-8.h: Likewise.
4358 * soft-fp/op-common.h: Likewise.
4359 * soft-fp/quad.h: Likewise.
4360 * soft-fp/single.h: Likewise.
4361 * soft-fp/soft-fp.h: Likewise.
4362 * soft-fp/sqrtdf2.c: Likewise.
4363 * soft-fp/sqrtsf2.c: Likewise.
4364 * soft-fp/sqrttf2.c: Likewise.
4365 * soft-fp/subdf3.c: Likewise.
4366 * soft-fp/subsf3.c: Likewise.
4367 * soft-fp/subtf3.c: Likewise.
4368 * soft-fp/truncdfsf2.c: Likewise.
4369 * soft-fp/trunctfdf2.c: Likewise.
4370 * soft-fp/trunctfsf2.c: Likewise.
4371 * soft-fp/trunctfxf2.c: Likewise.
4372 * soft-fp/unorddf2.c: Likewise.
4373 * soft-fp/unordsf2.c: Likewise.
4374 * soft-fp/unordtf2.c: Likewise.
4376 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4378 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4379 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4381 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4383 * elf/dl-libc.c: Clear initfini list after freeing.
4385 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4387 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4388 * soft-fp/addsf3.c: Likewise.
4389 * soft-fp/addtf3.c: Likewise.
4390 * soft-fp/divdf3.c: Likewise.
4391 * soft-fp/divsf3.c: Likewise.
4392 * soft-fp/divtf3.c: Likewise.
4393 * soft-fp/double.h: Likewise.
4394 * soft-fp/eqdf2.c: Likewise.
4395 * soft-fp/eqsf2.c: Likewise.
4396 * soft-fp/eqtf2.c: Likewise.
4397 * soft-fp/extenddftf2.c: Likewise.
4398 * soft-fp/extended.h: Likewise.
4399 * soft-fp/extendsfdf2.c: Likewise.
4400 * soft-fp/extendsftf2.c: Likewise.
4401 * soft-fp/extendxftf2.c: Likewise.
4402 * soft-fp/fixdfdi.c: Likewise.
4403 * soft-fp/fixdfsi.c: Likewise.
4404 * soft-fp/fixdfti.c: Likewise.
4405 * soft-fp/fixsfdi.c: Likewise.
4406 * soft-fp/fixsfsi.c: Likewise.
4407 * soft-fp/fixsfti.c: Likewise.
4408 * soft-fp/fixtfdi.c: Likewise.
4409 * soft-fp/fixtfsi.c: Likewise.
4410 * soft-fp/fixtfti.c: Likewise.
4411 * soft-fp/fixunsdfdi.c: Likewise.
4412 * soft-fp/fixunsdfsi.c: Likewise.
4413 * soft-fp/fixunsdfti.c: Likewise.
4414 * soft-fp/fixunssfdi.c: Likewise.
4415 * soft-fp/fixunssfsi.c: Likewise.
4416 * soft-fp/fixunssfti.c: Likewise.
4417 * soft-fp/fixunstfdi.c: Likewise.
4418 * soft-fp/fixunstfsi.c: Likewise.
4419 * soft-fp/fixunstfti.c: Likewise.
4420 * soft-fp/floatdidf.c: Likewise.
4421 * soft-fp/floatdisf.c: Likewise.
4422 * soft-fp/floatditf.c: Likewise.
4423 * soft-fp/floatsidf.c: Likewise.
4424 * soft-fp/floatsisf.c: Likewise.
4425 * soft-fp/floatsitf.c: Likewise.
4426 * soft-fp/floattidf.c: Likewise.
4427 * soft-fp/floattisf.c: Likewise.
4428 * soft-fp/floattitf.c: Likewise.
4429 * soft-fp/floatundidf.c: Likewise.
4430 * soft-fp/floatundisf.c: Likewise.
4431 * soft-fp/floatunsidf.c: Likewise.
4432 * soft-fp/floatunsisf.c: Likewise.
4433 * soft-fp/floatuntidf.c: Likewise.
4434 * soft-fp/floatuntisf.c: Likewise.
4435 * soft-fp/floatuntitf.c: Likewise.
4436 * soft-fp/fmadf4.c: Likewise.
4437 * soft-fp/fmasf4.c: Likewise.
4438 * soft-fp/fmatf4.c: Likewise.
4439 * soft-fp/gedf2.c: Likewise.
4440 * soft-fp/gesf2.c: Likewise.
4441 * soft-fp/getf2.c: Likewise.
4442 * soft-fp/ledf2.c: Likewise.
4443 * soft-fp/lesf2.c: Likewise.
4444 * soft-fp/letf2.c: Likewise.
4445 * soft-fp/muldf3.c: Likewise.
4446 * soft-fp/mulsf3.c: Likewise.
4447 * soft-fp/multf3.c: Likewise.
4448 * soft-fp/negdf2.c: Likewise.
4449 * soft-fp/negsf2.c: Likewise.
4450 * soft-fp/negtf2.c: Likewise.
4451 * soft-fp/op-1.h: Likewise.
4452 * soft-fp/op-2.h: Likewise.
4453 * soft-fp/op-4.h: Likewise.
4454 * soft-fp/op-8.h: Likewise.
4455 * soft-fp/op-common.h: Likewise.
4456 * soft-fp/quad.h: Likewise.
4457 * soft-fp/single.h: Likewise.
4458 * soft-fp/soft-fp.h: Likewise.
4459 * soft-fp/sqrtdf2.c: Likewise.
4460 * soft-fp/sqrtsf2.c: Likewise.
4461 * soft-fp/sqrttf2.c: Likewise.
4462 * soft-fp/subdf3.c: Likewise.
4463 * soft-fp/subsf3.c: Likewise.
4464 * soft-fp/subtf3.c: Likewise.
4465 * soft-fp/truncdfsf2.c: Likewise.
4466 * soft-fp/trunctfdf2.c: Likewise.
4467 * soft-fp/trunctfsf2.c: Likewise.
4468 * soft-fp/trunctfxf2.c: Likewise.
4469 * soft-fp/unorddf2.c: Likewise.
4470 * soft-fp/unordsf2.c: Likewise.
4471 * soft-fp/unordtf2.c: Likewise.
4473 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4476 * misc/error.c (error_tail): Fix possible buffer overflow.
4478 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4481 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4484 2013-10-14 P. J. McDermott <pj@pehjota.net>
4487 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4488 testing pipefail option.
4490 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4492 * soft-fp/double.h: Indent preprocessor directives inside #if.
4493 * soft-fp/extended.h: Likewise.
4494 * soft-fp/op-2.h: Likewise.
4495 * soft-fp/op-4.h: Likewise.
4496 * soft-fp/op-common.h: Likewise.
4497 * soft-fp/quad.h: Likewise.
4498 * soft-fp/single.h: Likewise.
4499 * soft-fp/soft-fp.h: Likewise.
4501 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4503 * iconv/iconv_prog.c: Fix typos.
4504 * stdio-common/psiginfo-data.h: Likewise.
4506 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4509 * locale/setlocale.c: Fix typo.
4511 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4514 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4515 signaling NaN arguments.
4516 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4517 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4520 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4522 * soft-fp/gesf2.c (__gesf2): Likewise.
4523 * soft-fp/getf2.c (__getf2): Likewise.
4524 * soft-fp/ledf2.c (__ledf2): Likewise.
4525 * soft-fp/lesf2.c (__lesf2): Likewise.
4526 * soft-fp/letf2.c (__letf2): Likewise.
4528 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4529 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4530 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4531 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4532 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4533 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4534 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4535 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4536 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4537 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4538 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4539 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4540 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4541 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4542 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4543 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4544 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4545 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4546 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4547 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4548 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4549 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4550 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4551 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4552 * soft-fp/floattidf.c (__floattidf): Likewise.
4553 * soft-fp/floattisf.c (__floattisf): Likewise.
4554 * soft-fp/floattitf.c (__floattitf): Likewise.
4555 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4556 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4557 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4558 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4559 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4560 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4561 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4562 * soft-fp/gesf2.c (__gesf2): Likewise.
4563 * soft-fp/getf2.c (__getf2): Likewise.
4564 * soft-fp/ledf2.c (__ledf2): Likewise.
4565 * soft-fp/lesf2.c (__lesf2): Likewise.
4566 * soft-fp/letf2.c (__letf2): Likewise.
4568 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4569 Undefine and redefine.
4570 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4571 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4572 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4573 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4574 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4575 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4576 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4577 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4578 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4579 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4580 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4581 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4582 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4583 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4584 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4587 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4588 without decrementing exponent if mantissa >= that for the
4590 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4591 denominator, not >. Decrement exponent in < case instead of
4592 incrementing in >= case.
4593 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4594 without decrementing exponent if mantissa >= that for the
4597 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4598 computing saturated result for unsigned overflow.
4600 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4601 Jeff Law <law@redhat.com>
4603 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4604 (atan2Mp): Add systemtap probe marker.
4605 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4606 (__ieee754_log): Add systemtap probe marker.
4607 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4608 (atanMp): Add systemtap probe marker.
4609 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4610 (tanMp): Add systemtap probe marker.
4611 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4612 (__slowexp): Add systemtap probe marker.
4613 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4614 (__slowpow): Add systemtap probe marker.
4615 * manual/probes.texi: Document probes.
4617 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4620 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4622 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4624 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4625 written to buffer but not flushed.
4626 * libio/iofwrite_u.c: Likewise.
4627 * libio/iopadn.c: Return bytes returned even if EOF was
4629 * libio/iowpadn.c: Likewise.
4630 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4631 if _IO_padn does not write the whole buffer.
4632 [!COMPILE_WPRINTF] (PAD): Likewise.
4634 2013-10-10 David S. Miller <davem@davemloft.net>
4636 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4639 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4641 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4642 instead of FSF address.
4643 * soft-fp/fixdfti.c: Likewise.
4644 * soft-fp/fixsfti.c: Likewise.
4645 * soft-fp/fixtfti.c: Likewise.
4646 * soft-fp/fixunsdfti.c: Likewise.
4647 * soft-fp/fixunssfti.c: Likewise.
4648 * soft-fp/fixunstfti.c: Likewise.
4649 * soft-fp/floattidf.c: Likewise.
4650 * soft-fp/floattisf.c: Likewise.
4651 * soft-fp/floattitf.c: Likewise.
4652 * soft-fp/floatuntidf.c: Likewise.
4653 * soft-fp/floatuntisf.c: Likewise.
4654 * soft-fp/floatuntitf.c: Likewise.
4655 * soft-fp/trunctfxf2.c: Likewise.
4657 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4658 * soft-fp/fixdfti.c: Likewise.
4659 * soft-fp/fixsfti.c: Likewise.
4660 * soft-fp/fixtfti.c: Likewise.
4661 * soft-fp/fixunsdfti.c: Likewise.
4662 * soft-fp/fixunssfti.c: Likewise.
4663 * soft-fp/fixunstfti.c: Likewise.
4664 * soft-fp/floattidf.c: Likewise.
4665 * soft-fp/floattisf.c: Likewise.
4666 * soft-fp/floattitf.c: Likewise.
4667 * soft-fp/floatuntidf.c: Likewise.
4668 * soft-fp/floatuntisf.c: Likewise.
4669 * soft-fp/floatuntitf.c: Likewise.
4670 * soft-fp/trunctfxf2.c: Likewise.
4672 2013-10-10 David S. Miller <davem@davemloft.net>
4674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4676 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4678 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4679 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4680 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4681 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4682 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4683 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4684 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4687 for NaNs before doing comparisons on argument.
4688 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4691 2013-10-10 Will Newton <will.newton@linaro.org>
4693 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4694 passed to _int_memalign does not overflow.
4696 2013-10-10 Torvald Riegel <triegel@redhat.com>
4698 * scripts/bench.pl: Add include-sources directive.
4699 * benchtests/README: Update documentation.
4701 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4703 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4704 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4705 instead of FP_INIT_ROUNDMODE.
4706 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4707 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4710 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4711 copy class of input value.
4712 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4713 not handle exceptions.
4714 * soft-fp/negsf2.c (__negsf2): Likewise.
4715 * soft-fp/negtf2.c (__negtf2): Likewise.
4716 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4718 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4720 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4721 semicolon. From Linux kernel.
4723 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4725 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4727 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4730 * manual/socket.texi: Added statement about buffer
4731 for gethostbyname2_r.
4733 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4735 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4736 Use .p2align directive instead, throughout.
4737 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4738 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4739 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4740 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4742 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4743 * sysdeps/x86_64/strchr.S: Likewise.
4744 * sysdeps/x86_64/strrchr.S: Likewise.
4746 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4748 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4750 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4752 * sysdeps/generic/math_private.h (__mpsin1): Remove
4754 (__mpcos1): Likewise.
4755 (__mpsin): New argument __range_reduce.
4756 (__mpcos): Likewise.
4757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4758 (slow): Use __mpsin and __mpcos.
4765 (bsloww1): Likewise.
4766 (bsloww2): Likewise.
4769 (csloww1): Likewise.
4770 (csloww2): Likewise.
4771 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4772 range_reduce. Merge in __mpsin1.
4773 (__mpcos): Likewise.
4775 (__mpcos1): Likewise.
4777 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4779 * locale/loadlocale.c (_nl_intern_locale_data): Use
4781 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4782 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4783 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4784 obstack data is appropriately aligned.
4785 (obstack_int32_grow_fast): Likewise.
4786 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4787 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4788 (add_locale_uint32_array): Likewise.
4790 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4792 * benchtests/Makefile: Remove ARGLIST and RET variables.
4793 ($(objpfx)bench-%.c): Pass only function name to the script.
4794 * benchtests/README: Update documentation.
4795 * benchtests/acos-inputs: Add new directives.
4796 * benchtests/acosh-inputs: Likewise.
4797 * benchtests/asin-inputs: Likewise.
4798 * benchtests/asinh-inputs: Likewise.
4799 * benchtests/atan-inputs: Likewise.
4800 * benchtests/atanh-inputs: Likewise.
4801 * benchtests/cos-inputs: Likewise.
4802 * benchtests/cosh-inputs: Likewise.
4803 * benchtests/exp-inputs: Likewise.
4804 * benchtests/log-inputs: Likewise.
4805 * benchtests/pow-inputs: Likewise.
4806 * benchtests/rint-inputs: Likewise.
4807 * benchtests/sin-inputs: Likewise.
4808 * benchtests/sinh-inputs: Likewise.
4809 * benchtests/tan-inputs: Likewise.
4810 * benchtests/tanh-inputs: Likewise.
4811 * scripts/bench.pl: Add support for new directives.
4813 2013-10-07 Alan Modra <amodra@gmail.com>
4815 * README: Fix careless merge.
4817 2013-10-05 Alan Modra <amodra@gmail.com>
4819 * NEWS: Mention powerpc64le support and bugs fixed.
4820 * README: Both big-endian and little-endian powerpc64 supported.
4822 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4824 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4825 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4826 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4827 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4829 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4831 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4834 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4836 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4837 Move -mhard-float appending from
4838 ports/sysdeps/powerpc/powerpc32/Makefile.
4839 [$(with-fp) = yes] (ASFLAGS): Likewise.
4840 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4841 * sysdeps/powerpc/nofpu: Move directory from
4842 ports/sysdeps/powerpc/nofpu.
4843 * sysdeps/powerpc/soft-fp: Move directory from
4844 ports/sysdeps/powerpc/soft-fp.
4845 * sysdeps/powerpc/powerpc32/405: Move directory from
4846 ports/sysdeps/powerpc/powerpc32/405.
4847 * sysdeps/powerpc/powerpc32/440: Move directory from
4848 ports/sysdeps/powerpc/powerpc32/440.
4849 * sysdeps/powerpc/powerpc32/464: Move directory from
4850 ports/sysdeps/powerpc/powerpc32/464.
4851 * sysdeps/powerpc/powerpc32/476: Move directory from
4852 ports/sysdeps/powerpc/powerpc32/476.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4854 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4856 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4858 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4860 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4862 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4863 * README: Update for powerpc-*-linux-gnu software floating point
4866 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4867 case to powerpc/powerpc32*.
4868 * sysdeps/unix/sysv/linux/configure: Regenerated.
4870 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4871 (_FPU_MASK_OM): Define as 0x04.
4872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4880 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4883 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4886 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4887 and setcontext_e500.
4889 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4891 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4893 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4895 * manual/threads.texi (Default Thread Attributes): Fix typo.
4897 2013-10-04 Will Newton <will.newton@linaro.org>
4899 * malloc/Makefile: Add tst-memalign.
4900 * malloc/tst-memalign.c: New file.
4902 * malloc/tst-posix_memalign.c: Add comments.
4903 (do_test): Add comments and call free on all potentially
4904 allocated pointers. Add space after cast.
4906 * malloc/tst-pvalloc.c: Add comments.
4907 (do_test): Add comments and call free on all potentially
4908 allocated pointers. Remove duplicate check for NULL pointer.
4909 Add space after cast.
4911 * malloc/tst-valloc.c: Add comments.
4912 (do_test): Add comments and call free on all potentially
4913 allocated pointers. Remove duplicate check for NULL pointer.
4914 Add space after cast.
4916 2013-10-04 Alan Modra <amodra@gmail.com>
4918 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4919 Use stdint types in rather than __attribute__((mode())).
4920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4922 2013-10-04 Alan Modra <amodra@gmail.com>
4924 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4925 Correct handling of unaligned relocs for little-endian.
4926 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4928 2013-10-04 Alan Modra <amodra@gmail.com>
4930 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4931 * configure: Regenerate.
4932 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4933 * shlib-versions: Likewise.
4935 2013-10-04 Alan Modra <amodra@gmail.com>
4937 * string/tester.c (test_memrchr): Increment reported test cycle.
4939 2013-10-04 Alan Modra <amodra@gmail.com>
4941 * string/test-memcpy.c (do_one_test): When reporting errors, print
4942 string address and don't overrun end of string.
4944 2013-10-04 Alan Modra <amodra@gmail.com>
4946 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4947 insrdi. Make better use of reg selection to speed exit slightly.
4948 Schedule entry path a little better. Remove useless "are we done"
4949 checks on entry to main loop. Handle wrapping around zero address.
4950 Correct main loop count. Handle single left-over word from main
4951 loop inline rather than by using loop_small. Remove extra word
4952 case in loop_small caused by wrong loop count. Add little-endian
4954 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4955 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4957 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4958 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4959 support. Avoid rlwimi.
4960 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4962 2013-10-04 Alan Modra <amodra@gmail.com>
4964 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4966 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4967 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4968 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4969 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4970 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4971 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4973 2013-10-04 Alan Modra <amodra@gmail.com>
4975 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4976 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4977 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4978 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4979 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4980 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4981 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4982 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4983 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4984 use of regs. Use power7 mtocrf. Tidy function tails.
4986 2013-10-04 Alan Modra <amodra@gmail.com>
4988 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4989 Formatting. Consistently use rXXX register defines or rN defines.
4990 Use early exit labels that avoid restoring unused non-volatile regs.
4991 Make cr field use more consistent with rWORDn compares. Rename
4992 regs used as shift registers for unaligned loop, using rN defines
4993 for short lifetime/multiple use regs.
4994 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4995 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4996 addi 1,1,64 to pop stack frame. Simplify return value code.
4997 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4999 2013-10-04 Alan Modra <amodra@gmail.com>
5001 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5002 support. Correct typos, formatting. Optimize tail. Use insrdi
5004 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5005 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5006 little-endian support. Correct typos.
5007 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5009 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5010 in loop and entry code to keep "and." results.
5011 (strchr): Add little-endian support. Comment. Move cntlzd
5013 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5015 2013-10-04 Alan Modra <amodra@gmail.com>
5017 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5018 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5019 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5020 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5022 2013-10-04 Alan Modra <amodra@gmail.com>
5024 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5025 (rTMP): Define as r11.
5026 (strcmp): Add little-endian support. Optimise tail.
5027 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5028 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5029 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5030 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5031 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5035 2013-10-04 Alan Modra <amodra@gmail.com>
5037 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5038 little-endian support. Remove unnecessary "are we done" tests.
5039 Handle "s" wrapping around zero and extremely large "size".
5040 Correct main loop count. Handle single left-over word from main
5041 loop inline rather than by using small_loop. Correct comments.
5042 Delete "zero" tail, use "end_max" instead.
5043 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5045 2013-10-04 Alan Modra <amodra@gmail.com>
5047 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5048 support. Don't branch over align.
5049 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5050 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5051 support. Rearrange tmp reg use to suit. Comment.
5052 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5054 2013-10-04 Alan Modra <amodra@gmail.com>
5056 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5058 2013-10-04 Alan Modra <amodra@gmail.com>
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5061 conditional form of branch and link when obtaining pc.
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5064 2013-10-04 Alan Modra <amodra@gmail.com>
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5071 2013-10-04 Alan Modra <amodra@gmail.com>
5073 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5074 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5075 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5076 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5077 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5078 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5079 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5080 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5081 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5082 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5084 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5085 Alistair Popple <alistair@ozlabs.au.ibm.com>
5086 Alan Modra <amodra@gmail.com>
5089 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5090 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5091 _dl_hwcap access for little-endian.
5092 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5093 destroy vmx regs when saving unaligned.
5094 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5095 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5096 destroy vmx regs when saving unaligned.
5098 2013-10-04 Alan Modra <amodra@gmail.com>
5100 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5101 Don't use a union to pack hi/low value.
5103 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5105 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5107 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5109 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5110 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5111 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5113 2013-10-04 Alan Modra <amodra@gmail.com>
5115 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5116 constants to usual value for .cst8 section, and remove redundant
5118 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5119 constant for 0x1p52. Load little-endian words of double from
5120 correct stack offsets.
5122 2013-10-04 Alan Modra <amodra@gmail.com>
5124 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5125 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5126 words of double from correct stack offsets.
5127 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5128 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5129 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5130 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5131 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5132 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5133 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5134 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5135 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5136 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5137 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5138 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5139 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5140 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5141 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5142 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5143 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5145 2013-10-04 Alan Modra <amodra@gmail.com>
5147 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5148 64-bit int/double union.
5149 (_FPU_SETCW): Likewise.
5150 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5151 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5153 2013-10-04 Alan Modra <amodra@gmail.com>
5155 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5156 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5158 2013-10-04 Alan Modra <amodra@gmail.com>
5160 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5161 use vector int constants.
5162 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5164 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5166 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5167 array with long long.
5168 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5169 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5170 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5171 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5172 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5173 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5174 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5175 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5176 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5177 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5178 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5179 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5180 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5182 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5184 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5185 (__signbit): Likewise. Correct for little-endian.
5186 (__signbitl): Call __signbit.
5187 (lrint): Correct for little-endian.
5188 (lrintf): Call lrint.
5190 2013-10-04 Alan Modra <amodra@gmail.com>
5192 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5193 union 32-bit int array member with 64-bit int array.
5194 (t515, tm256): Double rather than long double.
5195 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5197 2013-10-04 Alan Modra <amodra@gmail.com>
5199 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5201 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5202 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5203 version of math_ldbl.h.
5205 2013-10-04 Alan Modra <amodra@gmail.com>
5207 [BZ #15734], [BZ #15735]
5208 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5209 all uses of ieee875 long double macros and unions. Simplify test
5210 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5211 ldbl_extract_mantissa value for ix,iy exponents. Properly
5212 normalize after ldbl_extract_mantissa, and don't add hidden bit
5213 already handled. Don't treat low word of ieee854 mantissa like
5214 low word of IBM long double and mask off bit when testing for
5216 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5217 all uses of ieee875 long double macros and unions. Simplify tests
5218 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5219 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5220 two1022, instead use their values. Recognise that tests for large
5221 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5222 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5223 Rewrite all uses of ieee875 long double macros and unions. Simplify
5224 test for 0.0L and nan. Correct negation.
5225 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5226 ieee875 long double macros and unions. Correct output for large
5227 magnitude x. Correct absolute value calculation.
5228 (__erfcl): Likewise.
5229 * math/libm-test.inc: Add tests for errors discovered in IBM long
5230 double versions of fmodl, remainderl, erfl and erfcl.
5232 2013-10-04 Alan Modra <amodra@gmail.com>
5234 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5235 all uses of ieee854 long double macros and unions. Simplify tests
5236 for long doubles that are fully specified by the high double.
5237 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5239 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5240 Remove dead code too.
5241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5242 (__ieee754_ynl): Likewise.
5243 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5244 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5245 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5246 Remove dead code too.
5247 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5248 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5249 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5250 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5254 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5255 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5256 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5257 Comment on variable precision.
5258 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5259 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5261 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5264 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5265 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5267 2013-10-04 Alan Modra <amodra@gmail.com>
5269 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5270 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5271 all uses of ieee854 long double macros and unions.
5272 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5279 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5282 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5283 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5284 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5285 Simplify sign and nan test too.
5286 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5287 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5288 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5289 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5291 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5292 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5295 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5296 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5297 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5299 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5301 2013-10-04 Alan Modra <amodra@gmail.com>
5303 * stdio-common/printf_size.c (__printf_size): Don't use
5304 union ieee854_long_double in fpnum union.
5305 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5306 signbit macro to retrieve sign from long double.
5307 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5308 retrieve sign from long double.
5309 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5310 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5311 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5312 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5313 * math/test-misc.c (main): Don't use union ieee854_long_double.
5315 2013-10-04 Alan Modra <amodra@gmail.com>
5318 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5319 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5320 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5321 calculation. Remove unnecessary test for denormal exponent.
5322 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5323 Correct handling of denormals. Avoid undefined shift behaviour.
5324 Correct normalisation of low mantissa when low double is denormal.
5325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5326 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5327 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5328 Correct normalisation of low mantissa. Test for overflow of high
5329 mantissa and normalise.
5330 (ldbl_nearbyint): Use more readable constant for two52.
5331 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5332 (__mpn_construct_long_double): Fix test for overflow of high
5333 mantissa and correct normalisation. Avoid undefined shift.
5335 2013-10-04 Alan Modra <amodra@gmail.com>
5337 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5338 (union ibm_extended_long_double): Define as an array of ieee754_double.
5339 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5340 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5341 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5342 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5343 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5345 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5346 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5349 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5351 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5353 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5354 page size instead of calling getpagesize.
5356 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5357 (LOCFILE_ALIGN_MASK): Likewise.
5358 (LOCFILE_ALIGN_UP): Likewise.
5359 (LOCFILE_ALIGNED_P): Likewise.
5360 * locale/programs/ld-collate.c (collate_output): Use the new
5361 macros instead of __alignof__ (int32_t).
5362 * locale/weight.h (findidx): Likewise.
5364 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5367 * manual/string.texi: Fix strncat and wcsncat.
5369 2013-10-03 Brooks Moses <bmoses@google.com>
5372 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5373 * Makerules: ...here, and adjust associated comments.
5375 2013-10-02 Will Newton <will.newton@linaro.org>
5377 * malloc/Makefile: Add tst-pvalloc.
5378 * malloc/tst-pvalloc.c: New file.
5380 2013-10-02 Will Newton <will.newton@linaro.org>
5382 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5383 improve test coverage.
5385 2013-10-02 Will Newton <will.newton@linaro.org>
5387 * malloc/Makefile: Add tst-posix_memalign.
5388 * malloc/tst-posix_memalign.c: New file.
5390 2013-10-01 Eric Blake <eblake@redhat.com>
5392 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5393 Use __THROWNL rather than __THROW on static functions.
5395 2013-09-30 Petr Machata <pmachata@redhat.com>
5397 * elf/elf.h (R_AARCH64_ABS16): New macro.
5398 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5399 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5400 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5401 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5402 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5403 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5404 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5405 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5406 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5407 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5408 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5409 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5410 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5411 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5412 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5413 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5414 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5415 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5416 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5417 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5418 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5419 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5420 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5421 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5422 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5423 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5424 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5425 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5426 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5427 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5428 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5429 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5430 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5431 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5432 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5433 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5434 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5435 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5436 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5437 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5438 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5439 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5440 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5441 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5442 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5443 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5444 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5445 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5446 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5447 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5448 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5449 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5450 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5451 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5452 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5453 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5454 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5455 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5456 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5457 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5458 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5459 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5460 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5461 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5462 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5463 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5464 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5465 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5466 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5467 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5468 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5469 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5470 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5471 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5472 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5473 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5474 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5475 (R_AARCH64_TLSDESC_LDR): Likewise.
5476 (R_AARCH64_TLSDESC_ADD): Likewise.
5477 (R_AARCH64_TLSDESC_CALL): Likewise.
5479 2013-09-30 Andreas Schwab <schwab@suse.de>
5482 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5483 the nss database lookup.
5484 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5487 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5489 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5491 2013-09-28 P. J. McDermott <pj@pehjota.net>
5493 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5494 ${Bash-specific parameter/pattern/string} parameter expansion.
5495 * sysdeps/unix/make-syscalls.sh: Likewise.
5497 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5499 * sysdeps/sh/stackguard-macros.h: New file.
5501 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5504 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5505 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5506 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5507 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5508 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5510 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5512 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5513 Fix thread ID register.
5515 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5517 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5518 [POSIX || UNIX98]: Require rather than permitting all symbols from
5520 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5521 element of struct sched_param.
5522 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5523 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5524 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5525 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5528 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5530 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5531 argument calculation.
5533 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5535 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5537 [POSIX] (pthread_attr_t): Do not require type.
5538 [POSIX] (pthread_cond_t): Likewise.
5539 [POSIX] (pthread_condattr_t): Likewise.
5540 [POSIX] (pthread_key_t): Likewise.
5541 [POSIX] (pthread_mutex_t): Likewise.
5542 [POSIX] (pthread_mutexattr_t): Likewise.
5543 [POSIX] (pthread_once_t): Likewise.
5544 [POSIX] (pthread_t): Likewise.
5545 [POSIX-based standards] (pthread_atfork): Expect function.
5547 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5548 Richard Sandiford <richard@codesourcery.com>
5550 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5551 (swap_endianness_p): New extern variable.
5552 (set_big_endian): New inline function.
5553 (maybe_swap_uint32): Likewise.
5554 (maybe_swap_uint32_array): Likewise.
5555 (maybe_swap_uint32_obstack): Likewise.
5556 * locale/programs/locfile.c: Include <stdbool.h>.
5557 (swap_endianness_p): New variable.
5558 (add_locale_uint32): Call maybe_swap_uint32.
5559 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5560 (write_locale_data): Call maybe_swap_uint32_array.
5561 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5563 (obstack_int32_grow_fast): Likewise.
5564 (output_weightwc): Call maybe_swap_uint32_obstack.
5565 (collate_output): Likewise.
5566 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5567 (OPT_LITTLE_ENDIAN): Likewise.
5568 (options): Add --little-endian and --big-endian options.
5569 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5570 * locale/programs/locarchive.c: Include "locfile.h".
5574 (create_archive): Use the new macros to access fields of
5575 structures directly mapped from or written to locale archives.
5576 (oldlocrecentcmp): Likewise.
5577 (enlarge_archive): Likewise.
5578 (insert_name): Likewise.
5579 (add_alias): Likewise.
5580 (add_locale): Likewise.
5581 (delete_locales_from_archive): Likewise.
5582 (show_archive_content): Likewise.
5583 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5586 2013-09-24 Roland McGrath <roland@hack.frob.com>
5588 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5589 http://www.gnu.org/doc/freemanuals.texi.
5590 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5592 2013-09-24 Will Newton <will.newton@linaro.org>
5594 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5597 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5599 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5602 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5604 * manual/threads.texi (POSIX Threads): Fix a typo.
5606 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5609 * string/tst-strcoll-overflow.c: New test case.
5610 * string/Makefile (xtests): Add tst-strcoll-overflow.
5611 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5612 cache if string sizes may cause integer overflow.
5615 * string/strcoll_l.c (coll_seq): New members rule, idx,
5616 save_idx and back_us.
5617 (get_next_seq_nocache): New function.
5618 (do_compare_nocache): New function.
5619 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5622 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5625 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5626 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5627 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5630 * elf/Makefile (tests): Add tst-ptrguard1.
5631 (tests-static): Add tst-ptrguard1-static.
5632 (tst-ptrguard1-ARGS): Define.
5633 (tst-ptrguard1-static-ARGS): Define.
5634 * elf/tst-ptrguard1.c: New file.
5635 * elf/tst-ptrguard1-static.c: New file.
5636 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5637 * sysdeps/i386/stackguard-macros.h: Likewise.
5638 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5639 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5640 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5641 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5642 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5643 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5645 2013-09-23 Hector Marco <hecmargi@upv.es>
5646 Ismael Ripoll <iripoll@disca.upv.es>
5647 Carlos O'Donell <carlos@redhat.com>
5650 * sysdeps/generic/stackguard-macros.h: Define
5651 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5652 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5653 Define __pointer_chk_guard_local.
5654 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5655 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5657 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5660 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5662 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5664 * include/string.h (__ffs): Declare as hidden.
5665 * string/ffs.c (__ffs): Define as hidden.
5666 * sysdeps/i386/ffs.c (__ffs): Likewise.
5667 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5668 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5669 * sysdeps/s390/ffs.c (__ffs): Likewise.
5670 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5672 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5674 * NEWS: Mention malloc probes.
5676 * malloc/arena.c (new_heap): New memory_heap_new probe.
5677 (grow_heap): New memory_heap_more probe.
5678 (shrink_heap): New memory_heap_less probe.
5679 (heap_trim): New memory_heap_free probe.
5680 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5681 (systrim): New memory_sbrk_less probe.
5682 * manual/probes.texi: Document them.
5684 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5685 * manual/probes.texi: Document it.
5687 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5688 (__libc_realloc): Add memory_realloc_retry probe.
5689 (__libc_memalign): Add memory_memalign_retry probe.
5690 (__libc_valloc): Add memory_valloc_retry probe.
5691 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5692 (__libc_calloc): Add memory_calloc_retry probe.
5693 * manual/probes.texi: Document them.
5695 * malloc/arena.c (get_free_list): Add probe
5696 memory_arena_reuse_free_list.
5697 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5698 and memory_arena_reuse.
5699 (arena_get2) [!PER_THREAD]: Likewise.
5700 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5701 memory_arena_reuse_realloc.
5702 * manual/probes.texi: Document them.
5704 * malloc/malloc.c (__libc_free): Add
5705 memory_mallopt_free_dyn_thresholds probe.
5706 (__libc_mallopt): Add multiple memory_mallopt probes.
5707 * manual/probes.texi: Document them.
5709 * malloc/malloc.c: Include stap-probe.h.
5710 (__libc_mallopt): Add memory_mallopt probe.
5711 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5712 * manual/probes.texi: New.
5713 * manual/Makefile (chapters): Add probes.
5714 * manual/threads.texi: Set next node.
5716 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5719 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5720 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5721 Add `Chinese' to `nan' entry name.
5723 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5725 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5726 (POLYNOMIAL): Likewise.
5727 (TAYLOR_SINCOS): Likewise.
5728 (TAYLOR_SLOW): Likewise.
5729 (__sin): Use TAYLOR_SINCOS.
5731 (slow): Use TAYLOR_SLOW.
5736 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5738 * stdlib/strtod_l.c: Fix buffer overrun.
5740 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5742 * benchtests/Makefile (bench): Add sincos.
5743 * benchtests/bench-sincos.c: New file.
5745 * math/libm-test.inc (cos_test_data): New test inputs.
5746 (sin_test_data): Likewise.
5748 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5756 (bsloww1): Likewise.
5757 (bsloww2): Likewise.
5759 (csloww1): Likewise.
5760 (csloww2): Likewise.
5762 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5771 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5773 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5774 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5775 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5776 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5777 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5778 * elf/cache.c (print_entry): Handle the new cache flags.
5780 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5781 Aldy Hernandez <aldyh@redhat.com>
5783 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5784 Change condition to [_SOFT_FLOAT].
5785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5797 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5800 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5803 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5805 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5806 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5807 (__longjmp): Use LOAD_GP to load saved GPRs.
5808 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5809 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5810 (__sigsetjmp): Use SAVE_GP to save GPRs.
5812 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5813 Do not append -msoft-float.
5814 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5816 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5818 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5820 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5823 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5824 (_FPU_GETCW): Use initial "__" on variable and field names but not
5825 on macro parameter name.
5826 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5827 parentheses around reference to macro parameter.
5829 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5831 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5833 (ctype_startup): Use uint32_t in cast and sizeof for
5836 2013-09-11 Jia Liu <proljc@gmail.com>
5838 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5840 [__FreeBSD__]: Likewise.
5842 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5845 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5846 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5847 (strchr): Remove __strchr_sse42 ifunc selection.
5848 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5849 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5851 2013-09-11 Will Newton <will.newton@linaro.org>
5853 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5854 parameter to RES. Remove hardcoded 1000 value.
5855 * benchtests/bench-skeleton.c (main): Pass RES parameter
5856 to TIMING_INIT and multiply result by 1000.
5858 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5862 2013-09-11 Andreas Schwab <schwab@suse.de>
5864 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5866 (O_TMPFILE) [__USE_GNU]: Define.
5867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5870 2013-09-11 Will Newton <will.newton@linaro.org>
5873 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5876 2013-09-11 Will Newton <will.newton@linaro.org>
5879 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5882 2013-09-11 Will Newton <will.newton@linaro.org>
5885 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5888 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5890 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5891 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5896 2013-09-10 Allan McRae <allan@archlinux.org>
5899 * manual/arith.texi (Parsing of Floats): Clarify
5903 * manual/install.texi (Running make install): Mention
5905 * INSTALL: Regenerated.
5907 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5909 * csu/init-first.c (_init): Remove the !SHARED condition around
5910 FPU control word initialization.
5911 * elf/dl-support.c (_dl_fpu_control): New variable.
5912 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5913 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5914 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5915 * math/test-fpucw-static.c: New file.
5916 * math/test-fpucw-ieee.c: New file.
5917 * math/test-fpucw-ieee-static.c: New file.
5918 * math/Makefile (tests): Add `test-fpucw-ieee' and
5920 (tests-static): New variable.
5921 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5923 [($(build-shared),yes)]
5924 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5926 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5929 2013-09-09 Allan McRae <allan@archlinux.org>
5932 * manual/string.texi (Collation Functions): Fix typo in
5934 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5937 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5940 * libio/memstream.c (open_memstream): Fix memory leak.
5941 * libio/wmemstream.c (open_wmemstream): Likewise.
5944 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5946 2013-09-09 Will Newton <will.newton@linaro.org>
5948 * malloc/Makefile: Add tst-realloc to tests.
5949 * malloc/tst-realloc.c: New file.
5951 2013-09-09 Allan McRae <allan@archlinux.org>
5954 * COPYING: Update from GNU website to fix FSF address.
5955 * COPYING.LIB: Likewise.
5957 2013-09-06 David S. Miller <davem@davemloft.net>
5959 * po/zh_TW.po: Update Chinese (traditional) translation from
5960 translation project.
5962 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5963 Joseph Myers <joseph@codesourcery.com>
5965 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5967 (obstack_chunk_alloc): New macro.
5968 (obstack_chunk_free): Likewise.
5969 (record_offset): New function.
5970 (init_locale_data): Likewise.
5971 (align_locale_data): Likewise.
5972 (add_locale_empty): Likewise.
5973 (add_locale_raw_data): Likewise.
5974 (add_locale_raw_obstack): Likewise.
5975 (add_locale_string): Likewise.
5976 (add_locale_wstring): Likewise.
5977 (add_locale_uint32): Likewise.
5978 (add_locale_uint32_array): Likewise.
5979 (add_locale_char): Likewise.
5980 (start_locale_structure): Likewise.
5981 (end_locale_structure): Likewise.
5982 (start_locale_prelude): Likewise.
5983 (end_locale_prelude): Likewise.
5984 (write_locale_data): Take locale_file structure rather than an
5986 * locale/programs/locfile.h: Include "obstack.h".
5987 (struct locale_file): Change to store locale file contents instead
5989 (init_locale_data): New prototype.
5990 (align_locale_data): Likewise.
5991 (add_locale_empty): Likewise.
5992 (add_locale_raw_data): Likewise.
5993 (add_locale_raw_obstack): Likewise.
5994 (add_locale_string): Likewise.
5995 (add_locale_wstring): Likewise.
5996 (add_locale_uint32): Likewise.
5997 (add_locale_uint32_array): Likewise.
5998 (add_locale_char): Likewise.
5999 (start_locale_structure): Likewise.
6000 (end_locale_structure): Likewise.
6001 (start_locale_prelude): Likewise.
6002 (end_locale_prelude): Likewise.
6003 (write_locale_data): Update prototype.
6004 * locale/programs/3level.h (struct TABLE): Remove result field.
6005 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6006 Use new locale_file interface.
6007 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6008 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6009 * locale/programs/ld-address.c (address_output): Use new
6010 locale_file interface.
6011 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6013 (collate_finish): Don't call collseq_table_finalize.
6014 (collate_output): Use new locale_file interface.
6015 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6017 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6018 (TABLE): Move defines earlier in file.
6019 (ELEMENT): Likewise.
6020 (DEFAULT): Likewise.
6021 (wctrans_table_add): Move macro and inline function earlier in
6023 (struct wctype_table): Move type earlier in file.
6024 (add_locale_wctype_table): New static prototype.
6025 (struct locale_ctype_t): Use logical types instead of struct iovec
6026 pointers for members.
6027 (ctype_output): Use new locale_file interface.
6028 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6029 new locale_file interface.
6030 (allocate_arrays): Update for use of new locale_file interface.
6031 * locale/programs/ld-identification.c (identification_output): Use
6032 new locale_file interface.
6033 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6034 * locale/programs/ld-messages.c (messages_output): Likewise.
6035 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6036 * locale/programs/ld-name.c (name_output): Likewise.
6037 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6038 * locale/programs/ld-paper.c (paper_output): Likewise.
6039 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6040 * locale/programs/ld-time.c (time_output): Likewise.
6042 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6044 * benchtests/Makefile: Add memrchr benchmark.
6045 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6046 benchmark as memrchr.
6047 * benchtests/bench-memrchr-ifunc.c: New file.
6048 * benchtests/bench-memrchr.c: New file.
6050 2013-09-06 Will Newton <will.newton@linaro.org>
6052 * benchtests/Makefile (string-bench): Add memcpy.
6054 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6055 Cong Wang <amwang@redhat.com>
6058 * sysdeps/unix/sysv/linux/bits/in.h
6059 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6060 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6061 before __USE_KERNEL_IPV6_DEFS uses.
6062 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6064 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6065 sockaddr_in6, or ipv6_mreq.
6067 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6069 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6070 memory access for final bytes in some large inputs.
6071 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6073 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6075 * string/test-memrchr.c: New file.
6076 * string/test-memrchr-ifunc.c: New file.
6077 * string/Makefile: Add new memrchr testcase.
6079 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6081 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6082 fanotify_init returns EPERM.
6084 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6086 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6088 (top level): Treat second token from macro or constant entries for
6089 allowed headers as allowed.
6090 * include/complex.h: Condition internal declarations on
6092 * include/fenv.h: Condition include of <stdbool.h> and internal
6093 declarations on [!_ISOMAC].
6095 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6098 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6100 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6102 * configure.in (--enable-versioning): Remove configure option.
6103 (libc_cv_asm_symver_directive): Remove configure test.
6104 (libc_cv_ld_version_script_option): Likewise.
6105 (VERSIONING): Remove variable and AC_SUBST.
6106 (DO_VERSIONING): Remove AC_DEFINE.
6107 * configure: Regenerated.
6108 * config.h.in (DO_VERSIONING): Remove macro.
6109 * Makerules [$(versioning) = yes]: Change conditionals to
6110 [$(build-shared) = yes].
6111 * config.make.in (versioning): Remove variable.
6112 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6113 [$(build-shared) = yes].
6114 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6115 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6116 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6117 [$(build-shared) = yes].
6118 * extra-lib.mk [$(versioning) = yes]: Likewise.
6119 * hurd/Makefile [$(versioning) = yes]: Likewise.
6120 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6122 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6124 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6125 [SHARED && !NO_HIDDEN].
6126 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6128 [SHARED && DO_VERSIONING]: Likewise..
6129 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6130 [$(build-shared) = yes].
6131 * manual/install.texi (--disable-versioning): Remove
6133 * INSTALL: Regenerated.
6134 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6136 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6137 [$(build-shared) = yes].
6138 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6139 * sysdeps/i386/i686/multiarch/strstr-c.c
6140 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6141 [SHARED && !NO_HIDDEN].
6142 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6143 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6144 * sysdeps/powerpc/powerpc32/dl-machine.c
6145 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6146 * sysdeps/powerpc/powerpc32/sysdep.h
6147 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6148 to [SHARED && PIC && !NO_HIDDEN].
6149 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6150 conditional to [SHARED].
6152 2013-09-04 Will Newton <will.newton@linaro.org>
6154 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6155 * benchtests/bench-string.h: Include bench-timing.h instead
6156 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6157 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6158 call to HP_TIMING_DIFF_INIT.
6159 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6160 instead of hp-timing.h macros.
6161 * benchtests/bench-memchr.c: Likewise.
6162 * benchtests/bench-memcmp.c: Likewise.
6163 * benchtests/bench-memcpy.c: Likewise.
6164 * benchtests/bench-memmem.c: Likewise.
6165 * benchtests/bench-memmove.c: Likewise.
6166 * benchtests/bench-memset.c: Likewise.
6167 * benchtests/bench-rawmemchr.c: Likewise.
6168 * benchtests/bench-strcasecmp.c: Likewise.
6169 * benchtests/bench-strcasestr.c: Likewise.
6170 * benchtests/bench-strcat.c: Likewise.
6171 * benchtests/bench-strchr.c: Likewise.
6172 * benchtests/bench-strcmp.c: Likewise.
6173 * benchtests/bench-strcpy.c: Likewise.
6174 * benchtests/bench-strcpy_chk.c: Likewise.
6175 * benchtests/bench-strlen.c: Likewise.
6176 * benchtests/bench-strncasecmp.c: Likewise.
6177 * benchtests/bench-strncat.c: Likewise.
6178 * benchtests/bench-strncmp.c: Likewise.
6179 * benchtests/bench-strncpy.c: Likewise.
6180 * benchtests/bench-strnlen.c: Likewise.
6181 * benchtests/bench-strpbrk.c: Likewise.
6182 * benchtests/bench-strrchr.c: Likewise.
6183 * benchtests/bench-strspn.c: Likewise.
6184 * benchtests/bench-strstr.c: Likewise.
6186 2013-09-04 Will Newton <will.newton@linaro.org>
6188 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6190 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6193 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6194 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6195 * math/libm-test.inc (lgamma_test_data): Add more tests.
6196 * sysdeps/i386/fpu/libm-test-ulps: Update.
6197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6199 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6201 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6205 Add strcmp-sse2-unaligned
6206 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6208 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6210 * Versions.def (libc): Add GLIBC_2.19.
6212 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6214 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6215 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6217 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6220 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6221 intermediate calculations in recurrence.
6222 (__ieee754_ynf): Likewise.
6223 * math/libm-test.inc (jn_test_data): Do not allow spurious
6224 underflow exception. Add more tests.
6225 (yn_test_data): Add more tests.
6226 * sysdeps/i386/fpu/libm-test-ulps: Update.
6227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6229 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6231 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6233 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6235 * csu/init-first.c: Fix then/than typos.
6236 * locale/programs/ld-collate.c: Likewise.
6237 * locale/programs/linereader.h: Likewise.
6238 * manual/charset.texi: Likewise.
6239 * manual/filesys.texi: Likewise.
6240 * manual/stdio.texi: Likewise.
6241 * manual/string.texi: Likewise.
6242 * stdlib/fmtmsg.c: Likewise.
6243 * sysdeps/i386/stpncpy.S: Likewise.
6244 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6245 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6246 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6247 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6249 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6251 * elf/dl-open.c: Fix typos.
6252 * iconvdata/gbbig5.c: Likewise.
6253 * iconvdata/iso-2022-jp.c: Likewise.
6254 * iconv/gconv_int.h: Likewise.
6255 * iconv/loop.c: Likewise.
6256 * nis/rpcsvc/nis.h: Likewise.
6257 * resolv/ns_name.c: Likewise.
6258 * stdio-common/vfscanf.c: Likewise.
6259 * streams/stropts.h: Likewise.
6260 * sunrpc/rpc_thread.c: Likewise.
6261 * sysdeps/i386/strpbrk.S: Likewise.
6262 * sysdeps/ieee754/k_standard.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6265 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6266 * sysdeps/mach/hurd/profil.c: Likewise.
6267 * sysdeps/s390/dl-procinfo.h: Likewise.
6268 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6269 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6270 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6271 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6272 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6274 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6276 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6279 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6281 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6283 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6284 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6285 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6286 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6287 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6288 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6289 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6290 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6292 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6293 Roland McGrath <roland@hack.frob.com>
6295 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6296 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6298 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6300 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6301 __executable_start symbol instead of _start.
6303 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6305 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6306 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6308 * sysdeps/gnu/ldsodefs.h: ... this new file.
6310 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6311 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6312 instead of ELFOSABI_LINUX.
6314 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6315 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6316 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6317 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6319 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6320 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6321 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6323 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6324 (ibm_extended_long_double): Add ieee_nan member.
6325 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6326 (do_test): New function.
6328 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6330 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6331 functions, renamed from truncdfsf_test, trunctfsf_test,
6333 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6335 (do_test): Run all these.
6337 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6339 * argp/argp-help.c: Fix typos.
6340 * argp/argp-parse.c: Likewise.
6341 * debug/backtracesyms.c: Likewise.
6342 * elf/elf.h: Likewise.
6343 * malloc/malloc.c: Likewise.
6344 * nis/nis_print.c: Likewise.
6345 * resolv/res_comp.c: Likewise.
6346 * stdlib/stdlib.h: Likewise.
6347 * sunrpc/clnt_tcp.c: Likewise.
6348 * sunrpc/clnt_udp.c: Likewise.
6349 * sunrpc/clnt_unix.c: Likewise.
6350 * sysdeps/unix/bsd/ptsname.c: Likewise.
6351 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6352 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6359 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6361 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6363 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6366 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6369 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6370 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6371 ($(objpfx)bug-dl-leaf): New rule.
6372 ($(objpfx)bug-dl-leaf.so): Likewise.
6373 ($(objpfx)bug-dl-leaf.out): Likewise.
6374 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6375 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6376 * dlfcn/bug-dl-leaf.c: New test.
6377 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6378 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6379 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6380 (dlclose): Likewise.
6381 (dlmopen): Likewise.
6383 2013-08-27 Roland McGrath <roland@hack.frob.com>
6385 * include/netdb.h [!_ISOMAC]:
6386 Don't include <tls.h>.
6387 (h_errno, __libc_h_errno): Move declaration and macros out of
6390 * include/resolv.h [_RESOLV_H_]:
6391 Don't include <tls.h>.
6392 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6393 * resolv/res_libc.c: Don't include <tls.h>.
6394 (_res): Use __attribute__ ((nocommon)) in place of
6395 __attribute__ ((section (".bss"))).
6397 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6398 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6400 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6402 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6403 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6405 * resolv/res_mkquery.c: Include <sys/time.h>.
6407 * inet/ifreq.c: Moved to ...
6408 * sysdeps/unix/ifreq.c: ... here.
6409 * inet/ifreq.c: New file, true stub version.
6411 * socket/sa_len.c: New file.
6412 * socket/Makefile (aux): Add it.
6413 * sysdeps/unix/sysv/linux/Makefile
6414 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6415 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6416 and #include <socket/sa_len.c>.
6417 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6418 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6420 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6421 * bits/socket.h: ... here.
6423 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6424 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6425 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6427 2013-08-27 Andreas Schwab <schwab@suse.de>
6430 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6431 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6432 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6433 * string/test-strcasecmp.c (test_main): Run tests in several
6435 * string/test-strncasecmp.c (test_main): Likewise.
6437 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6438 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6439 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6440 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6441 (__strncasecmp_ssse3) [PIC]: Likewise.
6443 2013-08-26 Roland McGrath <roland@hack.frob.com>
6445 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6447 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6448 instead of explicitly declaring xdecrypt.
6449 * nis/nss_nis/nis-publickey.c: Likewise.
6451 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6454 * nscd/aicache.c: Include res_hconf.h.
6455 (addhstaiX): Initialize res_hconf.
6457 2013-08-26 Andreas Schwab <schwab@suse.de>
6459 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6460 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6462 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6464 * nscd/aicache.c (addhstaiX): Fix indentation.
6466 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6468 * configure.ac: Quote $build_pt_chown test.
6469 * configure: Regenerated.
6471 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6474 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6475 * math/s_cexpf.c (__cexpf): Likewise.
6476 * math/s_cexpl.c (__cexpl): Likewise.
6477 * math/libm-test.inc (cexp_test_data): Correct expected return
6478 value for NaN + i0. Add another test.
6480 2013-08-22 David S. Miller <davem@davemloft.net>
6482 * po/ca.po: Update Catalan translation from translation project.
6483 * po/uk.po: Add Ukrainian translations from translation project.
6485 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6488 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6489 is infinite, not alongside NaN test.
6490 * math/s_fdimf.c (__fdimf): Likewise.
6491 * math/s_fdiml.c (__fdiml): Likewise.
6492 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6495 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6497 * argp/argp-help.c: Fix typos.
6498 * crypt/speeds.c: Likewise.
6499 * csu/check_fds.c: Likewise.
6500 * elf/dl-load.c: Likewise.
6501 * elf/dl-open.c: Likewise.
6502 * elf/reldep3.c: Likewise.
6503 * elf/reldep.c: Likewise.
6504 * elf/sprof.c: Likewise.
6505 * iconv/iconv_charmap.c: Likewise.
6506 * iconv/skeleton.c: Likewise.
6507 * iconv/strtab.c: Likewise.
6508 * io/lockf64.c: Likewise.
6509 * libio/libioP.h: Likewise.
6510 * resolv/gai_notify.c: Likewise.
6511 * resolv/ns_name.c: Likewise.
6512 * resolv/ns_samedomain.c: Likewise.
6513 * resolv/res_send.c: Likewise.
6514 * stdlib/random.c: Likewise.
6515 * sunrpc/rpc/xdr.h: Likewise.
6516 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6517 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6518 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6519 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6520 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6521 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6523 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6524 * sysdeps/mach/hurd/check_fds.c: Likewise.
6525 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6526 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6528 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6529 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6530 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6531 * sysdeps/pthread/aio_notify.c: Likewise.
6532 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6533 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6534 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6535 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6536 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6538 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6540 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6541 version if bit_Slow_SSE4_2 is set.
6542 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6545 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6548 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6549 trampoline stack frame information.
6550 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6551 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6552 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6553 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6554 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6555 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6556 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6557 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6559 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6560 interrupting a syscall and set with option SA_SIGINFO.
6562 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6565 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6566 argument is infinite.
6567 * math/s_cprojf.c (__cprojf): Likewise.
6568 * math/s_cprojl.c (__cprojl): Likewise.
6569 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6570 * math/libm-test.inc (cproj_test_data): Add more tests.
6572 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6574 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6575 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6576 size. Use __ffs to determine corresponding shift.
6578 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6579 Roland McGrath <roland@hack.frob.com>
6581 * Makefile (INSTALL): Remove trailing blank lines from output of
6584 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6586 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6587 Align 32 bit compat elf_greg to 8 bytes.
6589 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6591 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6593 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6595 * string/strcoll_l.c (coll_seq): New structure.
6596 (get_next_seq_cached): New function.
6597 (get_next_seq): New function.
6598 (do_compare): New function.
6599 (STRCOLL): Use GNU style definition. Simplify implementation
6600 by using get_next_seq, get_next_seq_cached and do_compare.
6602 2013-08-16 Florian Weimer <fweimer@redhat.com>
6606 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6608 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6610 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6611 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6612 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6614 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6615 GETDENTS_64BIT_ALIGNED.
6616 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6617 * manual/filesys.texi (Reading/Closing Directory): Document
6618 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6620 * manual/conf.texi (Limits for Files): Add portability note to
6622 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6624 2013-08-13 Andreas Schwab <schwab@suse.de>
6627 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6629 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6630 LDBL_MAX_EXP >= 16384]: Add tests for it.
6632 2013-08-12 David S. Miller <davem@davemloft.net>
6634 * version.h (RELEASE): Set to "development".
6635 (VERSION): Set to "2.18.90".
6636 * NEWS: Add 2.19 section.
6638 2013-08-03 David S. Miller <davem@davemloft.net>
6640 * po/ko.po: Update Korean translation from translation project.
6642 2013-08-01 David S. Miller <davem@davemloft.net>
6644 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6645 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6648 2013-07-30 David S. Miller <davem@davemloft.net>
6650 * po/fr.po: Update French translation from translation project.
6652 2013-07-28 David S. Miller <davem@davemloft.net>
6654 * po/cs.po: Update Czech translation from translation project.
6656 * po/sv.po: Update Swedish translation from translation project.
6658 2013-07-27 David S. Miller <davem@davemloft.net>
6660 * po/eo.po: Update Esperanto translation from translation project.
6662 * po/vi.po: Update Vietnamese translation from translation project.
6664 * po/de.po: Update German translation from translation project.
6666 2013-07-26 David S. Miller <davem@davemloft.net>
6668 * po/bg.po: Update Bulgarian translation from translation project.
6670 * po/nl.po: Update Dutch translation from translation project.
6671 * po/pl.po: Update Polish translation from translation project.
6672 * po/ru.po: Update Russian translation from translation project.
6674 2013-07-24 David S. Miller <davem@davemloft.net>
6676 * po/libc.pot: Update.
6678 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6680 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6682 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6683 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6684 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6686 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6688 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6690 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6691 Andreas Schwab <schwab@suse.de>
6692 Roland McGrath <roland@hack.frob.com>
6693 Joseph Myers <joseph@codesourcery.com>
6694 Carlos O'Donell <carlos@redhat.com>
6697 * config.h.in: Define HAVE_PT_CHOWN.
6698 * config.make.in (build-pt-chown): New variable.
6699 * configure.in (--enable-pt_chown): New configure option.
6700 * configure: Regenerate.
6701 * login/Makefile: Include Makeconfig. Build pt_chown only if
6702 build-pt-chown is enabled.
6703 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6704 pt_chown to fix pty ownership.
6705 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6707 * manual/install.texi (Configuring and compiling): Mention
6708 --enable-pt_chown. Add @findex for grantpt.
6709 * INSTALL: Regenerate.
6711 2013-07-20 David S. Miller <davem@davemloft.net>
6713 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6714 difference between 32-bit and 64-bit.
6716 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6719 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6720 Avoid system header dependency with -ffreestanding.
6721 ($(objpfx)bits/syscall%d): Likewise.
6723 2013-07-13 David S. Miller <davem@davemloft.net>
6725 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6726 underflows from atanl/atan2l due to bug 15319.
6727 (casinh_test_data): Likewise.
6729 2013-07-07 David S. Miller <davem@davemloft.net>
6731 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6733 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6735 * sysdeps/i386/fpu/libm-test-ulps: Update.
6736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6738 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6740 * configure.in (--enable-lock-elision): Fix message text.
6741 * INSTALL: Regenerate.
6742 * configure: Regenerate.
6744 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6748 2013-07-03 Andreas Jaeger <aj@suse.de>
6750 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6752 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6753 (ptrace_peeksiginfo_args): Add.
6754 (__ptrace_peeksiginfo_flags): Add.
6755 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6756 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6757 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6759 2013-07-03 Allan McRae <allan@archlinux.org>
6761 * sysdeps/i386/fpu/libm-test-ulps: Update.
6763 2013-07-02 David S. Miller <davem@davemloft.net>
6765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6767 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6771 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6773 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6776 2013-07-02 Andi Kleen <ak@linux.intel.com>
6778 * config.h.in (ENABLE_LOCK_ELISION): Add.
6779 * configure.in (--enable-lock-elision): Add option.
6780 * manual/install.texi: Document --enable lock elision.
6781 * configure: Regenerate
6782 * INSTALL: Regenerate.
6784 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6786 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6787 SSE4.2 strcasecmp for libc.a.
6788 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6790 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6793 * soft-fp/op-common.h (_FP_FMA): New macro.
6794 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6795 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6796 (_FP_MUL_MEAT_1_imm): ... here.
6797 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6798 (_FP_MUL_MEAT_1_wide): ... here.
6799 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6800 (_FP_MUL_MEAT_1_hard): ... here.
6801 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6802 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6803 (_FP_MUL_MEAT_2_wide): ... here.
6804 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6805 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6806 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6807 (_FP_MUL_MEAT_2_gmp): ... here.
6808 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6809 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6810 (_FP_MUL_MEAT_4_wide): ... here.
6811 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6812 (_FP_MUL_MEAT_4_gmp): ... here.
6813 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6814 (_FP_WFRACBITS_DW_S): Likewise.
6815 (_FP_WFRACXBITS_DW_S): Likewise.
6816 (_FP_HIGHBIT_DW_S): Likewise.
6817 (FP_FMA_S): Likewise.
6818 (_FP_FRAC_HIGH_DW_S): Likewise.
6819 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6820 (_FP_WFRACBITS_DW_D): Likewise.
6821 (_FP_WFRACXBITS_DW_D): Likewise.
6822 (_FP_HIGHBIT_DW_D): Likewise.
6823 (FP_FMA_D): Likewise.
6824 (_FP_FRAC_HIGH_DW_D): Likewise.
6825 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6826 (_FP_WFRACBITS_DW_E): Likewise.
6827 (_FP_WFRACXBITS_DW_E): Likewise.
6828 (_FP_HIGHBIT_DW_E): Likewise.
6829 (FP_FMA_E): Likewise.
6830 (_FP_FRAC_HIGH_DW_E): Likewise.
6831 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6832 (_FP_WFRACBITS_DW_Q): Likewise.
6833 (_FP_WFRACXBITS_DW_Q): Likewise.
6834 (_FP_HIGHBIT_DW_Q): Likewise.
6835 (FP_FMA_Q): Likewise.
6836 (_FP_FRAC_HIGH_DW_Q): Likewise.
6837 * soft-fp/fmasf4.c: New file.
6838 * soft-fp/fmadf4.c: Likewise.
6839 * soft-fp/fmatf4.c: Likewise.
6841 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6844 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6846 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6848 (index_Slow_SSE4_2): Likewise.
6849 (index_Prefer_PMINUB_for_stringop): Likewise.
6850 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6851 bit_Slow_SSE4_2 is set.
6852 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6853 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6855 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6857 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6858 rtld_global._dl_hwcap2.
6859 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6861 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6862 POWER8 feature descriptions defined in _dl_hwcap2.
6863 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6864 string handling for POWER8 feature bits.
6865 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6866 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6867 _dl_powerpc_cap_flags.
6868 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6869 * sysdeps/powerpc/rtld-global-offsets.sym
6870 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6871 _dl_hwcap2 in the rtld_global_ro structure.
6873 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6875 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6876 hardware capabilities in support of AT_HWCAP2.
6877 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6878 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6880 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6881 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6882 explicitly the unknown a_type display mechanism is used.
6883 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6884 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6886 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6887 to macro prototype for AT_HWCAP2 support.
6888 * sysdeps/i386/dl-procinfo.h: Likewise.
6889 * sysdeps/s390/dl-procinfo.h: Likewise.
6890 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6891 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6892 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6893 return -1 for unknown a_type display fallback.
6894 * sysdeps/sparc/dl-procinfo.h: Likewise.
6895 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6896 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6898 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6900 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6901 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6903 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6906 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6907 mprotect making __stack_prot writable.
6909 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6910 Joseph Myers <joseph@codesourcery.com>
6912 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6913 as being properly aligned.
6915 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6917 * dlfcn/modstatic5.c: New file.
6918 * dlfcn/tststatic5.c: New file.
6919 * dlfcn/Makefile (tests): Add tststatic5.
6920 (tests-static): Likewise.
6921 (modules-names): Add modstatic5.
6922 (tststatic5-ENV): New variable.
6923 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6926 * elf/dl-support.c (_dl_main_map): New variable.
6927 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6928 (_dl_nns, _dl_load_adds): Set to 1.
6929 (_dl_initial_searchlist): Refer to _dl_main_map.
6930 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6931 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6932 call to _dl_get_origin.
6933 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6935 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6936 * dlfcn/modstatic3.c: New file.
6937 * dlfcn/tststatic3.c: New file.
6938 * dlfcn/tststatic4.c: New file.
6939 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6940 (tests-static): Likewise.
6941 (modules-names): Add modstatic3.
6942 (tststatic3-ENV, tststatic4-ENV): New variables.
6943 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6944 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6946 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6948 * configure.in (CC): Require GCC version 4.4 or later.
6949 * configure: Regenerated.
6950 * manual/install.texi (Tools for Compilation): Update GCC version
6952 * INSTALL: Regenerated.
6954 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6957 * string/test-memcmp.c (check2): New.
6958 (main): Call check2.
6960 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6962 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6965 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6967 (dl_open_worker) [!SHARED]: ... here.
6969 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6971 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6973 2013-06-25 Richard Henderson <rth@redhat.com>
6975 * locale/programs/locarchive.c: Include <libc-internal.h>
6977 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6979 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6980 trailing whitespace removed.
6982 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6985 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6986 * locale/programs/locarchive.c: Include libc-mmap.h.
6987 (prepare_address_space): Take two new outputs (the mmap base and len).
6988 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6990 (create_archive): Declare new mmap base and len values for
6991 prepare_address_space, and store the result in ah.
6992 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6993 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6994 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6995 Declare new mmap base and len values for
6996 prepare_address_space, and store the result in new_ah.
6997 (open_archive): Declare new mmap base and len values for
6998 prepare_address_space, and store the result in ah.
6999 (close_archive): If ah->mmap_base is not NULL, use that and
7000 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7001 * sysdeps/generic/libc-mmap.h: New file.
7003 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7005 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7006 (ALIGN_UP): Likewise.
7007 (PTR_ALIGN_DOWN): Likewise.
7008 (PTR_ALIGN_UP): Likewise.
7010 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7012 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7013 entry mapped to PPC_PLATFORM_POWER8.
7014 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7016 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7017 (_dl_string_platform): Add case for exporting platform position for
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7020 search path to sysdeps/powerpc/powerpc32/power8 directory.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7022 search path to sysdeps/powerpc/powerpc64/power8 directory.
7023 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7025 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7028 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7030 * INSTALL: Regenerate.
7032 * nscd/connections.c (nscd_init): Fix comment.
7034 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7036 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7039 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7040 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7042 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7044 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7046 (DL_DST_REQ_STATIC): Remove macro.
7048 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7051 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7052 with a shift of 0 bits.
7054 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7056 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7059 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7062 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7064 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7066 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7067 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7068 accepts -fno-tree-loop-distribute-patterns.
7069 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7070 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7072 * string/memset.c (memset): Likewise.
7073 * string/test-memmove.c (simple_memmove): Disable loop transformation
7075 * string/test-memset.c (simple_memset): Likewise.
7076 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7077 * benchtests/bench-memset.c (simple_memset): Likewise.
7078 * configure: Regenerated.
7080 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7082 * math/test-misc.c (main): Ignore fesetround failure when failures
7083 of subsequent rounding tests would be ignored.
7086 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7087 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7088 * math/fegetenv.c (__fegetenv): Return 0.
7089 * math/fegetexcept.c (fegetexcept): Return 0.
7090 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7092 * math/feholdexcpt.c (feholdexcept): Return 0.
7093 * math/fesetenv.c (__fesetenv): Return 0.
7094 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7095 argument FE_TONEAREST.
7096 * math/feupdateenv.c (__feupdateenv): Return 0.
7097 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7099 2013-06-18 Roland McGrath <roland@hack.frob.com>
7101 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7102 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7103 ($(objpfx)rtld-%.os rules): Use them.
7105 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7107 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7110 2013-06-17 Roland McGrath <roland@hack.frob.com>
7112 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7113 length of target pattern, then descending length of dependency pattern.
7114 * configure.in (AWK): Require gawk 3.1.2 or newer.
7115 * manual/install.texi (Tools for Compilation): Say that we do.
7116 * configure: Regenerated.
7118 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7119 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7120 * scripts/sysd-rules.awk: ... this new script.
7121 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7122 than a glob-style pattern.
7124 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7126 * math/test-misc.c (main): Do not treat incorrectly rounded
7127 conversions as failure unless ROUNDING_TESTS passes.
7129 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7132 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7133 restore exception state around main square root computation, then
7134 check for inexactness explicitly.
7136 * math/libm-test.inc (fma_test_data): Add another test.
7138 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7140 * manual/threads.texi (Non-POSIX Extensions): New document
7141 node. Document pthread_getattr_default_np and
7142 pthread_setattr_default_np.
7144 * Versions.def (libpthread): Add GLIBC_2.18.
7145 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7154 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7165 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7168 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7170 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7171 H.J. Lu <hjl.tools@gmail.com>
7174 * sysdeps/x86_64/rtld-memset.c: Remove file.
7175 * sysdeps/x86_64/rtld-memset.S: New file.
7177 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7179 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7180 (test_in_one_mode): Take arguments for whether the rounding mode
7181 is supported for each floating-point type.
7182 (do_test): Pass new arguments to test_in_one_mode using
7185 2013-06-13 Roland McGrath <roland@hack.frob.com>
7187 * posix/tst-waitid.c (do_test): Distinguish different instances of
7188 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7189 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7190 before entering the kernel for waitpid.
7192 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7194 * NEWS: Fix note on clock function precision. Text by Roland
7197 2013-06-13 Roland McGrath <roland@hack.frob.com>
7199 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7200 it into place only when and if the sanity check passes.
7202 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7204 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7205 output for whether conversion result is exact. Take argument
7206 indicating whether type is IBM long double.
7207 (round_for_all): Change need_exact field to ibm_ld.
7208 * stdlib/tst-strtod-round.c (struct exactness): New type.
7209 (struct test): Change bool ld_ok field to struct exactness exact.
7210 (TEST): Update all definitions for change to field.
7211 (tests): Regenerate array contents.
7212 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7213 field value. Check for IBM long double here.
7214 (do_test): Update calls to test_in_one_mode.
7216 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7219 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7220 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7222 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7225 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7226 generated by the compiler on loop optimizations.
7227 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7228 general definitions.
7230 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7232 * math/bug-nextafter.c: Include <math-tests.h>.
7233 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7235 * math/bug-nexttoward.c: Include <math-tests.h>.
7236 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7238 * math/test-misc.c: Include <math-tests.h>.
7239 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7242 2013-06-12 Andreas Jaeger <aj@suse.de>
7244 * po/ia.po: Update Interlingua translation from translation
7247 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7249 * include/fenv.h: Include stdbool.h.
7250 (struct rm_ctx): New structure.
7251 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7253 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7254 (SET_RESTORE_ROUNDF): Likewise.
7255 (SET_RESTORE_ROUNDL): Likewise.
7256 (SET_RESTORE_ROUND_NOEX): Likewise.
7257 (SET_RESTORE_ROUND_NOEXF): Likewise.
7258 (SET_RESTORE_ROUND_NOEXL): Likewise.
7259 (SET_RESTORE_ROUND_53BIT): Likewise.
7260 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7261 (libc_feresetround_noexf_ctx): Likewise.
7262 (libc_feresetround_noexl_ctx): Likewise.
7263 (libc_feholdsetround_53bit_ctx): Likewise.
7264 (libc_feresetround_53bit_ctx): Likewise.
7265 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7266 (libc_feholdexcept_setround_sse_ctx): New function.
7267 (libc_fesetenv_sse_ctx): Likewise.
7268 (libc_feupdateenv_sse_ctx): Likewise.
7269 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7270 (libc_feholdexcept_setround_387_ctx): Likewise.
7271 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7272 (libc_feholdsetround_387_prec_ctx): Likewise.
7273 (libc_feholdsetround_387_ctx): Likewise.
7274 (libc_feholdsetround_387_53bit_ctx): Likewise.
7275 (libc_feholdsetround_sse_ctx): Likewise.
7276 (libc_feresetround_sse_ctx): Likewise.
7277 (libc_feresetround_387_ctx): Likewise.
7278 (libc_feupdateenv_387_ctx): Likewise.
7279 (libc_feholdexcept_setroundf_ctx): Define macro.
7280 (libc_fesetenvf_ctx): Likewise.
7281 (libc_feupdateenvf_ctx): Likewise.
7282 (libc_feholdsetroundf_ctx): Likewise.
7283 (libc_feresetroundf_ctx): Likewise.
7284 (libc_feholdexcept_setround_ctx): Likewise.
7285 (libc_fesetenv_ctx): Likewise.
7286 (libc_feupdateenv_ctx): Likewise.
7287 (libc_feholdsetround_ctx): Likewise.
7288 (libc_feresetround_ctx): Likewise.
7289 (libc_feholdexcept_setroundl_ctx): Likewise.
7290 (libc_feupdateenvl_ctx): Likewise.
7291 (libc_feholdsetroundl_ctx): Likewise.
7292 (libc_feresetroundl_ctx): Likewise.
7293 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7294 (libc_feresetround_53bit_ctx): Likewise.
7296 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7298 * locale/iso-639.def: Convert to UTF-8.
7300 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7302 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7303 (EXCEPTION_TESTS_double): Likewise.
7304 (EXCEPTION_TESTS_long_double): Likewise.
7305 (EXCEPTION_TESTS): Likewise.
7306 * math/libm-test.inc (test_exceptions): Only test exceptions if
7307 EXCEPTION_TESTS (FLOAT).
7309 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7311 * benchtests/Makefile (string-bench): Add strcpy_chk and
7313 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7314 * benchtests/bench-stpcpy_chk.c: New file.
7315 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7316 * benchtests/bench-strcpy_chk.c: New file.
7317 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7319 (do_test): Likewise.
7321 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7323 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7324 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7325 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7326 with tabs where appropriate.
7327 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7329 [PPC_PLATFORM_PPC440]: Likewise.
7330 [PPC_PLATFORM_PPC464]: Likewise.
7331 [PPC_PLATFORM_PPC476]: Likewise.
7332 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7333 ppc464, and ppc476 platform strings merging from ports/
7336 2013-06-11 Andreas Schwab <schwab@suse.de>
7339 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7340 (from_ucs4_idx): Regenerate.
7341 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7342 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7343 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7344 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7345 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7346 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7347 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7348 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7349 from FROM_LOOP and TO_LOOP specific macros.
7350 (BODY): Handle combining characters.
7351 * iconvdata/BIG5HKSCS.irreversible: Update.
7352 * iconvdata/BIG5HKSCS.precomposed: New file.
7353 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7355 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7357 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7359 * include/sys/time.h: Fix indentation and add copyright header.
7361 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7362 (do_test): Likewise.
7363 * string/test-memchr.c (do_one_test): Likewise.
7364 (do_test): Likewise.
7365 * string/test-memcmp.c (do_one_test): Likewise.
7366 (do_test): Likewise.
7367 * string/test-memcpy.c (do_one_test): Likewise.
7368 (do_test): Likewise.
7369 * string/test-memmem.c (do_one_test): Likewise.
7370 (do_test): Likewise.
7371 (do_random_tests): Likewise.
7372 * string/test-memmove.c (do_one_test): Likewise.
7373 (do_test): Likewise.
7374 * string/test-memset.c (do_one_test): Likewise.
7375 (do_test): Likewise.
7376 * string/test-rawmemchr.c (do_one_test): Likewise.
7377 (do_test): Likewise.
7378 * string/test-strcasecmp.c (do_one_test): Likewise.
7379 (do_test): Likewise.
7380 * string/test-strcasestr.c (do_one_test): Likewise.
7381 (do_test): Likewise.
7382 * string/test-strcat.c (do_one_test): Likewise.
7383 (do_test): Likewise.
7384 * string/test-strchr.c (do_one_test): Likewise.
7385 (do_test): Likewise.
7386 * string/test-strcmp.c (do_one_test): Likewise.
7387 (do_test): Likewise.
7388 * string/test-strcpy.c (do_one_test): Likewise.
7389 (do_test): Likewise.
7390 * string/test-string.h: Likewise.
7391 (test_init): Likewise.
7392 * string/test-strlen.c (do_one_test): Likewise.
7393 (do_test): Likewise.
7394 * string/test-strncasecmp.c (do_one_test): Likewise.
7395 (do_test): Likewise.
7396 * string/test-strncat.c (do_one_test): Likewise.
7397 (do_test): Likewise.
7398 * string/test-strncmp.c (do_one_test): Likewise.
7399 (do_test_limit): Likewise.
7400 (do_test): Likewise.
7401 * string/test-strncpy.c (do_one_test): Likewise.
7402 (do_test): Likewise.
7403 * string/test-strnlen.c (do_one_test): Likewise.
7404 (do_test): Likewise.
7405 * string/test-strpbrk.c (do_one_test): Likewise.
7406 (do_test): Likewise.
7407 * string/test-strrchr.c (do_one_test): Likewise.
7408 (do_test): Likewise.
7409 * string/test-strspn.c (do_one_test): Likewise.
7410 (do_test): Likewise.
7411 * string/test-strstr.c (do_one_test): Likewise.
7412 (do_test): Likewise.
7414 * benchtests/Makefile (string-bench): Add string benchmarks.
7415 * benchtests/bench-bcopy-ifunc.c: New file.
7416 * benchtests/bench-bcopy.c: New file.
7417 * benchtests/bench-bzero-ifunc.c: New file.
7418 * benchtests/bench-bzero.c: New file.
7419 * benchtests/bench-memccpy-ifunc.c: New file.
7420 * benchtests/bench-memccpy.c: New file.
7421 * benchtests/bench-memchr-ifunc.c: New file.
7422 * benchtests/bench-memchr.c: New file.
7423 * benchtests/bench-memcmp-ifunc.c: New file.
7424 * benchtests/bench-memcmp.c: New file.
7425 * benchtests/bench-memmem-ifunc.c: New file.
7426 * benchtests/bench-memmem.c: New file.
7427 * benchtests/bench-memmove-ifunc.c: New file.
7428 * benchtests/bench-memmove.c: New file.
7429 * benchtests/bench-mempcpy-ifunc.c: New file.
7430 * benchtests/bench-mempcpy.c: New file.
7431 * benchtests/bench-memset-ifunc.c: New file.
7432 * benchtests/bench-memset.c: New file.
7433 * benchtests/bench-rawmemchr-ifunc.c: New file.
7434 * benchtests/bench-rawmemchr.c: New file.
7435 * benchtests/bench-stpcpy-ifunc.c: New file.
7436 * benchtests/bench-stpcpy.c: New file.
7437 * benchtests/bench-stpncpy-ifunc.c: New file.
7438 * benchtests/bench-stpncpy.c: New file.
7439 * benchtests/bench-strcasecmp-ifunc.c: New file.
7440 * benchtests/bench-strcasecmp.c: New file.
7441 * benchtests/bench-strcasestr-ifunc.c: New file.
7442 * benchtests/bench-strcasestr.c: New file.
7443 * benchtests/bench-strcat-ifunc.c: New file.
7444 * benchtests/bench-strcat.c: New file.
7445 * benchtests/bench-strchr-ifunc.c: New file.
7446 * benchtests/bench-strchr.c: New file.
7447 * benchtests/bench-strchrnul-ifunc.c: New file.
7448 * benchtests/bench-strchrnul.c: New file.
7449 * benchtests/bench-strcmp-ifunc.c: New file.
7450 * benchtests/bench-strcmp.c: New file.
7451 * benchtests/bench-strcpy-ifunc.c: New file.
7452 * benchtests/bench-strcpy.c: New file.
7453 * benchtests/bench-strcspn-ifunc.c: New file.
7454 * benchtests/bench-strcspn.c: New file.
7455 * benchtests/bench-strlen-ifunc.c: New file.
7456 * benchtests/bench-strlen.c: New file.
7457 * benchtests/bench-strncasecmp-ifunc.c: New file.
7458 * benchtests/bench-strncasecmp.c: New file.
7459 * benchtests/bench-strncat-ifunc.c: New file.
7460 * benchtests/bench-strncat.c: New file.
7461 * benchtests/bench-strncmp-ifunc.c: New file.
7462 * benchtests/bench-strncmp.c: New file.
7463 * benchtests/bench-strncpy-ifunc.c: New file.
7464 * benchtests/bench-strncpy.c: New file.
7465 * benchtests/bench-strnlen-ifunc.c: New file.
7466 * benchtests/bench-strnlen.c: New file.
7467 * benchtests/bench-strpbrk-ifunc.c: New file.
7468 * benchtests/bench-strpbrk.c: New file.
7469 * benchtests/bench-strrchr-ifunc.c: New file.
7470 * benchtests/bench-strrchr.c: New file.
7471 * benchtests/bench-strspn-ifunc.c: New file.
7472 * benchtests/bench-strspn.c: New file.
7473 * benchtests/bench-strstr-ifunc.c: New file.
7474 * benchtests/bench-strstr.c: New file.
7476 * benchtests/Makefile: Disable parallel execution of targets.
7477 (string-bench): Add memcpy.
7478 (benchset): New variable to store a list of benchmark sets.
7479 (bench-func): Renamed from bench.
7480 (bench-set): New target.
7481 (bench): Depend on bench-func and bench-set.
7482 * benchtests/README: Add section on benchmark sets.
7483 * benchtests/bench-memcpy-ifunc.c: New file.
7484 * benchtests/bench-memcpy.c: New file.
7485 * benchtests/bench-string.h: New file.
7487 2013-06-11 Andreas Schwab <schwab@suse.de>
7490 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7491 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7492 values in the triple.
7493 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7494 terminator in the group key.
7496 2013-06-11 Andreas Jaeger <aj@suse.de>
7498 * po/zh_TW.po: Update Chinese (traditional) translation from
7499 translation project.
7501 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7503 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7504 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7505 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7506 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7507 (clock_getcpuclockid): Likewise.
7508 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7509 Add weak_alias and libc_hidden_def.
7510 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7511 * rt/clock_gettime.c (clock_gettime): Rename to
7512 __clock_gettime. Add weak_alias and libc_hidden_def.
7513 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7514 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7515 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7516 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7517 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7519 * rt/clock_settime.c (clock_settime): Rename to
7520 __clock_settime. Add weak_alias and libc_hidden_def.
7521 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7523 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7525 * mach/err_boot.sub: Remove trailing whitespace.
7526 * mach/err_ipc.sub: Likewise.
7527 * mach/err_mach.sub: Likewise.
7529 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7530 (ROUNDING_TESTS_double): Likewise.
7531 (ROUNDING_TESTS_long_double): Likewise.
7532 (ROUNDING_TESTS): Likewise.
7533 * math/libm-test.inc: Include <math-tests.h>.
7534 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7535 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7536 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7537 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7539 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7541 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7544 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7546 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7547 otherwise empty TRANS lines.
7548 * sysdeps/gnu/errlist.c: Regenerated.
7550 * catgets/gencat.c (error_print): Use (void) in function
7552 * crypt/crypt_util.c (__init_des): Likewise.
7553 * crypt/speeds.c (Stop): Likewise.
7555 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7556 * inet/ruserpass.c (token): Likewise.
7557 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7558 * intl/localealias.c (extend_alias_table): Likewise.
7559 * intl/plural-exp.c (init_germanic_plural): Likewise.
7560 * libio/fcloseall.c (__fcloseall): Likewise.
7561 * libio/genops.c (_IO_flush_all): Likewise.
7562 (_IO_flush_all_linebuffered): Likewise.
7563 (_IO_cleanup): Likewise.
7564 (_IO_iter_begin): Likewise.
7565 (_IO_iter_end): Likewise.
7566 (_IO_list_lock): Likewise.
7567 (_IO_list_unlock): Likewise.
7568 (_IO_list_resetlock): Likewise.
7569 * libio/getchar.c (getchar): Likewise.
7570 * libio/getchar_u.c (getchar_unlocked): Likewise.
7571 * libio/getwchar.c (getwchar): Likewise.
7572 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7573 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7574 * login/getpt.c (__getpt): Likewise.
7575 * login/tst-utmp.c (main): Likewise.
7576 * malloc/hooks.c (__malloc_check_init): Likewise.
7577 * malloc/malloc.c (__malloc_stats): Likewise.
7578 * malloc/mtrace.c (tr_break): Likewise.
7580 (muntrace): Likewise.
7581 * misc/fstab.c (endfsent): Likewise.
7582 * misc/getclktck.c (__getclktck): Likewise.
7583 * misc/getdtsz.c (__getdtablesize): Likewise.
7584 * misc/gethostid.c (gethostid): Likewise.
7585 * misc/getpagesize.c (__getpagesize): Likewise.
7586 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7587 (__get_nprocs): Likewise.
7588 (__get_phys_pages): Likewise.
7589 (__get_avphys_pages): Likewise.
7590 * misc/getttyent.c (getttyent): Likewise.
7591 (setttyent): Likewise.
7592 (endttyent): Likewise.
7593 * misc/getusershell.c (getusershell): Likewise.
7594 (endusershell): Likewise.
7595 (setusershell): Likewise.
7596 (initshells): Likewise.
7597 * misc/hsearch.c (__hdestroy): Likewise.
7598 * misc/sync.c (sync): Likewise.
7599 * misc/syslog.c (closelog_internal): Likewise.
7600 (closelog): Likewise.
7601 * misc/ttyslot.c (ttyslot): Likewise.
7602 * misc/vhangup.c (vhangup): Likewise.
7603 * posix/fork.c (__fork): Likewise.
7604 * posix/getegid.c (__getegid): Likewise.
7605 * posix/geteuid.c (__geteuid): Likewise.
7606 * posix/getgid.c (__getgid): Likewise.
7607 * posix/getpid.c (__getpid): Likewise.
7608 * posix/getppid.c (__getppid): Likewise.
7609 * posix/getuid.c (__getuid): Likewise.
7610 * posix/pause.c (pause): Likewise.
7611 * posix/setpgrp.c (setpgrp): Likewise.
7612 * posix/setsid.c (__setsid): Likewise.
7613 * posix/test-vfork.c (noop): Likewise.
7614 * resolv/gethnamaddr.c (_endhtent): Likewise.
7615 (_gethtent): Likewise.
7616 (ht_endhostent): Likewise.
7617 (gethostent): Likewise.
7618 (dns_service): Likewise.
7619 * stdlib/drand48.c (drand48): Likewise.
7620 * stdlib/lrand48.c (lrand48): Likewise.
7621 * stdlib/mrand48.c (mrand48): Likewise.
7622 * stdlib/rand.c (rand): Likewise.
7623 * stdlib/random.c (__random): Likewise.
7624 * stdlib/setenv.c (clearenv): Likewise.
7625 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7626 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7627 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7628 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7629 (__get_nprocs): Likewise.
7630 (__get_phys_pages): Likewise.
7631 (__get_avphys_pages): Likewise.
7632 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7633 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7634 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7635 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7636 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7637 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7638 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7639 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7640 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7641 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7642 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7643 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7644 * sysdeps/posix/clock.c (clock): Likewise.
7645 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7646 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7647 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7648 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7649 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7650 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7651 (__get_nprocs_conf): Likewise.
7652 (__get_phys_pages): Likewise.
7653 (__get_avphys_pages): Likewise.
7654 * time/clock.c (clock): Likewise.
7655 * time/tzset.c (__tzname_max): Likewise.
7657 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7659 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7660 (__bswap_32): Do not use "register".
7661 * crypt/crypt.c (_ufc_doit_r): Likewise.
7662 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7663 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7664 * gmon/gmon.c (__monstartup): Likewise.
7665 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7666 * hurd/hurdmalloc.c (more_memory): Likewise.
7669 (realloc): Likewise.
7670 (malloc_fork_prepare): Likewise.
7671 (malloc_fork_parent): Likewise.
7672 (malloc_fork_child): Likewise.
7673 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7674 (_svcauth_des): Likewise.
7675 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7676 * inet/inet_net.c (inet_network): Likewise.
7677 * inet/inet_netof.c (inet_netof): Likewise.
7678 * inet/rcmd.c (__validuser2_sa): Likewise.
7679 * io/fts.c (fts_open): Likewise.
7680 (fts_load): Likewise.
7681 (fts_close): Likewise.
7682 (fts_read): Likewise.
7683 (fts_children): Likewise.
7684 (fts_build): Likewise.
7685 (fts_stat): Likewise.
7686 (fts_sort): Likewise.
7687 (fts_alloc): Likewise.
7688 (fts_lfree): Likewise.
7689 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7690 (_IO_file_xsgetn): Likewise.
7691 (_IO_file_xsgetn_mmap): Likewise.
7692 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7693 (_IO_cookie_write): Likewise.
7694 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7695 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7696 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7697 * malloc/obstack.c (_obstack_begin): Likewise.
7698 (_obstack_begin_1): Likewise.
7699 (_obstack_newchunk): Likewise.
7700 (_obstack_allocated_p): Likewise.
7701 (obstack_free): Likewise.
7702 (_obstack_memory_used): Likewise.
7703 * misc/getttyent.c (getttynam): Likewise.
7704 (getttyent): Likewise.
7707 * misc/getusershell.c (initshells): Likewise.
7708 * misc/syslog.c (__vsyslog_chk): Likewise.
7709 * misc/ttyslot.c (ttyslot): Likewise.
7710 * nis/nis_hash.c (__nis_hash): Likewise.
7711 * posix/fnmatch_loop.c (FCT): Likewise.
7712 * posix/getconf.c (print_all): Likewise.
7714 * posix/getopt.c (exchange): Likewise.
7715 * posix/glob.c (globfree): Likewise.
7716 (prefix_array): Likewise.
7717 (__glob_pattern_type): Likewise.
7718 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7719 (NS_GET32): Likewise.
7720 (NS_PUT16): Likewise.
7721 (NS_PUT32): Likewise.
7722 * resolv/gethnamaddr.c (getanswer): Likewise.
7723 (gethostbyname2): Likewise.
7724 (gethostbyaddr): Likewise.
7725 (_gethtent): Likewise.
7726 (_gethtbyname2): Likewise.
7727 (_gethtbyaddr): Likewise.
7728 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7729 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7730 * resolv/res_init.c (__res_vinit): Likewise.
7731 (net_mask): Likewise.
7732 * resolv/res_mkquery.c (outchar): Likewise.
7734 * stdio-common/printf_fp.c (outchar): Likewise.
7736 * stdio-common/printf_fphex.c (outchar): Likewise.
7738 * stdio-common/printf_size.c (outchar): Likewise.
7740 * stdio-common/test_rdwr.c (main): Likewise.
7741 * stdio-common/tfformat.c (matches): Likewise.
7742 * stdio-common/vfprintf.c (outchar): Likewise.
7743 (printf_unknown): Likewise.
7744 (buffered_vfprintf): Likewise.
7745 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7746 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7747 (ReadFile): Likewise.
7748 * stdlib/qsort.c (SWAP): Likewise.
7749 (_quicksort): Likewise.
7750 * stdlib/setenv.c (__add_to_environ): Likewise.
7751 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7752 * stdlib/strtol_l.c (__strtol_l): Likewise.
7753 * stdlib/tst-strtod.c (main): Likewise.
7754 * stdlib/tst-strtol.c (main): Likewise.
7755 * stdlib/tst-strtoll.c (main): Likewise.
7756 * string/bits/string2.h (__strcmp_cc): Likewise.
7757 (__strcmp_cg): Likewise.
7758 (__strcspn_c1): Likewise.
7759 (__strcspn_c2): Likewise.
7760 (__strcspn_c3): Likewise.
7761 (__strspn_c1): Likewise.
7762 (__strspn_c2): Likewise.
7763 (__strspn_c3): Likewise.
7764 (__strsep_1c): Likewise.
7765 (__strsep_2c): Likewise.
7766 (__strsep_3c): Likewise.
7767 * string/memccpy.c (__memccpy): Likewise.
7768 * string/stpcpy.c (__stpcpy): Likewise.
7769 * string/strcmp.c (strcmp): Likewise.
7770 * string/strrchr.c (strrchr): Likewise.
7771 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7773 * sysdeps/mach/hurd/getcwd.c
7774 (_hurd_canonicalize_directory_name_internal): Likewise.
7775 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7776 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7777 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7778 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7779 Likewise, in both definitions.
7780 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7782 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7783 64] (__bswap_64): Likewise.
7784 * time/test_time.c (main): Likewise.
7785 * time/tzfile.c (__tzfile_read): Likewise.
7786 (__tzfile_compute): Likewise.
7787 * time/tzset.c (__tzset_parse_tz): Likewise.
7788 (tzset_internal): Likewise.
7789 (compute_change): Likewise.
7790 * wcsmbs/wcscat.c (__wcscat): Likewise.
7791 * wcsmbs/wcschr.c (wcschr): Likewise.
7792 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7793 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7794 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7795 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7796 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7797 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7798 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7799 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7800 * wcsmbs/wmemset.c (wmemset): Likewise.
7802 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7804 * scripts/config.guess: Update to version 2013-05-16.
7805 * scripts/config.sub: Update to version 2013-04-24.
7806 * scripts/install-sh: Update to version 2011-11-20.07.
7807 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7808 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7810 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7812 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7813 * elf/sln.c: Likewise.
7814 * hurd/hurd/ioctl.h: Likewise.
7815 * hurd/hurdmalloc.c: Likewise.
7816 * hurd/xattr.c: Likewise.
7817 * include/shlib-compat.h: Likewise.
7818 * inet/ruserpass.c: Likewise.
7819 * libio/iofgets_u.c: Likewise.
7820 * libio/iofgetws_u.c: Likewise.
7821 * locale/programs/ld-identification.c: Likewise.
7822 * locale/programs/ld-time.c: Likewise.
7823 * mach/msg-destroy.c: Likewise.
7824 * nss/nss_files/files-netgrp.c: Likewise.
7825 * resolv/res_data.c: Likewise.
7826 * soft-fp/op-1.h: Likewise.
7827 * soft-fp/op-2.h: Likewise.
7828 * soft-fp/op-4.h: Likewise.
7829 * soft-fp/op-common.h: Likewise.
7830 * stdio-common/printf_fphex.c: Likewise.
7831 * stdlib/strtod_l.c: Likewise.
7832 * sunrpc/rpc/clnt.h: Likewise.
7833 * sysdeps/generic/framestate.c: Likewise.
7834 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7835 * sysdeps/i386/bsd-setjmp.S: Likewise.
7836 * sysdeps/i386/__longjmp.S: Likewise.
7837 * sysdeps/i386/setjmp.S: Likewise.
7838 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7839 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7856 * sysdeps/ieee754/support.c: Likewise.
7857 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7858 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7859 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7860 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7861 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7862 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7863 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7864 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7865 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7866 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7867 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7868 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7869 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7870 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7871 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7872 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7873 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7876 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7878 * posix/transbug.c: Remove executable mode.
7880 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7882 * crypt/speeds.c: Remove trailing whitespace.
7883 * dlfcn/default.c: Likewise.
7884 * elf/ifuncdep2.c: Likewise.
7885 * elf/ifuncmain1.c: Likewise.
7886 * elf/ifuncmain1vis.c: Likewise.
7887 * elf/testobj.h: Likewise.
7888 * elf/tst-stackguard1.c: Likewise.
7889 * gmon/sys/gmon.h: Likewise.
7890 * hurd/hurdmsg.c: Likewise.
7891 * hurd/new-fd.c: Likewise.
7892 * hurd/ports-get.c: Likewise.
7893 * iconvdata/ibm1008_420.c: Likewise.
7894 * inet/tst-getni1.c: Likewise.
7895 * inet/tst-getni2.c: Likewise.
7896 * libio/ioungetc.c: Likewise.
7897 * libio/wfiledoalloc.c: Likewise.
7898 * manual/libm-err-tab.pl: Likewise.
7899 * math/w_dremf.c: Likewise.
7900 * misc/ftruncate.c: Likewise.
7901 * posix/bug-glob2.c: Likewise.
7902 * posix/tst-pcre.c: Likewise.
7903 * posix/wait4.c: Likewise.
7904 * resolv/README: Likewise.
7905 * resolv/res_debug.h: Likewise.
7906 * resolv/tst-inet_ntop.c: Likewise.
7907 * setjmp/bug269-setjmp.c: Likewise.
7908 * soft-fp/extended.h: Likewise.
7909 * soft-fp/op-1.h: Likewise.
7910 * soft-fp/op-2.h: Likewise.
7911 * soft-fp/op-4.h: Likewise.
7912 * soft-fp/op-8.h: Likewise.
7913 * soft-fp/testit.c: Likewise.
7914 * stdio-common/bug16.c: Likewise.
7915 * stdlib/random.c: Likewise.
7916 * sunrpc/rpcsvc/rquota.x: Likewise.
7917 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7918 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7919 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7920 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7921 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7922 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7923 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7924 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7925 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7926 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7927 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7928 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7929 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7930 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7931 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7932 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7933 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7934 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7935 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7936 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7937 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7938 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7939 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7940 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7941 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7942 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7943 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7944 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7946 * sysdeps/ieee754/s_lib_version.c: Likewise.
7947 * sysdeps/mach/hurd/check_fds.c: Likewise.
7948 * sysdeps/mach/hurd/getsockname.c: Likewise.
7949 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7950 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7951 * sysdeps/powerpc/bits/link.h: Likewise.
7952 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7953 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7954 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7955 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7956 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7957 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7958 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7959 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7960 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7961 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7962 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7963 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7964 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7965 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7966 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7967 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7968 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7969 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7970 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7971 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7972 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7973 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7974 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7975 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7976 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7977 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7978 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7979 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7980 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7981 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7982 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7983 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7984 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7985 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7986 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7987 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7988 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7989 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7990 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7991 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7992 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7993 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7994 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7995 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7996 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7997 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7998 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7999 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8000 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8001 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8002 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8004 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8005 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8006 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8007 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8008 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8009 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8010 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8011 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8012 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8013 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8014 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8015 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8016 * sysdeps/powerpc/sysdep.h: Likewise.
8017 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8018 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8019 * sysdeps/sh/dl-trampoline.S: Likewise.
8020 * sysdeps/sh/memset.S: Likewise.
8021 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8022 * sysdeps/sh/strlen.S: Likewise.
8023 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8024 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8025 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8026 * sysdeps/sparc/sparc32/rem.S: Likewise.
8027 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8028 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8029 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8030 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8031 * sysdeps/sparc/sparc32/urem.S: Likewise.
8032 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8033 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8034 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8035 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8036 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8037 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8038 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8039 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8040 * sysdeps/unix/bsd/times.c: Likewise.
8041 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8042 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8046 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8047 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8048 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8049 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8050 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8051 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8052 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8053 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8054 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8055 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8056 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8057 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8058 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8059 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8060 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8061 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8062 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8063 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8064 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8065 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8066 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8067 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8068 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8069 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8070 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8071 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8072 * sysdeps/x86_64/strcspn.S: Likewise.
8074 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8076 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8077 generated file. Regenerate properly from gen-translit.pl.
8078 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8079 locale/C-translit.h.
8081 2013-06-05 Andreas Schwab <schwab@suse.de>
8084 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8085 week as 6 instead of -1.
8086 * time/tst-strptime.c (day_tests): Add test case.
8088 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8090 * sysdeps/generic/math_private.h
8091 (libc_feholdexcept_setround_53bit): Replace with
8092 libc_feholdsetround_53bit.
8093 (libc_feupdateenv_53bit): Replace with
8094 libc_feresetround_53bit.
8095 (SET_RESTORE_ROUND_53BIT): Adjust.
8097 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8099 * string/test-strchrnul.c: Add copyright header.
8101 * posix/tst-getaddrinfo4.c: Increase test timeout.
8103 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8106 * math/libm-test.inc (MAX_EXP): Remove
8108 (ulp): Use MIN_EXP - MANT_DIG.
8109 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8111 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8113 * po/be.po: Revert last change.
8114 * po/zh_CN.po: Likewise.
8115 * po/header.pot: Likewise.
8117 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8119 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8120 link-libc-deps to empty as target-specific variable.
8121 * Makerules (link-libc-args): New variable.
8122 (libc-for-link): Likewise.
8123 (link-libc-deps): Likewise.
8124 (lib%.so): Depend on $(link-libc-deps). Link with
8126 (build-module): Link with $(link-libc-args).
8127 (build-module-asneeded): Likewise.
8128 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8130 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8131 target-specific variable.
8132 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8133 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8134 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8136 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8138 ($(objpfx)libpcprofile.so): Likewise.
8139 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8141 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8142 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8143 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8145 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8146 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8147 * login/Makefile ($(objpfx)libutil.so): Likewise.
8148 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8149 * math/Makefile ($(objpfx)libm.so): Likewise.
8150 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8151 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8152 variable instead of depending directly on libc.
8153 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8154 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8156 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8158 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8159 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8160 ($(objpfx)libanl.so): Likewise.
8161 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8163 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8165 * sysdeps/i386/fpu/Makefile: Remove file.
8166 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8167 ($(objpfx)libm.so): Remove dependency on ld.so.
8169 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8172 * nis/yp_xdr.c (XDRMAXNAME): Define.
8173 (XDRMAXRECORD): Define.
8174 (xdr_domainname): Use XDRMAXNAME.
8175 (xdr_mapname): Likewise.
8176 (xdr_peername): Likewise.
8177 (xdr_keydat): Use XDRMAXRECORD.
8178 (xdr_valdat): Likewise.
8180 2013-05-30 Jeff Law <law@redhat.com>
8183 * manual/errno.texi (ESTALE): Update to account for more than
8184 just NFS file systems.
8185 * sysdeps/gnu/errlist.c: Regenerated.
8187 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8190 * elf/Makefile (tests): Add tst-null-argv.
8191 (modules-names): Add tst-null-argv-lib.
8192 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8193 (tst-null-argv-ENV): Set environment for tst-null-argv.
8194 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8195 (RTLD_PROGNAME): New macro.
8196 * elf/tst-null-argv.c: New test case.
8197 * elf/tst-null-argv-lib.c: Library for test case.
8198 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8199 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8200 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8201 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8202 * elf/dl-init.c (call_init): Likewise.
8203 (_dl_init): Likewise.
8204 * elf/dl-load.c (print_search_path): Likewise.
8205 (_dl_map_object): Likewise.
8206 * elf/dl-lookup.c (do_lookup_x): Likewise.
8207 (add_dependency): Likewise.
8208 (_dl_lookup_symbol_x): Likewise.
8209 (_dl_debug_bindings): Likewise.
8210 * elf/dl-open.c (_dl_show_scope): Likewise.
8211 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8212 * elf/dl-version.c (match_symbol): Likewise.
8213 (_dl_check_map_versions): Likewise.
8214 * elf/rtld.c (dl_main): Likewise.
8215 (print_unresolved): Use RTLD_PROGNAME.
8216 (print_missing_version): Likewise.
8217 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8218 (elf_machine_rela): Likewise.
8219 * sysdeps/powerpc/powerpc32/dl-machine.c
8220 (__process_machine_rela): Likewise.
8221 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8223 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8225 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8227 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8228 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8234 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8236 * po/be.po: Add descriptive title.
8237 * po/zh_CN.po: Likewise.
8238 * po/header.pot: Likewise.
8240 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8242 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8244 (enlarge_archive): Likewise.
8246 2013-05-28 Ben North <ben@redfrontdoor.org>
8248 * manual/arith.texi (frexp): It is the magnitude of the return
8249 value which lies in [0.5, 1), not the return value itself.
8251 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8255 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8257 * stdio-common/bug26.c (main): Correct fscanf template.
8259 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8260 declare _dl_skip_args.
8262 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8265 * manual/platform.texi: Add missing @end deftypefun.
8267 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8270 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8271 bit of mantissa of 2^16382.
8272 * math/libm-test.inc (hypot_test_data): Add more tests.
8274 * math/libm-test.inc: Add drem and pow10 to list of tested
8276 (pow10_test): New function.
8277 (drem_test): Likewise.
8278 (drem_test_tonearest): Likewise.
8279 (drem_test_towardzero): Likewise.
8280 (drem_test_downward): Likewise.
8281 (drem_test_upward): Likewise.
8282 (main): Call the new functions.
8284 * math/libm-test.inc (finite_test_data): Remove.
8285 (finite_test): Run tests from isfinite_test_data.
8286 (gamma_test_data): Remove.
8287 (gamma_test): Run tests from lgamma_test_data.
8288 * sysdeps/i386/fpu/libm-test-ulps: Update.
8289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8291 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8293 * manual/platform.texi: Add PowerPC PPR function set documentation.
8294 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8297 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8299 * math/libm-test.inc (MAX_EXP): Define.
8301 (ulp): New function.
8302 (check_float_internal): Use ULPDIFF.
8303 (cpow_test): Disable failing test.
8304 (check_ulp): Test ulp() implemetnation.
8305 (main): Call check_ulp before starting tests.
8307 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8309 * math/gen-libm-test.pl (generate_testfile): Do not handle
8310 START_DATA and END_DATA.
8311 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8313 (acos_tonearest_test_data): Likewise.
8314 (acos_towardzero_test_data): Likewise.
8315 (acos_downward_test_data): Likewise.
8316 (acos_upward_test_data): Likewise.
8317 (acosh_test_data): Likewise.
8318 (asin_test_data): Likewise.
8319 (asin_tonearest_test_data): Likewise.
8320 (asin_towardzero_test_data): Likewise.
8321 (asin_downward_test_data): Likewise.
8322 (asin_upward_test_data): Likewise.
8323 (asinh_test_data): Likewise.
8324 (atan_test_data): Likewise.
8325 (atanh_test_data): Likewise.
8326 (atan2_test_data): Likewise.
8327 (cabs_test_data): Likewise.
8328 (cacos_test_data): Likewise.
8329 (cacosh_test_data): Likewise.
8330 (carg_test_data): Likewise.
8331 (casin_test_data): Likewise.
8332 (casinh_test_data): Likewise.
8333 (catan_test_data): Likewise.
8334 (catanh_test_data): Likewise.
8335 (cbrt_test_data): Likewise.
8336 (ccos_test_data): Likewise.
8337 (ccosh_test_data): Likewise.
8338 (ceil_test_data): Likewise.
8339 (cexp_test_data): Likewise.
8340 (cimag_test_data): Likewise.
8341 (clog_test_data): Likewise.
8342 (clog10_test_data): Likewise.
8343 (conj_test_data): Likewise.
8344 (copysign_test_data): Likewise.
8345 (cos_test_data): Likewise.
8346 (cos_tonearest_test_data): Likewise.
8347 (cos_towardzero_test_data): Likewise.
8348 (cos_downward_test_data): Likewise.
8349 (cos_upward_test_data): Likewise.
8350 (cosh_test_data): Likewise.
8351 (cosh_tonearest_test_data): Likewise.
8352 (cosh_towardzero_test_data): Likewise.
8353 (cosh_downward_test_data): Likewise.
8354 (cosh_upward_test_data): Likewise.
8355 (cpow_test_data): Likewise.
8356 (cproj_test_data): Likewise.
8357 (creal_test_data): Likewise.
8358 (csin_test_data): Likewise.
8359 (csinh_test_data): Likewise.
8360 (csqrt_test_data): Likewise.
8361 (ctan_test_data): Likewise.
8362 (ctan_tonearest_test_data): Likewise.
8363 (ctan_towardzero_test_data): Likewise.
8364 (ctan_downward_test_data): Likewise.
8365 (ctan_upward_test_data): Likewise.
8366 (ctanh_test_data): Likewise.
8367 (ctanh_tonearest_test_data): Likewise.
8368 (ctanh_towardzero_test_data): Likewise.
8369 (ctanh_downward_test_data): Likewise.
8370 (ctanh_upward_test_data): Likewise.
8371 (erf_test_data): Likewise.
8372 (erfc_test_data): Likewise.
8373 (exp_test_data): Likewise.
8374 (exp_tonearest_test_data): Likewise.
8375 (exp_towardzero_test_data): Likewise.
8376 (exp_downward_test_data): Likewise.
8377 (exp_upward_test_data): Likewise.
8378 (exp10_test_data): Likewise.
8379 (exp2_test_data): Likewise.
8380 (expm1_test_data): Likewise.
8381 (fabs_test_data): Likewise.
8382 (fdim_test_data): Likewise.
8383 (finite_test_data): Likewise.
8384 (floor_test_data): Likewise.
8385 (fma_test_data): Likewise.
8386 (fma_towardzero_test_data): Likewise.
8387 (fma_downward_test_data): Likewise.
8388 (fma_upward_test_data): Likewise.
8389 (fmax_test_data): Likewise.
8390 (fmin_test_data): Likewise.
8391 (fmod_test_data): Likewise.
8392 (fpclassify_test_data): Likewise.
8393 (frexp_test_data): Likewise.
8394 (gamma_test_data): Likewise.
8395 (hypot_test_data): Likewise.
8396 (ilogb_test_data): Likewise.
8397 (isfinite_test_data): Likewise.
8398 (isgreater_test_data): Likewise.
8399 (isgreaterequal_test_data): Likewise.
8400 (isinf_test_data): Likewise.
8401 (isless_test_data): Likewise.
8402 (islessequal_test_data): Likewise.
8403 (islessgreater_test_data): Likewise.
8404 (isnan_test_data): Likewise.
8405 (isnormal_test_data): Likewise.
8406 (issignaling_test_data): Likewise.
8407 (isunordered_test_data): Likewise.
8408 (j0_test_data): Likewise.
8409 (j1_test_data): Likewise.
8410 (jn_test_data): Likewise.
8411 (ldexp_test_data): Likewise.
8412 (lgamma_test_data): Likewise.
8413 (lrint_test_data): Likewise.
8414 (lrint_tonearest_test_data): Likewise.
8415 (lrint_towardzero_test_data): Likewise.
8416 (lrint_downward_test_data): Likewise.
8417 (lrint_upward_test_data): Likewise.
8418 (llrint_test_data): Likewise.
8419 (llrint_tonearest_test_data): Likewise.
8420 (llrint_towardzero_test_data): Likewise.
8421 (llrint_downward_test_data): Likewise.
8422 (llrint_upward_test_data): Likewise.
8423 (log_test_data): Likewise.
8424 (log10_test_data): Likewise.
8425 (log1p_test_data): Likewise.
8426 (log2_test_data): Likewise.
8427 (logb_test_data): Likewise.
8428 (logb_downward_test_data): Likewise.
8429 (lround_test_data): Likewise.
8430 (llround_test_data): Likewise.
8431 (modf_test_data): Likewise.
8432 (nearbyint_test_data): Likewise.
8433 (nextafter_test_data): Likewise.
8434 (nexttoward_test_data): Likewise.
8435 (pow_test_data): Likewise.
8436 (pow_tonearest_test_data): Likewise.
8437 (pow_towardzero_test_data): Likewise.
8438 (pow_downward_test_data): Likewise.
8439 (pow_upward_test_data): Likewise.
8440 (remainder_test_data): Likewise.
8441 (remainder_tonearest_test_data): Likewise.
8442 (remainder_towardzero_test_data): Likewise.
8443 (remainder_downward_test_data): Likewise.
8444 (remainder_upward_test_data): Likewise.
8445 (remquo_test_data): Likewise.
8446 (rint_test_data): Likewise.
8447 (rint_tonearest_test_data): Likewise.
8448 (rint_towardzero_test_data): Likewise.
8449 (rint_downward_test_data): Likewise.
8450 (rint_upward_test_data): Likewise.
8451 (round_test_data): Likewise.
8452 (scalb_test_data): Likewise.
8453 (scalbn_test_data): Likewise.
8454 (scalbln_test_data): Likewise.
8455 (signbit_test_data): Likewise.
8456 (sin_test_data): Likewise.
8457 (sin_tonearest_test_data): Likewise.
8458 (sin_towardzero_test_data): Likewise.
8459 (sin_downward_test_data): Likewise.
8460 (sin_upward_test_data): Likewise.
8461 (sincos_test_data): Likewise.
8462 (sinh_test_data): Likewise.
8463 (sinh_tonearest_test_data): Likewise.
8464 (sinh_towardzero_test_data): Likewise.
8465 (sinh_downward_test_data): Likewise.
8466 (sinh_upward_test_data): Likewise.
8467 (sqrt_test_data): Likewise.
8468 (tan_test_data): Likewise.
8469 (tan_tonearest_test_data): Likewise.
8470 (tan_towardzero_test_data): Likewise.
8471 (tan_downward_test_data): Likewise.
8472 (tan_upward_test_data): Likewise.
8473 (tanh_test_data): Likewise.
8474 (tgamma_test_data): Likewise.
8475 (trunc_test_data): Likewise.
8476 (y0_test_data): Likewise.
8477 (y1_test_data): Likewise.
8478 (yn_test_data): Likewise.
8479 (significand_test_data): Likewise.
8481 * math/gen-libm-test.pl (@functions): Remove variable.
8482 (generate_testfile): Don't handle START and END lines.
8483 * math/libm-test.inc (START): New macro.
8485 (END_COMPLEX): Likewise.
8486 (acos_test): Use END macro without arguments.
8487 (acos_test_tonearest): Likewise.
8488 (acos_test_towardzero): Likewise.
8489 (acos_test_downward): Likewise.
8490 (acos_test_upward): Likewise.
8491 (acosh_test): Likewise.
8492 (asin_test): Likewise.
8493 (asin_test_tonearest): Likewise.
8494 (asin_test_towardzero): Likewise.
8495 (asin_test_downward): Likewise.
8496 (asin_test_upward): Likewise.
8497 (asinh_test): Likewise.
8498 (atan_test): Likewise.
8499 (atanh_test): Likewise.
8500 (atan2_test): Likewise.
8501 (cabs_test): Likewise.
8502 (cacos_test): Use END_COMPLEX macro without arguments.
8503 (cacosh_test): Likewise.
8504 (carg_test): Use END macro without arguments.
8505 (casin_test): Use END_COMPLEX macro without arguments.
8506 (casinh_test): Likewise.
8507 (catan_test): Likewise.
8508 (catanh_test): Likewise.
8509 (cbrt_test): Use END macro without arguments.
8510 (ccos_test): Use END_COMPLEX macro without arguments.
8511 (ccosh_test): Likewise.
8512 (ceil_test): Use END macro without arguments.
8513 (cexp_test): Use END_COMPLEX macro without arguments.
8514 (cimag_test): Use END macro without arguments.
8515 (clog_test): Use END_COMPLEX macro without arguments.
8516 (clog10_test): Likewise.
8517 (conj_test): Likewise.
8518 (copysign_test): Use END macro without arguments.
8519 (cos_test): Likewise.
8520 (cos_test_tonearest): Likewise.
8521 (cos_test_towardzero): Likewise.
8522 (cos_test_downward): Likewise.
8523 (cos_test_upward): Likewise.
8524 (cosh_test): Likewise.
8525 (cosh_test_tonearest): Likewise.
8526 (cosh_test_towardzero): Likewise.
8527 (cosh_test_downward): Likewise.
8528 (cosh_test_upward): Likewise.
8529 (cpow_test): Use END_COMPLEX macro without arguments.
8530 (cproj_test): Likewise.
8531 (creal_test): Use END macro without arguments.
8532 (csin_test): Use END_COMPLEX macro without arguments.
8533 (csinh_test): Likewise.
8534 (csqrt_test): Likewise.
8535 (ctan_test): Likewise.
8536 (ctan_test_tonearest): Likewise.
8537 (ctan_test_towardzero): Likewise.
8538 (ctan_test_downward): Likewise.
8539 (ctan_test_upward): Likewise.
8540 (ctanh_test): Likewise.
8541 (ctanh_test_tonearest): Likewise.
8542 (ctanh_test_towardzero): Likewise.
8543 (ctanh_test_downward): Likewise.
8544 (ctanh_test_upward): Likewise.
8545 (erf_test): Use END macro without arguments.
8546 (erfc_test): Likewise.
8547 (exp_test): Likewise.
8548 (exp_test_tonearest): Likewise.
8549 (exp_test_towardzero): Likewise.
8550 (exp_test_downward): Likewise.
8551 (exp_test_upward): Likewise.
8552 (exp10_test): Likewise.
8553 (exp2_test): Likewise.
8554 (expm1_test): Likewise.
8555 (fabs_test): Likewise.
8556 (fdim_test): Likewise.
8557 (finite_test): Likewise.
8558 (floor_test): Likewise.
8559 (fma_test): Likewise.
8560 (fma_test_towardzero): Likewise.
8561 (fma_test_downward): Likewise.
8562 (fma_test_upward): Likewise.
8563 (fmax_test): Likewise.
8564 (fmin_test): Likewise.
8565 (fmod_test): Likewise.
8566 (fpclassify_test): Likewise.
8567 (frexp_test): Likewise.
8568 (gamma_test): Likewise.
8569 (hypot_test): Likewise.
8570 (ilogb_test): Likewise.
8571 (isfinite_test): Likewise.
8572 (isgreater_test): Likewise.
8573 (isgreaterequal_test): Likewise.
8574 (isinf_test): Likewise.
8575 (isless_test): Likewise.
8576 (islessequal_test): Likewise.
8577 (islessgreater_test): Likewise.
8578 (isnan_test): Likewise.
8579 (isnormal_test): Likewise.
8580 (issignaling_test): Likewise.
8581 (isunordered_test): Likewise.
8582 (j0_test): Likewise.
8583 (j1_test): Likewise.
8584 (jn_test): Likewise.
8585 (ldexp_test): Likewise.
8586 (lgamma_test): Likewise.
8587 (lrint_test): Likewise.
8588 (lrint_test_tonearest): Likewise.
8589 (lrint_test_towardzero): Likewise.
8590 (lrint_test_downward): Likewise.
8591 (lrint_test_upward): Likewise.
8592 (llrint_test): Likewise.
8593 (llrint_test_tonearest): Likewise.
8594 (llrint_test_towardzero): Likewise.
8595 (llrint_test_downward): Likewise.
8596 (llrint_test_upward): Likewise.
8597 (log_test): Likewise.
8598 (log10_test): Likewise.
8599 (log1p_test): Likewise.
8600 (log2_test): Likewise.
8601 (logb_test): Likewise.
8602 (logb_test_downward): Likewise.
8603 (lround_test): Likewise.
8604 (llround_test): Likewise.
8605 (modf_test): Likewise.
8606 (nearbyint_test): Likewise.
8607 (nextafter_test): Likewise.
8608 (nexttoward_test): Likewise.
8609 (pow_test): Likewise.
8610 (pow_test_tonearest): Likewise.
8611 (pow_test_towardzero): Likewise.
8612 (pow_test_downward): Likewise.
8613 (pow_test_upward): Likewise.
8614 (remainder_test): Likewise.
8615 (remainder_test_tonearest): Likewise.
8616 (remainder_test_towardzero): Likewise.
8617 (remainder_test_downward): Likewise.
8618 (remainder_test_upward): Likewise.
8619 (remquo_test): Likewise.
8620 (rint_test): Likewise.
8621 (rint_test_tonearest): Likewise.
8622 (rint_test_towardzero): Likewise.
8623 (rint_test_downward): Likewise.
8624 (rint_test_upward): Likewise.
8625 (round_test): Likewise.
8626 (scalb_test): Likewise.
8627 (scalbn_test): Likewise.
8628 (scalbln_test): Likewise.
8629 (signbit_test): Likewise.
8630 (sin_test): Likewise.
8631 (sin_test_tonearest): Likewise.
8632 (sin_test_towardzero): Likewise.
8633 (sin_test_downward): Likewise.
8634 (sin_test_upward): Likewise.
8635 (sincos_test): Likewise.
8636 (sinh_test): Likewise.
8637 (sinh_test_tonearest): Likewise.
8638 (sinh_test_towardzero): Likewise.
8639 (sinh_test_downward): Likewise.
8640 (sinh_test_upward): Likewise.
8641 (sqrt_test): Likewise.
8642 (tan_test): Likewise.
8643 (tan_test_tonearest): Likewise.
8644 (tan_test_towardzero): Likewise.
8645 (tan_test_downward): Likewise.
8646 (tan_test_upward): Likewise.
8647 (tanh_test): Likewise.
8648 (tgamma_test): Likewise.
8649 (trunc_test): Likewise.
8650 (y0_test): Likewise.
8651 (y1_test): Likewise.
8652 (yn_test): Likewise.
8653 (significand_test): Likewise.
8655 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8658 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8660 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8663 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8664 __ppc_mdoio and __ppc_mdoom.
8665 * manual/platform.texi: Document new functions __ppc_yield,
8666 __ppc_mdoio and __ppc_mdoom.
8668 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8670 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8671 (main): Mention "tls" pseudo-hwcap is legacy.
8672 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8674 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8676 * math/gen-libm-test.pl (parse_args): Output only string of
8677 arguments as text for test name, not full call or descriptions of
8678 tests for extra outputs.
8679 (generate_testfile): Do not pass function name to parse_args.
8680 Generate this_func variable from START.
8681 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8683 (struct test_ff_f_data): Likewise.
8684 (test_ff_f_data_nexttoward): Likewise.
8685 (struct test_fi_f_data): Likewise.
8686 (struct test_fl_f_data): Likewise.
8687 (struct test_if_f_data): Likewise.
8688 (struct test_fff_f_data): Likewise.
8689 (struct test_c_f_data): Likewise.
8690 (struct test_f_f1_data): Likewise. Remove field extra_name.
8691 (struct test_fF_f1_data): Likewise.
8692 (struct test_ffI_f1_data): Likewise.
8693 (struct test_c_c_data): Rename test_name field to arg_str.
8694 (struct test_cc_c_data): Likewise.
8695 (struct test_f_i_data): Likewise.
8696 (struct test_ff_i_data): Likewise.
8697 (struct test_f_l_data): Likewise.
8698 (struct test_f_L_data): Likewise.
8699 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8701 (COMMON_TEST_SETUP): New macro.
8702 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8703 (COMMON_TEST_CLEANUP): Likewise.
8704 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8705 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8707 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8708 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8710 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8711 (RUN_TEST_fff_f): Take argument string. Call new setup and
8713 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8714 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8716 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8717 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8719 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8720 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8722 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8723 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8725 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8726 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8728 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8729 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8731 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8732 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8734 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8735 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8737 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8738 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8740 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8741 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8743 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8744 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8746 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8747 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8749 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8750 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8752 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8753 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8755 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8756 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8758 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8760 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8762 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8763 to _sifields.sigfault.
8764 (si_addr_lsb): Define new macro.
8765 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8766 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8767 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8769 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8772 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8774 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8776 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8779 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8781 * math/gen-libm-test.pl (parse_args): Do not include expected
8782 result in test name.
8783 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8784 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8785 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8786 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8787 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8790 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8792 * benchtests/Makefile: Sort function entries.
8794 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8795 tanh, asinh, acosh, atanh.
8796 * benchtests/acos-inputs: New file.
8797 * benchtests/acosh-inputs: New file.
8798 * benchtests/asin-inputs: New file.
8799 * benchtests/asinh-inputs: New file.
8800 * benchtests/atanh-inputs: New file.
8801 * benchtests/cosh-inputs: New file.
8802 * benchtests/log-inputs: New file.
8803 * benchtests/sinh-inputs: New file.
8804 * benchtests/tanh-inputs: New file.
8806 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8809 * posix/tst-getaddrinfo4.c: New test.
8810 * posix/Makefile (tests): Add it.
8812 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8815 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8816 when no services were used.
8817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8818 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8820 2013-05-21 Andreas Schwab <schwab@suse.de>
8823 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8824 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8826 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8827 redundant variable declarations and reallocation of buffer when
8828 parsing as IPv6 address. Always set NSS status when called from
8829 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8830 buffer too small. Correct computation of needed size.
8831 * nss/Makefile (tests): Add test-digits-dots.
8832 * nss/test-digits-dots.c: New test.
8834 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8836 * benchtests/Makefile: Remove instructions for adding
8838 * benchtests/README: New file to explain how to execute and
8839 enhance the benchmark tests.
8841 2013-05-21 Andreas Schwab <schwab@suse.de>
8844 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8845 * setjmp/tst-sigsetjmp.c: New test.
8847 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8849 * sysdeps/x86_64/memset.S (memset): New implementation.
8850 (__bzero): Likewise.
8851 (__memset_tail): New function.
8853 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8855 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8856 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8857 __memcpy_sse2_unaligned ifunc selection.
8858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8859 Add memcpy-sse2-unaligned.S.
8860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8861 Add: __memcpy_sse2_unaligned.
8863 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8866 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8867 math_force_eval before restoring floating-point envrionment.
8868 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8869 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8871 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8873 (__nearbyintl): Use math_force_eval before restoring
8874 floating-point environment.
8875 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8877 * math/gen-libm-test.pl (special_functions): Remove.
8878 (parse_args): Don't handle TEST_extra. Handle functions with no
8880 * math/libm-test.inc (struct test_sincos_data): Replace with
8881 struct test_fFF_11_data.
8882 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8883 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8884 (sincos_test_data): Change element type to struct
8885 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8886 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8887 RUN_TEST_LOOP_sincos.
8888 * math/README.libm-test: Don't mention special handling of
8889 individual functions.
8890 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8891 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8892 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8893 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8894 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8897 * math/gen-libm-test.pl (get_variable): Remove function.
8898 (parse_args): Don't show pointer parameters to call in test
8899 names. Use "extra output N" in test names for extra outputs
8900 rather than naming variables.
8902 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8905 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8906 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8907 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8909 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8911 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8914 * math/gen-libm-test.pl (@tests): Remove variable.
8916 (new_test): Remove function.
8917 (show_exceptions): New function.
8918 (special_functions): Use show_exceptions instead of new_test.
8919 (parse_args): Likewise.
8920 (generate_testfile): Pass only function name in generated call to
8921 print_max_error or print_complex_max_error.
8922 (get_ulps): Do not handle complex tests specially.
8923 (output_test): Rename to ...
8924 (get_all_ulps_for_test): ... this. Return a string rather than
8925 printing to a file. Require ulps to be present.
8926 (output_ulps): Generate arrays rather than #defines.
8927 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8928 (struct ulp_data): New type.
8929 (BUILD_COMPLEX_ULP): Remove macro.
8930 (compare_ulp_data): New function.
8931 (find_ulps): Likewise.
8932 (find_test_ulps): Likewise.
8933 (find_function_ulps): Likewise.
8934 (find_complex_function_ulps): Likewise.
8935 (print_max_error): Determine allowed ulps using
8937 (print_complex_max_error): Determine allowed ulps using
8938 find_complex_function_ulps.
8939 (check_float_internal): Determine max ulps using find_test_ulps.
8940 (check_float): Do not take max_ulp parameter. Update call to
8941 check_float_internal.
8942 (check_complex): Likewise.
8943 (check_int): Do not take max_ulp parameter.
8944 (check_long): Likewise.
8945 (check_bool): Likewise.
8946 (check_longlong): Likewise.
8947 (struct test_f_f_data): Remove max_ulp field.
8948 (struct test_ff_f_data): Likewise.
8949 (struct test_ff_f_data_nexttoward): Likewise.
8950 (struct test_fi_f_data): Likewise.
8951 (struct test_fl_f_data): Likewise.
8952 (struct test_if_f_data): Likewise.
8953 (struct test_fff_f_data): Likewise.
8954 (struct test_c_f_data): Likewise.
8955 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8956 (struct test_fF_f1_data): Likewise.
8957 (struct test_ffI_f1_data): Likewise.
8958 (struct test_c_c_data): Remove max_ulp field.
8959 (struct test_cc_c_data): Likewise.
8960 (struct test_f_i_data): Likewise.
8961 (struct test_ff_i_data): Likewise.
8962 (struct test_f_l_data): Likewise.
8963 (struct test_f_L_data): Likewise.
8964 (struct test_sincos_data): Likewise.
8965 (RUN_TEST_f_f): Do not handle ulps.
8966 (RUN_TEST_LOOP_f_f): Likewise.
8967 (RUN_TEST_2_f): Likewise.
8968 (RUN_TEST_LOOP_2_f): Likewise.
8969 (RUN_TEST_fff_f): Likewise.
8970 (RUN_TEST_LOOP_fff_f): Likewise.
8971 (RUN_TEST_c_f): Likewise.
8972 (RUN_TEST_LOOP_c_f): Likewise.
8973 (RUN_TEST_f_f1): Likewise.
8974 (RUN_TEST_LOOP_f_f1): Likewise.
8975 (RUN_TEST_fF_f1): Likewise.
8976 (RUN_TEST_LOOP_fF_f1): Likewise.
8977 (RUN_TEST_fI_f1): Likewise.
8978 (RUN_TEST_LOOP_fI_f1): Likewise.
8979 (RUN_TEST_ffI_f1): Likewise.
8980 (RUN_TEST_LOOP_ffI_f1): Likewise.
8981 (RUN_TEST_c_c): Likewise.
8982 (RUN_TEST_LOOP_c_c): Likewise.
8983 (RUN_TEST_cc_c): Likewise.
8984 (RUN_TEST_LOOP_cc_c): Likewise.
8985 (RUN_TEST_f_i): Likewise.
8986 (RUN_TEST_LOOP_f_i): Likewise.
8987 (RUN_TEST_f_i_tg): Likewise.
8988 (RUN_TEST_LOOP_f_i_tg): Likewise.
8989 (RUN_TEST_ff_i_tg): Likewise.
8990 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8991 (RUN_TEST_f_b): Likewise.
8992 (RUN_TEST_LOOP_f_b): Likewise.
8993 (RUN_TEST_f_b_tg): Likewise.
8994 (RUN_TEST_LOOP_f_b_tg): Likewise.
8995 (RUN_TEST_f_l): Likewise.
8996 (RUN_TEST_LOOP_f_l): Likewise.
8997 (RUN_TEST_f_L): Likewise.
8998 (RUN_TEST_LOOP_f_L): Likewise.
8999 (RUN_TEST_sincos): Likewise.
9000 (RUN_TEST_LOOP_sincos): Likewise.
9002 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9006 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9007 main case of finite arguments, set rounding mode to FE_TONEAREST
9008 and discard exceptions.
9009 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9011 (remainder_tonearest_test_data): New variable.
9012 (remainder_test_tonearest): New function.
9013 (remainder_towardzero_test_data): New variable.
9014 (remainder_test_towardzero): New function.
9015 (remainder_downward_test_data): New variable.
9016 (remainder_test_downward): New function.
9017 (remainder_upward_test_data): New variable.
9018 (remainder_test_upward): New function.
9019 (main): Call the new test functions.
9021 * math/libm-test.inc (struct test_f_f1_data): Remove field
9023 (struct test_fF_f1_data): Likewise.
9024 (struct test_ffI_f1_data): Likewise.
9025 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9026 based on value of EXTRA_EXPECTED.
9027 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9028 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9029 EXTRA_VAR based on value of EXTRA_EXPECTED.
9030 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9031 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9032 EXTRA_VAR based on value of EXTRA_EXPECTED.
9033 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9034 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9035 EXTRA_VAR based on value of EXTRA_EXPECTED.
9036 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9037 * math/gen-libm-test.pl (parse_args): Don't output initializers
9038 for extra output values.
9040 * math/libm-test.inc (check_int): Expect result to be exactly
9041 equal to expected value and do not handle ulps.
9042 (check_long): Likewise.
9043 (check_longlong): Likewise.
9045 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9047 (cimag_test_data): Likewise.
9048 (conj_test_data): Likewise.
9049 (copysign_test_data): Likewise.
9050 (cproj_test_data): Likewise.
9051 (creal_test_data): Likewise.
9052 (fabs_test_data): Likewise.
9053 (fdim_test_data): Likewise.
9054 (finite_test_data): Likewise.
9055 (floor_test_data): Likewise.
9056 (fmax_test_data): Likewise.
9057 (fmin_test_data): Likewise.
9058 (fmod_test_data): Likewise.
9059 (fpclassify_test_data): Likewise.
9060 (frexp_test_data): Likewise.
9061 (ilogb_test_data): Likewise.
9062 (isfinite_test_data): Likewise.
9063 (isgreater_test_data): Likewise.
9064 (isgreaterequal_test_data): Likewise.
9065 (isinf_test_data): Likewise.
9066 (isless_test_data): Likewise.
9067 (islessequal_test_data): Likewise.
9068 (islessgreater_test_data): Likewise.
9069 (isnan_test_data): Likewise.
9070 (isnormal_test_data): Likewise.
9071 (issignaling_test_data): Likewise.
9072 (isunordered_test_data): Likewise.
9073 (ldexp_test_data): Likewise.
9074 (lrint_test_data): Likewise.
9075 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9076 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9077 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9078 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9079 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9080 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9082 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9083 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9084 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9085 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9087 (lrint_downward_test_data): Test for "inexact" exceptions.
9088 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9089 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9090 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9092 (lrint_upward_test_data): Test for "inexact" exceptions.
9093 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9095 (llrint_test_data): Test for "inexact" exceptions.
9096 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9097 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9098 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9099 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9100 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9101 (llrint_downward_test_data): Test for "inexact" exceptions.
9102 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9103 (llrint_upward_test_data): Test for "inexact" exceptions.
9104 (logb_test_data): Likewise.
9105 (logb_downward_test_data): Likewise.
9106 (nextafter_test_data): Likewise.
9107 (nexttoward_test_data): Likewise.
9108 (remainder_test_data): Likewise.
9109 (remquo_test_data): Likewise.
9110 (scalbn_test_data): Likewise.
9111 (scalbln_test_data): Likewise.
9112 (signbit_test_data): Likewise.
9113 (sqrt_test_data): Likewise.
9114 (significand_test_data): Likewise.
9116 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9119 * benchtests/bench-modf.c (struct args): Mark arg0 as
9121 * scripts/bench.pl: Mark members of struct args as volatile.
9123 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9126 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9127 negative infinity on POWER6 or lower.
9128 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9130 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9133 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9134 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9135 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9136 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9137 (_FP_SETQNAN): New macro.
9138 (_FP_SETQNAN_SEMIRAW): Likewise.
9139 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9140 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9141 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9142 (FP_EXTEND): Use _FP_FRAC_SNANP.
9143 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9144 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9146 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9148 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9151 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9153 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9154 with DIVIDE_BY_ZERO_EXCEPTION.
9155 (gamma_test_data): Likewise.
9156 (lgamma_test_data): Likewise.
9157 (log_test_data): Likewise.
9158 (log10_test_data): Likewise.
9159 (log2_test_data): Likewise.
9160 (tgamma_test_data): Likewise.
9162 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9163 (acos_test_tonearest): Likewise.
9164 (acos_test_towardzero): Likewise.
9165 (acos_test_downward): Likewise.
9166 (acos_test_upward): Likewise.
9167 (acosh_test): Likewise.
9168 (asin_test): Likewise.
9169 (asin_test_tonearest): Likewise.
9170 (asin_test_towardzero): Likewise.
9171 (asin_test_downward): Likewise.
9172 (asin_test_upward): Likewise.
9173 (asinh_test): Likewise.
9174 (atan_test): Likewise.
9175 (atanh_test): Likewise.
9176 (atan2_test): Likewise.
9177 (cabs_test): Likewise.
9178 (cacos_test): Likewise.
9179 (cacosh_test): Likewise.
9180 (casin_test): Likewise.
9181 (casinh_test): Likewise.
9182 (catan_test): Likewise.
9183 (catanh_test): Likewise.
9184 (cbrt_test): Likewise.
9185 (ccos_test): Likewise.
9186 (ccosh_test): Likewise.
9187 (cexp_test): Likewise.
9188 (clog_test): Likewise.
9189 (clog10_test): Likewise.
9190 (cos_test): Likewise.
9191 (cos_test_tonearest): Likewise.
9192 (cos_test_towardzero): Likewise.
9193 (cos_test_downward): Likewise.
9194 (cos_test_upward): Likewise.
9195 (cosh_test): Likewise.
9196 (cosh_test_tonearest): Likewise.
9197 (cosh_test_towardzero): Likewise.
9198 (cosh_test_downward): Likewise.
9199 (cosh_test_upward): Likewise.
9200 (cpow_test): Likewise.
9201 (csin_test): Likewise.
9202 (csinh_test): Likewise.
9203 (csqrt_test): Likewise.
9204 (ctan_test): Likewise.
9205 (ctan_test_tonearest): Likewise.
9206 (ctan_test_towardzero): Likewise.
9207 (ctan_test_downward): Likewise.
9208 (ctan_test_upward): Likewise.
9209 (ctanh_test): Likewise.
9210 (ctanh_test_tonearest): Likewise.
9211 (ctanh_test_towardzero): Likewise.
9212 (ctanh_test_downward): Likewise.
9213 (ctanh_test_upward): Likewise.
9214 (erf_test): Likewise.
9215 (erfc_test): Likewise.
9216 (exp_test): Likewise.
9217 (exp_test_tonearest): Likewise.
9218 (exp_test_towardzero): Likewise.
9219 (exp_test_downward): Likewise.
9220 (exp_test_upward): Likewise.
9221 (exp10_test): Likewise.
9222 (exp2_test): Likewise.
9223 (expm1_test): Likewise.
9224 (fmod_test): Likewise.
9225 (gamma_test): Likewise.
9226 (hypot_test): Likewise.
9227 (j0_test): Likewise.
9228 (j1_test): Likewise.
9229 (jn_test): Likewise.
9230 (lgamma_test): Likewise.
9231 (log_test): Likewise.
9232 (log10_test): Likewise.
9233 (log1p_test): Likewise.
9234 (log2_test): Likewise.
9235 (logb_test_downward): Likewise.
9236 (pow_test): Likewise.
9237 (pow_test_tonearest): Likewise.
9238 (pow_test_towardzero): Likewise.
9239 (pow_test_downward): Likewise.
9240 (pow_test_upward): Likewise.
9241 (remainder_test): Likewise.
9242 (remquo_test): Likewise.
9243 (sin_test): Likewise.
9244 (sin_test_tonearest): Likewise.
9245 (sin_test_towardzero): Likewise.
9246 (sin_test_downward): Likewise.
9247 (sin_test_upward): Likewise.
9248 (sincos_test): Likewise.
9249 (sinh_test): Likewise.
9250 (sinh_test_tonearest): Likewise.
9251 (sinh_test_towardzero): Likewise.
9252 (sinh_test_downward): Likewise.
9253 (sinh_test_upward): Likewise.
9254 (sqrt_test): Likewise.
9255 (tan_test): Likewise.
9256 (tan_test_tonearest): Likewise.
9257 (tan_test_towardzero): Likewise.
9258 (tan_test_downward): Likewise.
9259 (tan_test_upward): Likewise.
9260 (tanh_test): Likewise.
9261 (tgamma_test): Likewise.
9262 (y0_test): Likewise.
9263 (y1_test): Likewise.
9264 (yn_test): Likewise.
9266 * math/gen-libm-test.pl (adjust_arg): Remove function.
9267 (special_function): Remove argument $in_func. Only handle
9268 generating output for tables of tests, not inside functions.
9269 (parse_args): Likewise.
9270 (generate_testfile): Remove variable $in_func. Update call to
9272 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9273 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9274 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9275 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9276 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9277 (MAX_VALUE_INIT): Rename macro to max_value.
9278 (MIN_VALUE_INIT): Rename macro to min_value.
9279 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9280 (plus_zero): Remove variable.
9281 (minus_zero): Likewise.
9282 (plus_infty): Likewise.
9283 (minus_infty): Likewise.
9284 (qnan_value): Likewise.
9285 (max_value): Likewise.
9286 (min_value): Likewise.
9287 (min_subnorm_value): Likewise.
9289 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9291 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9292 uint64_t or uint32_t usage.
9293 * crypt/sha256-block.c: Likewise.
9294 * crypt/sha256-crypt.c: Likewise.
9295 * crypt/sha256.c: Likewise.
9296 * crypt/sha512-block.c: Likewise.
9297 * crypt/sha512-crypt.c: Likewise.
9298 * crypt/sha512.c: Likewise.
9299 * debug/backtrace-tst.c: Likewise.
9300 * debug/pcprofiledump.c: Likewise.
9301 * elf/cache.c: Likewise.
9302 * elf/dl-cache.c: Likewise.
9303 * elf/dl-misc.c: Likewise.
9304 * elf/dl-profile.c: Likewise.
9305 * elf/dl-support.c: Likewise.
9306 * elf/ldconfig.c: Likewise.
9307 * elf/sprof.c: Likewise.
9308 * iconv/dummy-repertoire.c: Likewise.
9309 * iconv/iconv_charmap.c: Likewise.
9310 * iconv/skeleton.c: Likewise.
9311 * iconvdata/8bit-generic.c: Likewise.
9312 * iconvdata/cp737.h: Likewise.
9313 * iconvdata/cp775.h: Likewise.
9314 * iconvdata/ibm1008.h: Likewise.
9315 * iconvdata/ibm1025.h: Likewise.
9316 * iconvdata/ibm1046.h: Likewise.
9317 * iconvdata/ibm1097.h: Likewise.
9318 * iconvdata/ibm1112.h: Likewise.
9319 * iconvdata/ibm1122.h: Likewise.
9320 * iconvdata/ibm1123.h: Likewise.
9321 * iconvdata/ibm1124.h: Likewise.
9322 * iconvdata/ibm1129.h: Likewise.
9323 * iconvdata/ibm1130.h: Likewise.
9324 * iconvdata/ibm1132.h: Likewise.
9325 * iconvdata/ibm1133.h: Likewise.
9326 * iconvdata/ibm1137.h: Likewise.
9327 * iconvdata/ibm1140.h: Likewise.
9328 * iconvdata/ibm1141.h: Likewise.
9329 * iconvdata/ibm1142.h: Likewise.
9330 * iconvdata/ibm1143.h: Likewise.
9331 * iconvdata/ibm1144.h: Likewise.
9332 * iconvdata/ibm1145.h: Likewise.
9333 * iconvdata/ibm1146.h: Likewise.
9334 * iconvdata/ibm1147.h: Likewise.
9335 * iconvdata/ibm1148.h: Likewise.
9336 * iconvdata/ibm1149.h: Likewise.
9337 * iconvdata/ibm1153.h: Likewise.
9338 * iconvdata/ibm1154.h: Likewise.
9339 * iconvdata/ibm1155.h: Likewise.
9340 * iconvdata/ibm1156.h: Likewise.
9341 * iconvdata/ibm1157.h: Likewise.
9342 * iconvdata/ibm1158.h: Likewise.
9343 * iconvdata/ibm1160.h: Likewise.
9344 * iconvdata/ibm1161.h: Likewise.
9345 * iconvdata/ibm1162.h: Likewise.
9346 * iconvdata/ibm1163.h: Likewise.
9347 * iconvdata/ibm1164.h: Likewise.
9348 * iconvdata/ibm1166.h: Likewise.
9349 * iconvdata/ibm1167.h: Likewise.
9350 * iconvdata/ibm12712.h: Likewise.
9351 * iconvdata/ibm1390.h: Likewise.
9352 * iconvdata/ibm1399.h: Likewise.
9353 * iconvdata/ibm16804.h: Likewise.
9354 * iconvdata/ibm4517.h: Likewise.
9355 * iconvdata/ibm4899.h: Likewise.
9356 * iconvdata/ibm4909.h: Likewise.
9357 * iconvdata/ibm4971.h: Likewise.
9358 * iconvdata/ibm5347.h: Likewise.
9359 * iconvdata/ibm803.h: Likewise.
9360 * iconvdata/ibm856.h: Likewise.
9361 * iconvdata/ibm901.h: Likewise.
9362 * iconvdata/ibm902.h: Likewise.
9363 * iconvdata/ibm9030.h: Likewise.
9364 * iconvdata/ibm9066.h: Likewise.
9365 * iconvdata/ibm921.h: Likewise.
9366 * iconvdata/ibm922.h: Likewise.
9367 * iconvdata/ibm9448.h: Likewise.
9368 * iconvdata/isiri-3342.h: Likewise.
9369 * iconvdata/jis0201.h: Likewise.
9370 * include/link.h: Likewise.
9371 * include/netdb.h: Likewise.
9372 * inet/check_native.c: Likewise.
9373 * inet/check_pf.c: Likewise.
9374 * inet/getipv4sourcefilter.c: Likewise.
9375 * inet/getnameinfo.c: Likewise.
9376 * inet/getsourcefilter.c: Likewise.
9377 * inet/htonl.c: Likewise.
9378 * inet/setipv4sourcefilter.c: Likewise.
9379 * inet/setsourcefilter.c: Likewise.
9380 * inet/test-inet6_opt.c: Likewise.
9381 * inet/tst-network.c: Likewise.
9382 * locale/C-collate.c: Likewise.
9383 * locale/C-ctype.c: Likewise.
9384 * locale/C-time.c: Likewise.
9385 * locale/C-translit.h: Likewise.
9386 * locale/loadarchive.c: Likewise.
9387 * locale/programs/3level.h: Likewise.
9388 * locale/programs/charmap.c: Likewise.
9389 * locale/programs/charmap.h: Likewise.
9390 * locale/programs/ld-address.c: Likewise.
9391 * locale/programs/ld-collate.c: Likewise.
9392 * locale/programs/ld-ctype.c: Likewise.
9393 * locale/programs/ld-identification.c: Likewise.
9394 * locale/programs/ld-measurement.c: Likewise.
9395 * locale/programs/ld-messages.c: Likewise.
9396 * locale/programs/ld-monetary.c: Likewise.
9397 * locale/programs/ld-name.c: Likewise.
9398 * locale/programs/ld-numeric.c: Likewise.
9399 * locale/programs/ld-paper.c: Likewise.
9400 * locale/programs/ld-telephone.c: Likewise.
9401 * locale/programs/ld-time.c: Likewise.
9402 * locale/programs/linereader.c: Likewise.
9403 * locale/programs/locale.c: Likewise.
9404 * locale/programs/locarchive.c: Likewise.
9405 * locale/programs/locfile.h: Likewise.
9406 * locale/programs/repertoire.c: Likewise.
9407 * locale/programs/simple-hash.c: Likewise.
9408 * locale/programs/simple-hash.h: Likewise.
9409 * malloc/memusage.c: Likewise.
9410 * malloc/memusagestat.c: Likewise.
9411 * nis/nis_defaults.c: Likewise.
9412 * nis/nis_hash.c: Likewise.
9413 * nis/nis_print.c: Likewise.
9414 * nis/nis_xdr.c: Likewise.
9415 * nscd/connections.c: Likewise.
9416 * nscd/hstcache.c: Likewise.
9417 * nscd/nscd_gethst_r.c: Likewise.
9418 * nscd/nscd_getserv_r.c: Likewise.
9419 * nscd/nscd_helper.c: Likewise.
9420 * nscd/servicescache.c: Likewise.
9421 * nss/makedb.c: Likewise.
9422 * nss/nss_db/db-XXX.c: Likewise.
9423 * nss/nss_db/db-initgroups.c: Likewise.
9424 * nss/nss_db/db-netgrp.c: Likewise.
9425 * nss/nss_files/files-network.c: Likewise.
9426 * nss/nss_files/files-parse.c: Likewise.
9427 * posix/bug-regex5.c: Likewise.
9428 * posix/fnmatch_loop.c: Likewise.
9429 * posix/regcomp.c: Likewise.
9430 * posix/regexec.c: Likewise.
9431 * posix/tst-rfc3484-2.c: Likewise.
9432 * posix/tst-rfc3484-3.c: Likewise.
9433 * posix/tst-rfc3484.c: Likewise.
9434 * resolv/nss_dns/dns-canon.c: Likewise.
9435 * resolv/nss_dns/dns-network.c: Likewise.
9436 * resolv/res_init.c: Likewise.
9437 * resolv/res_mkquery.c: Likewise.
9438 * resolv/tst-aton.c: Likewise.
9439 * stdlib/cxa_atexit.c: Likewise.
9440 * stdlib/cxa_finalize.c: Likewise.
9441 * stdlib/gen-fpioconst.c: Likewise.
9442 * stdlib/strtol_l.c: Likewise.
9443 * string/tst-endian.c: Likewise.
9444 * sunrpc/auth_des.c: Likewise.
9445 * sunrpc/clnt_udp.c: Likewise.
9446 * sunrpc/rtime.c: Likewise.
9447 * sunrpc/svcauth_des.c: Likewise.
9448 * sunrpc/xdr.c: Likewise.
9449 * sunrpc/xdr_intXX_t.c: Likewise.
9450 * sunrpc/xdr_rec.c: Likewise.
9451 * sysdeps/generic/ldconfig.h: Likewise.
9452 * sysdeps/generic/ldsodefs.h: Likewise.
9453 * sysdeps/generic/memusage.h: Likewise.
9454 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9457 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9464 * sysdeps/posix/getaddrinfo.c: Likewise.
9465 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9466 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9467 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9468 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9469 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9470 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9471 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9472 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9473 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9474 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9475 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9476 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9477 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9478 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9479 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9480 * sysdeps/x86_64/dl-tls.h: Likewise.
9481 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9482 * time/alt_digit.c: Likewise.
9483 * time/era.c: Likewise.
9484 * wcsmbs/tst-c16c32-1.c: Likewise.
9486 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9488 * math/libm-test.inc (struct test_sincos_data): New type.
9489 (RUN_TEST_LOOP_sincos): New macro.
9490 (sincos_test_data): New variable.
9491 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9493 2013-05-16 Richard Henderson <rth@redhat.com>
9495 * math/atest-exp2.c (LIMB64): New macro.
9496 (CONSTSZ): New macro.
9497 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9499 (print_mpn_fp): ... to function scope.
9500 (read_mpn_hex): Remove.
9502 (exp2_mpn): Use mp_log2.
9503 (main): Use mp_exp1.
9505 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9507 * math/libm-test.inc: Remove comment about not testing "inexact"
9509 (INEXACT_EXCEPTION): New macro.
9510 (NO_INEXACT_EXCEPTION): Likewise.
9511 (INVALID_EXCEPTION_OK): Update value.
9512 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9513 (OVERFLOW_EXCEPTION_OK): Likewise.
9514 (UNDERFLOW_EXCEPTION_OK): Likewise.
9515 (IGNORE_ZERO_INF_SIGN): Likewise.
9516 (ERRNO_UNCHANGED): Likewise.
9517 (ERRNO_EDOM): Likewise.
9518 (ERRNO_ERANGE): Likewise.
9519 (test_exceptions): Handle testing "inexact" exceptions.
9520 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9521 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9522 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9523 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9525 (rint_towardzero_test_data): Likewise.
9526 (rint_downward_test_data): Likewise.
9527 (rint_upward_test_data): Likewise.
9529 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9530 with OVERFLOW_EXCEPTION.
9531 (exp10_test_data): Likewise.
9532 (exp2_test_data): Likewise.
9533 (expm1_test_data): Likewise.
9534 (lgamma_test_data): Likewise.
9535 (pow_test_data): Likewise.
9536 (tgamma_test_data): Likewise.
9537 (yn_test_data): Remove duplicate test of overflow.
9539 * math/libm-test.inc (struct test_cc_c_data): New type.
9540 (RUN_TEST_LOOP_cc_c): New macro.
9541 (cpow_test_data): New variable.
9542 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9544 * math/libm-test.inc (struct test_f_L_data): New type.
9545 (RUN_TEST_LOOP_f_L): New macro.
9546 (llrint_test_data): New variable.
9547 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9548 (llrint_tonearest_test_data): New variable.
9549 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9550 (llrint_towardzero_test_data): New variable.
9551 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9552 (llrint_downward_test_data): New variable.
9553 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9554 (llrint_upward_test_data): New variable.
9555 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9556 (llround_test_data): New variable.
9557 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9559 2013-05-13 Peter Collingbourne <pcc@google.com>
9561 * math/atest-exp2.c (get_log2): Remove const attribute.
9563 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9565 * math/libm-test.inc (struct test_f_l_data): New type.
9566 (RUN_TEST_LOOP_f_l): New macro.
9567 (lrint_test_data): New variable.
9568 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9569 (lrint_tonearest_test_data): New variable.
9570 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9571 (lrint_towardzero_test_data): New variable.
9572 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9573 (lrint_downward_test_data): New variable.
9574 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9575 (lrint_upward_test_data): New variable.
9576 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9577 (lround_test_data): New variable.
9578 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9580 2013-05-15 Peter Collingbourne <pcc@google.com>
9582 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9583 (EXTRACT_WORDS64) Use where appropriate.
9584 (INSERT_WORDS64) Likewise.
9586 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9587 constraints with x constraints.
9588 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9590 * malloc/obstack.c (_obstack_compat): Add initializer.
9592 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9594 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9595 si_trapno and add si_addr_lsb to _sifields.sigfault.
9596 (si_trapno): Remove macro.
9597 (si_addr_lsb): Define new macro.
9598 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9600 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9602 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9603 instead of TEST_f_l.
9604 (llrint_test_tonearest): Likewise.
9605 (llrint_test_towardzero): Likewise.
9606 (llrint_test_downward): Likewise.
9607 (llrint_test_upward): Likewise.
9608 (llround_test): Likewise.
9610 * math/libm-test.inc (struct test_f_i_data): Add comment.
9611 (RUN_TEST_LOOP_f_b): New macro.
9612 (RUN_TEST_LOOP_f_b_tg): Likewise.
9613 (finite_test_data): New variable.
9614 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9615 (isfinite_test_data): New variable.
9616 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9617 (isinf_test_data): New variable.
9618 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9619 (isnan_test_data): New variable.
9620 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9621 (isnormal_test_data): New variable.
9622 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9623 (issignaling_test_data): New variable.
9624 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9625 (signbit_test_data): New variable.
9626 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9628 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9629 with INVALID_EXCEPTION.
9630 (acosh_test_data): Likewise.
9631 (asin_test_data): Likewise.
9632 (atanh_test_data): Likewise.
9633 (fmod_test_data): Likewise.
9634 (log_test_data): Likewise.
9635 (log10_test_data): Likewise.
9636 (log2_test_data): Likewise.
9637 (pow_test_data): Likewise.
9638 (sqrt_test_data): Likewise.
9639 (y0_test_data): Likewise.
9640 (y1_test_data): Likewise.
9641 (yn_test_data): Likewise.
9643 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9646 * math/libm-test.inc (struct test_ff_i_data): New type.
9647 (RUN_TEST_LOOP_ff_i_tg): New macro.
9648 (isgreater_test_data): New variable.
9649 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9650 (isgreaterequal_test_data): New variable.
9651 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9652 (isless_test_data): New variable.
9653 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9654 (islessequal_test_data): New variable.
9655 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9656 (islessgreater_test_data): New variable.
9657 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9658 (isunordered_test_data): New variable.
9659 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9661 2013-05-14 David S. Miller <davem@davemloft.net>
9663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9665 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9667 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9669 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9671 (struct test_f_i_data): Change type of max_ulp to int.
9673 * math/libm-test.inc (test_ffI_f1_data): New type.
9674 (RUN_TEST_LOOP_ffI_f1): New macro.
9675 (remquo_test_data): New variable.
9676 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9678 * setjmp/tst-setjmp-fp.c: New file.
9679 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9680 (link-libm): New variable.
9681 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9683 * math/libm-test.inc (struct test_f_i_data): New type.
9684 (RUN_TEST_LOOP_f_i): New macro.
9685 (RUN_TEST_LOOP_f_i_tg): Likewise.
9686 (fpclassify_test_data): New variable.
9687 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9688 (ilogb_test_data): New variable.
9689 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9691 * math/libm-test.inc (scalbln_test): Correct function name in END
9694 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9695 (RUN_TEST_LOOP_fI_f1): New macro.
9696 (frexp_test_data): New variable.
9697 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9699 * math/libm-test.inc (struct test_fF_f1_data): New type.
9700 (RUN_TEST_LOOP_fF_f1): New macro.
9701 (modf_test_data): New variable.
9702 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9704 * math/libm-test.inc (struct test_f_f1_data): New type.
9705 (RUN_TEST_LOOP_f_f1): New macro.
9706 (gamma_test_data): New variable.
9707 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9708 (lgamma_test_data): New variable.
9709 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9711 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9713 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9714 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9715 (main): Comment "tls" pseudo-hwcap.
9717 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9719 * math/libm-test.inc (struct test_fl_f_data): New type.
9720 (RUN_TEST_LOOP_fl_f): New variable.
9721 (scalbln_test_data): New variable.
9722 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9724 * math/libm-test.inc (struct test_fi_f_data): New type.
9725 (RUN_TEST_LOOP_fi_f): New macro.
9726 (ldexp_test_data): New variable.
9727 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9728 (scalbn_test_data): New variable.
9729 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9731 * math/libm-test.inc (struct test_c_f_data): New type.
9732 (RUN_TEST_LOOP_c_f): New macro.
9733 (cabs_test_data): New variable.
9734 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9735 (carg_test_data): New variable.
9736 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9737 (cimag_test_data): New variable.
9738 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9739 (creal_test_data): New variable.
9740 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9742 * math/libm-test.inc (struct test_if_f_data): New type.
9743 (RUN_TEST_LOOP_if_f): New macro.
9744 (jn_test_data): New variable.
9745 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9746 (yn_test_data): New variable.
9747 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9749 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9751 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9753 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9754 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9756 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9758 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9759 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9760 (bench-deps): Add bench-timing.h.
9761 * benchtests-bench-skeleton.c: Include bench-timing.h.
9762 (main): Use TIMING_* macros instead of clock_gettime.
9763 * benchtests/bench-timing.h: New file.
9766 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9767 Renamed from _LIB_VERSION.
9768 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9770 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9772 * math/libm-test.inc (struct test_fff_f_data): New type.
9773 (RUN_TEST_LOOP_fff_f): New macro.
9774 (fma_test_data): New variable.
9775 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9776 (fma_towardzero_test_data): New variable.
9777 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9778 (fma_downward_test_data): New variable.
9779 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9780 (fma_upward_test_data): New variable.
9781 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9783 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9784 (struct test_c_c_data): New type.
9785 (RUN_TEST_LOOP_c_c): New macro.
9786 (cacos_test_data): New variable.
9787 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9788 (cacosh_test_data): New variable.
9789 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9790 (casin_test_data): New variable.
9791 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9792 (casinh_test_data): New variable.
9793 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9794 (catan_test_data): New variable.
9795 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9796 (catanh_test_data): New variable.
9797 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9798 (ccos_test_data): New variable.
9799 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9800 (ccosh_test_data): New variable.
9801 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9802 (cexp_test_data): New variable.
9803 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9804 (clog_test_data): New variable.
9805 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9806 (clog10_test_data): New variable.
9807 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9808 (conj_test_data): New variable.
9809 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9810 (cproj_test_data): New variable.
9811 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9812 (csin_test_data): New variable.
9813 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9814 (csinh_test_data): New variable.
9815 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9816 (csqrt_test_data): New variable.
9817 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9818 (ctan_test_data): New variable.
9819 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9820 (ctan_tonearest_test_data): New variable.
9821 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9822 (ctan_towardzero_test_data): New variable.
9823 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9824 (ctan_downward_test_data): New variable.
9825 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9826 (ctan_upward_test_data): New variable.
9827 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9828 (ctanh_test_data): New variable.
9829 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9830 (ctanh_tonearest_test_data): New variable.
9831 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9832 (ctanh_towardzero_test_data): New variable.
9833 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9834 (ctanh_downward_test_data): New variable.
9835 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9836 (ctanh_upward_test_data): New variable.
9837 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9838 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9841 * math/libm-test.inc (struct test_ff_f_data): New type.
9842 (struct test_ff_f_data_nexttoward): Likewise.
9843 (RUN_TEST_LOOP_2_f): New macro.
9844 (RUN_TEST_LOOP_ff_f): Likewise.
9845 (atan2_test_data): New variable.
9846 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9847 (copysign_test_data): New variable.
9848 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9849 (fdim_test_data): New variable.
9850 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9851 (fmax_test_data): New variable.
9852 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9853 (fmin_test_data): New variable.
9854 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9855 (fmod_test_data): New variable.
9856 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9857 (hypot_test_data): New variable.
9858 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9859 (nextafter_test_data): New variable.
9860 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9861 (nexttoward_test_data): New variable.
9862 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9863 (pow_test_data): New variable.
9864 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9865 (pow_tonearest_test_data): New variable.
9866 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9867 (pow_towardzero_test_data): New variable.
9868 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9869 (pow_downward_test_data): New variable.
9870 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9871 (pow_upward_test_data): New variable.
9872 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9873 (remainder_test_data): New variable.
9874 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9875 (scalb_test_data): New variable.
9876 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9877 * sysdeps/i386/fpu/libm-test-ulps: Update.
9879 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9881 * math/libm-test.inc (fma_test): Use max_value instead of local
9883 (nextafter_test): Likewise.
9885 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9886 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9887 (acos_downward_test_data): New variable.
9888 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9889 (acos_upward_test_data): New variable.
9890 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9891 (acosh_test_data): New variable.
9892 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9893 (asin_test_data): New variable.
9894 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9895 (asin_tonearest_test_data): New variable.
9896 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9897 (asin_towardzero_test_data): New variable.
9898 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9899 (asin_downward_test_data): New variable.
9900 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9901 (asin_upward_test_data): New variable.
9902 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9903 (asinh_test_data): New variable.
9904 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9905 (atan_test_data): New variable.
9906 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9907 (atanh_test_data): New variable.
9908 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9909 (cbrt_test_data): New variable.
9910 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9911 (ceil_test_data): New variable.
9912 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9913 (cos_test_data): New variable.
9914 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9915 (cos_tonearest_test_data): New variable.
9916 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9917 (cos_towardzero_test_data): New variable.
9918 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9919 (cos_downward_test_data): New variable.
9920 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9921 (cos_upward_test_data): New variable.
9922 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9923 (cosh_test_data): New variable.
9924 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9925 (cosh_tonearest_test_data): New variable.
9926 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9927 (cosh_towardzero_test_data): New variable.
9928 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9929 (cosh_downward_test_data): New variable.
9930 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9931 (cosh_upward_test_data): New variable.
9932 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9933 (erf_test_data): New variable.
9934 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9935 (erfc_test_data): New variable.
9936 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9937 (exp_test_data): New variable.
9938 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9939 (exp_tonearest_test_data): New variable.
9940 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9941 (exp_towardzero_test_data): New variable.
9942 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9943 (exp_downward_test_data): New variable.
9944 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9945 (exp_upward_test_data): New variable.
9946 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9947 (exp10_test_data): New variable.
9948 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9949 (exp2_test_data): New variable.
9950 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9951 (expm1_test_data): New variable.
9952 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9953 (fabs_test_data): New variable.
9954 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9955 (floor_test_data): New variable.
9956 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9957 (j0_test_data): New variable.
9958 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9959 (j1_test_data): New variable.
9960 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9961 (log_test_data): New variable.
9962 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9963 (log10_test_data): New variable.
9964 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9965 (log1p_test_data): New variable.
9966 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9967 (log2_test_data): New variable.
9968 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9969 (logb_test_data): New variable.
9970 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9971 (logb_downward_test_data): New variable.
9972 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9973 (nearbyint_test_data): New variable.
9974 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9975 (rint_test_data): New variable.
9976 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9977 (rint_tonearest_test_data): New variable.
9978 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9979 (rint_towardzero_test_data): New variable.
9980 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9981 (rint_downward_test_data): New variable.
9982 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9983 (rint_upward_test_data): New variable.
9984 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9985 (round_test_data): New variable.
9986 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9987 (sin_test_data): New variable.
9988 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9989 (sin_tonearest_test_data): New variable.
9990 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9991 (sin_towardzero_test_data): New variable.
9992 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9993 (sin_downward_test_data): New variable.
9994 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9995 (sin_upward_test_data): New variable.
9996 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9997 (sinh_test_data): New variable.
9998 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9999 (sinh_tonearest_test_data): New variable.
10000 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10001 (sinh_towardzero_test_data): New variable.
10002 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10003 (sinh_downward_test_data): New variable.
10004 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10005 (sinh_upward_test_data): New variable.
10006 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10007 (sqrt_test_data): New variable.
10008 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10009 (tan_test_data): New variable.
10010 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10011 (tan_tonearest_test_data): New variable.
10012 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10013 (tan_towardzero_test_data): New variable.
10014 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10015 (tan_downward_test_data): New variable.
10016 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10017 (tan_upward_test_data): New variable.
10018 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10019 (tanh_test_data): New variable.
10020 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10021 (tgamma_test_data): New variable.
10022 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10023 (trunc_test_data): New variable.
10024 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10025 (y0_test_data): New variable.
10026 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10027 (y1_test_data): New variable.
10028 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10029 (significand_test_data): New variable.
10030 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10032 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10035 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10037 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10039 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10041 2013-05-10 Andreas Jaeger <aj@suse.de>
10044 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10045 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10047 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10049 * math/gen-libm-test.pl (adjust_arg): New function.
10050 (special_functions): Handle generating output in both functions
10052 (parse_args): Likewise.
10053 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10054 $in_func argument to parse_args.
10055 * math/libm-test.inc (struct test_f_f_data): New type.
10056 (IF_ROUND_INIT_): New macro.
10057 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10058 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10059 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10060 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10061 (ROUND_RESTORE_): Likewise.
10062 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10063 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10064 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10065 (ROUND_RESTORE_FE_UPWARD): Likewise.
10066 (RUN_TEST_LOOP_f_f): New macro.
10067 (acos_test_data): New variable.
10068 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10069 (acos_tonearest_test_data): New variable.
10070 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10072 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10074 * benchtests/bench-skeleton.c (startup): Fix coding style.
10076 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10079 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10080 negative infinity argument.
10081 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10082 negative infinity argument.
10083 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10084 negative infinity argument.
10085 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10088 2013-05-10 Florian Weimer <fweimer@redhat.com>
10090 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10091 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10092 * iconv/iconv_prog.c (main): Likewise.
10093 * locale/programs/charmap-dir.c (charmap_readdir)
10094 (fopen_uncompressed): Likewise.
10095 * locale/programs/locfile.c (siblings_uncached)
10096 (write_locale_data): Use lstat64 instead of lstat.
10097 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10100 2013-05-10 Andreas Jaeger <aj@suse.de>
10103 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10105 Include <locale.h>.
10107 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10109 * elf/dl-close.c (_dl_close_worker): Add comments.
10111 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10114 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10116 (__ieee754_rem_pio2l): Update comments.
10119 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10121 (__ieee754_rem_pio2l): Update comments.
10123 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10124 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10126 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10129 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10130 (M_PI_34_LOG10El): Likewise.
10131 (M_PI2_LOG10El): Likewise.
10132 (M_PI4_LOG10El): Likewise.
10133 (M_PI_LOG10El): Likewise.
10135 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10139 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10141 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10142 (MINUS_ZERO_INIT): Likewise.
10143 (PLUS_INFTY_INIT): Likewise.
10144 (MINUS_INFTY_INIT): Likewise.
10145 (QNAN_VALUE_INIT): Likewise.
10146 (MAX_VALUE_INIT): Likewise.
10147 (MIN_VALUE_INIT): Likewise.
10148 (MIN_SUBNORM_VALUE_INIT): Likewise.
10149 (plus_zero): Initialize with PLUS_ZERO_INIT.
10150 (minus_zero): Initialize with MINUS_ZERO_INIT.
10151 (plus_infty): Initialize with PLUS_INFTY_INIT.
10152 (minus_infty): Initialize with MINUS_INFTY_INIT.
10153 (qnan_value): Initialize with QNAN_VALUE_INIT.
10154 (max_value): Initialize with MAX_VALUE_INIT.
10155 (min_value): Initialize with MIN_VALUE_INIT.
10156 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10158 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10159 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10160 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10161 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10163 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10164 (RUN_TEST_2_f): Likewise.
10165 (RUN_TEST_ff_f): Likewise.
10166 (RUN_TEST_fi_f): Likewise.
10167 (RUN_TEST_fl_f): Likewise.
10168 (RUN_TEST_fff_f): Likewise.
10169 (RUN_TEST_c_f): Likewise.
10170 (RUN_TEST_f_f1): Likewise.
10171 (RUN_TEST_fF_f1): Likewise.
10172 (RUN_TEST_fI_f1): Likewise.
10173 (RUN_TEST_ffI_f1): Likewise.
10174 (RUN_TEST_c_c): Likewise.
10175 (RUN_TEST_cc_c): Likewise.
10176 (RUN_TEST_f_i): Likewise.
10177 (RUN_TEST_f_i_tg): Likewise.
10178 (RUN_TEST_ff_i_tg): Likewise.
10179 (RUN_TEST_f_b): Likewise.
10180 (RUN_TEST_f_b_tg): Likewise.
10181 (RUN_TEST_f_l): Likewise.
10182 (RUN_TEST_f_L): Likewise.
10183 (RUN_TEST_sincos): Likewise.
10184 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10185 whether to show exceptions. Do not include ");\n" in return
10187 (special_functions): Output call to RUN_TEST_sincos instead of
10188 check_float calls. Update calls to new_test.
10189 (parse_args): Output call to single RUN_TEST_* macro instead of
10190 check_* calls and other assignments. Update calls to new_test.
10196 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10197 input to result for tgamma overflow.
10198 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10199 (gamma_coeff): New variable.
10200 (NCOEFF): New macro.
10201 (gamma_positive): New function.
10202 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10203 underflow here. Use gamma_positive instead of exp (lgamma) for
10205 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10206 (gamma_coeff): New variable.
10207 (NCOEFF): New macro.
10208 (gammaf_positive): New function.
10209 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10210 underflow here. Use gamma_positive instead of exp (lgamma) for
10212 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10213 (gamma_coeff): New variable.
10214 (NCOEFF): New macro.
10215 (gammal_positive): New function.
10216 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10217 underflow here. Use gamma_positive instead of exp (lgamma) for
10219 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10220 (gamma_coeff): New variable.
10221 (NCOEFF): New macro.
10222 (gammal_positive): New function.
10223 (__ieee754_gammal_r): Handle positive infinity, overflow and
10224 underflow here. Handle NaN the same as positive infinity. Remove
10225 check x < 0xffffffff for negative integers. Use gamma_positive
10226 instead of exp (lgamma) for other arguments.
10227 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10228 (gamma_coeff): New variable.
10229 (NCOEFF): New macro.
10230 (gammal_positive): New function.
10231 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10232 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10233 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10234 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10235 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10236 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10237 * sysdeps/generic/math_private.h (__gamma_productf): New
10239 (__gamma_product): Likewise.
10240 (__gamma_productl): Likewise.
10241 * math/Makefile (libm-calls): Add gamma_product.
10242 * math/libm-test.inc (tgamma_test): Add more tests.
10243 * sysdeps/i386/fpu/libm-test-ulps: Update.
10244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10246 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10248 * benchtests/bench-skeleton.c (main): Preheat CPU.
10250 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10252 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10254 2013-05-07 Roland McGrath <roland@hack.frob.com>
10256 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10257 and _dl_skip_args_internal.
10259 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10261 * manual/message.texi (Message Translation): Talk about users.
10262 Message to key mapping impacts design.
10264 2013-05-06 Roland McGrath <roland@hack.frob.com>
10266 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10268 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10270 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10271 * sysdeps/wordsize-64/glob64.c: ... here.
10273 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10274 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10277 * debug/getlogin_r_chk.c: Moved to ...
10278 * login/getlogin_r_chk.c: ... here.
10279 * debug/Makefile (routines): Move getlogin_r_chk to ...
10280 * login/Makefile (routines): ... here.
10281 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10282 * login/Versions (libc: GLIBC_2.4): ... here.
10284 * io/poll.c (__poll): Renamed from poll.
10285 Add libc_hidden_def.
10286 (poll): Define as weak alias.
10288 * debug/ptsname_r_chk.c: Moved to ...
10289 * login/ptsname_r_chk.c: ... here.
10290 * debug/Makefile (routines): Move ptsname_r_chk to ...
10291 * login/Makefile (routines): ... here.
10292 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10293 * login/Versions (libc: GLIBC_2.4): ... here.
10295 * posix/getlogin.c: Moved to ...
10296 * login/getlogin.c: ... here.
10297 * posix/getlogin_r.c: Moved to ...
10298 * login/getlogin_r.c: ... here.
10299 * posix/getlogin_r.c: Moved to ...
10300 * login/getlogin_r.c: ... here.
10301 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10302 * login/Makefile (routines): ... here.
10303 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10304 * login/Versions (libc: GLIBC_2.0): ... here.
10306 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10307 (setrlimit): Define as weak alias.
10309 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10310 Call __ names for open, ftruncate, and close.
10311 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10312 (truncate): Define as weak alias.
10314 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10316 * math/gen-libm-test.pl (parse_args): Initialize x before each
10317 test of frexp, modf and remquo.
10319 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10320 test signgam value.
10322 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10326 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10328 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10330 2013-05-06 Roland McGrath <roland@hack.frob.com>
10332 * elf/dl-writev.h: New file.
10333 * elf/dl-misc.c: Include it.
10334 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10335 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10337 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10339 * math/libm-test.inc (noXFails): Remove variable.
10340 (noXPasses): Likewise.
10341 (BUILD_COMPLEX_INT): Remove macro.
10342 (print_screen): Remove xfail argument.
10343 (print_screen_max_error): Likewise.
10344 (update_stats): Likewise.
10345 (print_max_error): Likewise. Update calls to other affected
10347 (print_complex_max_error): Likewise.
10348 (test_single_exception): Update calls to print_screen.
10349 (test_single_errno): Likewise.
10350 (check_float_internal): Remove xfail argument. Update calls to
10351 other affected functions.
10352 (check_float): Likewise.
10353 (check_complex): Likewise.
10354 (check_int): Likewise.
10355 (check_long): Likewise.
10356 (check_bool): Likewise.
10357 (check_longlong): Likewise.
10358 (main): Don't print noXFails and noXPasses.
10359 * math/gen-libm-test.pl (top level): Don't mention expected
10360 failure handling in comment.
10361 (new_test): Don't handle expected failures.
10362 (parse_args): Don't mention expected failure handling in comment.
10363 (generate_testfile): Don't handle expected failures.
10364 (parse_ulps): Likewise.
10365 (print_ulps_file): Likewise.
10366 (get_failure): Remove function.
10367 (output_test): Don't handle expected failures.
10368 * make/README.libm-test: Don't mention expected failure handling.
10370 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10371 (minus_zero): Likewise.
10372 (plus_infty): Likewise.
10373 (minus_infty): Likewise.
10374 (qnan_value): Likewise.
10375 (max_value): Likewise.
10376 (min_value): Likewise.
10377 (min_subnorm_value): Likewise.
10378 (initialize): Do not initialize those variables dynamically.
10380 2013-05-03 Roland McGrath <roland@hack.frob.com>
10382 * io/open.c (__open_2): Moved to ...
10383 * io/open_2.c: ... this new file.
10384 * io/open64.c (__open64_2): Moved to ...
10385 * io/open64_2.c: ... this new file.
10386 * io/openat.c (__openat_2): Moved to ...
10387 * io/openat_2.c: ... this new file.
10388 * io/openat64.c (__openat64_2): Moved to ...
10389 * io/openat64_2.c: ... this new file.
10390 * io/Makefile (routines): Add them.
10391 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10392 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10393 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10394 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10395 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10396 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10397 (__openat64): Add hidden_ver.
10398 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10399 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10401 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10402 Separately conditionalize setting of GLRO(dl_sysinfo) so
10403 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10404 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10406 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10408 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10409 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10411 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10412 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10413 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10414 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10415 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10417 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10419 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10420 test signgam value.
10422 * math/libm-test.inc (hypot_test): Do not use
10423 IGNORE_ZERO_INF_SIGN.
10425 2013-05-03 Andreas Jaeger <aj@suse.de>
10427 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10429 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10430 (PF_MAX): Adjust for VSOCK change.
10432 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10436 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10439 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10440 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10441 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10443 2013-05-02 David S. Miller <davem@davemloft.net>
10445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10447 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10449 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10451 2013-05-01 Roland McGrath <roland@hack.frob.com>
10453 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10455 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10458 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10459 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10460 Use __attribute__ ((__gnu_inline__)).
10461 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10462 Don't use __attribute__ ((__gnu_inline__)).
10464 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10467 * math/s_catan.c (__catan): Handle small real or imaginary part of
10468 input specially to avoid spurious underflow.
10469 * math/s_catanf.c (__catanf): Likewise.
10470 * math/s_catanh.c (__catanh): Likewise.
10471 * math/s_catanhf.c (__catanhf): Likewise.
10472 * math/s_catanhl.c (__catanhl): Likewise.
10473 * math/s_catanl.c (__catanl): Likewise.
10474 * math/libm-test.inc (catan_test): Add more tests.
10475 (catanh_test): Likewise.
10476 * sysdeps/i386/fpu/libm-test-ulps: Update.
10477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10479 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10483 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10486 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10487 accurately for denominator in atan2.
10488 * math/s_catanf.c (__catanf): Likewise.
10489 * math/s_catanh.c (__catanh): Likewise.
10490 * math/s_catanhf.c (__catanhf): Likewise.
10491 * math/s_catanhl.c (__catanhl): Likewise.
10492 * math/s_catanl.c (__catanl): Likewise.
10493 * math/libm-test.inc (catan_test): Add more tests.
10494 (catanh_test): Likewise.
10495 * sysdeps/i386/fpu/libm-test-ulps: Update.
10496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10498 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10500 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10502 * benchtests/Makefile (bench): Remove slow benchmarks.
10503 * benchtests/atan-inputs: Add slow benchmark inputs.
10504 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10505 (BENCH_FUNC): Accept variant offset.
10507 * benchtests/bench-skeleton.c (main): Run benchmark for each
10509 * benchtests/cos-inputs: Add slow benchmark inputs.
10510 * benchtests/exp-inputs: Likewise.
10511 * benchtests/pow-inputs: Likewise.
10512 * benchtests/sin-inputs: Likewise.
10513 * benchtests/slowatan-inputs: Remove.
10514 * benchtests/slowatan.c: Remove.
10515 * benchtests/slowcos-inputs: Remove.
10516 * benchtests/slowcos.c: Remove.
10517 * benchtests/slowexp-inputs: Remove.
10518 * benchtests/slowexp.c: Remove.
10519 * benchtests/slowpow-inputs: Remove.
10520 * benchtests/slowpow.c: Remove.
10521 * benchtests/slowsin-inputs: Remove.
10522 * benchtests/slowsin.c: Remove.
10523 * benchtests/slowtan-inputs: Remove.
10524 * benchtests/slowtan.c: Remove.
10525 * benchtests/tan-inputs: Add slow benchmark inputs.
10526 * scripts/bench.pl: Parse comments and directives.
10528 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10530 ($(objpfx)bench-%.c): Remove *-ITER.
10531 * benchtests/bench-modf.c: Remove definition of ITER.
10532 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10533 (main): Loop for DURATION seconds instead of fixed number of
10535 * scripts/bench.pl: Don't expect iterations in parameters.
10537 2013-04-29 Roland McGrath <roland@hack.frob.com>
10539 * io/fchdir.c (__fchdir): Renamed from fchdir.
10540 (fchdir): Define as weak alias.
10542 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10544 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10545 (ERRNO_EDOM): Likewise.
10546 (ERRNO_ERANGE): Likewise.
10547 (noErrnoTests): New variable.
10548 (init_max_error): Set errno to 0.
10549 (test_single_errno): New function.
10550 (test_errno): Likewise.
10551 (check_float_internal): Call test_errno. Set errno to 0.
10552 (check_complex): Refer to errno tests in comment.
10553 (check_int): Call test_errno. Set errno to 0.
10554 (check_long): Likewise.
10555 (check_bool): Likewise.
10556 (check_longlong): Likewise.
10557 (cos_test): Use ERRNO_* flags for errno tests instead of
10559 (expm1_test): Likewise.
10560 (fmod_test): Likewise.
10561 (ilogb_test): Likewise.
10562 (lgamma_test): Likewise.
10563 (pow_test): Likewise.
10564 (remainder_test): Likewise.
10565 (sin_test): Likewise.
10566 (tan_test): Likewise.
10567 (yn_test): Likewise.
10568 (initialize): Set errno to 0.
10569 (main): Print number of errno tests.
10570 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10572 2013-04-29 Andreas Jaeger <aj@suse.de>
10575 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10579 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10580 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10584 * stdlib/random.c (__initstate): Return NULL if
10588 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10589 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10592 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10596 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10598 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10599 of individual tests.
10600 (casin_test): Likewise.
10601 (casinh_test): Likewise.
10603 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10606 * math/s_catan.c (__catan): Handle arguments with large real or
10607 imaginary part separately without squaring.
10608 * math/s_catanf.c (__catanf): Likewise.
10609 * math/s_catanh.c (__catanh): Likewise.
10610 * math/s_catanhf.c (__catanhf): Likewise.
10611 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10613 (__catanhl): Handle arguments with large real or imaginary part
10614 separately without squaring.
10615 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10617 (__catanl): Handle arguments with large real or imaginary part
10618 separately without squaring.
10619 * math/libm-test.inc (catan_test): Add more tests.
10620 (catanh_test): Likewise.
10621 * sysdeps/i386/fpu/libm-test-ulps: Update.
10622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10624 2013-04-27 Andreas Jaeger <aj@suse.de>
10627 * stdlib/stdlib.h: Update guards for qecvt.
10628 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10631 2013-04-27 Allan McRae <allan@archlinux.org>
10633 * sysdeps/i386/fpu/libm-test-ulps: Update.
10635 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10638 * math/s_catan.c: Include <float.h>.
10639 (__catan): Ensure underflow exception occurs for underflowed
10641 * math/s_catanf.c: Include <float.h>.
10642 (__catanf): Ensure underflow exception occurs for underflowed
10644 * math/s_catanh.c: Include <float.h>.
10645 (__catanh): Ensure underflow exception occurs for underflowed
10647 * math/s_catanhf.c: Include <float.h>.
10648 (__catanhf): Ensure underflow exception occurs for underflowed
10650 * math/s_catanhl.c: Include <float.h>.
10651 (__catanhl): Ensure underflow exception occurs for underflowed
10653 * math/s_catanl.c: Include <float.h>.
10654 (__catanl): Ensure underflow exception occurs for underflowed
10656 * math/libm-test.inc (catan_test): Add more tests.
10657 (catanh_test): Likewise.
10660 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10661 underflowed result.
10662 * math/s_ccoshf.c (__ccoshf): Likewise.
10663 * math/s_ccoshl.c (__ccoshl): Likewise.
10664 * math/s_csin.c (__csin): Likewise.
10665 * math/s_csinf.c (__csinf): Likewise.
10666 * math/s_csinh.c (__csinh): Likewise.
10667 * math/s_csinhf.c (__csinhf): Likewise.
10668 * math/s_csinhl.c (__csinhl): Likewise.
10669 * math/s_csinl.c (__csinl): Likewise.
10670 * math/libm-test.inc (ccos_test): Add more tests.
10671 (ccosh_test): Likewise.
10672 (csin_test): Likewise.
10673 (csinh_test): Likewise.
10675 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10677 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10678 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10679 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10680 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10681 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10682 powerpc/power5+/fpu folders.
10683 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10686 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10690 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10692 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10693 additions to variable.
10694 [$(config-machine) = x86_64] (modules-names): Likewise.
10695 ($(objpfx)tst-audit3): Remove dependency.
10696 ($(objpfx)tst-audit3.out): Likewise.
10697 ($(objpfx)tst-audit4): Likewise.
10698 ($(objpfx)tst-audit4.out): Likewise.
10699 ($(objpfx)tst-audit5): Likewise.
10700 ($(objpfx)tst-audit5.out): Likewise.
10701 ($(objpfx)tst-audit6): Likewise.
10702 ($(objpfx)tst-audit6.out): Likewise.
10703 ($(objpfx)tst-audit7): Likewise.
10704 ($(objpfx)tst-audit7.out): Likewise.
10705 (tst-audit3-ENV): Remove variable.
10706 (tst-audit4-ENV): Likewise.
10707 (tst-audit5-ENV): Likewise.
10708 (tst-audit6-ENV): Likewise.
10709 (tst-audit7-ENV): Likewise.
10710 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10711 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10712 addition to variable.
10713 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10714 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10715 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10716 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10717 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10718 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10719 tst-audit3, tst-audit4 and tst-audit5.
10720 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10721 tst-audit6 and tst-audit7.
10722 [$(subdir) = elf] (modules-names): Add audit modules for those
10724 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10725 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10726 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10727 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10728 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10729 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10730 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10731 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10732 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10733 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10734 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10735 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10736 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10737 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10738 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10739 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10741 [$(subdir) = elf && $(config-cflags-avx) = yes]
10742 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10743 [$(subdir) = elf && $(config-cflags-avx) = yes]
10744 (CFLAGS-tst-auditmod4a.c): Likewise.
10745 [$(subdir) = elf && $(config-cflags-avx) = yes]
10746 (CFLAGS-tst-auditmod4b.c): Likewise.
10747 [$(subdir) = elf && $(config-cflags-avx) = yes]
10748 (CFLAGS-tst-auditmod6b.c): Likewise.
10749 [$(subdir) = elf && $(config-cflags-avx) = yes]
10750 (CFLAGS-tst-auditmod6c.c): Likewise.
10751 [$(subdir) = elf && $(config-cflags-avx) = yes]
10752 (CFLAGS-tst-auditmod7b.c): Likewise.
10753 * elf/tst-audit3.c: Move to ...
10754 * sysdeps/x86_64/tst-audit3.c: ... here.
10755 * elf/tst-audit4.c: Move to ...
10756 * sysdeps/x86_64/tst-audit4.c: ... here.
10757 * elf/tst-audit5.c: Move to ...
10758 * sysdeps/x86_64/tst-audit5.c: ... here.
10759 * elf/tst-audit6.c: Move to ...
10760 * sysdeps/x86_64/tst-audit6.c: ... here.
10761 * elf/tst-audit7.c: Move to ...
10762 * sysdeps/x86_64/tst-audit7.c: ... here.
10763 * elf/tst-auditmod3a.c: Move to ...
10764 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10765 * elf/tst-auditmod3b.c: Move to ...
10766 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10767 * elf/tst-auditmod4a.c: Move to ...
10768 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10769 * elf/tst-auditmod4b.c: Move to ...
10770 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10771 * elf/tst-auditmod5a.c: Move to ...
10772 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10773 * elf/tst-auditmod5b.c: Move to ...
10774 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10775 * elf/tst-auditmod6a.c: Move to ...
10776 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10777 * elf/tst-auditmod6b.c: Move to ...
10778 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10779 * elf/tst-auditmod6c.c: Move to ...
10780 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10781 * elf/tst-auditmod7a.c: Move to ...
10782 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10783 * elf/tst-auditmod7b.c: Move to ...
10784 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10786 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10789 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10790 define unconditionally.
10791 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10792 define unconditionally.
10793 (INT8_C, INT16_C, etc.): Likewise.
10795 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10797 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10798 __ehdr_start with hidden visibility.
10800 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10802 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10804 * math/libm-test.inc (cos_test): Use accurate hex constants.
10805 (sincost_test): Likewise.
10807 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10809 * math/libm-test.inc (catan_test): Add more tests.
10810 (catanh_test): Likewise.
10812 * math/s_catanf.c (__catanf): Use suffixed floating-point
10814 * math/s_catanhf.c (__catanhf): Likewise.
10815 * math/s_catanhl.c (__catanhl): Likewise.
10816 * math/s_catanl.c (__catanl): Likewise.
10819 * math/s_catan.c (__catan): Calculate imaginary part of result
10820 with log1p not log unless computing log of number close to 0.
10821 * math/s_catanf.c (__catanf): Likewise.
10822 * math/s_catanl.c (__catanl): Likewise.
10823 * math/s_catanh.c (__catanh): Calculate real part of result with
10824 log1p not log unless computing log of number close to 0.
10825 * math/s_catanhf.c (__catanhf): Likewise.
10826 * math/s_catanhl.c (__catanhl): Likewise.
10827 * math/libm-test.inc (catan_test): Add more tests.
10828 (catanh_test): Likewise.
10829 * sysdeps/i386/fpu/libm-test-ulps: Update.
10830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10832 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10834 * benchtests/Makefile: Mention files in which fast and slow
10835 paths of math functions are implemented.
10837 2013-04-23 Roland McGrath <roland@hack.frob.com>
10839 * sysdeps/posix/timespec_get.c: New file.
10841 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10843 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10845 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10847 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10848 powerpc/power5/fpu folders.
10849 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10850 * benchtests/Makefile: Add modf testcase.
10851 * benchtests/bench-modf.c: New file: Benchmark test for mo
10853 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10856 * time/Makefile (tests): Add tst-strptime-whitespace.
10857 * time/strptime_l.c (get_number): Use ISSPACE.
10858 (__strptime_internal): Likewise.
10859 * time/tst-strptime-whitespace.c: New test case.
10861 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10863 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10865 (_nss_files_init): Set it here.
10867 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10869 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10870 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10873 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10875 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10877 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10882 2013-04-21 David S. Miller <davem@davemloft.net>
10884 * po/ru.po: Update Russion translation from translation project.
10886 2013-04-17 Adam Conrad <adconrad@0c3.net>
10888 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10891 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10893 * configure.in: Remove i386 configure warning. Remove i386 case.
10894 * configure: Regenerate.
10895 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10896 Add example to error message.
10897 * sysdeps/i386/configure: Regenerate.
10899 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10901 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10903 * benchtests/cos-inputs: New file.
10904 * benchtests/slowcos-inputs: New file.
10905 * benchtests/slowcos.c: New file.
10906 * benchtests/slowtan-inputs: New file.
10907 * benchtests/slowtan.c: New file.
10908 * benchtests/tan-inputs: New file.
10910 2013-04-16 Roland McGrath <roland@hack.frob.com>
10912 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10915 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10917 * benchtests/Makefile: Include cppflags-iterator.mk to add
10918 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10920 * Makefile.in (bench-clean): New target.
10921 * benchtests/Makefile (bench-clean): Likewise.
10923 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10925 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10927 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10929 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10931 2013-04-15 Andreas Schwab <schwab@suse.de>
10933 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10934 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10935 * nscd/pwdcache.c (cache_addpw): Likewise.
10936 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10939 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10941 * benchtests/Makefile (bench): Write all output to
10942 bench-out.tmp together.
10944 2013-04-15 Andreas Schwab <schwab@suse.de>
10946 * nscd/nscd.c (main): Don't fork again after closing files.
10948 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10950 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10952 * benchtests/Rules (bench-deps): Collect dependencies into a
10953 single variable. Add Makefile to dependencies.
10954 ($(objpfx)bench-%.c): Depend on bench-deps.
10956 2013-04-12 Roland McGrath <roland@hack.frob.com>
10957 Xavier Roche <roche+kml2@exalead.com>
10960 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10961 just that it's a file descriptor.
10962 * manual/llio.texi (Synchronizing AIO Operations): Update description
10963 for EBADF error from aio_fsync.
10965 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10967 * Rules (bench): Move target definition...
10968 * benchtests/Makefile: ... here.
10970 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10972 * math/libm-test.inc (cos_test): Fix PI/2 test.
10973 (sincos_test): Likewise.
10974 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10975 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10977 2013-04-11 Andreas Schwab <schwab@suse.de>
10980 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10981 accept exponent character only when digits were seen.
10982 * stdio-common/Makefile (tests): Add bug26.
10983 * stdio-common/bug26.c: New file.
10986 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10989 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10991 * Makeconfig (rtld-prefix): Define built linker prefix.
10992 * Rules (run-bench): Use it.
10993 * math/Makefile (run-regen-ulps): Likewise.
10995 * Rules (bench): Remove eval.
10997 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10998 Roland McGrath <roland@hack.frob.com>
10999 Ondrej Bilka <neleai@seznam.cz>
11002 * time/getdate.c: Include ctype.h and alloca.h.
11003 (__getdate_r): Trim leading and trailing spaces of input.
11004 * time/tst-getdate.c (tests): Add tests with leading and
11007 2013-04-08 Roland McGrath <roland@hack.frob.com>
11010 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11011 when computing value.
11013 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11015 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11016 Use testrun.sh to run libm tests.
11019 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11021 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11024 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11026 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11028 * Makefile.in (regen-ulps): New target.
11029 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11030 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11031 [ifneq (no,$(PERL)] (regen-ulps): New target.
11032 [ifeq (no,$(PERL)] (regen-ulps): New target.
11033 * math/libm-test.inc (ulps_file_name): Define.
11034 (output_dir): New variable.
11035 (options): Add "output-dir" option.
11036 (parse_opt): Handle 'o' case.
11037 (main): If output_dir is non-NULL use it as a prefix
11039 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11041 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11043 [BZ #10060, #10062]
11044 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11045 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11046 fail configure if __sync_val_compare_and_swap is not inlined.
11047 * sysdeps/i386/configure: Regenerate.
11048 * configure.in: Build for i686 when configured for i386.
11049 * configure: Regenerate.
11050 * README: Remove i386 reference.
11052 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11054 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11055 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11057 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11059 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11060 (lmsnanval): New variables.
11061 (F): Add conversion tests.
11062 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11063 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11065 * stdio-common/tstdiomisc.c (F): Properly collect individual
11068 [BZ #14686, #15336]
11069 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11070 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11071 Instead, use input NaN values or generate a qNaN by arithmetic
11072 operation. Also fix bugs to comply with the standard.
11073 * math/libm-test.inc (remainder_test): Add more tests.
11075 [BZ #15335, #15342]
11076 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11078 input NaN values or generate a qNaN by arithmetic operation.
11080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11083 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11086 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11089 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11090 underflowed result.
11091 * math/s_cexpf.c (__cexpf): Likewise.
11092 * math/s_cexpl.c (__cexpl): Likewise.
11093 * math/libm-test.inc (cexp_test): Add more tests.
11095 2013-04-03 Andreas Schwab <schwab@suse.de>
11098 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11099 order arrays from heap if bigger than alloca cutoff.
11101 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11103 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11104 (SNAN_TESTS_double): Refer to GCC PR56831.
11105 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11108 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11110 * Rules (bench): Move bench.out after the run is complete.
11112 * Rules (bench): Echo currently running benchmark.
11114 * benchtests/Makefile (bench): Add atan and slowatan.
11115 * benchtests/atan-inputs: New file.
11116 * benchtests/slowatan-inputs: New file.
11117 * benchtests/slowatan.c: New file.
11119 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11124 * sysdeps/unix/sysv/linux/kernel-features.h
11125 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11126 __ASSUME_XFS_RESTRICTED_CHOWN.
11127 * sysdeps/unix/sysv/linux/pathconf.c
11128 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11129 Save and restore errno.
11131 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11134 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11135 arguments using __kernel_casinh.
11136 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11137 arguments using __kernel_casinhf.
11138 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11139 arguments using __kernel_casinhl.
11140 * math/libm-test.inc (cacosh_test): Add more tests.
11141 * sysdeps/i386/fpu/libm-test-ulps: Update.
11142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11144 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11146 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11147 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11149 * bench/Makefile (bench): Add sin and slowsin.
11150 * benchtests/sin-inputs: New file.
11151 * benchtests/slowsin-inputs: New file.
11152 * benchtests/slowsin.c: New file.
11154 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11155 (bench): Add slowexp and slowpow.
11156 (exp-ITER): Increase iterations.
11157 (pow-ITER): Likewise.
11158 * benchtests/exp-inputs: Change input.
11159 * benchtests/pow-inputs: Likewise.
11160 * benchtests/slowexp-inputs: New file.
11161 * benchtests/slowexp.c: New file.
11162 * benchtests/slowpow-inputs: New file.
11163 * benchtests/slowpow.c: New file.
11165 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11167 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11169 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11170 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11171 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11172 * benchtests/Makefile: Add rint benchtest.
11173 * benchtests/rint-inputs: Input for rint benchtest.
11175 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11177 * Versions.def (libm): Add GLIBC_2.18.
11178 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11179 hidden libm prototypes.
11180 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11181 * math/Makefile (libm-calls): Add s_issignaling.
11182 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11183 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11184 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11186 * math/math.h [__USE_GNU] (issignaling): New macro.
11187 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11188 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11189 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11190 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11191 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11193 * manual/arith.texi (issignaling): New section.
11194 * manual/libm-err-tab.pl (@all_functions): Update comment.
11195 * math/gen-libm-test.pl (parse_args): Apply special handling for
11197 * math/libm-test.inc (print_float, issignaling_test): New
11199 (check_float_internal): Add issignaling checks.
11200 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11201 default definition.
11202 * sysdeps/powerpc/math-tests.h: New file.
11203 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11205 * math/test-snan.c (TEST_FUNC): Likewise.
11207 2013-03-30 David S. Miller <davem@davemloft.net>
11209 * po/de.po: Update from translation team.
11211 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11214 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11215 imaginary part less than 1.0 and real part less than 0.5
11217 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11218 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11219 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11220 (cacos_test): Add more tests.
11221 (casin_test): Likewise.
11222 (casinh_test): Likewise.
11223 * sysdeps/i386/fpu/libm-test-ulps: Update.
11224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11226 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11228 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11229 ONE with its value.
11231 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11232 (__pow_mp): Replace ONE and MONE with their values.
11233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11234 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11235 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11236 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11237 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11238 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11240 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11242 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11243 (__pow_mp): Replace ZERO and MZERO with their values.
11244 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11245 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11246 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11248 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11249 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11252 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11254 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11256 2013-03-28 Roland McGrath <roland@hack.frob.com>
11258 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11259 Declare with __attribute__ ((weak)).
11260 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11261 Call __call_tls_dtors only if it's not NULL.
11263 2013-03-28 Roland McGrath <roland@hack.frob.com>
11265 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11266 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11267 magic __ehdr_start linker symbol if it's defined.
11268 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11269 them up here if it was already done.
11271 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11272 (_dl_aux_init): Use const in cast when setting it.
11273 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11274 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11275 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11277 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11279 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11280 * csu/libc-tls.c: Nor here.
11281 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11283 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11284 (__libc_message): Never call vsyslog.
11286 2013-03-28 Alan Modra <amodra@gmail.com>
11288 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11290 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11293 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11296 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11300 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11303 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11304 Don't add gid passed as argument.
11306 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11308 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11311 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11312 imaginary part between 1.0 and 1.5 and real part less than 0.5
11314 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11315 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11316 * math/libm-test.inc (cacos_test): Add more tests.
11317 (casin_test): Likewise.
11318 (casinh_test): Likewise.
11319 * sysdeps/i386/fpu/libm-test-ulps: Update.
11320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11322 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11324 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11327 (denorm): Likewise.
11328 (__dbl_mp): Likewise.
11329 (add_magnitudes): Likewise.
11330 (sub_magnitudes): Likewise.
11338 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11340 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11341 (__dubcos): Likewise.
11342 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11343 (__ieee754_acos): Likewise.
11344 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11345 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11346 (__exp1): Likewise.
11347 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11348 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11350 (my_log2): Likewise.
11351 (checkint): Likewise.
11352 * sysdeps/ieee754/dbl-64/e_remainder.c
11353 (__ieee754_remainder): Likewise.
11354 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11355 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11356 (bsloww): Likewise.
11357 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11359 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11360 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11361 MANTISSA_STORE_T to store computations on mantissa. Use
11362 macros for rounding and division.
11363 (denorm): Likewise.
11364 (__dbl_mp): Likewise.
11365 (add_magnitudes): Likewise.
11366 (sub_magnitudes): Likewise.
11369 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11370 powers of two in terms of TWOPOW macro.
11371 (mp_no): Make type of mantissa as MANTISSA_T.
11372 [!RADIXI]: Define RADIXI.
11373 [!TWO52]: Define TWO52.
11374 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11376 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11378 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11379 llroundl symbol when building for PPC32.
11381 2013-03-24 Mark H Weaver <mhw@netris.org>
11383 * manual/arith.texi (Normalization Functions): Fix prototypes for
11384 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11386 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11389 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11390 high value to check if expl overflow.
11391 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11392 to check for underflow and overflow.
11393 * math/libm-test.inc: Add exp test.
11395 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11398 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11401 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11403 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11406 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11408 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11409 wrap blocks consisting of several statements.
11411 * sysdeps/generic/math-tests.h: New file.
11412 * sysdeps/i386/fpu/math-tests.h: Likewise.
11413 * math/test-snan.c: Include it.
11414 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11416 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11419 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11420 (__ieee754_j0l): Do not improve calculations using cos of twice
11421 input for inputs above LDBL_MAX / 2.0L.
11422 (__ieee754_y0l): Likewise.
11423 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11424 (__ieee754_j1l): Do not improve calculations using cos of twice
11425 input for inputs above LDBL_MAX / 2.0L.
11426 (__ieee754_y1l): Likewise.
11427 * math/libm-test.inc (j0_test): Add another test.
11428 (j1_test): Likewise.
11429 (y0_test): Likewise.
11430 (y1_test): Likewise.
11431 * sysdeps/i386/fpu/libm-test-ulps: Update.
11433 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11435 * Rules ($(objpfx)bench-%.c): Include code from a C source
11438 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11441 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11442 imaginary part 1.0 and real part less than 0.5 specially.
11443 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11444 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11445 * math/libm-test.inc (cacos_test): Add more tests.
11446 (casin_test): Likewise.
11447 (casinh_test): Likewise.
11448 * sysdeps/i386/fpu/libm-test-ulps: Update.
11449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11451 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11453 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11454 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11456 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11458 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11459 * config.make.in (config-cflags-sse4): Remove variable.
11460 (config-cflags-avx): Likewise.
11461 (config-cflags-sse2avx): Likewise.
11462 (config-cflags-novzeroupper): Likewise.
11463 (config-asflags-i686): Likewise.
11464 (have-mfma4): Likewise.
11465 (have-as-vis3): Likewise.
11467 * configure.in (MIG): Do not AC_SUBST.
11468 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11469 (libc_cv_cc_sse4): Do not AC_SUBST.
11470 (libc_cv_cc_avx): Likewise.
11471 (libc_cv_cc_sse2avx): Likewise.
11472 (libc_cv_cc_novzeroupper): Likewise.
11473 (libc_cv_cc_fma4): Likewise.
11474 (libc_cv_as_i686): Likewise.
11475 (libc_cv_sparc_as_vis3): Likewise.
11476 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11478 (config-asflags-i686): Likewise.
11479 (config-cflags-avx): Likewise.
11480 (config-cflags-sse2avx): Likewise.
11481 (have-mfma4): Likewise.
11482 (config-cflags-novzeroupper): Likewise.
11483 * sysdeps/mach/configure.in (MIG): Likewise.
11484 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11485 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11487 (config-cflags-avx): Likewise.
11488 (config-cflags-sse2avx): Likewise.
11489 (have-mfma4): Likewise.
11490 (config-cflags-novzeroupper): Likewise.
11491 * configure: Regenerated.
11492 * sysdeps/i386/configure: Likewise.
11493 * sysdeps/mach/configure: Likewise.
11494 * sysdeps/sparc/configure: Likewise.
11495 * sysdeps/x86_64/configure: Likewise.
11497 2013-03-20 Roland McGrath <roland@hack.frob.com>
11500 * locale/programs/localedef.c (options): Put N_ translation marker
11501 on argument names, not just descriptions.
11503 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11505 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11507 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11510 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11512 2013-03-19 Roland McGrath <roland@hack.frob.com>
11514 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11515 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11516 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11517 [!BEFORE_ABORT] (before_abort): New function.
11518 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11519 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11520 (writev_for_fatal): New function.
11521 (WRITEV_FOR_FATAL): New macro; call that.
11522 (backtrace_and_maps): New function.
11523 (BEFORE_ABORT): New macro; call that.
11524 (struct str_list): Type removed.
11525 (__libc_message, __libc_fatal): Functions removed.
11526 Include <sysdeps/posix/libc_fatal.c> instead.
11528 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11530 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11532 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11535 2013-03-19 Andreas Schwab <schwab@suse.de>
11537 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11538 * sysdeps/gnu/configure: Regenerate.
11540 * configure.in: Substitute libc_cv_rtlddir.
11541 * configure: Regenerate.
11542 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11543 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11544 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11545 * elf/Makefile (install-others, CFLAGS-interp.c)
11546 (ldso_install, common-ldd-rewrite): Likewise.
11547 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11548 $(inst_slibdir)/$(rtld-installed-name).
11549 * scripts/rellns-sh: Add -p option.
11550 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11553 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11555 * manual/nptl.texi: Renamed to ...
11556 * manual/threads.texi: ... this.
11557 * manual/Makefile (chapters): Update.
11559 2013-03-18 Roland McGrath <roland@hack.frob.com>
11562 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11563 on argument names, not just descriptions.
11564 * malloc/memusagestat.c (options): Likewise.
11565 * nss/getent.c (options): Likewise.
11567 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11570 * iconv/iconv_prog.c (options): Put N_ translation marker
11571 on argument names, not just descriptions.
11572 * iconv/iconvconfig.c (options): Likewise.
11574 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11576 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11577 implementation which is faster on all x86_64 architectures.
11578 Tested on AMD, Intel Nehalem, SNB, IVB.
11579 * sysdeps/x86_64/strnlen.S: Likewise.
11581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11582 Remove all multiarch strlen and strnlen versions.
11583 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11584 Remove strlen and strnlen related parts.
11586 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11587 Inline strlen part.
11588 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11590 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11591 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11592 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11593 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11594 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11595 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11597 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11599 * manual/memory.texi (Malloc Tunable Parameters):
11600 Sort parameters alphabetically. Add comments for missing entries.
11602 2013-03-17 David S. Miller <davem@davemloft.net>
11604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11606 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11609 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11610 for arguments at most half maximum finite value.
11611 * math/libm-test.inc (j0_test): Add more tests.
11612 (j1_test): Likewise.
11613 (y0_test): Likewise.
11614 (y1_test): Likewise.
11615 * sysdeps/i386/fpu/libm-test-ulps: Update.
11616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11619 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11620 1 / x and functions P and Q for arguments above 0x1p256L.
11621 (__ieee754_y0l): Likewise.
11622 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11623 (__ieee754_y1l): Likewise.
11624 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11625 (j1_test): Likewise.
11626 (y0_test): Likewise.
11627 (y1_test): Likewise.
11629 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11631 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11634 2013-03-15 Roland McGrath <roland@hack.frob.com>
11636 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11637 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11638 zero since it's initialized to EXEC_PAGESIZE.
11640 * sysdeps/unix/sysv/linux/ldsodefs.h
11641 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11642 * sysdeps/generic/ldsodefs.h: ... here.
11644 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11646 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11648 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11650 * math/test-snan.c: Renamed from
11651 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11652 * math/Makefile (tests): Add test-snan.
11653 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11656 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11657 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11659 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11660 __builtin_nan family of functions.
11661 * math/libm-test.inc (initialize): Initialize qnan_value with
11662 __builtin_nan family of functions.
11663 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11665 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11667 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11668 storage class. Initialize qNaN_var and sNaN_var with
11669 __builtin_nan and __builtin_nans families of functions,
11672 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11673 (sqrt_test): Remove duplicate test with qNaN input.
11674 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11675 (round_test, signbit_test, significand_test): Note missing +/-Inf
11676 as well as qNaN tests.
11678 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11679 qNaN_var. Fix a few strings, too.
11680 * math/libm-test.inc (nan_value): Rename to qnan_value.
11681 * math/gen-libm-test.pl (%beautify): Adjust to that.
11682 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11683 * math/test-misc.c (main): Likewise.
11684 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11685 to __qnan_bytes, and __qnan_union, respectively.
11686 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11688 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11689 and lqnanval, respectively.
11690 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11691 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11692 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11693 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11695 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11696 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11699 * math/test-misc.c (main): Fix copy'n'pastos.
11700 * misc/tst-efgcvt.c (special): Likewise.
11702 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11703 Remove declarations.
11705 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11707 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11708 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11709 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11710 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11712 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11714 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11715 macro to return vdso values correctly in IFUNC implementations.
11716 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11717 Optimization by using IFUNC.
11719 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11720 Richard Henderson <rth@redhat.com>
11721 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11723 * Makefile.in (bench): New target.
11724 * NEWS: Mention the benchmark framework.
11725 * Rules (bench): Likewise.
11726 (binaries-bench): Generate binaries for functions to
11728 * benchtests/Makefile: New makefile for benchmark tests.
11729 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11731 * benchtests/exp-inputs: New input file for EXP function.
11732 * benchtests/pow-inputs: New input file for POW function.
11733 * scripts/bench.pl: New script to generate source files for
11734 benchmark programs.
11736 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11738 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11739 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11740 computations on mantissa. Use macros for rounding and
11742 (denorm): Likewise.
11743 (__dbl_mp): Likewise.
11744 (add_magnitudes): Likewise.
11745 (sub_magnitudes): Likewise.
11748 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11749 powers of two in terms of TWOPOW macro.
11750 (mp_no): Make type of mantissa as MANTISSA_T.
11751 [!RADIXI]: Define RADIXI.
11752 [!TWO52]: Define TWO52.
11753 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11755 * manual/nptl.texi (cindex): Modify threads to pthreads.
11757 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11759 * sysdeps/x86_64/preconfigure: Regenerated.
11761 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11764 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11766 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11767 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11769 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11770 * math/libm-test.inc (j0_test): Do not allow one spurious
11771 underflow exception.
11772 (y1_test): Likewise.
11774 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11776 * manual/Makefile (chapters): Add nptl.
11777 * manual/debug.texi (Debugging Support): Add link to Threads
11779 * manual/nptl.texi: New file.
11781 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11783 2013-03-14 Petr Baudis <pasky@ucw.cz>
11785 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11786 for non-NULL pointer before the memory validity test. Pointed
11787 out by Holger Brunck <holger.brunck@keymile.com>.
11789 2013-03-13 Andreas Schwab <schwab@suse.de>
11791 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11794 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11796 * timezone/zic.c: Update from tzcode 2013b.
11798 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11800 * manual/install.texi (Configuring and compiling):
11801 Mention i686 and i586.
11802 * INSTALL: Regenerate.
11804 2013-03-12 Roland McGrath <roland@hack.frob.com>
11806 * sysdeps/init_array/elf-init.c: New file.
11808 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11809 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11811 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11812 __gmon_start__ as global, but as static with a .preinit_array pointer.
11813 * sysdeps/init_array/gmon-start.c: New file. Use that.
11814 * sysdeps/init_array/crti.S: New file, empty except for comments.
11815 * sysdeps/init_array/crtn.S: Likewise.
11817 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11819 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11822 Remove Prefer_SSE_for_memop.
11823 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11824 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11825 HAS_PREFER_SSE_FOR_MEMOP.
11826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11829 Remove bzero, memset ifunc support.
11830 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11831 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11832 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11833 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11835 2013-03-11 Andreas Schwab <schwab@suse.de>
11838 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11841 (GLIBC_2.16): Remove pthread_atfork.
11843 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11845 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11846 (ptestcases.h): Likewise.
11848 2013-03-08 Roland McGrath <roland@hack.frob.com>
11850 * Makeconfig ($(common-objpfx)config.status): Depend on
11851 sysdeps/*/preconfigure{,.in} too.
11853 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11855 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11856 (__free_hook): Use void * instead of __malloc_ptr_t.
11857 (__malloc_hook): Likewise.
11858 (__realloc_hook): Likewise.
11859 (__memalign_hook): Likewise.
11860 (__after_morecore_hook): Likewise.
11861 * malloc/arena.c (save_malloc_hook): Likewise.
11862 (save_free_hook): Likewise.
11863 * malloc/hooks.c (malloc_hook_ini): Likewise.
11864 (realloc_hook_ini): Likewise.
11865 (memalign_hook_ini): Likewise.
11866 * malloc/malloc.c (malloc_hook_ini): Likewise.
11867 (realloc_hook_ini): Likewise.
11868 (memalign_hook_ini): Likewise.
11869 (__free_hook): Likewise.
11870 (__malloc_hook): Likewise.
11871 (__realloc_hook): Likewise.
11872 (__memalign_hook): Likewise.
11873 (__libc_malloc): Likewise.
11874 (__libc_free): Likewise.
11875 (__libc_realloc): Likewise.
11876 (__libc_memalign): Likewise.
11877 (__libc_valloc): Likewise.
11878 (__libc_pvalloc): Likewise.
11879 (__libc_calloc): Likewise.
11880 (__posix_memalign): Likewise.
11881 * malloc/morecore.c (__sbrk): Likewise.
11882 (__default_morecore): Likewise.
11884 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11886 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11887 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11888 __malloc_ptrdiff_t.
11890 * malloc/malloc.h (__malloc_size_t): Remove macro.
11891 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11893 (old_memalign_hook): Likewise.
11894 (old_realloc_hook): Likewise.
11895 (struct hdr): Likewise.
11897 (mallochook): Likewise.
11898 (memalignhook): Likewise.
11899 (reallochook): Likewise.
11900 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11901 (tr_old_realloc_hook): Likewise.
11902 (tr_old_memalign_hook): Likewise.
11903 (tr_mallochook): Likewise.
11904 (tr_reallochook): Likewise.
11905 (tr_memalignhook): Likewise.
11907 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11909 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11910 default_ldbl_pack and using as default implementation.
11911 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11913 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11914 redundant definition.
11915 (ldbl_insert_mantissa): Likewise.
11916 (ldbl_canonicalize): Likewise.
11917 (ldbl_nearbyint): Likewise.
11918 (ldbl_pack): Rename to ldbl_pack_ppc.
11919 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11920 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11921 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11923 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11926 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11927 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11928 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11930 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11931 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11932 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11934 2013-03-07 Andreas Jaeger <aj@suse.de>
11936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11939 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11941 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11942 Include mpa.h and declare __MPEXP.
11943 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11944 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11945 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11946 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11947 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11948 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11949 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11951 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11952 (__slowpow): Use long double EXPL and LOGL functions to
11954 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11955 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11956 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11957 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11958 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11959 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11962 intermediate variable to calculate exponent.
11964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11968 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11969 [!NO__SQR]: Define __sqr.
11970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11971 and NO__SQR. Remove all code except __mul and __sqr. Include
11972 sysdeps/ieee754/dbl-64/mpa.c.
11973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11976 * posix/Makefile (tests): Add tst-pathconf.
11977 * posix/tst-pathconf.c: New test case.
11978 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11980 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11982 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11984 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11986 2013-03-06 Andreas Jaeger <aj@suse.de>
11988 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11989 definition via __MAP_ANONYMOUS.
11991 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11992 it's not part of Linux headers.
11994 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11995 (MAP_HUGE_MASK): Define.
11997 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11999 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12000 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12002 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12003 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12005 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12006 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12008 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12010 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12011 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12012 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12013 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12014 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12015 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12017 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12020 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12021 Handle f2fs and efivarfs.
12023 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12026 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12027 (EFIVARFS_MAGIC): Add.
12028 (F2FS_LINK_MAX): Add.
12030 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12032 * stdio-common/vfprintf.c: Replace __builtin_expect with
12035 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12038 * sysdeps/generic/bp-sym.h: Remove file.
12039 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12040 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12041 <bp-sym.h> and <bp-asm.h>.
12042 (__longjmp): Don't use BP_SYM.
12043 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12045 (memcpy): Don't use BP_SYM.
12046 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12047 <bp-sym.h> and <bp-asm.h>.
12048 (memcpy): Don't use BP_SYM.
12049 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12051 (memcpy): Don't use BP_SYM.
12052 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12054 (memset): Don't use BP_SYM.
12055 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12056 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12057 (__bzero): Don't use BP_SYM.
12058 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12059 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12060 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12061 <bp-sym.h> and <bp-asm.h>.
12062 (memcmp): Don't use BP_SYM. Remove comment about bounded
12064 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12065 <bp-sym.h> and <bp-asm.h>.
12066 (memcpy): Don't use BP_SYM.
12067 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12068 <bp-sym.h> and <bp-asm.h>.
12069 (memset): Don't use BP_SYM.
12070 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12071 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12072 (__bzero): Don't use BP_SYM.
12073 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12074 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12075 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12076 <bp-sym.h> and <bp-asm.h>.
12077 (strncmp): Don't use BP_SYM. Remove comment about bounded
12079 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12080 <bp-sym.h> and <bp-asm.h>.
12081 (memcpy): Don't use BP_SYM.
12082 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12083 <bp-sym.h> and <bp-asm.h>.
12084 (memset): Don't use BP_SYM.
12085 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12086 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12087 (__bzero): Don't use BP_SYM.
12088 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12089 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12090 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12091 <bp-sym.h> and <bp-asm.h>.
12092 (__memchr): Don't use BP_SYM.
12093 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12094 <bp-sym.h> and <bp-asm.h>.
12095 (memcmp): Don't use BP_SYM. Remove comment about bounded
12097 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12098 <bp-sym.h> and <bp-asm.h>.
12099 (memcpy): Don't use BP_SYM.
12100 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12101 <bp-sym.h> and <bp-asm.h>.
12102 (__mempcpy): Don't use BP_SYM.
12103 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12104 <bp-sym.h> and <bp-asm.h>.
12105 (__memrchr): Don't use BP_SYM.
12106 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12107 <bp-sym.h> and <bp-asm.h>.
12108 (memset): Don't use BP_SYM.
12109 (__bzero): Likewise.
12110 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12111 <bp-sym.h> and <bp-asm.h>.
12112 (__rawmemchr): Don't use BP_SYM.
12113 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12114 <bp-sym.h> and <bp-asm.h>.
12115 (__STRCMP): Don't use BP_SYM.
12116 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12117 <bp-sym.h> and <bp-asm.h>.
12118 (strchr): Don't use BP_SYM.
12119 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12120 <bp-sym.h> and <bp-asm.h>.
12121 (__strchrnul): Don't use BP_SYM.
12122 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12123 <bp-sym.h> and <bp-asm.h>.
12124 (strlen): Don't use BP_SYM.
12125 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12126 <bp-sym.h> and <bp-asm.h>.
12127 (strncmp): Don't use BP_SYM. Remove comment about bounded
12129 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12130 <bp-sym.h> and <bp-asm.h>.
12131 (__strnlen): Don't use BP_SYM.
12132 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12133 <bp-sym.h> and <bp-asm.h>.
12134 (__GI__setjmp): Don't use BP_SYM.
12135 (_setjmp): Likewise.
12136 (__sigsetjmp): Likewise.
12137 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12138 (L(start_addresses)): Don't use BP_SYM.
12139 (_start): Likewise.
12140 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12142 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12143 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12144 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12145 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12146 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12148 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12149 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12150 about bounded pointers.
12151 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12152 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12153 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12155 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12156 about bounded pointers. Remove GKM FIXME comments.
12157 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12158 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12160 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12161 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12162 Remove GKM FIXME comments.
12163 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12164 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12165 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12167 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12168 about bounded pointers. Remove GKM FIXME comment.
12169 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12171 (strncmp): Don't use BP_SYM. Remove comment about bounded
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12174 <bp-sym.h> and <bp-asm.h>.
12175 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12177 <bp-sym.h> and <bp-asm.h>.
12178 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12181 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12183 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12186 2013-03-05 David S. Miller <davem@davemloft.net>
12188 * po/es.po: Update from translation team.
12190 2013-03-05 Andreas Jaeger <aj@suse.de>
12192 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12193 <bits/mman-linux.h>.
12194 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12196 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12197 <bits/mman-linux.h> to end of file.
12198 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12200 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12201 <bits/mman-linux.h> to end of file.
12202 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12204 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12205 <bits/mman-linux.h> to end of file.
12207 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12208 (MCL_CURRENT, MCL_FUTURE): Define here.
12210 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12213 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12215 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12217 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12219 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12220 fourth parameter needed for rt_sigprocmask syscall.
12221 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12222 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12223 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12224 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12225 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12226 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12228 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12231 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12232 comment about bounded pointers.
12233 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12234 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12236 2013-03-04 Andreas Jaeger <aj@suse.de>
12238 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12239 common definitions.
12241 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12242 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12243 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12244 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12245 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12246 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12248 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12251 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12252 __ieee754_sqrl instead of __sqrl.
12254 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12256 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12257 * sysdeps/powerpc/fpu_control.h: ... here.
12258 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12259 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12260 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12261 * sysdeps/powerpc/bits/mathinline.h: ... here.
12263 2013-03-01 Roland McGrath <roland@hack.frob.com>
12265 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12266 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12267 to just [NEED_DL_SYSINFO_DSO].
12268 * elf/dl-support.c: Likewise.
12269 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12270 * elf/rtld.c (dl_main): Likewise.
12271 * elf/setup-vdso.h (setup_vdso): Likewise.
12272 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12273 * sysdeps/unix/sysv/linux/dl-sysdep.c
12274 (_dl_discover_osversion): Likewise.
12276 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12278 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12279 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12281 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12283 * NEWS: Mention libm performance improvements and non-x86 PI
12286 * csu/libc-start.c (__pthread_initialize_minimal): Change
12287 function arguments.
12288 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12290 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12293 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12294 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12295 <bp-sym.h> and <bp-asm.h>.
12296 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12297 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12299 (memcpy): Don't use BP_SYM.
12300 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12302 (__mpn_add_n): Don't use BP_SYM.
12303 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12304 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12306 (__mpn_addmul_1): Don't use BP_SYM.
12307 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12308 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12310 (_setjmp): Don't use BP_SYM.
12311 (__novmx_setjmp): Likewise.
12312 (__GI__setjmp): Likewise.
12313 (__vmx_setjmp): Likewise.
12314 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12316 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12317 (__bzero): Don't use BP_SYM.
12318 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12319 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12320 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12321 <bp-sym.h> and <bp-asm.h>.
12322 (memcpy): Don't use BP_SYM.
12323 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12324 <bp-sym.h> and <bp-asm.h>.
12325 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12326 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12327 <bp-sym.h> and <bp-asm.h>.
12328 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12329 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12331 (__mpn_lshift): Don't use BP_SYM.
12332 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12333 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12335 (memset): Don't use BP_SYM.
12336 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12337 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12338 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12340 (__mpn_mul_1): Don't use BP_SYM.
12341 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12342 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12343 <bp-sym.h> and <bp-asm.h>.
12344 (memcmp): Don't use BP_SYM.
12345 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12346 <bp-sym.h> and <bp-asm.h>.
12347 (memcpy): Don't use BP_SYM.
12348 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12349 <bp-sym.h> and <bp-asm.h>.
12350 (memset): Don't use BP_SYM.
12351 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12352 <bp-sym.h> and <bp-asm.h>.
12353 (strncmp): Don't use BP_SYM.
12354 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12355 <bp-sym.h> and <bp-asm.h>.
12356 (memcpy): Don't use BP_SYM.
12357 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12358 <bp-sym.h> and <bp-asm.h>.
12359 (memset): Don't use BP_SYM.
12360 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12361 <bp-sym.h> and <bp-asm.h>.
12362 (__memchr): Don't use BP_SYM.
12363 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12364 <bp-sym.h> and <bp-asm.h>.
12365 (memcmp): Don't use BP_SYM.
12366 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12367 <bp-sym.h> and <bp-asm.h>.
12368 (memcpy): Don't use BP_SYM.
12369 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12370 <bp-sym.h> and <bp-asm.h>.
12371 (__mempcpy): Don't use BP_SYM.
12372 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12373 <bp-sym.h> and <bp-asm.h>.
12374 (__memrchr): Don't use BP_SYM.
12375 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12376 <bp-sym.h> and <bp-asm.h>.
12377 (memset): Don't use BP_SYM.
12378 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12379 <bp-sym.h> and <bp-asm.h>.
12380 (__rawmemchr): Don't use BP_SYM.
12381 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12382 <bp-sym.h> and <bp-asm.h>.
12383 (__STRCMP): Don't use BP_SYM.
12384 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12385 <bp-sym.h> and <bp-asm.h>.
12386 (strchr): Don't use BP_SYM.
12387 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12388 <bp-sym.h> and <bp-asm.h>.
12389 (__strchrnul): Don't use BP_SYM.
12390 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12391 <bp-sym.h> and <bp-asm.h>.
12392 (strlen): Don't use BP_SYM.
12393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12394 <bp-sym.h> and <bp-asm.h>.
12395 (strncmp): Don't use BP_SYM.
12396 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12397 <bp-sym.h> and <bp-asm.h>.
12398 (__strnlen): Don't use BP_SYM.
12399 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12401 (__mpn_rshift): Don't use BP_SYM.
12402 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12403 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12404 <bp-sym.h> and <bp-asm.h>.
12405 (__sigsetjmp): Don't use BP_SYM.
12406 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12407 (L(start_addresses)): Don't use BP_SYM.
12408 (_start): Likewise.
12409 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12411 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12412 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12413 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12414 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12416 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12417 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12418 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12419 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12421 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12423 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12424 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12426 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12428 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12429 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12430 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12432 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12434 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12436 (strncmp): Don't use BP_SYM,
12437 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12439 (__mpn_sub_n): Don't use BP_SYM.
12440 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12441 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12443 (__mpn_submul_1): Don't use BP_SYM.
12444 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12446 <bp-sym.h> and <bp-asm.h>.
12447 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12449 <bp-sym.h> and <bp-asm.h>.
12450 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12453 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12456 Use ZK to minimize writes to Z.
12457 (sub_magnitudes): Simplify code a bit.
12458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12459 Use ZK to minimize writes to Z.
12460 (sub_magnitudes): Simplify code a bit.
12462 2013-02-27 Roland McGrath <roland@hack.frob.com>
12464 * csu/gmon-start.c: Add special exception to license text.
12466 2013-02-27 Richard Henderson <rth@redhat.com>
12468 * scripts/config.guess: Update from config.git.
12469 * scripts/config.sub: Likewise.
12471 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12473 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12475 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12477 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12479 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12481 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12483 2013-02-26 Roland McGrath <roland@hack.frob.com>
12485 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12486 [$(build-shared = yes].
12488 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12490 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12491 (__mul): Reduce iterations for calculating mantissa.
12493 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12495 (__mpranred): Likewise.
12498 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12499 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12501 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12503 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12504 Define __attribute__.
12506 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12508 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12510 * posix/regex_internal.h (__attribute): Remove.
12511 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12512 (re_string_context_at): Likewise.
12513 (bitset_not): Use __attribute__ and mark function as possibly
12515 (bitset_merge): Likewise.
12516 (bitset_mask): Likewise.
12517 (re_string_char_size_at): Likewise.
12518 (re_string_wchar_at): Likewise.
12519 (re_string_elem_size_at): Likewise.
12521 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12523 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12527 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12531 (denorm): Likewise.
12532 (__dbl_mp): Likewise.
12533 (add_magnitudes): Likewise.
12534 (sub_magnitudes): Likewise.
12538 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12541 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12544 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12548 up changes with default code.
12549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12552 2013-02-24 Allan McRae <allan@archlinux.org>
12554 * manual/socket.texi (The Internet Namespace): Order menu items
12555 to match that in the file.
12557 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12558 node listing of the info page menu.
12560 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12563 * sysdeps/i386/bp-asm.h: Remove file.
12564 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12565 (PARMS): Do not use macros from bp-asm.h.
12569 (__mpn_add_n): Do not use BP_SYM
12570 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12572 (PARMS): Do not use macros from bp-asm.h.
12575 (__mpn_addmul_1): Do not use BP_SYM
12576 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12578 (PARMS): Do not use macros from bp-asm.h.
12579 (SIGMSK): Likewise.
12580 (_setjmp): Likewise. Do not use BP_SYM.
12581 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12583 (PARMS): Do not use macros from bp-asm.h.
12584 (SIGMSK): Likewise.
12585 (setjmp): Likewise. Do not use BP_SYM.
12586 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12588 (PARMS): Do not use macros from bp-asm.h.
12589 (__frexp): Do not use BP_SYM.
12591 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12593 (PARMS): Do not use macros from bp-asm.h.
12594 (__frexpf): Do not use BP_SYM.
12595 (frexpf): Likewise.
12596 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12598 (PARMS): Do not use macros from bp-asm.h.
12599 (__frexpl): Do not use BP_SYM.
12600 (frexpl): Likewise.
12601 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12603 (PARMS): Do not use macros from bp-asm.h.
12604 (__remquo): Do not use BP_SYM.
12605 (remquo): Likewise.
12606 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12608 (PARMS): Do not use macros from bp-asm.h.
12609 (__remquof): Do not use BP_SYM.
12610 (remquof): Likewise.
12611 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12613 (PARMS): Do not use macros from bp-asm.h.
12614 (__remquol): Do not use BP_SYM.
12615 (remquol): Likewise.
12616 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12618 (PARMS): Do not use macros from bp-asm.h.
12621 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12622 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12624 (PARMS): Do not use macros from bp-asm.h.
12625 (strlen): Do not use BP_SYM.
12626 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12628 (PARMS): Do not use macros from bp-asm.h.
12632 (__mpn_add_n): Do not use BP_SYM.
12633 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12635 (PARMS): Do not use macros from bp-asm.h.
12638 (__mpn_addmul_1): Do not use BP_SYM.
12639 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12642 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12644 (PARMS): Do not use macros from bp-asm.h.
12647 (__mpn_lshift): Do not use BP_SYM.
12648 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12650 (PARMS): Do not use macros from bp-asm.h.
12654 (memcpy): Likewise. Do not use BP_SYM.
12655 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12656 libc_hidden_def and weak_alias.
12657 (mempcpy): Do not use BP_SYM in weak_alias.
12658 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12660 (PARMS): Do not use macros from bp-asm.h.
12663 [!BZERO_P] (CHR): Likewise.
12664 (memset): Likewise. Do not use BP_SYM.
12665 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12667 (PARMS): Do not use macros from bp-asm.h.
12670 (__mpn_mul_1): Do not use BP_SYM.
12671 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12673 (PARMS): Do not use macros from bp-asm.h.
12676 (__mpn_rshift): Do not use BP_SYM.
12677 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12679 (PARMS): Do not use macros from bp-asm.h.
12682 (strchr): Likewise. Do not use BP_SYM.
12683 (index): Do not use BP_SYM in weak_alias.
12684 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12686 (PARMS): Do not use macros from bp-asm.h.
12689 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12690 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12692 (PARMS): Do not use macros from bp-asm.h.
12693 (strlen): Do not use BP_SYM.
12694 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12696 (PARMS): Do not use macros from bp-asm.h.
12700 (__mpn_sub_n): Do not use BP_SYM.
12701 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12703 (PARMS): Do not use macros from bp-asm.h.
12706 (__mpn_submul_1): Do not use BP_SYM.
12707 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12709 (PARMS): Do not use macros from bp-asm.h.
12713 (__mpn_add_n): Do not use BP_SYM.
12714 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12717 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12719 (PARMS): Do not use macros from bp-asm.h.
12722 (memcmp): Do not use BP_SYM.
12723 (bcmp): Do not use BP_SYM in weak_alias.
12724 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12726 (PARMS): Do not use macros from bp-asm.h.
12730 (memcpy): Likewise. Do not use BP_SYM.
12731 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12733 (PARMS): Do not use macros from bp-asm.h.
12737 (memmove): Likewise. Do not use BP_SYM.
12738 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12740 (PARMS): Do not use macros from bp-asm.h.
12744 (__mempcpy): Likewise. Do not use BP_SYM.
12745 (mempcpy): Do not use BP_SYM in weak_alias.
12746 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12748 (PARMS): Do not use macros from bp-asm.h.
12751 [!BZERO_P] (CHR): Likewise.
12752 (memset): Likewise. Do not use BP_SYM.
12753 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12755 (PARMS): Do not use macros from bp-asm.h.
12757 (strcmp): Do not use BP_SYM.
12758 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12760 (PARMS): Do not use macros from bp-asm.h.
12763 [USE_AS_STRTOK_R] (SAVE): Likewise.
12764 (FUNCTION): Likewise. Do not use BP_SYM.
12765 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12767 (strtok_r): Likewise.
12768 (__GI___strtok_r): Likewise.
12769 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12770 (PARMS): Do not use macros from bp-asm.h.
12773 (__mpn_lshift): Do not use BP_SYM.
12774 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12775 (PARMS): Do not use macros from bp-asm.h.
12778 (__memchr): Do not use BP_SYM.
12779 (memchr): Do not use BP_SYM in weak_alias.
12780 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12781 (PARMS): Do not use macros from bp-asm.h.
12784 (memcmp): Do not use BP_SYM.
12785 (bcmp): Do not use BP_SYM in weak_alias.
12786 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12787 (PARMS): Do not use macros from bp-asm.h.
12790 (__mpn_mul_1): Do not use BP_SYM.
12791 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12793 (PARMS): Do not use macros from bp-asm.h.
12796 (__rawmemchr): Do not use BP_SYM.
12797 (rawmemchr): Do not use BP_SYM in weak_alias.
12798 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12799 (PARMS): Do not use macros from bp-asm.h.
12802 (__mpn_rshift): Do not use BP_SYM.
12803 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12804 (PARMS): Do not use macros from bp-asm.h.
12805 (SIGMSK): Likewise.
12806 (__sigsetjmp): Likewise. Do not use BP_SYM.
12807 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12808 (_start): Do not use BP_SYM.
12809 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12810 (PARMS): Do not use macros from bp-asm.h.
12813 (__stpcpy): Likewise. Do not use BP_SYM.
12814 (stpcpy): Do not use BP_SYM in weak_alias.
12815 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12817 (PARMS): Do not use macros from bp-asm.h.
12821 (__stpncpy): Likewise. Do not use BP_SYM.
12822 (stpncpy): Do not use BP_SYM in weak_alias.
12823 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12824 (PARMS): Do not use macros from bp-asm.h.
12827 (strchr): Likewise. Do not use BP_SYM.
12828 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12830 (PARMS): Do not use macros from bp-asm.h.
12833 (__strchrnul): Likewise. Do not use BP_SYM.
12834 (strchrnul): Do not use BP_SYM in weak_alias.
12835 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12837 (PARMS): Do not use macros from bp-asm.h.
12839 (strcspn): Do not use BP_SYM.
12840 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12842 (PARMS): Do not use macros from bp-asm.h.
12845 (strpbrk): Likewise. Do not use BP_SYM.
12846 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12848 (PARMS): Do not use macros from bp-asm.h.
12851 (strrchr): Likewise. Do not use BP_SYM.
12852 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12853 (PARMS): Do not use macros from bp-asm.h.
12855 (strspn): Do not use BP_SYM.
12856 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12857 (PARMS): Do not use macros from bp-asm.h.
12861 (FUNCTION): Likewise. Do not use BP_SYM.
12862 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12864 (strtok_r): Likewise.
12865 (__GI___strtok_r): Likewise.
12866 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12867 (PARMS): Do not use macros from bp-asm.h.
12871 (__mpn_sub_n): Do not use BP_SYM.
12872 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12874 (PARMS): Do not use macros from bp-asm.h.
12877 (__mpn_submul_1): Do not use BP_SYM.
12878 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12880 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12882 (PARMS): Do not use macros from bp-asm.h.
12887 (__clone): Do not use BP_SYM.
12888 (clone): Do not use BP_SYM in weak_alias.
12889 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12891 (PARMS): Do not use macros from bp-asm.h.
12893 (__mmap64): Do not use BP_SYM.
12894 (mmap64): Do not use BP_SYM in weak_alias.
12895 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12896 <bp-sym.h> and <bp-asm.h>.
12897 (PARMS): Do not use macros from bp-asm.h.
12898 (__posix_fadvise64_l64): Do not use BP_SYM.
12899 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12900 (PARMS): Do not use macros from bp-asm.h.
12902 (semtimedop): Do not use BP_SYM.
12903 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12906 2013-02-21 Allan McRae <allan@archlinux.org>
12908 * manual/message.texi (Charset conversion in gettext):
12909 Move @end statement to beginning of line.
12911 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12918 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12919 (denorm): Likewise.
12920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12923 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12925 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12926 tail-call to the resolved function if pltexit isn't needed.
12928 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12931 or Y being zero as being unlikely.
12932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12935 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12937 * manual/nss.texi (System Databases and Name Service Switch):
12938 Remove frobnicate @pxref.
12940 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12942 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12943 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12945 2013-02-20 Petr Machata <pmachata@redhat.com>
12947 * elf/elf.h (R_ARM_TARGET1): New macro.
12948 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12949 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12950 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12951 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12952 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12953 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12954 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12955 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12956 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12957 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12958 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12959 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12960 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12961 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12962 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12963 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12964 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12965 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12966 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12967 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12968 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12969 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12970 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12971 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12972 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12973 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12974 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12975 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12976 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12977 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12978 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12979 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12980 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12981 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12982 (R_ARM_THM_GOT_BREL12): Likewise.
12983 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12984 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12985 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12986 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12987 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12988 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12989 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12990 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12991 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12993 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12995 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12996 __attribute_used__ to __attribute__ ((unused)).
12998 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13000 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13003 comment formatting.
13004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13006 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13009 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13011 (ENTER): Remove both macro definitions.
13013 (CHECK_BOUNDS_LOW): Likewise.
13014 (CHECK_BOUNDS_HIGH): Likewise.
13015 (CHECK_BOUNDS_BOTH): Likewise.
13016 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13017 (RETURN_BOUNDED_POINTER): Likewise.
13018 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13019 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13020 (POP_ERRNO_LOCATION_RETURN): Likewise.
13021 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13022 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13023 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13025 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13026 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13027 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13028 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13029 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13030 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13031 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13032 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13033 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13034 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13035 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13036 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13037 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13038 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13040 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13041 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13043 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13044 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13045 * sysdeps/i386/i586/memset.S (memset): Likewise.
13046 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13047 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13048 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13050 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13051 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13052 Change uses of L(2) to L(out).
13053 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13054 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13055 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13056 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13057 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13059 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13060 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13062 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13063 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13064 (RETURN): Do not use macro LEAVE.
13065 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13066 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13067 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13068 * sysdeps/i386/i686/memset.S (memset): Likewise.
13069 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13070 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13071 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13072 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13074 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13075 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13076 L(1_2) and L(1_3) into L(1).
13077 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13078 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13079 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13080 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13081 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13082 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13083 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13084 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13085 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13087 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13088 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13089 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13090 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13091 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13092 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13093 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13094 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13095 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13096 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13097 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13098 * sysdeps/i386/strspn.S (strspn): Likewise.
13099 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13101 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13102 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13103 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13104 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13105 L(1_3) into L(1_1).
13106 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13107 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13108 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13110 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13112 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13114 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13117 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13119 * math/atest-exp.c (exp_mpn): Remove ROUND.
13120 * math/atest-exp2.c (exp_mpn): Likewise.
13121 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13123 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13124 * stdlib/tst-tls-atexit-lib.c: Likewise.
13125 * stdlib/tst-tls-atexit.c: Likewise.
13127 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13129 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13130 and __attribute_alloc_size__.
13132 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13134 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13135 __attribute_alloc_size__.
13136 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13137 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13139 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13141 * include/programs/xmalloc.h: New file.
13142 * catgets/gencat.c: Include it.
13143 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13144 * elf/pldd.c: Likewise.
13145 * iconv/iconv_charmap.c: Likewise.
13146 * iconv/iconvconfig.c: Likewise.
13147 * iconv/strtab.c: Likewise.
13148 * locale/programs/locale.c: Likewise.
13149 * locale/programs/localedef.h: Likewise.
13150 * locale/programs/simple-hash.c: Likewise.
13151 * nscd/nscd.h: Likewise.
13152 * nss/makedb.c: Likewise.
13153 * sysdeps/generic/ldconfig.h: Likewise.
13155 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13157 * Versions.def: Add GLIBC_2.18.
13158 * include/link.h (struct link_map): New member l_tls_dtor_count.
13159 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13160 (__call_tls_dtors): Likewise.
13161 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13162 __cxa_thread_atexit_impl.
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13171 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13179 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13180 (tests): Add test case tst-tls-atexit.
13181 (modules-names): Add shared library for tst-tls-atexit.
13182 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13183 (GLIBC_PRIVATE): Add __call_tls_dtors.
13184 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13186 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13187 * stdlib/tst-tls-atexit.c: New test case.
13188 * stdlib/tst-tls-atexit-lib.c: New test case.
13190 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13192 * elf/Versions (ld): Add _dl_find_dso_for_object.
13193 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13194 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13195 (dl_open_worker): Use _dl_find_dso_for_object.
13196 * elf/dl-sym.c (do_sym): Likewise.
13197 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13199 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13201 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13202 Syntactic changes only.
13203 (_dl_runtime_profile): Do a tail-call to the resolved function.
13205 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13208 * sysdeps/x86_64/bp-asm.h: Remove file.
13209 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13210 <bp-sym.h> and <bp-asm.h>.
13211 (__clone): Do not use BP_SYM.
13212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13213 <bp-sym.h> and <bp-asm.h>.
13214 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13215 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13217 (_setjmp): Do not use BP_SYM.
13218 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13220 (setjmp): Do not use BP_SYM.
13221 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13223 (mempcpy): Do not use BP_SYM in weak_alias.
13224 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13226 (strchr): Do not use BP_SYM.
13227 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13229 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13230 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13231 (_start): Do not use BP_SYM.
13232 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13234 (strcat): Do not use BP_SYM.
13235 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13237 (STRCMP): Do not use BP_SYM.
13238 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13240 (STRCPY): Do not use BP_SYM.
13241 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13243 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13245 (FUNCTION): Do not use BP_SYM.
13246 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13248 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13250 2013-02-17 Andreas Jaeger <aj@suse.de>
13252 * time/Versions: Sort entries.
13253 * string/Versions: Likewise.
13254 * resolv/Versions: Likewise.
13255 * posix/Versions: Likewise.
13256 * iconv/Versions: Likewise.
13257 * elf/Versions: Likewise.
13258 * wcsmbs/Versions: Likewise.
13260 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13262 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13263 loop termination condition.
13265 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13266 variable to calculate EZ.
13269 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13270 the lower precision input.
13272 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13275 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13276 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13277 (run-via-rtld-prefix): Do not handle %-bp tests.
13278 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13279 (all-object-suffixes): Remove .ob.
13280 (bppfx): Remove variable.
13281 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13282 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13283 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13284 [$(build-bounded) = yes] (libtype.ob): Likewise.
13285 * Makerules (elide-routines.ob): Remove variable.
13286 (do-tests-clean): Do not handle *-bp.out.
13287 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13288 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13289 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13290 (tests): Do not include $(tests-bp.out).
13291 (xtests): Do not include $(xtests-bp.out).
13292 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13293 [$(build-bounded) = yes] ($(addprefix
13294 $(objpfx),$(binaries-bounded))): Remove rule.
13295 ($(objpfx)%-bp.out): Remove rule.
13296 * config.make.in (build-bounded): Remove variable.
13297 * crypt/Makefile [$(build-bounded) = yes]
13298 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13299 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13300 append to variable.
13301 [$(build-bounded) = yes] (install-lib): Likewise.
13302 [$(build-bounded) = yes] (generated): Likewise.
13303 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13305 * intl/Makefile [$(build-bounded) = yes]
13306 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13307 * math/Makefile [$(build-bounded) = yes]
13308 ($(tests:%=$(objpfx)%-bp): Likewise.
13309 * misc/Makefile [$(build-bounded) = yes]
13310 ($(objpfx)tst-tsearch-bp): Likewise.
13311 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13312 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13314 * string/Makefile (o-objects.ob): Remove variable.
13315 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13316 (CFLAGS-.ob): Remove variable.
13317 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13318 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13319 both definitions of variable.
13320 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13321 (ASFLAGS-.ob): Remove variable.
13323 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13326 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13327 Remove __BOUNDED_POINTERS__ from condition.
13328 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13329 * string/bits/string2.h [!__NO_STRING_INLINES &&
13330 !__BOUNDED_POINTERS__]: Likewise.
13331 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13333 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13334 Remove conditional code.
13335 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13336 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13337 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13341 * csu/libc-start.c: Do not include <bp-sym.h>.
13342 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13343 * elf/dl-open.c: Do not include <bp-sym.h>.
13344 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13345 * math/fegetenv.c: Do not include <bp-sym.h>.
13346 (fegetenv): Do not use BP_SYM in versioned symbols.
13347 * nptl/sysdeps/pthread/bits/libc-lockP.h
13348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13351 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13353 (__pthread_mutex_destroy): Likewise.
13354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13355 (__pthread_mutex_lock): Likewise.
13356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13357 (__pthread_mutex_trylock): Likewise.
13358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13359 (__pthread_mutex_unlock): Likewise.
13360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13361 (__pthread_mutexattr_init): Likewise.
13362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13363 (__pthread_mutexattr_destroy): Likewise.
13364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13365 (__pthread_mutexattr_settype): Likewise.
13366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13367 (__pthread_rwlock_init): Likewise.
13368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13369 (__pthread_rwlock_destroy): Likewise.
13370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13371 (__pthread_rwlock_rdlock): Likewise.
13372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13373 (__pthread_rwlock_tryrdlock): Likewise.
13374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13375 (__pthread_rwlock_wrlock): Likewise.
13376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13377 (__pthread_rwlock_trywrlock): Likewise.
13378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13379 (__pthread_rwlock_unlock): Likewise.
13380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13381 (__pthread_key_create): Likewise.
13382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13383 (__pthread_setspecific): Likewise.
13384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13385 (__pthread_getspecific): Likewise.
13386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13389 (_pthread_cleanup_push_defer): Likewise.
13390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13391 (_pthread_cleanup_pop_restore): Likewise.
13392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13393 (pthread_setcancelstate): Likewise.
13394 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13396 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13397 (memchr): Do not use BP_SYM in weak_alias.
13398 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13399 (fegetenv): Do not use BP_SYM in versioned symbols.
13400 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13401 (fesetenv): Do not use BP_SYM in versioned symbols.
13402 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13403 (feupdateenv): Do not use BP_SYM in versioned symbols.
13404 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13405 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13406 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13407 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13408 (open64): Do not use BP_SYM in weak_alias.
13409 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13410 (fegetenv): Do not use BP_SYM in versioned symbols.
13411 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13412 (fesetenv): Do not use BP_SYM in versioned symbols.
13413 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13414 (feupdateenv): Do not use BP_SYM in versioned symbols.
13415 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13416 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13417 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13418 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13419 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13420 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13421 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13423 (__libc_start_main): Do not use BP_SYM.
13425 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13428 redundant return line.
13430 (denorm): Likewise.
13431 (dbl_mp): Likewise.
13432 (sub_magnitudes): Likewise.
13438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13440 (denorm): Likewise.
13441 (dbl_mp): Likewise.
13442 (sub_magnitudes): Likewise.
13449 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13451 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13452 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13455 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13456 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13458 of __mul for squares.
13459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13463 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13464 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13466 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13469 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13471 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13472 prototype or function definition. Rename ubp_* variables and
13473 parameters. Remove argv definitions conditional on
13474 [__BOUNDED_POINTERS__].
13475 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13476 * elf/dl-runtime.c (_dl_fixup): Likewise.
13477 * include/set-hooks.h (RUN_HOOK): Likewise.
13478 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13480 * string/strcpy.c (strcpy): Do not use __unbounded.
13481 * sysdeps/generic/frame.h (struct layout): Likewise.
13482 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13483 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13484 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13485 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13486 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13487 (__backtrace): Likewise.
13488 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13490 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13491 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13492 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13494 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13495 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13496 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13497 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13498 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13499 Do not use __unbounded.
13500 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13501 Rename __unboundedrlimits parameter to rlimits in prototype.
13502 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13503 Do not use __unbounded.
13504 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13505 not use __ptrvalue.
13506 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13507 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13508 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13509 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13510 __ptrvalue or __unbounded.
13511 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13512 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13514 (__new_msgctl): Do not use __ptrvalue.
13515 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13517 (__libc_msgrcv): Do not use __ptrvalue.
13518 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13519 startup_info): Do not use __unbounded.
13520 (__libc_start_main): Likewise. Rename ubp_* variables and
13521 parameters. Remove argv definitions conditional on
13522 [__BOUNDED_POINTERS__].
13523 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13525 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13527 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13529 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13531 (__new_shmctl): Do not use __ptrvalue.
13532 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13533 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13535 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13536 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13537 (__libc_sigaction): Likewise.
13538 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13539 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13541 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13543 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13545 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13547 * string/mempcpy.c: Implement by calling memcpy.
13549 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13553 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13556 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13557 values in the mantissa.
13559 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13560 minimize writes to Z.
13561 (sub_magnitudes): Simplify code a bit.
13563 2013-02-12 Roland McGrath <roland@hack.frob.com>
13565 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13566 from the message. The linker prefixes all warnings with that already.
13568 2013-02-12 Andreas Schwab <schwab@suse.de>
13571 * posix/regexec.c (extend_buffers): Add parameter min_len.
13572 (check_matching): Pass minimum needed length.
13573 (clean_state_log_if_needed): Likewise.
13574 (get_subexp): Likewise.
13575 * posix/Makefile (tests): Add bug-regex34.
13576 (bug-regex34-ENV): Define.
13577 * posix/bug-regex34.c: New file.
13580 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13581 elements compare against the byte sequence of it, not its name.
13582 * posix/Makefile (tests): Add bug-regex35.
13583 (bug-regex35-ENV): Define.
13584 * posix/bug-regex35.c: New file.
13586 2013-02-11 Tom de Vries <tom@codesourcery.com>
13588 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13590 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13591 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13592 (CHECK_EOL): Add undef.
13594 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13596 * bits/stdlib-bsearch.h: New file.
13597 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13598 * stdlib/stdlib.h: Likewise.
13600 2013-02-11 Roland McGrath <roland@hack.frob.com>
13602 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13603 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13605 * manual/search.texi (Array Search Function): Add missing const in
13607 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13608 declaration to use rlim_t.
13609 (Basic Scheduling Functions): Remove erroneous const from
13610 sched_getparam prototype. Remove erroneous * from
13611 sched_get_priority_max and sched_get_priority_min prototypes.
13612 (Resource Usage): Fix summary @comment on vtimes to refer to
13613 sys/vtimes.h rather than vtimes.h.
13614 Add missing *s in vtimes prototype.
13615 (Limits on Resources): Fix ulimit prototype to return long int.
13616 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13617 prototypes to use long int rather than double.
13618 (BSD Random): Fix initstate and setstate to use char *, not void *.
13619 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13620 prototype to make second argument 'struct aiocb64 *const[]'.
13621 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13622 (Status of AIO Operations): Remove erroneous const in aio_return and
13623 aio_return64 prototypes.
13624 (Synchronizing I/O): Fix sync prototype to return void.
13625 * manual/startup.texi (Suboptions): Remove an erroneous const in
13626 getsubopt prototype.
13627 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13628 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13629 use size_t rather than int.
13630 (Scanning All Users): Likewise for getpwent_r.
13631 (Setting Groups): Add missing const to setgroups prototype.
13632 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13633 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13634 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13635 'const void *' rather than 'const char *'.
13636 (Host Address Functions): Likewise for inet_ntop.
13637 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13638 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13639 ssize_t for return value.
13640 (Sending Data): Likewise for send, sendto, sendmsg.
13641 (Socket Option Functions): Add a missing const in setsockopt prototype.
13642 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13643 use wchar_t for the argument.
13644 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13645 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13647 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13648 double/float/long double for second argument.
13649 Fix return types of significand, significandf, significandl.
13650 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13651 argument in fchmod prototype.
13652 (File Owner): Use uid_t and gid_t in fchown prototype.
13653 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13654 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13655 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13656 use 'const struct dirent **' as argument types to CMP function pointer
13658 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13659 (File Times): Fix summary magic @comment for struct utimbuf and utime
13660 to refer to utime.h, not time.h.
13661 * manual/string.texi (Argz Functions): Add missing const in
13662 argz_extract and argz_next prototypes.
13663 (Finding Tokens in a String): Likewise for basename.
13664 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13665 (Copying and Concatenation): Fix typo in wmemmove prototype.
13666 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13667 (Signal Stack): Remove erroneous const in sigstack prototype.
13668 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13670 (Simple Calendar Time): Likewise for stime.
13671 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13673 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13674 say sys/sysctl.h instead.
13675 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13676 and vsyslog prototypes.
13678 2013-02-11 Tom de Vries <tom@codesourcery.com>
13680 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13683 2013-02-11 Roland McGrath <roland@hack.frob.com>
13685 * misc/sys/mman.h: Fix typo in mremap comment.
13687 2013-02-08 Roland McGrath <roland@hack.frob.com>
13689 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13690 the '\0' terminator.
13692 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13695 * debug/segfault.c: Don't include <bp-checks.h>.
13696 * sysdeps/generic/bp-checks.h: Remove file.
13697 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13698 (__GETDENTS): Don't use CHECK_N.
13699 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13700 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13701 (__getgroups): Don't use CHECK_N.
13702 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13703 (setgroups): Don't use CHECK_N.
13704 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13705 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13706 (__libc_msgrcv): Don't use CHECK_N.
13707 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13708 (__libc_msgsnd): Don't use CHECK_N.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13711 (__libc_pread): Don't use CHECK_N.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13713 include <bp-checks.h>.
13714 (__libc_pread64): Don't use CHECK_N.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13716 include <bp-checks.h>.
13717 (__libc_pwrite): Don't use CHECK_N.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13719 include <bp-checks.h>.
13720 (__libc_pwrite64): Don't use CHECK_N.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13723 (__libc_pread): Don't use CHECK_N.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13725 include <bp-checks.h>.
13726 (__libc_pread64): Don't use CHECK_N.
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13728 include <bp-checks.h>.
13729 (__libc_pwrite): Don't use CHECK_N.
13730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13731 include <bp-checks.h>.
13732 (__libc_pwrite64): Don't use CHECK_N.
13733 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13734 (do_pread): Don't use CHECK_N.
13735 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13736 (do_pread64): Don't use CHECK_N.
13737 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13738 (do_pwrite): Don't use CHECK_N.
13739 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13740 (do_pwrite64): Don't use CHECK_N.
13741 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13742 (__libc_readv): Don't use CHECK_N.
13743 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13744 (semop): Don't use CHECK_N.
13745 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13747 (semtimedop): Don't use CHECK_N.
13748 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13749 (__libc_pread): Don't use CHECK_N.
13750 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13752 (__libc_pread64): Don't use CHECK_N.
13753 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13755 (__libc_pwrite): Don't use CHECK_N.
13756 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13758 (__libc_pwrite64): Don't use CHECK_N.
13759 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13761 (__libc_msgrcv): Don't use CHECK_N.
13762 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13763 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13764 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13765 (__libc_writev): Don't use CHECK_N.
13767 2013-02-08 Roland McGrath <roland@hack.frob.com>
13769 * string/strcpy.c: Removed unused variable.
13771 * Makeconfig (+sysdep-includes): Define with := rather than =.
13772 Use an existing include/ subdir of each sysdeps dir before it.
13774 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13776 * nscd/connection.c (register_traced_file): Comment function.
13777 [HAVE_INOTIFY] (union __inev): Define.
13778 [HAVE_INOTIFY] (inotify_check_files): New function.
13779 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13780 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13782 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13784 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13786 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13787 loaded if not already and that a failure is permanent.
13789 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13792 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13793 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13795 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13798 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13799 (CHECK_1_NULL_OK): Likewise.
13800 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13801 (__fxstat): Do not use CHECK_1.
13802 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13804 (___fxstat64): Do not use CHECK_1.
13805 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13807 (__fxstatat): Do not use CHECK_1.
13808 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13810 (__fxstatat64): Do not use CHECK_1.
13811 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13813 (__fxstat): Do not use CHECK_1.
13814 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13816 (__fxstatat): Do not use CHECK_1.
13817 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13819 (__getresgid): Do not use CHECK_1.
13820 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13822 (__getresuid): Do not use CHECK_1.
13823 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13825 (__lxstat): Do not use CHECK_1.
13826 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13828 (__old_msgctl): Do not use CHECK_1.
13829 (__new_msgctl): Likewise.
13830 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13832 (__new_setrlimit): Do not use CHECK_1.
13833 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13835 (__old_shmctl): Do not use CHECK_1.
13836 (__new_shmctl): Likewise.
13837 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13839 (__xstat): Do not use CHECK_1.
13840 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13841 (__lxstat): Do not use CHECK_1.
13842 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13844 (___lxstat64): Do not use CHECK_1.
13845 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13846 (__old_msgctl): Do not use CHECK_1.
13847 (__new_msgctl): Likewise.
13848 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13850 (__gettimeofday): Do not use CHECK_1.
13851 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13852 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13853 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13855 (__gettimeofday): Do not use CHECK_1.
13856 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13857 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13858 (__new_shmctl): Do not use CHECK_1.
13859 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13861 (do_sigtimedwait): Do not use CHECK_1.
13862 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13864 (do_sigwaitinfo): Do not use CHECK_1.
13865 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13867 (msgctl): Do not use CHECK_1.
13868 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13870 (shmctl): Do not use CHECK_1.
13871 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13872 (ustat): Do not use CHECK_1.
13873 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13875 (__fxstat): Do not use CHECK_1.
13876 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13878 (__fxstatat): Do not use CHECK_1.
13879 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13881 (__lxstat): Do not use CHECK_1.
13882 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13884 (__xstat): Do not use CHECK_1.
13885 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13886 (__xstat): Do not use CHECK_1.
13887 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13888 (___xstat64): Do not use CHECK_1.
13891 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13893 (CHECK_BOUNDS_HIGH): Likewise.
13894 * string/strcpy.c: Do not include <bp-checks.h>.
13895 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13897 2013-02-07 Roland McGrath <roland@hack.frob.com>
13899 * nscd/nscd-client.h (__nscd_drop_map_ref):
13900 Add __attribute__ ((unused)).
13901 * nis/nss-nisplus.h (niserr2nss): Likewise.
13903 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13904 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13906 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13907 Remove inline keyword.
13908 * include/rounding-mode.h (round_away): Likewise.
13909 * libio/wfileops.c (adjust_wide_data): Likewise.
13910 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13911 (__m128i_strloadu_tolower): Likewise.
13912 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13913 (__m128i_strloadu_tolower): Likewise.
13914 * time/mktime.c (ydhms_diff): Likewise.
13915 * locale/elem-hash.h (elem_hash): Likewise.
13916 * locale/setlocale.c (setdata): Likewise.
13917 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13918 (re_string_wchar_at): Likewise.
13919 (bitset_not, bitset_merge, bitset_mask): Likewise.
13920 [!(__GNUC__ > 3)] (inline): Remove macro.
13921 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13922 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13923 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13924 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13925 * string/memcmp.c (memcmp_bytes): Likewise.
13926 * locale/programs/locarchive.c (compute_hashval): Likewise.
13927 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13928 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13929 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13930 * nss/getent.c (print_rpc, print_protocols): Likewise.
13931 (print_passwd, print_group, print_aliases): Likewise.
13932 * nis/nss-nisplus.h (niserr2nss): Likewise.
13933 * nscd/connections.c (restart_p): Likewise.
13934 Change return type to bool.
13936 2013-02-05 Roland McGrath <roland@hack.frob.com>
13938 * Makeconfig (all-Depend-files): Add existing
13939 $(sorted-subdirs:=/Depend) files.
13940 (all-subdirs): Remove nss.
13941 * sysdeps/unix/inet/Subdirs: Add it here instead.
13942 * hesiod/Depend: New file.
13944 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13945 instead of calling alloca.
13947 * io/lseek.c (__lseek): Rename to __libc_lseek.
13948 Define __lseek as an alias.
13950 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13952 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13954 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13955 else clause and remove check for non-standard endianness.
13957 2013-02-04 David S. Miller <davem@davemloft.net>
13959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13961 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13964 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13965 (__ubp_memchr): Remove prototype.
13966 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13967 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13968 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13969 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13970 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13972 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13973 (__ubp_memchr): Likewise.
13974 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13975 (__ubp_memchr): Likewise.
13976 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13977 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13978 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13979 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13981 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13982 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13983 (__getcwd): Do not use CHECK_STRING.
13984 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13986 (__real_chown): Do not use CHECK_STRING.
13987 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13989 (fchownat): Do not use CHECK_STRING.
13990 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13992 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13994 (__lchown): Do not use CHECK_STRING.
13995 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13996 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13997 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13998 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14000 include <bp-checks.h>.
14001 (truncate64): Do not use CHECK_STRING.
14002 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14004 (__real_chown): Do not use CHECK_STRING.
14005 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14007 (__lchown): Do not use CHECK_STRING.
14008 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14010 (__chown): Do not use CHECK_STRING.
14011 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14013 (truncate64): Do not use CHECK_STRING.
14014 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14016 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14017 (__xmknod): Do not use CHECK_STRING.
14018 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14020 (__xmknodat): Do not use CHECK_STRING.
14021 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14022 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14024 2013-02-04 Andreas Schwab <schwab@suse.de>
14027 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14028 * include/netdb.h: Likewise for h_errno.
14029 * elf/tst-stackguard1.c: Include <tls.h>.
14031 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14033 * elf/link.h (struct link_map): Extend the l_addr comment.
14034 * include/link.h (struct link_map): Likewise.
14036 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14039 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14040 (BOUNDED_1): Remove macro.
14041 * debug/backtrace.c: Don't include <bp-checks.h>.
14042 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14043 (__backtrace): Likewise.
14044 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14046 (__backtrace): Don't use BOUNDED_1.
14047 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14049 (__backtrace): Don't use BOUNDED_1.
14050 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14051 (__backtrace): Don't use BOUNDED_1.
14052 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14053 (shmat): Don't use BOUNDED_N.
14055 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14058 * sysdeps/generic/bp-start.h: Remove file.
14059 * csu/libc-start.c: Don't include <bp-start.h>.
14060 (LIBC_START_MAIN): Set up __environ directly instead of using
14061 INIT_ARGV_and_ENVIRON.
14062 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14066 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14068 (CHECK_FCNTL): Likewise.
14069 (CHECK_N_PAGES): Likewise.
14072 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14074 (CHECK_SIGSET_NULL_OK): Likewise.
14075 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14077 (sigpending): Don't use CHECK_SIGSET.
14078 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14080 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14081 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14083 (do_sigsuspend): Don't use CHECK_SIGSET.
14084 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14086 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14087 (do_sigwait): Don't use CHECK_SIGSET.
14088 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14090 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14091 include <bp-checks.h>.
14092 (sigpending): Don't use CHECK_SIGSET.
14093 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14094 include <bp-checks.h>.
14095 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14096 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14098 (sigpending): Don't use CHECK_SIGSET.
14099 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14101 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14104 * sysdeps/generic/bp-semctl.h: Remove file.
14105 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14106 <bp-checks.h> and <bp-semctl.h>.
14107 (__old_semctl): Don't use CHECK_SEMCTL.
14108 (__new_semctl): Likewise.
14109 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14111 (__old_semctl): Don't use CHECK_SEMCTL.
14112 (__new_semctl): Likewise.
14113 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14114 <bp-checks.h> and <bp-semctl.h>.
14115 (__old_semctl): Don't use CHECK_SEMCTL.
14116 (__new_semctl): Likewise.
14117 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14118 <bp-checks.h> and <bp-semctl.h>.
14119 (semctl): Don't use CHECK_SEMCTL.
14122 * Makerules (elide-bp-thunks): Remove variable.
14123 (elide-routines.oS): Don't use $(elide-bp-thunks).
14124 (elide-routines.os): Likewise.
14125 (elide-routines.o): Likewise.
14126 (elide-routines.op): Likewise.
14127 (elide-routines.og): Likewise.
14128 (objects): Don't use $(bp-thunks).
14129 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14131 (common-generated): Do not add s-proto-bp.d.
14132 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14135 Do not generate makefile rules for bounded-pointer thunks.
14136 * sysdeps/generic/bp-thunks.h: Remove file.
14137 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14138 * sysdeps/unix/s-proto-bp.S: Likewise.
14141 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14142 parts of result separately when argument is not close to line from
14143 -i to i and one part of argument is small.
14144 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14145 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14146 * math/libm-test.inc (cacos_test): Add more tests.
14147 (casin_test): Likewise.
14148 (casinh_test): Likewise.
14149 * sysdeps/i386/fpu/libm-test-ulps: Update.
14150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14152 2013-01-31 David S. Miller <davem@davemloft.net>
14154 * po/de.po: Update from translation team.
14156 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14158 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14160 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14162 * configure.in (_AC_PROG_CC_C89): New definition.
14163 * configure: Regenerate.
14165 * configure.in (AC_PROG_CPP): New definition.
14166 * configure: Regenerate.
14168 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14170 * debug/tst-backtrace.h: New file.
14171 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14172 (ret): Remove variable.
14174 (FAIL): Remove macro.
14175 (NO_INLINE): Likewise.
14176 (fn1): Use match function instead of strstr.
14177 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14178 (ret): Remove variable.
14180 (FAIL): Remove macro.
14181 (NO_INLINE): Likewise.
14182 (fn): Use match function instead of strstr.
14183 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14184 (ret): Remove variable.
14186 (FAIL): Remove macro.
14187 (NO_INLINE): Likewise.
14188 (handle_signal): Use match function instead of strstr.
14189 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14190 (ret): Remove variable.
14192 (FAIL): Remove macro.
14193 (NO_INLINE): Likewise.
14194 (handle_signal): Use match function instead of strstr.
14196 2013-01-23 Roland McGrath <roland@hack.frob.com>
14198 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14200 2013-01-23 David S. Miller <davem@davemloft.net>
14202 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14203 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14204 argument of CAS if possible.
14205 * sysdeps/sparc/sparc64/bits/atomic.h
14206 (__arch_compare_and_exchange_val_32_acq): Likewise.
14207 (__arch_compare_and_exchange_val_64_acq): Likewise.
14209 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14211 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14212 * sysdeps/posix/ulimit.c: ... this.
14213 Include <limits.h>.
14214 * sysdeps/unix/bsd/ulimit.c: Remove file.
14216 2013-01-23 Adam Conrad <adconrad@0c3.net>
14218 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14219 (LDFLAGS-tst-array5): Likewise.
14221 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14224 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14225 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14226 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14227 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14229 2013-01-21 David S. Miller <davem@davemloft.net>
14231 * sysdeps/sparc/backtrace.c: New file.
14232 * sysdeps/sparc/sparc32/backtrace.h: New file.
14233 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14234 * sysdeps/sparc/sparc64/backtrace.h: New file.
14235 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14236 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14239 2013-01-21 Andreas Schwab <schwab@suse.de>
14242 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14245 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14251 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14252 Mark Mitchell <mark@codesourcery.com>
14253 Tom de Vries <tom@codesourcery.com>
14254 Paul Pluzhnikov <ppluzhnikov@google.com>
14256 * debug/tst-backtrace2.c: New file.
14257 * debug/tst-backtrace3.c: Likewise.
14258 * debug/tst-backtrace4.c: Likewise.
14259 * debug/tst-backtrace5.c: Likewise.
14260 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14261 (CFLAGS-tst-backtrace3.c): Likewise.
14262 (CFLAGS-tst-backtrace4.c): Likewise.
14263 (CFLAGS-tst-backtrace5.c): Likewise.
14264 (LDFLAGS-tst-backtrace2): Likewise.
14265 (LDFLAGS-tst-backtrace3): Likewise.
14266 (LDFLAGS-tst-backtrace4): Likewise.
14267 (LDFLAGS-tst-backtrace5): Likewise.
14268 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14269 tst-backtrace4 and tst-backtrace5.
14271 2013-01-18 Anton Blanchard <anton@samba.org>
14272 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14274 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14275 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14276 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14277 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14279 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14280 "+r" and remove output regs list as redundant. Add explicit inline
14281 asm to specify register of return val to work around compiler codegen
14282 bug. Remove (int) cast on return value. Add return type parameter to
14283 use in macro so that this macro does not truncate return value for
14285 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14286 pass to INTERNAL_VSYSCALL_NCS.
14287 (INLINE_VSYSCALL): Add 'long int' as return type to
14288 INTERNAL_VSYSCALL_NCS macro invocation.
14289 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14290 INTERNAL_VSYSCALL_NCS macro invocation.
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14293 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14296 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14297 Fix application of SIMD FP exception mask.
14299 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14300 mp_no from a power of two.
14301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14302 __mpexp_twomm1. Use __pow_mp.
14304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14307 2013-01-17 David S. Miller <davem@davemloft.net>
14309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14311 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14314 * include/complex.h: Condition contents on [!_COMPLEX_H].
14315 (__kernel_casinhf): New prototype.
14316 (__kernel_casinh): Likewise.
14317 (__kernel_casinhl): Likewise.
14318 * math/Makefile (libm_calls): Add k_casinh.
14319 * math/k_casinh.c: New file.
14320 * math/k_casinhf.c: Likewise.
14321 * math/k_casinhl.c: Likewise.
14322 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14323 finite nonzero arguments.
14324 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14325 finite nonzero arguments.
14326 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14327 finite nonzero arguments.
14328 * math/s_casinh.c: Do not include <float.h>.
14329 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14330 * math/s_casinhf.c: Do not include <float.h>.
14331 (__casinhf): Move code for finite nonzero arguments to
14333 * math/s_casinhl.c: Do not include <float.h>.
14334 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14336 (__casinhl): Move code for finite nonzero arguments to
14338 * math/libm-test.inc (cacos_test): Add more tests.
14339 * sysdeps/i386/fpu/libm-test-ulps: Update.
14340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14342 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14344 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14345 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14346 [!HAVE_MREMAP]: Remove [defined linux] case.
14347 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14349 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14351 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14353 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14355 * elf/elf.h (R_386_SIZE32): New relocation.
14356 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14358 (elf_machine_rela): Likewise.
14359 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14360 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14362 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14364 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14365 (FP_FAST_FMA): Do not define.
14366 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14367 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14368 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14369 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14370 !_SOFT_FLOAT]: Likewise.
14371 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14372 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14374 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14375 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14376 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14377 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14378 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14379 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14382 2013-01-16 Andreas Schwab <schwab@suse.de>
14385 * include/stdlib.h (__mktemp): Add declaration.
14386 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14387 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14389 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14391 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14393 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14394 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14395 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14397 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14398 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14400 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14402 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14403 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14404 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14406 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14407 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14409 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14411 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14413 2013-01-15 David S. Miller <davem@davemloft.net>
14415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14416 trunc{,f} to libm-sysdep_routes.
14417 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14427 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14428 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14429 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14430 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14431 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14432 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14435 nearbyint{,f} to libm-sysdep_routes.
14436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14447 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14449 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14450 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14452 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14453 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14454 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14456 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14457 libc_feholdexcept and libc_fesetenv.
14459 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14461 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14463 2013-01-14 David S. Miller <davem@davemloft.net>
14465 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14466 (SPARC_ASM_VIS2_IFUNC): Likewise.
14467 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14469 use of 'siam' instruction.
14470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14503 routines to libm-sysdep_routines.
14504 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14507 fdim/fdimf to libm-sysdep_routines.
14508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14516 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14517 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14518 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14519 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14521 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14523 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14524 to optimize copies.
14526 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14531 local variable MPTWO.
14532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14535 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14537 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14540 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14542 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14544 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14546 * manual/pattern.texi (glob_t): Document gl_flags.
14547 (glob64_t): Likewise.
14549 2013-01-11 David S. Miller <davem@davemloft.net>
14551 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14552 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14553 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14554 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14555 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14556 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14557 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14558 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14559 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14560 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14561 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14562 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14563 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14565 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14566 sparc V9 rather than using V8 code.
14567 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14568 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14570 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14572 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14575 2013-01-11 Roland McGrath <roland@hack.frob.com>
14577 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14578 not in the main loop.
14579 * configure: Regenerated.
14581 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14583 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14584 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14586 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14587 [!__GLIBC_HAVE_LONG_LONG] case.
14588 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14589 condition to just #else.
14590 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14591 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14592 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14593 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14595 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14596 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14597 #elif condition to just #else.
14598 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14599 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14600 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14601 #elif condition to just #else.
14603 2013-01-11 Steve Ellcey <sellcey@mips.com>
14605 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14606 (EF_MIPS_ARCH_64): Fix value.
14607 (EF_MIPS_ARCH_32R2): New.
14608 (EF_MIPS_ARCH_64R2): New.
14610 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14612 * Makeconfig (+link-pie-before-libc): New.
14613 (+link-pie-after-libc): Likewise.
14614 (+link-pie-tests): Likewise.
14615 (+link-pie): Rewritten.
14616 (link-before-libc): Remove $(config-LDFLAGS).
14617 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14618 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14619 (config-LDFLAGS): Renamed to ...
14620 (rtld-LDFLAGS): This.
14621 (rtld-tests-LDFLAGS): New macro.
14622 (link-libc-rpath-link): Likewise.
14623 (link-libc-tests-rpath-link): Likewise.
14624 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14625 (link-libc): Prepand $(link-libc-rpath-link).
14626 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14627 (test-program-prefix): New macro.
14628 (test-via-rtld-prefix): Likewise.
14629 (test-program-cmd): Likewise.
14630 (host-test-program-cmd): Likewise.
14631 * Makefile ($(common-objpfx)testrun.sh): Replace
14632 $(run-program-prefix) with $(test-program-prefix).
14633 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14635 ($(common-objpfx)shlib.lds): Likewise.
14636 (build-module-helper): Likewise.
14637 ($(common-objpfx)format.lds): Likewise.
14638 * Rules (binaries-pie-tests): New.
14639 (binaries-pie-notests): Likewise.
14640 (binaries-pie): Rewritten.
14641 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14642 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14643 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14644 (make-test-out): Replace $(host-built-program-cmd) with
14645 $(host-test-program-cmd).
14646 * config.make.in (build-hardcoded-path-in-tests): New variable.
14647 * configure.in (--enable-hardcoded-path-in-tests): New configure
14649 (hardcoded_path_in_tests): New AC_SUBST.
14650 * configure: Regenerated.
14651 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14652 $(built-program-cmd) with $(test-program-cmd).
14653 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14654 (test_program_cmd): This.
14655 * elf/Makefile ($(objpfx)order.out): Run test with
14656 $(test-program-prefix).
14657 ($(objpfx)order2.out): Likewise.
14658 ($(objpfx)tst-initorder.out): Likewise.
14659 ($(objpfx)tst-initorder2.out): Likewise.
14660 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14661 $(test-program-cmd).
14662 ($(objpfx)tst-array1-static.out): Likewise.
14663 ($(objpfx)tst-array2.out): Likewise.
14664 ($(objpfx)tst-array3.out): Likewise.
14665 ($(objpfx)tst-array4.out): Likewise.
14666 ($(objpfx)tst-array5.out): Likewise.
14667 ($(objpfx)tst-array5-static.out): Likewise.
14668 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14669 $(test-program-cmd).
14670 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14671 $(run-program-prefix) with $(test-program-prefix).
14672 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14673 (test_program_prefix): This.
14674 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14675 $(run-program-prefix) with $(test-program-prefix).
14676 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14677 (test_program_prefix): This.
14678 * iconvdata/tst-tables.sh: Likewise.
14679 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14680 $(run-program-prefix) with $(test-program-prefix).
14681 ($(objpfx)tst-translit.out): Likewise.
14682 ($(objpfx)tst-gettext2.out): Likewise.
14683 ($(objpfx)tst-gettext4.out): Likewise.
14684 ($(objpfx)tst-gettext6.out): Likewise.
14685 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14686 (test_program_prefix): This.
14687 * intl/tst-gettext2.sh: Likewise.
14688 * intl/tst-gettext4.sh Likewise.
14689 * intl/tst-gettext6.sh: Likewise.
14690 * intl/tst-translit.sh: Likewise.
14691 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14692 with $(test-program-cmd).
14693 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14694 $(run-program-prefix) with $(test-program-prefix).
14695 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14696 (test_program_prefix): This.
14697 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14698 $(run-program-prefix) with $(test-program-prefix).
14699 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14700 (test_program_prefix): This.
14701 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14702 * posix/Makefile ($(objpfx)globtest.out): Replace
14703 $(run-via-rtld-prefix) and $(test-wrapper) with
14704 $(test-program-prefix) and $(test-via-rtld-prefix).
14705 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14706 $(test-program-prefix).
14707 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14708 $(host-test-program-cmd).
14709 (tst-spawn-ARGS): Likewise.
14710 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14711 $(test-program-prefix).
14712 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14713 (test_via_rtld_prefix): This.
14714 (test_wrapper): Renamed to ...
14715 (test_program_prefix): This.
14716 (run_program_prefix): Replaced by test_program_prefix.
14717 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14718 (test_program_prefix): This.
14719 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14720 with $(host-test-program-cmd).
14721 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14722 $(run-program-prefix) with $(test-program-prefix).
14723 ($(objpfx)tst-printf.out): Likewise.
14724 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14725 $(test-program-cmd).
14726 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14727 (test_program_prefix): This.
14728 * stdio-common/tst-unbputc.sh: Likewise.
14729 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14730 $(run-program-prefix) with $(test-program-prefix).
14731 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14732 (test_program_prefix): This.
14733 * string/Makefile ($(objpfx)tst-svc.out): Replace
14734 $(built-program-cmd) with $(test-program-cmd).
14736 2013-01-11 Andreas Jaeger <aj@suse.de>
14739 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14740 value. Sync with Linux 3.7.
14742 2013-01-10 David S. Miller <davem@davemloft.net>
14744 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14745 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14746 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14748 2013-01-10 Roland McGrath <roland@hack.frob.com>
14750 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14752 * configure: Regenerated.
14754 2013-01-10 David S. Miller <davem@davemloft.net>
14756 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14757 sparc V9 rather than using V8 code.
14758 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14759 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14761 2013-01-10 Roland McGrath <roland@hack.frob.com>
14763 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14764 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14765 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14766 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14767 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14768 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14769 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14770 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14771 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14772 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14773 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14774 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14775 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14776 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14777 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14778 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14779 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14780 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14781 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14782 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14783 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14784 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14785 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14786 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14787 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14788 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14789 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14791 2013-01-10 David S. Miller <davem@davemloft.net>
14793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14795 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14797 * posix/Makefile (tests-static): New variable.
14798 (tests): Add $(tests-static).
14799 (tst-exec-static-ARGS): New variable.
14800 (tst-spawn-static-ARGS): Likewise.
14801 * posix/tst-exec-static.c: New file.
14802 * posix/tst-spawn-static.c: Likewise.
14803 * posix/tst-exec.c: Support run directly.
14804 * posix/tst-spawn.c: Likewise.
14806 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14808 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14810 * math/bits/mathcalls.h (llrint): Likewise.
14811 (llround): Likewise.
14812 * stdlib/stdlib.h (struct drand48_data): Likewise.
14813 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14814 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14815 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14817 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14819 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14820 (elf_greg_t): Likewise.
14821 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14822 (__jmp_buf): Likewise.
14823 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14825 (llrint): Likewise, for all definitions.
14826 (llrintl): Likewise.
14828 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14829 Remove [__GNUC__] condition.
14830 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14831 condition to just [__USE_ISOC99].
14832 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14834 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14837 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14838 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14840 (_POSIX_V6_ILP32_OFF32): Likewise.
14841 (_XBS5_ILP32_OFF32): Likewise.
14842 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14843 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14845 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14847 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14850 doubles __mpexp_twomm1. Adjust usage.
14851 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14854 2013-01-10 Andreas Schwab <schwab@suse.de>
14857 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14858 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14860 2013-01-09 David S. Miller <davem@davemloft.net>
14863 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14864 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14865 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14866 TCP_FASTOPEN): Define.
14867 (tcp_repair_opt): New structure.
14868 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14870 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14871 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14872 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14873 (tcp_cookie_transactions): New structure.
14875 2013-01-09 Anton Blanchard <anton@samba.org>
14877 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14878 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14879 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14880 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14882 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14884 * include/features.h (__USE_ANSI): Remove.
14886 2013-01-09 Roland McGrath <roland@hack.frob.com>
14888 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14890 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14892 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14894 * sysdeps/s390/fpu/libm-test-ulps: Update.
14896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14898 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14902 (denorm): Likewise.
14903 (__mp_dbl): Likewise.
14904 (__dbl_mp): Likewise.
14905 (add_magnitudes): Likewise.
14906 (sub_magnitudes): Likewise.
14912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14916 (denorm): Likewise.
14917 (__mp_dbl): Likewise.
14918 (__dbl_mp): Likewise.
14919 (add_magnitudes): Likewise.
14920 (sub_magnitudes): Likewise.
14926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14930 (denorm): Likewise.
14931 (__mp_dbl): Likewise.
14932 (__dbl_mp): Likewise.
14933 (add_magnitudes): Likewise.
14934 (sub_magnitudes): Likewise.
14941 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14943 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14944 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14945 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14946 2 && __USE_EXTERN_INLINES]: Likewise.
14948 2013-01-08 Andreas Jaeger <aj@suse.de>
14951 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14953 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14954 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14956 2013-01-07 Anton Blanchard <anton@samba.org>
14958 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14959 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14960 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14961 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14962 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14963 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14964 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14965 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14967 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14968 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14969 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14970 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14971 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14972 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14973 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14974 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14975 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14976 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14977 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14978 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14979 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14980 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14981 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14982 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14983 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14984 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14985 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14986 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14987 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14988 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14990 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14991 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14992 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14993 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14994 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14995 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14996 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14997 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14998 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14999 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15000 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15002 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15004 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15005 (__MALLOC_PMT): Likewise.
15006 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15007 [__GNUC__], only on [_LIBC].
15008 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15009 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15010 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15011 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15012 forward declaration.
15013 (realloc_hook_ini): Likewise.
15014 (memalign_hook_ini): Likewise.
15015 (__libc_memalign): Do not use __MALLOC_PMT in variable
15017 (__libc_valloc): Likewise.
15018 (__libc_pvalloc): Likewise.
15019 (__libc_calloc): Likewise.
15020 (__posix_memalign): Likewise.
15023 * math/s_casinh.c: Include <float.h>.
15024 (__casinh): Do not do computation with squaring and square root
15025 for large arguments.
15026 * math/s_casinhf.c: Include <float.h>.
15027 (__casinhf): Do not do computation with squaring and square root
15028 for large arguments.
15029 * math/s_casinhl.c: Include <float.h>.
15030 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15031 (__casinhl): Do not do computation with squaring and square root
15032 for large arguments.
15033 * math/libm-test.inc (casin_test): Add more tests.
15034 (casinh_test): Likewise.
15035 * sysdeps/i386/fpu/libm-test-ulps: Update.
15036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15038 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15040 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15041 (__x86_64_raw_data_cache_size): Likewise.
15042 (__x86_64_data_cache_size_half): Likewise.
15043 (__x86_64_raw_data_cache_size_half): Likewise.
15044 (__x86_64_shared_cache_size): Likewise.
15045 (__x86_64_raw_shared_cache_size): Likewise.
15046 (__x86_64_shared_cache_size_half): Likewise.
15047 (__x86_64_raw_shared_cache_size_half): Likewise.
15048 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15050 (__x86_data_cache_size): This.
15051 (__x86_64_raw_data_cache_size): Renamed to ...
15052 (__x86_raw_data_cache_size): This.
15053 (__x86_64_data_cache_size_half): Renamed to ...
15054 (__x86_data_cache_size_half): This.
15055 (__x86_64_raw_data_cache_size_half): Renamed to ...
15056 (__x86_raw_data_cache_size_half): This.
15057 (__x86_64_shared_cache_size): Renamed to ...
15058 (__x86_shared_cache_size): This.
15059 (__x86_64_raw_shared_cache_size): Renamed to ...
15060 (__x86_raw_shared_cache_size): This.
15061 (__x86_64_shared_cache_size_half): Renamed to ...
15062 (__x86_shared_cache_size_half): This.
15063 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15064 (__x86_raw_shared_cache_size_half): This.
15065 * sysdeps/x86_64/memcpy.S: Updated.
15066 * sysdeps/x86_64/memset.S: Likewise.
15067 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15068 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15069 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15071 2013-01-04 David S. Miller <davem@davemloft.net>
15073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15075 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15077 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15078 1 to avoid redefinition warning.
15079 (__USE_GNU): Don't define.
15080 (init_signaling_nan): Protoize.
15082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15084 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15086 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15088 (__cpymn): Likewise.
15089 (norm): Remove commented code.
15090 (denorm): Likewise.
15091 (__mp_dbl): Likewise.
15093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15094 (__cpymn): Likewise.
15095 (norm): Remove commented code.
15096 (denorm): Likewise.
15097 (__mp_dbl): Likewise.
15100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15101 mp_no value for 1.0 and 2.0.
15102 (norm): Use RADIXI instead of radixi.d.
15103 (denorm): Likewise.
15104 (__mul): Use 0.0 instead of zero.d.
15105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15106 mp_no value for 1.0 and 2.0.
15107 (norm): Use RADIXI instead of radixi.d.
15108 (denorm): Likewise.
15109 (__mul): Use 0.0 instead of zero.d.
15111 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15114 * math/s_casinh.c (__casinh): Reduce finite argument to first
15115 quadrant then set signs of results at the end.
15116 * math/s_casinhf.c (__casinhf): Likewise.
15117 * math/s_casinhl.c (__casinhl): Likewise.
15118 * math/libm-test.inc (casin_test): Add more tests.
15119 (casinh_test): Likewise.
15120 * sysdeps/i386/fpu/libm-test-ulps: Update.
15121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15123 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15125 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15127 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15129 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15131 (denorm): Likewise.
15132 (__mp_dbl): Likewise.
15135 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15136 and adjust the header comment.
15138 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15139 variable name from declaration.
15141 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15144 Initialize COMMON_CPUID_INDEX_7 element.
15145 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15146 (CPUID_RTM): Likewise.
15147 (HAS_RTM): Likewise.
15148 (COMMON_CPUID_INDEX_7): New enum.
15150 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15153 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15154 size is zero, record memory as freed.
15156 2013-01-03 Andreas Jaeger <aj@suse.de>
15158 * po/ia.po: Add new Interlingua translation.
15160 2012-01-03 Allan McRae <allan@archlinux.org>
15162 * locale/programs/localedef.c: Fix description of '--posix' flag.
15164 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15166 * NEWS: Update dates in second copyright notice.
15167 * README: Update copyright dates in example.
15168 * manual/libc.texinfo: Update copyright dates.
15169 * scripts/test-installation.pl: Update copyright date in --version
15172 * hurd/ctty-input.c: Fix copyright notice formatting.
15173 * hurd/ctty-output.c: Likewise.
15174 * hurd/dtable.c: Likewise.
15175 * hurd/hurd-raise.c: Likewise.
15176 * hurd/hurdprio.c: Likewise.
15177 * hurd/msgportdemux.c: Likewise.
15178 * misc/sys/file.h: Likewise.
15179 * misc/sys/ioctl.h: Likewise.
15180 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15181 * sysdeps/mach/hurd/chdir.c: Likewise.
15182 * sysdeps/mach/hurd/fchdir.c: Likewise.
15183 * sysdeps/mach/hurd/rename.c: Likewise.
15184 * sysdeps/mach/hurd/rmdir.c: Likewise.
15185 * sysdeps/mach/hurd/seekdir.c: Likewise.
15186 * sysdeps/mach/hurd/setsid.c: Likewise.
15187 * sysdeps/posix/wait3.c: Likewise.
15189 * All files with FSF copyright notices: Update copyright dates
15190 using scripts/update-copyrights.
15191 * intl/plural.c: Regenerated.
15192 * locale/programs/charmap-kw.h: Likewise.
15193 * locale/programs/locfile-kw.h: Likewise.
15195 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15197 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15200 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15201 calculation loop and add branch prediction.
15203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15204 check access beyond bounds of m1np.
15206 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15208 (__inv): Remove local variable MPTWO to use the global
15210 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15211 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15213 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15214 MP3HALFS static const.
15216 2013-01-01 David S. Miller <davem@davemloft.net>
15218 * po/ca.po: Update from translation team.
15220 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15222 * scripts/update-copyrights: New file.
15223 * Makeconfig: Reformat copyright notice.
15224 * ctype/ctype.h: Likewise.
15225 * debug/swprintf_chk.c: Likewise.
15226 * elf/dl-cache.c: Likewise.
15227 * elf/dl-debug.c: Likewise.
15228 * elf/dl-object.c: Likewise.
15229 * grp/initgroups.c: Likewise.
15230 * hurd/Makefile: Likewise.
15231 * hurd/hurd/signal.h: Likewise.
15232 * hurd/hurdfault.c: Likewise.
15233 * hurd/hurdioctl.c: Likewise.
15234 * hurd/hurdlookup.c: Likewise.
15235 * hurd/intr-msg.c: Likewise.
15236 * iconv/gconv_open.c: Likewise.
15237 * libio/swprintf.c: Likewise.
15238 * locale/lc-ctype.c: Likewise.
15239 * locale/nl_langinfo.c: Likewise.
15240 * mach/Machrules: Likewise.
15241 * mach/Makefile: Likewise.
15242 * malloc/obstack.h: Likewise.
15243 * manual/Makefile: Likewise.
15244 * manual/tsort.awk: Likewise.
15245 * misc/bits/stab.def: Likewise.
15246 * nis/nis_print_group_entry.c: Likewise.
15247 * nis/nis_table.c: Likewise.
15248 * nis/nss_compat/compat-pwd.c: Likewise.
15249 * nis/nss_compat/compat-spwd.c: Likewise.
15250 * po/Makefile: Likewise.
15251 * posix/fnmatch.c: Likewise.
15252 * posix/regex.h: Likewise.
15253 * resolv/Makefile: Likewise.
15254 * resolv/nss_dns/dns-network.c: Likewise.
15255 * resolv/res_hconf.c: Likewise.
15256 * scripts/gen-sorted.awk: Likewise.
15257 * soft-fp/soft-fp.h: Likewise.
15258 * stdio-common/printf.h: Likewise.
15259 * stdlib/monetary.h: Likewise.
15260 * stdlib/random.c: Likewise.
15261 * stdlib/random_r.c: Likewise.
15262 * sysdeps/generic/Makefile: Likewise.
15263 * sysdeps/gnu/Makefile: Likewise.
15264 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15265 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15266 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15271 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15272 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15274 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15275 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15276 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15277 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15278 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15279 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15280 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15281 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15282 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15283 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15284 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15285 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15286 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15288 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15289 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15290 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15292 * sysdeps/mach/hurd/errnos.awk: Likewise.
15293 * sysdeps/mach/hurd/fork.c: Likewise.
15294 * sysdeps/mach/hurd/getcwd.c: Likewise.
15295 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15296 * sysdeps/mach/hurd/mmap.c: Likewise.
15297 * sysdeps/mach/hurd/utimes.c: Likewise.
15298 * sysdeps/mach/hurd/xmknod.c: Likewise.
15299 * sysdeps/posix/profil.c: Likewise.
15300 * sysdeps/posix/readdir_r.c: Likewise.
15301 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15302 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15303 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15304 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15306 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15307 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15308 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15310 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15311 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15312 * sysdeps/pthread/lio_listio.c: Likewise.
15313 * sysdeps/sparc/dl-procinfo.h: Likewise.
15314 * sysdeps/unix/i386/sysdep.S: Likewise.
15315 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15316 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15317 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15318 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15320 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15321 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15322 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15323 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15324 * sysdeps/wordsize-32/divdi3.c: Likewise.
15325 * time/sys/time.h: Likewise.
15326 * wcsmbs/Makefile: Likewise.
15328 2013-01-01 David S. Miller <davem@davemloft.net>
15330 * po/fr.po: Update from translation team.
15332 * catgets/gencat.c: Update copyright year.
15333 * csu/version.c: Likewise.
15334 * debug/catchsegv.sh: Likewise.
15335 * debug/pcprofiledump.c: Likewise.
15336 * debug/xtrace.sh: Likewise.
15337 * elf/ldconfig.c: Likewise.
15338 * elf/ldd.bash.in: Likewise.
15339 * elf/pldd.c: Likewise.
15340 * elf/sotruss.ksh: Likewise.
15341 * elf/sprof.c: Likewise.
15342 * iconv/iconv_prog.c: Likewise.
15343 * iconv/iconvconfig.c: Likewise.
15344 * locale/programs/locale.c: Likewise.
15345 * locale/programs/localedef.c: Likewise.
15346 * login/programs/pt_chown.c: Likewise.
15347 * malloc/memusage.sh: Likewise.
15348 * malloc/memusagestat.c: Likewise.
15349 * malloc/mtrace.pl: Likewise.
15350 * nscd/nscd.c: Likewise.
15351 * nss/getent.c: Likewise.
15352 * nss/makedb.c: Likewise.
15353 * posix/getconf.c: Likewise.
15355 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15357 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15360 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15362 * math/bits/mathcalls.h (modf): Use __nonnull.
15364 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15366 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15367 (split): Use macro CN instead of the bare value.
15368 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15371 instead of the bare value.
15372 (power1): Likewise.
15374 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15376 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15378 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15380 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15382 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15383 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15384 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15385 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15387 2012-12-28 Andreas Jaeger <aj@suse.de>
15389 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15390 values are from Linux 3.7.
15392 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15393 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15395 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15397 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15400 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15402 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15403 variables with preprocessor constants.
15404 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15405 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15406 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15408 2012-12-27 Bruno Haible <bruno@clisp.org>
15411 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15414 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15417 and use variable directly.
15418 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15420 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15422 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15423 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15425 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15427 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15428 include directive. Remove local variable MPONE.
15429 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15430 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15433 2012-12-25 David S. Miller <davem@davemloft.net>
15435 * version.h (RELEASE): Set to "development".
15436 (VERSION): Set to "2.17.90".
15437 * NEWS: Add 2.18 section.
15439 2012-12-21 David S. Miller <davem@davemloft.net>
15441 * po/hr.po: Update from translation team.
15443 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15445 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15447 2012-12-19 Steve Ellcey <sellcey@mips.com>
15449 * NEWS: Mention new memcpy for MIPS.
15451 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15453 * manual/contrib.texi (Contributors): Spelling correction.
15455 2012-12-15 David S. Miller <davem@davemloft.net>
15457 * po/ru.po: Update from translation team.
15459 2012-12-13 David S. Miller <davem@davemloft.net>
15461 * NEWS: Mention IFUNC testsuite enhancements.
15463 * po/pl.po: Update from translation team.
15464 * po/bg.po: Likewise.
15466 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15467 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15469 2012-12-11 David S. Miller <davem@davemloft.net>
15471 * po/sv.po: Update from translation team.
15473 * po/vi.po: Update from translation team.
15475 * po/cs.po: Update from translation team.
15477 * po/de.po: Update from translation team.
15478 * po/eo.po: Likewise.
15479 * po/nl.po: Likewise.
15481 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15484 * manual/argp.texi (Argp Helper Functions): Move node to follow
15485 Argp Parsing State.
15488 * manual/conf.texi (Limits on File System Capacity): Mention if
15489 terminating null is included in the max size.
15491 2012-12-10 Andreas Jaeger <aj@suse.de>
15493 * po/cs.po: Update from translation team.
15495 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15497 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15498 void pointer and cast to uintptr_t.
15499 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15501 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15502 * sysdeps/s390/s390-64/memset.S: Likewise.
15504 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15507 * menual/message.texi (Message Translation): Fix typos.
15508 (Helper programs for gettext): Likewise.
15510 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15513 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15516 2012-12-07 David S. Miller <davem@davemloft.net>
15518 * po/libc.pot: Update.
15520 2012-12-07 Richard Henderson <rth@redhat.com>
15523 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15524 normal/normal case to before the switch.
15525 (_FP_DIV): Likewise.
15527 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15528 Mike Frysinger <vapier@gentoo.org>
15530 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15531 check for __NR_fadvise64_64.
15533 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15535 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15536 0, not just to plain "0" as a statement.
15537 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15540 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15542 * NEWS: Use sourceware.org in Bugzilla URL.
15544 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15547 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15549 * stdio-common/tst-put-error.c (do_test): Add newline to the
15550 padded test to ensure flush.
15552 2012-12-05 Jeff Law <law@redhat.com>
15554 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15556 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15558 * README: Don't refer to ports add-on as distributed separately.
15559 Mention AArch64 in list of systems supported in the ports add-on.
15561 * LICENSES: Add more non-FSF copyright and license notices.
15563 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15566 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15568 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15569 10000 as width of padded output.
15571 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15573 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15575 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15576 variable LX with __attribute__ ((unused)).
15577 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15579 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15580 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15582 with __attribute__ ((unused)).
15584 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15586 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15588 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15590 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15591 (CFLAGS-nldbl-acos.c): New variable.
15592 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15593 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15594 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15595 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15596 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15597 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15598 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15599 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15600 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15601 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15602 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15603 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15604 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15605 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15606 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15615 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15616 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15617 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15618 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15619 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15620 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15621 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15622 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15623 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15624 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15625 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15626 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15627 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15628 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15629 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15630 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15631 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15632 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15633 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15634 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15635 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15636 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15637 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15638 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15639 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15640 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15641 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15642 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15643 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15644 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15645 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15646 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15647 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15648 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15649 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15650 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15651 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15652 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15653 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15654 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15655 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15656 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15657 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15658 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15659 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15660 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15661 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15662 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15663 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15664 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15665 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15666 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15667 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15668 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15669 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15670 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15671 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15672 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15673 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15674 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15675 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15676 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15677 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15678 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15679 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15680 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15681 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15682 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15683 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15684 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15685 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15686 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15687 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15688 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15691 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15694 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15695 whole low double instead of just low 47 bits when splitting values
15698 2012-12-03 Allan McRae <allan@archlinux.org>
15700 * manual/stdio.texi (Predefined Printf Handlers): Remove
15701 @hsep and @vsep usage.
15703 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15705 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15706 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15708 2012-12-03 Jeff Law <law@redhat.com>
15710 * time/sys/time.h (settimeofday): Do not mark TV argument
15713 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15715 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15716 when currently writing and seek to current position when not.
15717 * libio/Makefile (tests): Remove bug-fclose1.
15718 * libio/bug-fclose1.c: Delete.
15720 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15722 * manual/arith.texi (feenableexcept): Fix typo.
15723 (fedisableexcept): Likewise.
15725 2012-11-30 Roland McGrath <roland@hack.frob.com>
15727 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15728 second, differently-typed declaration, rather than a cast.
15730 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15732 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15733 * include/rpc/svc.h: ... here.
15735 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15738 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15739 depending n and resplen2 to catch cases where answer
15742 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15744 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15745 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15747 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15749 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15751 2012-11-29 Roland McGrath <roland@hack.frob.com>
15753 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15755 2012-11-28 Jeff Law <law@redhat.com>
15758 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15759 dataset_temporary. Track alloca usage into alloca_used.
15760 If dataset is large allocate and release it via malloc/free.
15762 2012-06-04 Florian Weimer <fweimer@redhat.com>
15765 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15767 2012-11-28 David S. Miller <davem@davemloft.net>
15769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15771 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15774 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15775 of pi/2 rounded to nearest to 64 bits.
15776 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15777 nearest to 64 bits.
15778 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15781 2012-11-28 Jeff Law <law@redhat.com>
15782 Martin Osvald <mosvald@redhat.com>
15785 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15786 * sunrpc/svc.c: Include time.h.
15787 (__svc_accept_failed): New function.
15788 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15789 any reason other than EINTR, call __svc_accept_failed.
15790 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15791 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15793 2012-11-28 Andreas Schwab <schwab@suse.de>
15795 * scripts/abilist.awk: Also handle indirect functions in .opd
15798 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15801 * sysdeps/x86/fpu/powl_helper.c: New file.
15802 * sysdeps/x86/fpu/Makefile: Likewise.
15803 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15805 (__ieee754_powl): Use __powl_helper for finite arguments except
15806 integer exponents below 8.
15807 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15809 (__ieee754_powl): Use __powl_helper for finite arguments except
15810 integer exponents below 8.
15811 * math/libm-test.inc (pow_test): Add more tests and enable some
15812 previously disabled tests.
15813 * sysdeps/i386/fpu/libm-test-ulps: Update.
15814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15816 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15817 Carlos O'Donell <carlos_odonell@mentor.com>
15819 * nss/makedb.c (is_prime): Assert that input is odd and greater
15820 than 4. Note that fact in a comment too.
15821 (next_prime): Add 4 to input.
15823 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15826 * libio/Makefile (tests): Add test case tst-fwrite-error.
15827 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15828 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15829 * libio/tst-fwrite-error.c: New test case.
15831 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15833 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15834 before casting to void *.
15835 * include/libc-internal.h (__pointer_type): New macro.
15836 (__integer_if_pointer_type_sub): Likewise.
15837 (__integer_if_pointer_type): Likewise.
15838 (cast_to_integer): Likewise.
15839 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15840 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15841 before casting to atomic64_t.
15842 (atomic_exchange_acq): Likewise.
15843 (__arch_exchange_and_add_body): Likewise.
15844 (__arch_add_body): Likewise.
15845 (atomic_add_negative): Likewise.
15846 (atomic_add_zero): Likewise.
15848 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15850 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15851 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15852 (add_fdes): Likewise.
15853 (linear_search_fdes): Likewise.
15854 (binary_search_unencoded_fdes): Likewise.
15856 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15858 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15860 2012-11-24 Adam Conrad <adconrad@0c3.net>
15862 * configure.in: Autodetect C++ header directories.
15863 * configure: Regenerated.
15865 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15867 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15869 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15873 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15875 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15876 LDBL_MANT_DIG == 106]: Disable some tests.
15877 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15879 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15883 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15884 input for small inputs. Return +/- pi/2 for large inputs.
15885 * math/libm-test.inc (atan_test): Add more tests.
15887 * sysdeps/generic/unwind-dw2-fde-glibc.c
15888 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15889 __attribute__ ((unused)).
15892 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15893 x * y if x and y are nonzero and z is zero.
15896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15897 nonzero exponents with absolute value below 0x1p-117 to +/-
15901 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15902 up arguments below 2**-450, not just those below 2**-500.
15903 * math/libm-test.inc (hypot_test): Add another test.
15906 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15907 Return a+b for ratio over 2**120, not 2**60.
15908 * math/libm-test.inc (hypot_test): Add another test.
15910 * math/libm-test.inc (clog_test): Use
15911 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15912 (clog10_test): Likewise.
15915 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15917 2012-11-22 Andreas Schwab <schwab@suse.de>
15919 * sysdeps/i386/fpu/libm-test-ulps: Update.
15921 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15923 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15924 printf output with newline.
15926 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15929 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15930 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15931 -z nodlopen, -z initfirst and -z execstack support.
15932 * configure: Regenerated.
15934 * elf/elf.h (DF_1_NODIRECT): New macro.
15935 (DF_1_IGNMULDEF): Likewise.
15936 (DF_1_NOKSYMS): Likewise.
15937 (DF_1_NOHDR): Likewise.
15938 (DF_1_EDITED): Likewise.
15939 (DF_1_NORELOC): Likewise.
15940 (DF_1_SYMINTPOSE): Likewise.
15941 (DF_1_GLOBAUDIT): Likewise.
15942 (DF_1_SINGLETON): Likewise.
15943 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15944 DT_1_SUPPORTED_MASK bits.
15945 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15947 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15949 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15951 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15953 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15956 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15957 (sendmmsg): Move declarations...
15958 * socket/sys/socket.h: ... here.
15959 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15960 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15962 * socket/recvmmsg.c: ... this new file.
15963 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15964 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15965 definition of __sendmmsg hidden.
15966 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15967 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15968 Move ENOSYS stub into and include it from...
15969 * socket/sendmmsg.c: ... this new file.
15970 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15971 (sysdep_routines): Move recvmmsg and sendmmsg...
15972 * socket/Makefile (routines): ... here.
15973 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15974 (GLIBC_PRIVATE): Add __sendmmsg.
15975 * include/sys/socket.h (__sendmmsg): Add declarations.
15976 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15979 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15981 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15982 variable I1 with __attribute__ ((unused)).
15983 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15985 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15987 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15988 DUMMY variables with __attribute__ ((unused)).
15990 * bits/byteswap.h: Include <bits/types.h>.
15991 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15993 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15995 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15996 string_t. Do not manually set errno.
15997 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15998 length with __strnlen. Make sure to both set errno and return it on
16001 2012-11-19 David S. Miller <davem@davemloft.net>
16003 With help from Joseph Myers.
16004 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16005 very large arguments properly.
16006 * math/libm-test.inc (atan_test): New tests.
16007 (atan2_test): New tests.
16008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16011 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16014 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16017 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16018 [POSIX] (EADDRNOTAVAIL): Likewise.
16019 [POSIX] (EAFNOSUPPORT): Likewise.
16020 [POSIX] (EALREADY): Likewise.
16021 [POSIX] (ECONNABORTED): Likewise.
16022 [POSIX] (ECONNREFUSED): Likewise.
16023 [POSIX] (ECONNRESET): Likewise.
16024 [POSIX] (EDESTADDRREQ): Likewise.
16025 [POSIX] (EDQUOT): Likewise.
16026 [POSIX] (EHOSTUNREACH): Likewise.
16027 [POSIX] (EIDRM): Likewise.
16028 [POSIX] (EISCONN): Likewise.
16029 [POSIX] (ELOOP): Likewise.
16030 [POSIX] (EMULTIHOP): Likewise.
16031 [POSIX] (ENETDOWN): Likewise.
16032 [POSIX] (ENETUNREACH): Likewise.
16033 [POSIX] (ENOBUFS): Likewise.
16034 [POSIX] (ENODATA): Likewise.
16035 [POSIX] (ENOLINK): Likewise.
16036 [POSIX] (ENOMSG): Likewise.
16037 [POSIX] (ENOPROTOOPT): Likewise.
16038 [POSIX] (ENOSR): Likewise.
16039 [POSIX] (ENOSTR): Likewise.
16040 [POSIX] (ENOTCONN): Likewise.
16041 [POSIX] (ENOTSOCK): Likewise.
16042 [POSIX] (EOPNOTSUPP): Likewise.
16043 [POSIX] (EOVERFLOW): Likewise.
16044 [POSIX] (EPROTO): Likewise.
16045 [POSIX] (EPROTONOSUPPORT): Likewise.
16046 [POSIX] (EPROTOTYPE): Likewise.
16047 [POSIX] (ESTALE): Likewise.
16048 [POSIX] (ETIME): Likewise.
16049 [POSIX] (ETXTBSY): Likewise.
16050 [POSIX] (EWOULDBLOCK): Likewise.
16051 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16052 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16053 [POSIX] (SEEK_CUR): Likewise.
16054 [POSIX] (SEEK_END): Likewise.
16055 [POSIX || UNIX98] (mode_t): Do not require.
16056 [POSIX] (off_t): Likewise.
16057 [POSIX] (pid_t): Likewise.
16058 [POSIX] (sys/stat.h): Do not allow header.
16059 [POSIX] (unistd.h): Likewise.
16060 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16061 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16062 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16063 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16065 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16066 sigevent): Specify elements.
16067 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16069 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16070 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16072 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16073 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16074 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16075 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16076 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16077 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16078 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16079 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16080 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16081 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16082 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16083 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16084 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16085 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16087 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16089 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16091 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16093 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16094 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16095 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16096 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16097 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16098 Specify lower bound on value.
16099 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16100 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16101 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16102 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16103 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16104 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16105 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16106 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16108 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16110 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16111 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16112 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16113 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16114 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16115 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16116 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16117 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16118 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16119 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16120 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16121 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16122 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16123 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16124 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16125 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16127 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16129 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16130 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16131 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16132 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16133 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16134 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16136 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16137 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16138 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16139 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16140 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16141 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16142 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16144 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16145 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16146 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16147 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16148 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16149 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16150 specify as optional.
16151 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16152 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16153 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16154 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16155 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16156 [XPG3] (NL_LANGMAX): Likewise.
16157 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16158 [POSIX || XPG3] (NL_NMAX): Likewise.
16159 [POSIX || XPG3] (NL_SETMAX): Likewise.
16160 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16161 [XPG3] (NZERO): Likewise.
16162 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16163 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16164 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16165 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16166 (REG_ERANGE): Expect.
16167 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16169 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16170 Use (void) in prototype.
16171 [POSIX] (*_t): Allow.
16172 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16173 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16174 (WRDE_BADVAL): Expect.
16176 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16178 [XPG3 || XPG4] (O_RSYNC): Likewise.
16179 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16181 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16182 [XPG3 || XPG4] (sigqueue): Likewise.
16183 [XPG3 || XPG4] (sigtimedwait): Likewise.
16184 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16185 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16186 [XPG3 || XPG4] (vsnprintf): Likewise.
16187 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16189 [XPG3 || XPG4] (blksize_t): Likewise.
16190 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16192 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16193 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16194 [XPG3 || XPG4] (struct itimerspec): Likewise.
16195 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16196 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16197 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16198 [XPG3 || XPG4] (clockid_t): Likewise.
16199 [XPG3 || XPG4] (timer_t): Likewise.
16200 [XPG3 || XPG4] (clock_getres): Likewise.
16201 [XPG3 || XPG4] (clock_gettime): Likewise.
16202 [XPG3 || XPG4] (clock_settime): Likewise.
16203 [XPG3 || XPG4] (nanosleep): Likewise.
16204 [XPG3 || XPG4] (timer_create): Likewise.
16205 [XPG3 || XPG4] (timer_delete): Likewise.
16206 [XPG3 || XPG4] (timer_gettime): Likewise.
16207 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16208 [XPG3 || XPG4] (timer_settime): Likewise.
16209 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16210 [XPG3 || XPG4] (getlogin_r): Likewise.
16211 [XPG3 || XPG4] (pread): Likewise.
16212 [XPG3 || XPG4] (pthread_atfork): Likewise.
16213 [XPG3 || XPG4] (pwrite): Likewise.
16216 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16219 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16221 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16222 finalizing MALLSTREAM.
16224 * sysdeps/mach/hurd/syncfs.c: New file.
16226 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16229 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16230 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16231 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16232 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16233 (_nss_dns_gethostbyname4_r): Likewise.
16234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16235 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16237 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16240 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16242 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16244 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16245 * elf/cache.c (print_entry): Print ",AArch64" for
16248 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16249 * elf/cache.c (print_entry): Print ",hard-float" for
16252 2012-11-18 David S. Miller <davem@davemloft.net>
16254 With help from Joseph Myers.
16255 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16257 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16259 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16260 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16262 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16263 * math/libm-test.inc (y0_test): New tests.
16264 (y1_test): New tests.
16265 * sysdeps/i386/fpu/libm-test-ulps: Update.
16266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16269 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16271 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16273 * configure: Regenerated.
16275 2012-11-17 David S. Miller <davem@davemloft.net>
16278 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16279 nonzero exponents with absolute value below 0x1p-128 to +/-
16282 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16284 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16286 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16288 * posix/getconf-speclist.c: New file.
16289 * posix/posix-envs.def: Likewise.
16290 * posix/confstr.c (START_ENV_GROUP): New macro.
16291 (END_ENV_GROUP): Likewise.
16292 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16293 (KNOWN_PRESENT_ENV_STRING): Likewise.
16294 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16295 (UNKNOWN_ENVIRONMENT): Likewise.
16296 (confstr): Include posix-envs.def instead of handling
16297 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16298 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16299 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16300 (END_ENV_GROUP): Likewise.
16301 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16302 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16303 (UNKNOWN_ENVIRONMENT): Likewise.
16304 (__sysconf): Include posix-envs.def instead of handling associated
16305 cases directly here.
16306 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16307 preprocessing getconf-speclist.c rather than running getconf or
16308 generating empty file.
16310 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16312 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16314 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16317 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16319 2012-11-16 David S. Miller <davem@davemloft.net>
16321 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16322 smaller than LDBL_EPSILON/2.0L, just return xm1.
16324 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16326 * elf/tst-array1.c (init): Set constructor priority to 1000.
16327 (fini): Set destructor priority to 1000.
16328 * elf/tst-array2dep.c: Likewise.
16330 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16333 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16334 (_IO_new_file_xsputn): Also return EOF if none of the input
16335 data was written when overflow failed.
16336 * libio/iopadn.c (_IO_padn): Likewise.
16337 * libio/iowpadn.c (_IO_wpadn): Likewise.
16338 * stdio-common/tst-put-error.c: Add copyright notice.
16339 (do_test): Add case for printing padded string.
16340 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16341 _IO_padn returned error.
16342 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16343 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16346 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16348 * libio/libioP.h: Add comment note that the references to C++
16349 bits are now obsolete.
16351 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16353 * math/libm-test.inc (check_complex): Use asprintf.
16355 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16357 * debug/pcprofiledump.c (print_version): Update copyright year.
16358 * malloc/memusagestat.c (print_version): Likewise.
16360 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16363 * elf/Makefile (tests): Add tst-audit8.
16364 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16365 ($(objpfx)tst-audit8.out): New target.
16366 (tst-audit8-ENV): New variable.
16367 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16368 audit if l_reloc_result is NULL.
16369 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16370 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16371 * elf/tst-audit8.c: New file.
16373 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16375 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16376 * misc/Makefile (CFLAGS-select.c): Define.
16377 * posix/Makefile (CFLAGS-pause.c): Define.
16379 2012-11-13 David S. Miller <davem@davemloft.net>
16381 * crypt/Makefile: Move test targets after toplevel Rules
16382 inclusion. Grab any necessary sysdep routines when linking.
16383 * crypt/md5.c (md5_process_block): Remove define, we will always
16384 name it __md5_process_block.
16385 (md5_finish_ctx): Update md5_process_block call.
16386 (md5_stream): Likewise.
16387 (md5_process_bytes): Likewise.
16388 (md5_process_block): Rename to __md5_process_block and move to ...
16389 * crypt/md5-block.c: ... here.
16390 * crypt/sha256.c (sha256_process_block): Move to ...
16391 * crypt/sha256-block.c: ... here.
16392 * crypt/sha512.c (sha512_process_block): Move to ...
16393 * crypt/sha512-block.c: ... here.
16394 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16396 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16397 * sysdeps/sparc/sparc64/multiarch/Makefile
16398 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16400 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16401 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16403 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16404 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16405 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16406 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16407 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16408 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16409 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16410 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16411 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16413 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16414 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16416 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16418 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16420 * timezone/tzselect.ksh: Update from tzcode git revision
16421 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16422 * timezone/zdump.c: Likewise.
16423 * timezone/zic.c: Likewise.
16424 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16425 in TZVERSION setting, not $(PKGVERSION).
16426 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16427 REPORT_BUGS_TO settings.
16430 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16433 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16435 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16436 detection to immediately after _FP_ROUND().
16437 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16440 2012-11-11 David S. Miller <davem@davemloft.net>
16442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16444 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16445 __close rather than their public counterparts.
16447 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16449 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16451 [UNIX98] (sem_timedwait): Do not expect.
16452 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16453 [XPG4 || UNIX98] (sockatmark): Do not expect.
16454 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16455 (clock_getcpuclockid): Do not expect.
16456 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16457 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16459 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16460 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16461 [UNIX98] (vwscanf): Likewise.
16462 [UNIX98] (vswscanf): Likewise.
16464 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16466 * timezone/version.h: Remove file.
16467 * timezone/README: Do not refer to version.h.
16468 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16469 $(objpfx)version.h.
16470 ($(objpfx)zdump.o): Likewise.
16471 ($(objpfx)version.h): New target.
16473 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16475 * timezone/README: Don't mention modification to tzselect.ksh.
16476 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16477 work on unmodified tzselect.ksh. Substitute version numbers in
16480 * Makefile (format-me): Remove.
16481 (INSTALL): Adjust indentation. Use commands directly instead of
16482 using $(format-me).
16484 * aclocal.m4 (ACX_PKGVERSION): New macro.
16485 (ACX_BUGURL): Likewise.
16486 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16487 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16488 (REPORT_BUGS_TO): Likewise.
16489 * configure: Regenerated.
16490 * config.h.in (PKGVERSION): New macro.
16491 (REPORT_BUGS_TO): Likewise.
16492 * config.make.in (PKGVERSION): New variable.
16493 (PKGVERSION_TEXI): Likewise.
16494 (REPORT_BUGS_TO): Likewise.
16495 (REPORT_BUGS_TEXI): Likewise.
16496 * Makefile (format-me): Use -I$(common-objpfx)manual.
16497 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16498 ($(common-objpfx)manual/%): New target.
16499 (manual/%): Remove target.
16500 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16501 (print_version): Use PKGVERSION.
16502 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16503 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16504 and REPORT_BUGS_TO.
16505 ($(objpfx)xtrace): Likewise.
16506 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16507 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16508 (print_version): Use PKGVERSION.
16509 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16510 (do_version): Use PKGVERSION.
16511 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16513 (common-ldd-rewrite): Likewise.
16514 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16515 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16516 (print_version): Use PKGVERSION.
16517 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16518 * elf/pldd.c (argp_program_bug_address): Remove variable.
16519 (more_help): New function.
16520 (argp): Use more_help.
16521 (print_version): Use PKGVERSION.
16522 * elf/sln.c (main): Use PKGVERSION.
16523 (usage): Use REPORT_BUGS_TO.
16524 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16525 (top level): Use PKGVERSION.
16526 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16527 (print_version): Use PKGVERSION.
16528 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16529 (print_version): Use PKGVERSION.
16530 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16531 (print_version): Use PKGVERSION.
16532 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16533 (print_version): Use PKGVERSION.
16534 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16535 (print_version): Use PKGVERSION.
16536 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16537 (print_version): Use PKGVERSION.
16538 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16540 ($(objpfx)memusage): Likewise.
16541 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16542 (do_version): Use PKGVERSION.
16543 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16544 (print_version): Use PKGVERSION.
16545 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16546 ($PKGVERSION): New variable.
16547 ($REPORT_BUGS_TO): Likewise.
16548 (usage): Use $REPORT_BUGS_TO.
16549 (top level): Use $PKGVERSION.
16550 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16551 ($(objpfx)pkgvers.texi): New rule.
16552 ($(objpfx)stamp-pkgvers): Likewise.
16553 * manual/install.texi: Include pkgvers.texi.
16554 (--with-pkgversion): Document new configure option.
16555 (--with-bugurl): Likewise.
16556 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16557 than necessarily for this particular distribution. Use
16558 REPORT_BUGS_TO for where to report bugs.
16559 * INSTALL: Regenerated.
16560 * manual/libc.texinfo: Include pkgvers.texi.
16561 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16562 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16563 (print_version): Use PKGVERSION.
16564 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16565 (print_version): Use PKGVERSION.
16566 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16567 (print_version): Use PKGVERSION.
16568 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16569 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16571 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16572 (print_version): Use PKGVERSION.
16573 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16574 (print_version): Use PKGVERSION.
16575 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16578 * timezone/checktab.awk: Update from tzcode 2012i.
16579 * timezone/ialloc.c: Likewise.
16580 * timezone/private.h: Likewise.
16581 * timezone/scheck.c: Likewise.
16582 * timezone/tzfile.h: Likewise.
16583 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16584 (TZVERSION): Hardcode tzcode version number.
16585 * timezone/zdump.c: Update from tzcode 2012i.
16586 * timezone/zic.c: Likewise.
16587 * timezone/version.h: New file.
16588 * timezone/README: Describe version.h. Update upstream location.
16591 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16592 (mktemp): Enable declaration.
16593 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16595 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16596 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16598 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16600 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16602 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16604 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16606 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16610 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16611 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16612 for copies of such integer values.
16613 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16614 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16616 2012-11-09 Andreas Jaeger <aj@suse.de>
16618 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16619 definitions and declarations that are provided by
16620 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16622 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16624 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16625 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16626 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16629 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16631 * elf/elf.h: Update comment before AArch64 relocations.
16633 2012-11-07 David S. Miller <davem@davemloft.net>
16635 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16636 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16637 (__start_context): Declare.
16638 (__makecontext_ret): Delete.
16639 (__makecontext): Hook up __start_context instead of
16641 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16642 (sysdep_routines): Add __start_context when in stdlib.
16644 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16646 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16647 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16648 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16650 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16651 (READELF): New variable. Use it instead of hardcoded "readelf".
16653 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16655 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16656 * sysdeps/x86/Makefile: Here.
16657 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16658 * sysdeps/x86/tst-xmmymm.sh: This.
16660 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16662 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16664 [UNIX98] (pthread_barrier_t): Do not expect.
16665 [UNIX98] (pthread_barrierattr_t): Likewise.
16666 [UNIX98] (pthread_spinlock_t): Likewise.
16667 [UNIX98] (pthread_barrier_destroy): Likewise.
16668 [UNIX98] (pthread_barrier_init): Likewise.
16669 [UNIX98] (pthread_barrier_wait): Likewise.
16670 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16671 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16672 [UNIX98] (pthread_barrierattr_init): Likewise.
16673 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16674 [UNIX98] (pthread_getcpuclockid): Likewise.
16675 [UNIX98] (pthread_mutex_timedlock): Likewise.
16676 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16677 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16678 [UNIX98] (pthread_sigmask): Likewise.
16679 [UNIX98] (pthread_spin_destroy): Likewise.
16680 [UNIX98] (pthread_spin_init): Likewise.
16681 [UNIX98] (pthread_spin_lock): Likewise.
16682 [UNIX98] (pthread_spin_trylock): Likewise.
16683 [UNIX98] (pthread_spin_unlock): Likewise.
16684 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16686 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16687 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16688 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16689 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16690 [XPG3 || XPG4] (pthread_key_t): Likewise.
16691 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16692 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16693 [XPG3 || XPG4] (pthread_once_t): Likewise.
16694 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16695 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16696 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16697 [XPG3 || XPG4] (pthread_t): Likewise.
16699 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16701 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16703 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16704 Change function return type to int.
16706 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16707 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16708 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16709 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16710 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16711 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16712 [!POSIX] (posix_madvise): Likewise.
16713 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16715 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16716 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16717 (mode_t): Likewise.
16718 (posix_mem_offset): Likewise.
16719 (posix_typed_mem_get_info): Likewise.
16720 (posix_typed_mem_open): Likewise.
16722 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16723 Change condition to [XOPEN2K8].
16725 * conform/conformtest.pl: Preprocess allow-header data with -x c
16726 instead of from stdin.
16727 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16728 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16729 [C99-based standards] (cerfc): Likewise.
16730 [C99-based standards] (cexp2): Likewise.
16731 [C99-based standards] (cexpm1): Likewise.
16732 [C99-based standards] (clog10): Likewise.
16733 [C99-based standards] (clog1p): Likewise.
16734 [C99-based standards] (clog2): Likewise.
16735 [C99-based standards] (clgamma): Likewise.
16736 [C99-based standards] (ctgamma): Likewise.
16737 [C99-based standards] (cerff): Likewise.
16738 [C99-based standards] (cerfcf): Likewise.
16739 [C99-based standards] (cexp2f): Likewise.
16740 [C99-based standards] (cexpm1f): Likewise.
16741 [C99-based standards] (clog10f): Likewise.
16742 [C99-based standards] (clog1pf): Likewise.
16743 [C99-based standards] (clog2f): Likewise.
16744 [C99-based standards] (clgammaf): Likewise.
16745 [C99-based standards] (ctgammaf): Likewise.
16746 [C99-based standards] (cerfl): Likewise.
16747 [C99-based standards] (cerfcl): Likewise.
16748 [C99-based standards] (cexp2l): Likewise.
16749 [C99-based standards] (cexpm1l): Likewise.
16750 [C99-based standards] (clog10l): Likewise.
16751 [C99-based standards] (clog1pl): Likewise.
16752 [C99-based standards] (clog2l): Likewise.
16753 [C99-based standards] (clgammal): Likewise.
16754 [C99-based standards] (ctgammal): Likewise.
16755 * conform/data/inttypes.h-data [C99-based standards]: Include
16756 stdint.h-data. Remove all expectations for stdint.h contents.
16757 [C99-based standards] (PRI*): Do not allow.
16758 [C99-based standards] (SCN*): Likewise.
16759 [C99-based standards] (*_t): Likewise.
16760 [C99-based-standards] (PRId8): Expect macro.
16761 [C99-based-standards] (PRIi8): Likewise.
16762 [C99-based-standards] (PRIo8): Likewise.
16763 [C99-based-standards] (PRIu8): Likewise.
16764 [C99-based-standards] (PRIx8): Likewise.
16765 [C99-based-standards] (PRIX8): Likewise.
16766 [C99-based-standards] (SCNd8): Likewise.
16767 [C99-based-standards] (SCNi8): Likewise.
16768 [C99-based-standards] (SCNo8): Likewise.
16769 [C99-based-standards] (SCNu8): Likewise.
16770 [C99-based-standards] (SCNx8): Likewise.
16771 [C99-based-standards] (PRIdLEAST8): Likewise.
16772 [C99-based-standards] (PRIiLEAST8): Likewise.
16773 [C99-based-standards] (PRIoLEAST8): Likewise.
16774 [C99-based-standards] (PRIuLEAST8): Likewise.
16775 [C99-based-standards] (PRIxLEAST8): Likewise.
16776 [C99-based-standards] (PRIXLEAST8): Likewise.
16777 [C99-based-standards] (SCNdLEAST8): Likewise.
16778 [C99-based-standards] (SCNiLEAST8): Likewise.
16779 [C99-based-standards] (SCNoLEAST8): Likewise.
16780 [C99-based-standards] (SCNuLEAST8): Likewise.
16781 [C99-based-standards] (SCNxLEAST8): Likewise.
16782 [C99-based-standards] (PRIdFAST8): Likewise.
16783 [C99-based-standards] (PRIiFAST8): Likewise.
16784 [C99-based-standards] (PRIoFAST8): Likewise.
16785 [C99-based-standards] (PRIuFAST8): Likewise.
16786 [C99-based-standards] (PRIxFAST8): Likewise.
16787 [C99-based-standards] (PRIXFAST8): Likewise.
16788 [C99-based-standards] (SCNdFAST8): Likewise.
16789 [C99-based-standards] (SCNiFAST8): Likewise.
16790 [C99-based-standards] (SCNoFAST8): Likewise.
16791 [C99-based-standards] (SCNuFAST8): Likewise.
16792 [C99-based-standards] (SCNxFAST8): Likewise.
16793 [C99-based-standards] (PRId16): Likewise.
16794 [C99-based-standards] (PRIi16): Likewise.
16795 [C99-based-standards] (PRIo16): Likewise.
16796 [C99-based-standards] (PRIu16): Likewise.
16797 [C99-based-standards] (PRIx16): Likewise.
16798 [C99-based-standards] (PRIX16): Likewise.
16799 [C99-based-standards] (SCNd16): Likewise.
16800 [C99-based-standards] (SCNi16): Likewise.
16801 [C99-based-standards] (SCNo16): Likewise.
16802 [C99-based-standards] (SCNu16): Likewise.
16803 [C99-based-standards] (SCNx16): Likewise.
16804 [C99-based-standards] (PRIdLEAST16): Likewise.
16805 [C99-based-standards] (PRIiLEAST16): Likewise.
16806 [C99-based-standards] (PRIoLEAST16): Likewise.
16807 [C99-based-standards] (PRIuLEAST16): Likewise.
16808 [C99-based-standards] (PRIxLEAST16): Likewise.
16809 [C99-based-standards] (PRIXLEAST16): Likewise.
16810 [C99-based-standards] (SCNdLEAST16): Likewise.
16811 [C99-based-standards] (SCNiLEAST16): Likewise.
16812 [C99-based-standards] (SCNoLEAST16): Likewise.
16813 [C99-based-standards] (SCNuLEAST16): Likewise.
16814 [C99-based-standards] (SCNxLEAST16): Likewise.
16815 [C99-based-standards] (PRIdFAST16): Likewise.
16816 [C99-based-standards] (PRIiFAST16): Likewise.
16817 [C99-based-standards] (PRIoFAST16): Likewise.
16818 [C99-based-standards] (PRIuFAST16): Likewise.
16819 [C99-based-standards] (PRIxFAST16): Likewise.
16820 [C99-based-standards] (PRIXFAST16): Likewise.
16821 [C99-based-standards] (SCNdFAST16): Likewise.
16822 [C99-based-standards] (SCNiFAST16): Likewise.
16823 [C99-based-standards] (SCNoFAST16): Likewise.
16824 [C99-based-standards] (SCNuFAST16): Likewise.
16825 [C99-based-standards] (SCNxFAST16): Likewise.
16826 [C99-based-standards] (PRId32): Likewise.
16827 [C99-based-standards] (PRIi32): Likewise.
16828 [C99-based-standards] (PRIo32): Likewise.
16829 [C99-based-standards] (PRIu32): Likewise.
16830 [C99-based-standards] (PRIx32): Likewise.
16831 [C99-based-standards] (PRIX32): Likewise.
16832 [C99-based-standards] (SCNd32): Likewise.
16833 [C99-based-standards] (SCNi32): Likewise.
16834 [C99-based-standards] (SCNo32): Likewise.
16835 [C99-based-standards] (SCNu32): Likewise.
16836 [C99-based-standards] (SCNx32): Likewise.
16837 [C99-based-standards] (PRIdLEAST32): Likewise.
16838 [C99-based-standards] (PRIiLEAST32): Likewise.
16839 [C99-based-standards] (PRIoLEAST32): Likewise.
16840 [C99-based-standards] (PRIuLEAST32): Likewise.
16841 [C99-based-standards] (PRIxLEAST32): Likewise.
16842 [C99-based-standards] (PRIXLEAST32): Likewise.
16843 [C99-based-standards] (SCNdLEAST32): Likewise.
16844 [C99-based-standards] (SCNiLEAST32): Likewise.
16845 [C99-based-standards] (SCNoLEAST32): Likewise.
16846 [C99-based-standards] (SCNuLEAST32): Likewise.
16847 [C99-based-standards] (SCNxLEAST32): Likewise.
16848 [C99-based-standards] (PRIdFAST32): Likewise.
16849 [C99-based-standards] (PRIiFAST32): Likewise.
16850 [C99-based-standards] (PRIoFAST32): Likewise.
16851 [C99-based-standards] (PRIuFAST32): Likewise.
16852 [C99-based-standards] (PRIxFAST32): Likewise.
16853 [C99-based-standards] (PRIXFAST32): Likewise.
16854 [C99-based-standards] (SCNdFAST32): Likewise.
16855 [C99-based-standards] (SCNiFAST32): Likewise.
16856 [C99-based-standards] (SCNoFAST32): Likewise.
16857 [C99-based-standards] (SCNuFAST32): Likewise.
16858 [C99-based-standards] (SCNxFAST32): Likewise.
16859 [C99-based-standards] (PRId64): Likewise.
16860 [C99-based-standards] (PRIi64): Likewise.
16861 [C99-based-standards] (PRIo64): Likewise.
16862 [C99-based-standards] (PRIu64): Likewise.
16863 [C99-based-standards] (PRIx64): Likewise.
16864 [C99-based-standards] (PRIX64): Likewise.
16865 [C99-based-standards] (SCNd64): Likewise.
16866 [C99-based-standards] (SCNi64): Likewise.
16867 [C99-based-standards] (SCNo64): Likewise.
16868 [C99-based-standards] (SCNu64): Likewise.
16869 [C99-based-standards] (SCNx64): Likewise.
16870 [C99-based-standards] (PRIdLEAST64): Likewise.
16871 [C99-based-standards] (PRIiLEAST64): Likewise.
16872 [C99-based-standards] (PRIoLEAST64): Likewise.
16873 [C99-based-standards] (PRIuLEAST64): Likewise.
16874 [C99-based-standards] (PRIxLEAST64): Likewise.
16875 [C99-based-standards] (PRIXLEAST64): Likewise.
16876 [C99-based-standards] (SCNdLEAST64): Likewise.
16877 [C99-based-standards] (SCNiLEAST64): Likewise.
16878 [C99-based-standards] (SCNoLEAST64): Likewise.
16879 [C99-based-standards] (SCNuLEAST64): Likewise.
16880 [C99-based-standards] (SCNxLEAST64): Likewise.
16881 [C99-based-standards] (PRIdFAST64): Likewise.
16882 [C99-based-standards] (PRIiFAST64): Likewise.
16883 [C99-based-standards] (PRIoFAST64): Likewise.
16884 [C99-based-standards] (PRIuFAST64): Likewise.
16885 [C99-based-standards] (PRIxFAST64): Likewise.
16886 [C99-based-standards] (PRIXFAST64): Likewise.
16887 [C99-based-standards] (SCNdFAST64): Likewise.
16888 [C99-based-standards] (SCNiFAST64): Likewise.
16889 [C99-based-standards] (SCNoFAST64): Likewise.
16890 [C99-based-standards] (SCNuFAST64): Likewise.
16891 [C99-based-standards] (SCNxFAST64): Likewise.
16892 [C99-based-standards] (PRIdMAX): Likewise.
16893 [C99-based-standards] (PRIiMAX): Likewise.
16894 [C99-based-standards] (PRIoMAX): Likewise.
16895 [C99-based-standards] (PRIuMAX): Likewise.
16896 [C99-based-standards] (PRIxMAX): Likewise.
16897 [C99-based-standards] (PRIXMAX): Likewise.
16898 [C99-based-standards] (SCNdMAX): Likewise.
16899 [C99-based-standards] (SCNiMAX): Likewise.
16900 [C99-based-standards] (SCNoMAX): Likewise.
16901 [C99-based-standards] (SCNuMAX): Likewise.
16902 [C99-based-standards] (SCNxMAX): Likewise.
16903 [C99-based-standards] (PRIdPTR): Likewise.
16904 [C99-based-standards] (PRIiPTR): Likewise.
16905 [C99-based-standards] (PRIoPTR): Likewise.
16906 [C99-based-standards] (PRIuPTR): Likewise.
16907 [C99-based-standards] (PRIxPTR): Likewise.
16908 [C99-based-standards] (PRIXPTR): Likewise.
16909 [C99-based-standards] (SCNdPTR): Likewise.
16910 [C99-based-standards] (SCNiPTR): Likewise.
16911 [C99-based-standards] (SCNoPTR): Likewise.
16912 [C99-based-standards] (SCNuPTR): Likewise.
16913 [C99-based-standards] (SCNxPTR): Likewise.
16914 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16916 * conform/data/stdint.h-data: Update comments to clarify
16918 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16920 [C99-based standards] (INT8_MAX): Likewise.
16921 [C99-based standards] (INT16_MIN): Likewise.
16922 [C99-based standards] (INT16_MAX): Likewise.
16923 [C99-based standards] (INT32_MIN): Likewise.
16924 [C99-based standards] (INT32_MAX): Likewise.
16925 [C99-based standards] (INT64_MIN): Likewise.
16926 [C99-based standards] (INT64_MAX): Likewise.
16927 [C99-based standards] (UINT8_MAX): Likewise.
16928 [C99-based standards] (UINT16_MAX): Likewise.
16929 [C99-based standards] (UINT32_MAX): Likewise.
16930 [C99-based standards] (UINT64_MAX): Likewise.
16931 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16932 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16933 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16934 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16935 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16936 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16937 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16938 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16939 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16940 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16941 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16942 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16943 [C99-based standards] (INT_FAST8_MIN): Likewise.
16944 [C99-based standards] (INT_FAST8_MAX): Likewise.
16945 [C99-based standards] (INT_FAST16_MIN): Likewise.
16946 [C99-based standards] (INT_FAST16_MAX): Likewise.
16947 [C99-based standards] (INT_FAST32_MIN): Likewise.
16948 [C99-based standards] (INT_FAST32_MAX): Likewise.
16949 [C99-based standards] (INT_FAST64_MIN): Likewise.
16950 [C99-based standards] (INT_FAST64_MAX): Likewise.
16951 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16952 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16953 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16954 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16955 [C99-based standards] (INTPTR_MIN): Likewise.
16956 [C99-based standards] (INTPTR_MAX): Likewise.
16957 [C99-based standards] (UINTPTR_MAX): Likewise.
16958 [C99-based standards] (INTMAX_MIN): Likewise.
16959 [C99-based standards] (INTMAX_MAX): Likewise.
16960 [C99-based standards] (UINTMAX_MAX): Likewise.
16961 [C99-based standards] (PTRDIFF_MIN): Likewise.
16962 [C99-based standards] (PTRDIFF_MAX): Likewise.
16963 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16964 [C99-based standards] (SIZE_MAX): Likewise.
16965 [C99-based standards] (WCHAR_MAX): Likewise.
16966 [C99-based standards] (WINT_MAX): Likewise.
16967 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16968 constraint on value.
16969 [C99-based standards] (WCHAR_MIN): Likewise.
16970 [C99-based standards] (WINT_MIN): Likewise.
16971 [C99-based standards] (*_t): Allow.
16972 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16973 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16974 Include math.h-data and complex.h-data. Remove all expectations
16975 of math.h and complex.h contents.
16976 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16978 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16979 (struct tm): Expect tag.
16980 [C99-based-standards] (wcstof): Expect function.
16981 [C99-based-standards] (wcstold): Likewise.
16982 [C99-based-standards] (wcstoll): Likewise.
16983 [C99-based-standards] (wcstoull): Likewise.
16984 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16985 macro-int-constant. Specify type.
16986 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16987 constraint on value.
16988 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16990 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16992 [ISO C standards]: Do not allow headers.
16993 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16994 wcs[abcdefghijklmnopqrstuvwxyz]*.
16995 [ISO C standards] (*_t): Do not allow.
16996 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16998 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16999 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17001 [ISO C standards]: Do not allow headers.
17002 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17003 is[abcdefghijklmnopqrstuvwxyz]*.
17004 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17005 to[abcdefghijklmnopqrstuvwxyz]*.
17006 [ISO C standards] (*_t): Do not allow.
17007 * conform/data/stdalign.h-data: New file.
17008 * conform/data/stdbool.h-data: Likewise.
17009 * conform/data/stdnoreturn.h-data: Likewise.
17011 2012-11-07 Roland McGrath <roland@hack.frob.com>
17014 * manual/filesys.texi (Directory Entries): Typo fix.
17015 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17017 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17019 * elf/elf.h (EM_AARCH64): New macro.
17020 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17021 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17022 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17023 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17024 (R_AARCH64_TLSDESC): Likewise.
17025 (NT_ARM_TLS): Likewise.
17026 (NT_ARM_HW_BREAK): Likewise.
17027 (NT_ARM_HW_WATCH): Likewise.
17029 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17032 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17033 (__ieee754_powl): Saturate nonzero exponents with absolute value
17034 below 0x1p-79 to +/- 0x1p-79.
17035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17036 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17037 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17038 nonzero exponents with absolute value below 0x1p-32 to +/-
17040 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17041 (__ieee754_powl): Saturate nonzero exponents with absolute value
17042 below 0x1p-79 to +/- 0x1p-79.
17043 * math/libm-test.inc (pow_test): Add more tests.
17045 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17047 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17048 _dl_s390_cap_flags with kernel. Increase string length.
17049 (_dl_s390_platforms): Add z196 and zEC12.
17051 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17053 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17054 Change XOPEN21K to XOPEN2K.
17056 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17058 * string/memmove.c: Use memcpy when possible.
17060 2012-11-06 Andreas Jaeger <aj@suse.de>
17062 * po/eo.po: Update from translation team.
17064 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17068 exponent and small x and y exponents, scale x or y up. Increase
17069 by 2 the exponent used in scaling up.
17070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17072 * math/libm-test.inc (fma_test): Add more tests.
17073 (fma_test_towardzero): Likewise.
17074 (fma_test_downward): Likewise.
17075 (fma_test_upward): Likewise.
17077 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17080 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17084 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17085 namespace for names of struct fields.
17086 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17088 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17089 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17091 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17094 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17096 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17098 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17102 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17105 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17109 definitely overflow as x * y not x * y + z.
17110 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17111 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17112 * math/libm-test.inc (fma_test): Add more tests.
17113 (fma_test_towardzero): Likewise.
17114 (fma_test_downward): Likewise.
17115 (fma_test_upward): Likewise.
17117 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17121 * include/stub-tag.h: Remove file.
17122 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17124 * manual/maint.texi (Porting): Don't reference it.
17125 * Makerules ($(objpfx)stubs): Likewise.
17126 * dirent/closedir.c: Don't include <stub-tag.h>.
17127 * dirent/dirfd.c: Likewise.
17128 * dirent/fdopendir.c: Likewise.
17129 * dirent/getdents.c: Likewise.
17130 * dirent/getdents64.c: Likewise.
17131 * dirent/opendir.c: Likewise.
17132 * dirent/readdir.c: Likewise.
17133 * dirent/readdir64.c: Likewise.
17134 * dirent/readdir64_r.c: Likewise.
17135 * dirent/readdir_r.c: Likewise.
17136 * dirent/rewinddir.c: Likewise.
17137 * dirent/seekdir.c: Likewise.
17138 * dirent/telldir.c: Likewise.
17139 * gmon/profil.c: Likewise.
17140 * grp/setgroups.c: Likewise.
17141 * inet/if_index.c: Likewise.
17142 * io/access.c: Likewise.
17143 * io/chdir.c: Likewise.
17144 * io/chmod.c: Likewise.
17145 * io/chown.c: Likewise.
17146 * io/close.c: Likewise.
17147 * io/dup.c: Likewise.
17148 * io/dup2.c: Likewise.
17149 * io/dup3.c: Likewise.
17150 * io/euidaccess.c: Likewise.
17151 * io/faccessat.c: Likewise.
17152 * io/fchdir.c: Likewise.
17153 * io/fchmod.c: Likewise.
17154 * io/fchmodat.c: Likewise.
17155 * io/fchown.c: Likewise.
17156 * io/fchownat.c: Likewise.
17157 * io/fcntl.c: Likewise.
17158 * io/flock.c: Likewise.
17159 * io/fstatfs.c: Likewise.
17160 * io/fstatfs64.c: Likewise.
17161 * io/fstatvfs.c: Likewise.
17162 * io/fstatvfs64.c: Likewise.
17163 * io/futimens.c: Likewise.
17164 * io/fxstat.c: Likewise.
17165 * io/fxstat64.c: Likewise.
17166 * io/fxstatat.c: Likewise.
17167 * io/fxstatat64.c: Likewise.
17168 * io/getcwd.c: Likewise.
17169 * io/isatty.c: Likewise.
17170 * io/lchmod.c: Likewise.
17171 * io/lchown.c: Likewise.
17172 * io/link.c: Likewise.
17173 * io/linkat.c: Likewise.
17174 * io/lseek.c: Likewise.
17175 * io/lseek64.c: Likewise.
17176 * io/lxstat64.c: Likewise.
17177 * io/mkdir.c: Likewise.
17178 * io/mkdirat.c: Likewise.
17179 * io/mkfifo.c: Likewise.
17180 * io/mkfifoat.c: Likewise.
17181 * io/open.c: Likewise.
17182 * io/open64.c: Likewise.
17183 * io/openat.c: Likewise.
17184 * io/openat64.c: Likewise.
17185 * io/pipe.c: Likewise.
17186 * io/pipe2.c: Likewise.
17187 * io/poll.c: Likewise.
17188 * io/posix_fadvise.c: Likewise.
17189 * io/posix_fadvise64.c: Likewise.
17190 * io/posix_fallocate.c: Likewise.
17191 * io/posix_fallocate64.c: Likewise.
17192 * io/read.c: Likewise.
17193 * io/readlink.c: Likewise.
17194 * io/readlinkat.c: Likewise.
17195 * io/rmdir.c: Likewise.
17196 * io/sendfile.c: Likewise.
17197 * io/sendfile64.c: Likewise.
17198 * io/statfs.c: Likewise.
17199 * io/statfs64.c: Likewise.
17200 * io/statvfs.c: Likewise.
17201 * io/statvfs64.c: Likewise.
17202 * io/symlink.c: Likewise.
17203 * io/symlinkat.c: Likewise.
17204 * io/ttyname.c: Likewise.
17205 * io/ttyname_r.c: Likewise.
17206 * io/umask.c: Likewise.
17207 * io/unlink.c: Likewise.
17208 * io/unlinkat.c: Likewise.
17209 * io/utime.c: Likewise.
17210 * io/utimensat.c: Likewise.
17211 * io/write.c: Likewise.
17212 * io/xmknod.c: Likewise.
17213 * io/xmknodat.c: Likewise.
17214 * io/xstat.c: Likewise.
17215 * io/xstat64.c: Likewise.
17216 * login/getpt.c: Likewise.
17217 * login/grantpt.c: Likewise.
17218 * login/unlockpt.c: Likewise.
17219 * math/e_acoshl.c: Likewise.
17220 * math/e_acosl.c: Likewise.
17221 * math/e_asinl.c: Likewise.
17222 * math/e_atan2l.c: Likewise.
17223 * math/e_atanhl.c: Likewise.
17224 * math/e_coshl.c: Likewise.
17225 * math/e_expl.c: Likewise.
17226 * math/e_fmodl.c: Likewise.
17227 * math/e_gammal_r.c: Likewise.
17228 * math/e_hypotl.c: Likewise.
17229 * math/e_j0l.c: Likewise.
17230 * math/e_j1l.c: Likewise.
17231 * math/e_jnl.c: Likewise.
17232 * math/e_lgammal_r.c: Likewise.
17233 * math/e_log10l.c: Likewise.
17234 * math/e_log2l.c: Likewise.
17235 * math/e_logl.c: Likewise.
17236 * math/e_powl.c: Likewise.
17237 * math/e_rem_pio2l.c: Likewise.
17238 * math/e_sinhl.c: Likewise.
17239 * math/e_sqrtl.c: Likewise.
17240 * math/fclrexcpt.c: Likewise.
17241 * math/fedisblxcpt.c: Likewise.
17242 * math/feenablxcpt.c: Likewise.
17243 * math/fegetenv.c: Likewise.
17244 * math/fegetexcept.c: Likewise.
17245 * math/fegetround.c: Likewise.
17246 * math/feholdexcpt.c: Likewise.
17247 * math/fesetenv.c: Likewise.
17248 * math/fesetround.c: Likewise.
17249 * math/feupdateenv.c: Likewise.
17250 * math/fgetexcptflg.c: Likewise.
17251 * math/fraiseexcpt.c: Likewise.
17252 * math/fsetexcptflg.c: Likewise.
17253 * math/ftestexcept.c: Likewise.
17254 * math/k_cosl.c: Likewise.
17255 * math/k_rem_pio2l.c: Likewise.
17256 * math/k_sinl.c: Likewise.
17257 * math/k_tanl.c: Likewise.
17258 * math/s_asinhl.c: Likewise.
17259 * math/s_atanl.c: Likewise.
17260 * math/s_cbrtl.c: Likewise.
17261 * math/s_erfl.c: Likewise.
17262 * math/s_expm1l.c: Likewise.
17263 * math/s_log1pl.c: Likewise.
17264 * math/s_tanhl.c: Likewise.
17265 * misc/acct.c: Likewise.
17266 * misc/brk.c: Likewise.
17267 * misc/chflags.c: Likewise.
17268 * misc/chroot.c: Likewise.
17269 * misc/fchflags.c: Likewise.
17270 * misc/fgetxattr.c: Likewise.
17271 * misc/flistxattr.c: Likewise.
17272 * misc/fremovexattr.c: Likewise.
17273 * misc/fsetxattr.c: Likewise.
17274 * misc/fsync.c: Likewise.
17275 * misc/ftruncate.c: Likewise.
17276 * misc/futimes.c: Likewise.
17277 * misc/futimesat.c: Likewise.
17278 * misc/getdomain.c: Likewise.
17279 * misc/getdtsz.c: Likewise.
17280 * misc/gethostid.c: Likewise.
17281 * misc/gethostname.c: Likewise.
17282 * misc/getloadavg.c: Likewise.
17283 * misc/getpagesize.c: Likewise.
17284 * misc/getsysstats.c: Likewise.
17285 * misc/getxattr.c: Likewise.
17286 * misc/gtty.c: Likewise.
17287 * misc/ioctl.c: Likewise.
17288 * misc/lgetxattr.c: Likewise.
17289 * misc/listxattr.c: Likewise.
17290 * misc/llistxattr.c: Likewise.
17291 * misc/lremovexattr.c: Likewise.
17292 * misc/lsetxattr.c: Likewise.
17293 * misc/lutimes.c: Likewise.
17294 * misc/madvise.c: Likewise.
17295 * misc/mincore.c: Likewise.
17296 * misc/mlock.c: Likewise.
17297 * misc/mlockall.c: Likewise.
17298 * misc/mmap.c: Likewise.
17299 * misc/mprotect.c: Likewise.
17300 * misc/msync.c: Likewise.
17301 * misc/munlock.c: Likewise.
17302 * misc/munlockall.c: Likewise.
17303 * misc/munmap.c: Likewise.
17304 * misc/preadv.c: Likewise.
17305 * misc/preadv64.c: Likewise.
17306 * misc/ptrace.c: Likewise.
17307 * misc/pwritev.c: Likewise.
17308 * misc/pwritev64.c: Likewise.
17309 * misc/readv.c: Likewise.
17310 * misc/reboot.c: Likewise.
17311 * misc/remap_file_pages.c: Likewise.
17312 * misc/removexattr.c: Likewise.
17313 * misc/revoke.c: Likewise.
17314 * misc/select.c: Likewise.
17315 * misc/setdomain.c: Likewise.
17316 * misc/setegid.c: Likewise.
17317 * misc/seteuid.c: Likewise.
17318 * misc/sethostid.c: Likewise.
17319 * misc/sethostname.c: Likewise.
17320 * misc/setregid.c: Likewise.
17321 * misc/setreuid.c: Likewise.
17322 * misc/setxattr.c: Likewise.
17323 * misc/sstk.c: Likewise.
17324 * misc/stty.c: Likewise.
17325 * misc/swapoff.c: Likewise.
17326 * misc/swapon.c: Likewise.
17327 * misc/sync.c: Likewise.
17328 * misc/syncfs.c: Likewise.
17329 * misc/syscall.c: Likewise.
17330 * misc/truncate.c: Likewise.
17331 * misc/ualarm.c: Likewise.
17332 * misc/usleep.c: Likewise.
17333 * misc/ustat.c: Likewise.
17334 * misc/utimes.c: Likewise.
17335 * misc/vhangup.c: Likewise.
17336 * misc/writev.c: Likewise.
17337 * posix/_exit.c: Likewise.
17338 * posix/alarm.c: Likewise.
17339 * posix/execve.c: Likewise.
17340 * posix/fexecve.c: Likewise.
17341 * posix/fork.c: Likewise.
17342 * posix/fpathconf.c: Likewise.
17343 * posix/getaddrinfo.c: Likewise.
17344 * posix/getegid.c: Likewise.
17345 * posix/geteuid.c: Likewise.
17346 * posix/getgid.c: Likewise.
17347 * posix/getgroups.c: Likewise.
17348 * posix/getlogin.c: Likewise.
17349 * posix/getlogin_r.c: Likewise.
17350 * posix/getpgid.c: Likewise.
17351 * posix/getpid.c: Likewise.
17352 * posix/getppid.c: Likewise.
17353 * posix/getresgid.c: Likewise.
17354 * posix/getresuid.c: Likewise.
17355 * posix/getsid.c: Likewise.
17356 * posix/getuid.c: Likewise.
17357 * posix/glob64.c: Likewise.
17358 * posix/nanosleep.c: Likewise.
17359 * posix/pathconf.c: Likewise.
17360 * posix/pause.c: Likewise.
17361 * posix/posix_madvise.c: Likewise.
17362 * posix/pread.c: Likewise.
17363 * posix/pread64.c: Likewise.
17364 * posix/pwrite.c: Likewise.
17365 * posix/pwrite64.c: Likewise.
17366 * posix/sched_getaffinity.c: Likewise.
17367 * posix/sched_getp.c: Likewise.
17368 * posix/sched_gets.c: Likewise.
17369 * posix/sched_primax.c: Likewise.
17370 * posix/sched_primin.c: Likewise.
17371 * posix/sched_rr_gi.c: Likewise.
17372 * posix/sched_setaffinity.c: Likewise.
17373 * posix/sched_setp.c: Likewise.
17374 * posix/sched_sets.c: Likewise.
17375 * posix/sched_yield.c: Likewise.
17376 * posix/setgid.c: Likewise.
17377 * posix/setlogin.c: Likewise.
17378 * posix/setpgid.c: Likewise.
17379 * posix/setresgid.c: Likewise.
17380 * posix/setresuid.c: Likewise.
17381 * posix/setsid.c: Likewise.
17382 * posix/setuid.c: Likewise.
17383 * posix/sleep.c: Likewise.
17384 * posix/spawni.c: Likewise.
17385 * posix/sysconf.c: Likewise.
17386 * posix/times.c: Likewise.
17387 * posix/wait.c: Likewise.
17388 * posix/wait3.c: Likewise.
17389 * posix/wait4.c: Likewise.
17390 * posix/waitpid.c: Likewise.
17391 * resolv/gai_sigqueue.c: Likewise.
17392 * resource/getpriority.c: Likewise.
17393 * resource/getrlimit.c: Likewise.
17394 * resource/getrusage.c: Likewise.
17395 * resource/nice.c: Likewise.
17396 * resource/setpriority.c: Likewise.
17397 * resource/setrlimit.c: Likewise.
17398 * resource/ulimit.c: Likewise.
17399 * rt/aio_cancel.c: Likewise.
17400 * rt/aio_fsync.c: Likewise.
17401 * rt/aio_read.c: Likewise.
17402 * rt/aio_sigqueue.c: Likewise.
17403 * rt/aio_suspend.c: Likewise.
17404 * rt/aio_write.c: Likewise.
17405 * rt/clock_getres.c: Likewise.
17406 * rt/clock_gettime.c: Likewise.
17407 * rt/clock_nanosleep.c: Likewise.
17408 * rt/clock_settime.c: Likewise.
17409 * rt/lio_listio.c: Likewise.
17410 * rt/mq_close.c: Likewise.
17411 * rt/mq_getattr.c: Likewise.
17412 * rt/mq_notify.c: Likewise.
17413 * rt/mq_open.c: Likewise.
17414 * rt/mq_receive.c: Likewise.
17415 * rt/mq_send.c: Likewise.
17416 * rt/mq_setattr.c: Likewise.
17417 * rt/mq_timedreceive.c: Likewise.
17418 * rt/mq_timedsend.c: Likewise.
17419 * rt/mq_unlink.c: Likewise.
17420 * rt/shm_open.c: Likewise.
17421 * rt/shm_unlink.c: Likewise.
17422 * rt/timer_create.c: Likewise.
17423 * rt/timer_delete.c: Likewise.
17424 * rt/timer_getoverr.c: Likewise.
17425 * rt/timer_gettime.c: Likewise.
17426 * rt/timer_settime.c: Likewise.
17427 * setjmp/__longjmp.c: Likewise.
17428 * setjmp/setjmp.c: Likewise.
17429 * signal/kill.c: Likewise.
17430 * signal/killpg.c: Likewise.
17431 * signal/raise.c: Likewise.
17432 * signal/sigaction.c: Likewise.
17433 * signal/sigaltstack.c: Likewise.
17434 * signal/sigblock.c: Likewise.
17435 * signal/sigignore.c: Likewise.
17436 * signal/sigintr.c: Likewise.
17437 * signal/signal.c: Likewise.
17438 * signal/sigpause.c: Likewise.
17439 * signal/sigpending.c: Likewise.
17440 * signal/sigqueue.c: Likewise.
17441 * signal/sigreturn.c: Likewise.
17442 * signal/sigset.c: Likewise.
17443 * signal/sigsetmask.c: Likewise.
17444 * signal/sigstack.c: Likewise.
17445 * signal/sigsuspend.c: Likewise.
17446 * signal/sigtimedwait.c: Likewise.
17447 * signal/sigvec.c: Likewise.
17448 * signal/sigwait.c: Likewise.
17449 * signal/sigwaitinfo.c: Likewise.
17450 * signal/sysv_signal.c: Likewise.
17451 * socket/accept.c: Likewise.
17452 * socket/accept4.c: Likewise.
17453 * socket/bind.c: Likewise.
17454 * socket/connect.c: Likewise.
17455 * socket/getpeername.c: Likewise.
17456 * socket/getsockname.c: Likewise.
17457 * socket/getsockopt.c: Likewise.
17458 * socket/isfdtype.c: Likewise.
17459 * socket/listen.c: Likewise.
17460 * socket/recv.c: Likewise.
17461 * socket/recvfrom.c: Likewise.
17462 * socket/recvmsg.c: Likewise.
17463 * socket/send.c: Likewise.
17464 * socket/sendmsg.c: Likewise.
17465 * socket/sendto.c: Likewise.
17466 * socket/setsockopt.c: Likewise.
17467 * socket/shutdown.c: Likewise.
17468 * socket/sockatmark.c: Likewise.
17469 * socket/socket.c: Likewise.
17470 * socket/socketpair.c: Likewise.
17471 * stdio-common/ctermid.c: Likewise.
17472 * stdio-common/cuserid.c: Likewise.
17473 * stdio-common/remove.c: Likewise.
17474 * stdio-common/rename.c: Likewise.
17475 * stdio-common/renameat.c: Likewise.
17476 * stdio-common/tempname.c: Likewise.
17477 * stdlib/getcontext.c: Likewise.
17478 * stdlib/makecontext.c: Likewise.
17479 * stdlib/setcontext.c: Likewise.
17480 * stdlib/swapcontext.c: Likewise.
17481 * stdlib/system.c: Likewise.
17482 * streams/fattach.c: Likewise.
17483 * streams/fdetach.c: Likewise.
17484 * streams/getmsg.c: Likewise.
17485 * streams/getpmsg.c: Likewise.
17486 * streams/putmsg.c: Likewise.
17487 * streams/putpmsg.c: Likewise.
17488 * sysdeps/unix/bsd/getpt.c: Likewise.
17489 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17490 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17491 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17494 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17495 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17496 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17497 * sysvipc/msgctl.c: Likewise.
17498 * sysvipc/msgget.c: Likewise.
17499 * sysvipc/msgrcv.c: Likewise.
17500 * sysvipc/msgsnd.c: Likewise.
17501 * sysvipc/semctl.c: Likewise.
17502 * sysvipc/semget.c: Likewise.
17503 * sysvipc/semop.c: Likewise.
17504 * sysvipc/semtimedop.c: Likewise.
17505 * sysvipc/shmat.c: Likewise.
17506 * sysvipc/shmctl.c: Likewise.
17507 * sysvipc/shmdt.c: Likewise.
17508 * sysvipc/shmget.c: Likewise.
17509 * termios/tcdrain.c: Likewise.
17510 * termios/tcflow.c: Likewise.
17511 * termios/tcflush.c: Likewise.
17512 * termios/tcgetattr.c: Likewise.
17513 * termios/tcgetpgrp.c: Likewise.
17514 * termios/tcsendbrk.c: Likewise.
17515 * termios/tcsetattr.c: Likewise.
17516 * termios/tcsetpgrp.c: Likewise.
17517 * time/adjtime.c: Likewise.
17518 * time/clock.c: Likewise.
17519 * time/getitimer.c: Likewise.
17520 * time/gettimeofday.c: Likewise.
17521 * time/setitimer.c: Likewise.
17522 * time/settimeofday.c: Likewise.
17523 * time/stime.c: Likewise.
17524 * time/time.c: Likewise.
17526 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17528 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17531 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17533 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17535 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17539 FE_TONEAREST before applying Dekker multiplication and Knuth
17540 addition. Clear inexact exceptions and check for exact zero
17541 results afterwards.
17542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17543 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17545 * math/libm-test.inc (fma_test): Add more tests.
17546 (fma_test_towardzero): Likewise.
17547 (fma_test_downward): Likewise.
17548 (fma_test_upward): Likewise.
17549 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17551 (libc_fesetround): New macro.
17552 (libc_fesetroundf): Likewise.
17553 (libc_fesetroundl): Likewise.
17554 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17556 (libc_fesetround_387): Likewise.
17557 (libc_fesetroundf): New macro.
17558 (libc_fesetround): Likewise.
17559 (libc_fesetroundl): Likewise.
17560 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17562 (libc_fesetroundf): New macro.
17563 (libc_fesetround): Likewise.
17564 (libc_fesetroundl): Likewise.
17565 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17566 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17567 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17569 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17570 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17572 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17573 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17575 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17579 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17580 integer constant usable in #if and use that to give value to enum
17582 (FE_DIVBYZERO): Likewise.
17583 (FE_UNDERFLOW): Likewise.
17584 (FE_OVERFLOW): Likewise.
17585 (FE_INVALID): Likewise.
17586 (FE_INVALID_SNAN): Likewise.
17587 (FE_INVALID_ISI): Likewise.
17588 (FE_INVALID_IDI): Likewise.
17589 (FE_INVALID_ZDZ): Likewise.
17590 (FE_INVALID_IMZ): Likewise.
17591 (FE_INVALID_COMPARE): Likewise.
17592 (FE_INVALID_SOFTWARE): Likewise.
17593 (FE_INVALID_SQRT): Likewise.
17594 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17595 (FE_TONEAREST): Likewise.
17596 (FE_TOWARDZERO): Likewise.
17597 (FE_UPWARD): Likewise.
17598 (FE_DOWNWARD): Likewise.
17599 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17600 (FE_DIVBYZERO): Likewise.
17601 (FE_OVERFLOW): Likewise.
17602 (FE_UNDERFLOW): Likewise.
17603 (FE_INEXACT): Likewise.
17604 (FE_TONEAREST): Likewise.
17605 (FE_DOWNWARD): Likewise.
17606 (FE_UPWARD): Likewise.
17607 (FE_TOWARDZERO): Likewise.
17608 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17609 (FE_UNDERFLOW): Likewise.
17610 (FE_OVERFLOW): Likewise.
17611 (FE_DIVBYZERO): Likewise.
17612 (FE_INVALID): Likewise.
17613 (FE_TONEAREST): Likewise.
17614 (FE_TOWARDZERO): Likewise.
17615 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17616 (FE_OVERFLOW): Likewise.
17617 (FE_UNDERFLOW): Likewise.
17618 (FE_DIVBYZERO): Likewise.
17619 (FE_INEXACT): Likewise.
17620 (FE_TONEAREST): Likewise.
17621 (FE_TOWARDZERO): Likewise.
17622 (FE_UPWARD): Likewise.
17623 (FE_DOWNWARD): Likewise.
17624 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17625 (FE_DIVBYZERO): Likewise.
17626 (FE_OVERFLOW): Likewise.
17627 (FE_UNDERFLOW): Likewise.
17628 (FE_INEXACT): Likewise.
17629 (FE_TONEAREST): Likewise.
17630 (FE_DOWNWARD): Likewise.
17631 (FE_UPWARD): Likewise.
17632 (FE_TOWARDZERO): Likewise.
17634 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17636 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17638 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17640 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17641 commands. Quote $PWD.
17642 (blacklist_exports): Don't use remove_newlines. Replace "declare
17644 (remove_newlines): Remove.
17646 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17648 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17649 * stdlib/stdlib.h (atof): Moved to ...
17650 * include/bits/stdlib-float.h: Here. New file.
17651 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17652 * stdlib/bits/stdlib-float.h: New file.
17653 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17655 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17658 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17660 * conform/conformtest.pl (@headers): Add fenv.h.
17661 * conform/data/fenv.h-data: New file.
17662 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17663 include of <math/fenv.h>.
17665 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17666 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17667 && !UNIX98]. Enables tests for XOPEN2K8.
17668 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17669 POSIX2008]: Likewise.
17671 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17672 (struct rusage): Do not expect type or its members.
17675 * math/math.h (FP_NAN): Define macro to integer constant usable in
17676 #if and use that to give value to enum constant.
17677 (FP_INFINITE): Likewise.
17678 (FP_ZERO): Likewise.
17679 (FP_SUBNORMAL): Likewise.
17680 (FP_NORMAL): Likewise.
17682 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17684 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17685 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17688 2012-11-02 Roland McGrath <roland@hack.frob.com>
17690 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17691 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17692 autoconf-time if not.
17693 * configure.in: Remove AC_PREREQ.
17695 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17697 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17698 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17699 of the internal implementation.
17701 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17703 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17704 except include of <misc/sys/syslog.h>.
17706 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17709 function returns with a NULL context exit with zero.
17711 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17713 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17715 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17717 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17718 (run_program_cmd): This.
17719 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17720 (tst_langinfo): New variable. Use it.
17722 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17724 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17725 floating point opcodes.
17727 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17729 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17732 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17734 * sysdeps/mach/hurd/powerpc: Remove directory.
17735 * sysdeps/mach/powerpc: Likewise.
17737 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17739 * scripts/check-local-headers.sh: Ignore c++ headers.
17741 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17743 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17744 __libc_cleanup_region_start argument.
17746 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17751 x * y using scaling, not as x * y + z.
17752 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17753 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17754 * math/libm-test.inc (fma_test): Add more tests.
17755 (fma_test_towardzero): Likewise.
17756 (fma_test_downward): Likewise.
17757 (fma_test_upward): Likewise.
17759 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17761 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17763 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17765 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17768 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17770 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17772 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17779 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17782 Fix the order of the list for glibc 2.17.
17783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17786 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17790 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17793 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17794 for low part of x being zero before using __atanl (y).
17795 * math/libm-test.inc (atan2_test): Add another test.
17797 * manual/install.texi (Configuring and compiling): Document
17798 general use of test-wrapper and test-wrapper-env.
17799 * INSTALL: Regenerated.
17801 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17802 (__fma): Do not extract and scale down low bits on after-rounding
17803 systems when result rounded to normal precision would have normal
17805 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17806 (__fmal): Do not extract and scale down low bits on after-rounding
17807 systems when result rounded to normal precision would have normal
17809 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17810 (__fmal): Do not extract and scale down low bits on after-rounding
17811 systems when result rounded to normal precision would have normal
17813 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17815 (fma_test): Add more tests.
17816 (fma_test_towardzero): Likewise.
17817 (fma_test_downward): Likewise.
17818 (fma_test_upward): Likewise.
17820 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17822 * sysdeps/i386/tininess.h: Renamed to ...
17823 * sysdeps/x86/tininess.h: This.
17824 * sysdeps/x86_64/tininess.h: Removed.
17826 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17828 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17829 input. Use $(build-program-cmd).
17830 ($(objpfx)tst-array1-static.out): Likewise.
17831 ($(objpfx)tst-array2.out): Likewise.
17832 ($(objpfx)tst-array3.out): Likewise.
17833 ($(objpfx)tst-array4.out): Likewise.
17834 ($(objpfx)tst-array5.out): Likewise.
17835 ($(objpfx)tst-array5-static.out): Likewise.
17837 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17839 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17842 * nss/nsswitch.h (nss_interface_function): Provide new
17843 macro for use with NSS functions.
17844 * grp/initgroups.c: Use new macro.
17845 * nss/getXXbyYY.c: Likewise.
17846 * nss/getXXbyYY_r.c: Likewise.
17847 * nss/getXXent.c: Likewise.
17848 * nss/getXXent_r.c: Likewise.
17849 * sysdeps/posix/getaddrinfo.c: Likewise.
17851 2012-10-30 Andreas Jaeger <aj@suse.de>
17853 * po/ru.po: Update Russion translation from translation project.
17855 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17860 result and shift together with sticky bit instead of replicating
17861 round-to-nearest rounding.
17862 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17863 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17864 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17865 missing underflow exceptions.
17866 (fma_test_towardzero): Add more tests.
17867 (fma_test_downward): Likewise.
17868 (fma_test_upward): Likewise.
17871 * sysdeps/generic/tininess.h: New file.
17872 * sysdeps/i386/tininess.h: Likewise.
17873 * sysdeps/sh/tininess.h: Likewise.
17874 * sysdeps/x86_64/tininess.h: Likewise.
17875 * stdlib/tst-strtod-underflow.c: Likewise.
17876 * stdlib/tst-tininess.c: Likewise.
17877 * stdlib/strtod_l.c: Include <tininess.h>.
17878 (round_and_return): Do not set errno for exact underflow cases.
17879 Force an underflow exception when setting errno for underflow.
17880 Determine underflow based on rounding to normal precision if
17881 TININESS_AFTER_ROUNDING.
17882 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17883 ERANGE for exact underflow cases.
17884 * stdlib/Makefile (tests): Add tst-tininess and
17885 tst-strtod-underflow.
17886 ($(objpfx)tst-tininess): Use $(link-libm).
17887 ($(objpfx)tst-strtod-underflow): Likewise.
17889 2012-10-30 Andreas Jaeger <aj@suse.de>
17892 * elf/Makefile (tests): Remove conditional for have-initfini-array
17893 since this is now always required and the variable does not exist
17895 (tests-static): Likewise.
17896 (modules-names): Likewise.
17898 * po/eo.po: Add Esperanto translation from translation project.
17900 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17901 merged with constructor/destructor.
17902 (init_array): Likewise.
17903 * elf/tst-array2dep.c (fini_array): Likewise.
17904 (init_array): Likewise.
17906 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17908 * manual/message.texi: Delete @cartouche tags.
17910 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17912 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17914 * sysdeps/mach/hurd/fsync.c: Likewise.
17916 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17917 [_POSIX_REALTIME_SIGNALS]: Change condition to
17918 [_POSIX_REALTIME_SIGNALS > 0].
17920 2012-10-27 Andreas Jaeger <aj@suse.de>
17922 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17923 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17924 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17925 [__WORDSIZE != 64]: Likewise.
17927 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17929 * iconvdata/tst-table.sh: Remove ${SHELL}.
17930 * iconvdata/tst-tables.sh: Likewise.
17932 2012-10-25 David S. Miller <davem@davemloft.net>
17934 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17935 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17940 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17941 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17942 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17945 2012-10-25 Roland McGrath <roland@hack.frob.com>
17947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17948 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17951 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17952 Jim Blandy <jimb@codesourcery.com>
17954 * scripts/cross-test-ssh.sh: New file.
17955 * manual/install.texi (Configuring and compiling): Document use of
17957 * INSTALL: Regenerated.
17959 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17961 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17964 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17966 * Makeconfig (run-program-prefix): Fix comment.
17968 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17969 Jim Blandy <jimb@codesourcery.com>
17971 * Makeconfig (test-wrapper): New variable,
17972 (test-wrapper-env): Likewise.
17973 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17974 (run-built-tests): Define to yes.
17975 (run-program-prefix): Use $(test-wrapper).
17976 (built-program-cmd): Likewise.
17977 * Rules (make-test-out): Use $(test-wrapper-env) and
17978 $(host-built-program-cmd).
17979 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17980 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17982 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17983 $(test-wrapper-env) to tst-rtld-load-self.sh.
17984 ($(objpfx)order2.out): Use $(test-wrapper).
17985 ($(objpfx)tst-initorder.out): Likewise.
17986 ($(objpfx)tst-initorder2.out): Likewise.
17987 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17988 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17989 (test_wrapper_env): New variable. Use it to run ld.so.
17990 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17991 Use it to run ld.so.
17992 (test_wrapper_env): Likewise.
17993 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17994 $(test-wrapper) to run-iconv-test.sh.
17995 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17996 (ICONV): Use $test_wrapper.
17997 * posix/Makefile ($(objpfx)globtest.out): Pass
17998 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17999 globtest.sh, not $(run-program-prefix).
18000 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18001 (test_wrapper): Likewise.
18002 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18003 set together with run_via_rtld_prefix.
18004 (run_program_prefix): Define in terms of test_wrapper and
18005 run_via_rtld_prefix.
18007 2012-10-24 Roland McGrath <roland@hack.frob.com>
18009 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18010 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18014 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18015 Declare __clock_getres, __clock_gettime, __clock_settime,
18016 __clock_nanosleep, and __clock_getcpuclockid.
18017 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18018 Remove librt_hidden_def (clock_gettime).
18019 * sysdeps/unix/clock_gettime.c: Likewise.
18020 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18021 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18022 * rt/clock_getres.c: Define __clock_getres as an alias.
18023 * sysdeps/posix/clock_getres.c: Likewise.
18024 * rt/clock_settime.c: Define __clock_settime as an alias.
18025 * sysdeps/unix/clock_settime.c: Likewise.
18026 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18027 * sysdeps/unix/clock_nanosleep.c: Likewise.
18028 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18029 * rt/clock-compat.c: New file.
18030 * rt/Makefile (librt-routines): Add clock-compat and move
18031 $(clock-routines) to ...
18032 (routines): ... here, new variable.
18033 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18034 Don't add get_clockfreq here.
18035 * rt/Versions (libc: GLIBC_2.17): New version set.
18036 Add clock_* symbols here.
18037 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18038 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18039 (GLIBC_2.17): Add clock_* symbols.
18040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18051 * NEWS: Mention the move.
18053 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18054 Use __open, __read, __close rather than their public counterparts.
18055 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18056 (__get_clockfreq_via_cpuinfo): Likewise.
18057 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18058 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18060 * config.h.in (HAVE_IFUNC): New #undef.
18061 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18063 * configure: Regenerated.
18065 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18067 * configure.in: Move READELF check to start of file.
18068 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18069 libc_cv_asm_gnu_indirect_function in the process.
18070 * configure: Regenerated.
18072 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18074 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18075 send the output to /dev/null.
18076 (libc_cv_cc_with_libunwind): Likewise.
18077 (libc_cv_as_noexecstack): Likewise.
18078 * configure: Regenerate.
18080 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18082 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18084 * posix/globtest.sh (TMPDIR): Do not set.
18085 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18086 (testout): Likewise.
18088 2012-10-24 Andreas Jaeger <aj@suse.de>
18090 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18091 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18092 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18093 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18094 posix_fadvise64, posix_fallocate64.
18096 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18097 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18098 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18100 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18102 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18105 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18106 <bits/fcntl-linux.h>.
18107 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18109 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18110 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18111 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18112 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18113 [__WORDSIZE != 64]: Likewise.
18115 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18117 * Makeconfig (run-built-tests): New variable.
18118 * Rules [$(cross-compiling) = yes]: Change condition to
18119 [$(run-built-tests) = no].
18120 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18121 to [$(run-built-tests) = yes].
18122 * elf/Makefile [$(cross-compiling) = no]: Likewise
18123 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18124 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18125 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18126 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18127 * io/Makefile [$(cross-compiling) = no]: Likewise.
18128 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18129 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18130 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18131 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18132 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18133 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18134 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18135 * string/Makefile [$(cross-compiling) = no]: Likewise.
18137 * posix/Makefile ($(objpfx)globtest.out): Pass
18138 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18139 $(rtld-installed-name).
18140 * posix/globtest.sh (elf_objpfx): Remove variable.
18141 (rtld_installed_name): Likewise.
18142 (library_path): Likewise.
18143 (run_program_prefix): New variable. Use for running globtest
18146 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18147 Joseph Myers <joseph@codesourcery.com>
18149 * Makeconfig (host-built-program-cmd): New variable.
18150 * elf/Makefile (tst-stackguard1-ARGS): Use
18151 $(host-built-program-cmd).
18152 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18153 (tst-spawn-ARGS): Likewise.
18154 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18156 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18157 Jim Blandy <jimb@codesourcery.com>
18159 * Makeconfig (run-via-rtld-prefix): New variable.
18160 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18161 (built-program-cmd): Likewise.
18163 2012-10-22 Andreas Jaeger <aj@suse.de>
18165 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18166 __O_RSYNC if it exists, otherwise to O_SYNC.
18168 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18169 Joseph Myers <joseph@codesourcery.com>
18171 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18173 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18175 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18178 2012-10-22 Andreas Jaeger <aj@suse.de>
18180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18182 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18185 bits/fcntl-linux.h.
18187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18188 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18195 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18196 Joseph Myers <joseph@codesourcery.com>
18198 * config.make.in (NM): New variable.
18200 2012-10-21 Andreas Jaeger <aj@suse.de>
18202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18203 definitions and declarations that are provided by
18204 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18206 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18209 * elf/Makefile (tests-static): Add tst-leaks1-static.
18210 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18211 ($(objpfx)tst-leaks1-static): New rule.
18212 ($(objpfx)tst-leaks1-static-mem): Likewise.
18213 (tst-leaks1-static-ENV): New macro.
18214 * elf/dl-open.c (dl_open_worker): Check the main application
18215 only if SHARED is defined.
18216 * elf/tst-leaks1-static.c: New file.
18218 2012-10-20 Andreas Jaeger <aj@suse.de>
18220 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18221 generic values for Linux.
18222 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18223 and declarations that are provided by <bits/fcntl-linux.h> and
18224 include <bits/fcntl-linux.h>.
18225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18228 2012-10-20 Roland McGrath <roland@hack.frob.com>
18230 * io/fcntl.h: Move include of <bits/types.h> to the top and
18231 include it unconditionally.
18233 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18235 * wcsmbs/Makefile (tests-ifunc): New variable.
18236 (tests): Add $(tests-ifunc).
18237 * wcsmbs/test-wcschr-ifunc.c: New file.
18238 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18239 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18240 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18241 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18242 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18244 * string/Makefile (tests-ifunc): New variable.
18245 (tests): Add $(tests-ifunc).
18246 * string/test-memccpy.c (TEST_NAME): New macro.
18247 * string/test-memchr.c (TEST_NAME): Likewise.
18248 * string/test-memcmp.c (TEST_NAME): Likewise.
18249 * string/test-memcpy.c (TEST_NAME): Likewise.
18250 * string/test-memmem.c (TEST_NAME): Likewise.
18251 * string/test-memmove.c (TEST_NAME): Likewise.
18252 * string/test-memset.c (TEST_NAME): Likewise.
18253 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18254 * string/test-stpcpy.c (TEST_NAME): Likewise.
18255 * string/test-stpncpy.c (TEST_NAME): Likewise.
18256 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18257 * string/test-strcasestr.c (TEST_NAME): Likewise.
18258 * string/test-strcat.c (TEST_NAME): Likewise.
18259 * string/test-strchr.c (TEST_NAME): Likewise.
18260 * string/test-strcmp.c(TEST_NAME): Likewise.
18261 * string/test-strcpy.c (TEST_NAME): Likewise.
18262 * string/test-strcspn.c (TEST_NAME): Likewise.
18263 * string/test-strlen.c (TEST_NAME): Likewise.
18264 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18265 * string/test-strncmp.c (TEST_NAME): Likewise.
18266 * string/test-strncpy.c (TEST_NAME): Likewise.
18267 * string/test-strnlen.c (TEST_NAME): Likewise.
18268 * string/test-strpbrk.c (TEST_NAME): Likewise.
18269 * string/test-strrchr.c (TEST_NAME): Likewise.
18270 * string/test-strspn.c (TEST_NAME): Likewise.
18271 * string/test-strstr.c (TEST_NAME): Likewise.
18272 * string/test-bcopy-ifunc.c: New file.
18273 * string/test-bzero-ifunc.c: Likewise.
18274 * string/test-memccpy-ifunc.c: Likewise.
18275 * string/test-memchr-ifunc.c: Likewise.
18276 * string/test-memcmp-ifunc.c: Likewise.
18277 * string/test-memcpy-ifunc.c: Likewise.
18278 * string/test-memmem-ifunc.c: Likewise.
18279 * string/test-memmove-ifunc.c: Likewise.
18280 * string/test-mempcpy-ifunc.c: Likewise.
18281 * string/test-memset-ifunc.c: Likewise.
18282 * string/test-rawmemchr-ifunc.c: Likewise.
18283 * string/test-stpcpy-ifunc.c: Likewise.
18284 * string/test-stpncpy-ifunc.c: Likewise.
18285 * string/test-strcasecmp-ifunc.c: Likewise.
18286 * string/test-strcasestr-ifunc.c: Likewise.
18287 * string/test-strcat-ifunc.c: Likewise.
18288 * string/test-strchr-ifunc.c: Likewise.
18289 * string/test-strchrnul-ifunc.c: Likewise.
18290 * string/test-strcmp-ifunc.c: Likewise.
18291 * string/test-strcpy-ifunc.c: Likewise.
18292 * string/test-strcspn-ifunc.c: Likewise.
18293 * string/test-strlen-ifunc.c: Likewise.
18294 * string/test-strncasecmp-ifunc.c: Likewise.
18295 * string/test-strncat-ifunc.c: Likewise.
18296 * string/test-strncmp-ifunc.c: Likewise.
18297 * string/test-strncpy-ifunc.c: Likewise.
18298 * string/test-strnlen-ifunc.c: Likewise.
18299 * string/test-strpbrk-ifunc.c: Likewise.
18300 * string/test-strrchr-ifunc.c: Likewise.
18301 * string/test-strspn-ifunc.c: Likewise.
18302 * string/test-strstr-ifunc.c: Likewise.
18304 * debug/Makefile (tests-ifunc): New variable.
18305 (tests): Add $(tests-ifunc).
18306 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18307 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18308 * debug/test-stpcpy_chk-ifunc.c: New file.
18309 * debug/test-strcpy_chk-ifunc.c: Likewise.
18311 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18314 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18315 header is not read in.
18317 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18319 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18320 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18321 directly. Pass built executable to script as
18322 $(built-program-cmd).
18323 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18324 $testprogram without using LD_LIBRARY_PATH and $ldso.
18326 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18327 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18328 $(rtld-installed-name).
18329 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18330 (rtld_installed_name): Likewise.
18331 (library_path): Likewise.
18332 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18333 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18334 $(run-program-prefix) to tst-tables.sh.
18335 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18336 it to run tst-table-from and tst-table-to.
18337 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18338 Pass it to tst-table.sh.
18339 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18340 $(run-program-prefix) to tst-gettext.sh.
18341 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18343 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18345 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18346 to run tst-gettext.
18347 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18348 to run tst-gettext2.
18349 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18350 to run tst-translit.
18351 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18352 $(run-program-prefix) to tst-mtrace.sh.
18353 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18355 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18356 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18357 $(rtld-installed-name).
18358 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18359 (rtld_installed_name): Likewise.
18360 (run_program_prefix): New variable. Use it to run wordexp-test.
18362 * Makeconfig (ARCH): Remove all definitions.
18363 (machine): Likewise.
18364 [ARCH]: Remove conditional code.
18365 [!objdir]: Give error.
18366 [!objdir] (objpfx): Remove.
18367 [!objdir] (common-objpfx): Likewise.
18368 [!objdir] (common-objdir): Likewise.
18369 * configure.in (config_makefile): Remove. Hardcode Makefile in
18370 AC_CONFIG_FILES call.
18371 * configure: Regenerated.
18374 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18376 (testout): Likewise.
18378 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18379 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18380 $(rtld-installed-name).
18381 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18382 (rtld_installed_name): Likwise.
18383 (runit): Remove function.
18384 (run_getconf): New variable, Use it for running getconf binary.
18386 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18389 * string/test-memmem.c (check_result): New function.
18390 (do_one_test): Use it.
18391 (check1): New function.
18392 (test_main): Use it.
18394 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18396 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18398 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18400 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18401 (_G_LSEEK64): Likewise.
18402 (_G_MMAP64): Likewise.
18403 (_G_FSTAT64): Likewise.
18404 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18405 (_G_LSEEK64): Likewise.
18406 (_G_MMAP64): Likewise.
18407 (_G_FSTAT64): Likewise.
18408 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18409 unconditional. Call __mmap64 directly.
18410 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18411 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18412 __lseek64 directly.
18413 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18414 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18416 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18417 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18418 __lseek64 directly.
18419 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18420 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18421 __lseek64 directly.
18422 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18423 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18424 __lseek64 directly.
18425 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18426 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18427 __fxstat64 directly.
18428 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18429 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18431 (freopen64) [!_G_OPEN64]: Remove conditional code.
18432 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18434 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18435 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18437 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18438 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18440 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18441 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18443 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18444 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18446 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18447 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18449 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18450 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18452 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18454 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18457 * manual/memory.texi (Malloc Tunable Parameters): Add note
18458 about free list pointers overwriting some perturb bytes.
18459 Wording suggested by Roland McGrath.
18461 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18463 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18464 (lgamma_test): Likewise.
18465 (tgamma_test): Likewise.
18467 2012-10-16 Florian Weimer <fweimer@redhat.com>
18470 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18471 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18473 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18475 * NEWS: Mention BZ #14716.
18476 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18477 when removing AVAILABLE1_USES_J macro.
18479 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18481 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18482 (__bswap_64): __uint64_t for unsigned 64-bit int.
18484 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18486 * include/string.h (memmem): Declare libc hidden alias.
18487 * string/memmem.c (memmem): Define libc hidden alias.
18488 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18489 __read, __close instead of open, read, close.
18491 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18494 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18496 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18497 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18498 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18500 (__rawmemchr_sse2): Likewise.
18501 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18502 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18503 (__strchr_sse2): Likewise.
18504 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18505 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18506 (__strcasecmp_sse2): Likewise.
18507 (__strncasecmp_sse2): Likewise.
18508 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18509 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18510 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18511 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18512 (__strrchr_sse2): Likewise.
18513 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18515 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18516 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18517 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18518 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18519 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18520 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18521 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18522 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18523 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18524 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18525 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18526 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18527 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18528 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18529 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18530 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18531 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18532 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18533 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18534 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18535 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18536 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18537 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18538 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18539 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18540 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18541 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18542 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18543 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18544 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18546 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18548 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18549 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18550 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18551 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18553 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18555 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18556 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18557 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18558 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18560 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18561 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18562 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18563 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18564 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18565 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18566 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18567 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18568 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18569 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18570 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18571 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18572 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18573 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18574 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18575 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18576 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18577 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18578 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18579 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18580 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18581 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18582 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18583 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18584 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18585 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18586 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18587 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18588 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18589 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18590 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18591 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18592 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18593 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18594 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18595 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18596 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18597 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18598 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18599 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18600 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18602 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18603 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18604 * include/ifunc-impl-list.h: New file.
18605 * misc/ifunc-impl-list.c: Likewise.
18606 * misc/Makefile (routines): Add ifunc-impl-list.
18607 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18608 * string/test-string.h: Include <ifunc-impl-list.h>.
18609 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18610 impl_array): New variables.
18611 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18613 (test_init): Call __libc_ifunc_impl_list to initialize
18614 func_list if TEST_IFUNC and TEST_NAME are defined.
18616 * string/Makefile (strop-tests): Add bcopy and bzero.
18617 * string/test-bcopy.c: New file.
18618 * string/test-bzero.c: Likewise.
18619 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18621 * string/test-memset.c: Support bzero test if TEST_BZERO is
18623 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18625 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18627 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18630 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18632 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18633 * configure: Regenerated.
18635 * Makeconfig (+link-static-before-libc): Don't include
18636 $(link-static-libc).
18638 * libio/libio.h (_IO_pos_t): Remove.
18640 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18642 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18645 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18647 * crypt/crypt-entry.c: Include fips-private.h.
18648 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18649 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18650 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18651 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18653 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18655 * crypt/crypt-private.h: Include stdbool.h.
18656 (_ufc_setup_salt_r): Return bool.
18657 * crypt/crypt-entry.c: Include errno.h.
18658 (__crypt_r): Return NULL with EINVAL for bad salt.
18659 * crypt/crypt_util.c (bad_for_salt): New.
18660 (_ufc_setup_salt_r): Check that salt is long enough and within
18661 the specified alphabet.
18662 * crypt/badsalttest.c: New file.
18663 * crypt/Makefile (tests): Add it.
18664 ($(objpfx)badsalttest): New.
18666 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18668 * NEWS: Add entry for BZ #14602.
18670 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18672 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18674 * math/libm-test.inc: Update comment listing what functions and
18676 (isgreater_test): New function.
18677 (isgreaterequal_test): Likewise.
18678 (isless_test): Likewise.
18679 (islessequal_test): Likewise.
18680 (islessgreater_test): Likewise.
18681 (isunordered_test): Likewise.
18682 (main): Call the new functions.
18684 2012-10-09 Roland McGrath <roland@hack.frob.com>
18686 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18687 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18688 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18689 * sysdeps/i386/configure: Regenerated.
18690 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18691 * sysdeps/mach/configure: Regenerated.
18692 * sysdeps/mach/hurd/configure: Regenerated.
18693 * sysdeps/powerpc/configure: Regenerated.
18694 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18695 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18696 * sysdeps/s390/s390-32/configure: Regenerated.
18697 * sysdeps/s390/s390-64/configure: Regenerated.
18698 * sysdeps/sh/configure: Regenerated.
18699 * sysdeps/sparc/configure: Regenerated.
18700 * sysdeps/unix/sysv/linux/configure: Regenerated.
18701 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18702 * sysdeps/x86_64/configure: Regenerated.
18704 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18705 defined. Don't check if MAP is NULL.
18707 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18709 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18710 (_G_stat64): Likewise.
18711 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18712 (_G_stat64): Likewise.
18713 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18714 instead of struct _G_stat64.
18715 * libio/fileops.c (mmap_remap_check): Likewise.
18716 (decide_maybe_mmap): Likewise.
18717 (_IO_new_file_seekoff): Likewise.
18718 (_IO_file_stat): Likewise.
18719 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18721 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18722 instead of struct _G_stat64.
18723 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18725 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18728 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18730 (CHECK_EOL): New macro.
18731 (two_way_short_needle): Check beginning of haystack for EOL. Use
18733 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18734 Replace with CHECK_EOL.
18735 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18736 Replace with CHECK_EOL.
18738 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18740 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18742 * math/libm-test.inc: Update comment listing what functions and
18744 (finite_test): New function.
18745 (isinf_test): Likewise.
18746 (isnan_test): Likewise.
18747 (fpclassify_test): Test subnormal input.
18748 (isfinite_test): Likewise.
18749 (isnormal_test): Likewise.
18750 (main): Call the new functions.
18752 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18755 * Makerules (%.dynsym): Force C locale when running
18756 $(OBJDUMP) --dynamic-syms.
18758 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18760 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18763 2012-10-06 David S. Miller <davem@davemloft.net>
18765 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18766 upper 32-bits of the length value in %o2 since we use branch-on-register
18767 tests which consider the entire 64-bit register.
18769 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18771 * string/test-strstr.c (check2): Add a test for page boundary.
18773 2012-10-05 David S. Miller <davem@davemloft.net>
18775 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18776 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18778 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18780 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18781 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18782 and bzero when HWCAP_SPARC_CRYPTO is present.
18784 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18787 * string/test-strstr.c (check2): New function.
18788 (test_main): Call check2.
18790 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18792 * string/bug-strcasestr1.c (do_test): Moved to ...
18793 * string/test-strcasestr.c (check1): Here. New function.
18794 (do_one_test): Break out result checking code into ...
18795 (check_result): This. New function.
18796 (do_one_test): Call check_result.
18797 (test_main): Call check1.
18798 * string/bug-strchr1.c (do_test): Moved to ...
18799 * string/test-strchr.c (check1): Here. New function.
18800 (do_one_test): Break out result checking code into ...
18801 (check_result): This. New function.
18802 (do_one_test): Call check_result.
18803 (test_main): Call check1.
18804 * string/bug-strstr1.c (main): Moved to ...
18805 * string/test-strstr.c (check1): Here. New function.
18806 (do_one_test): Break out result checking code into ...
18807 (check_result): This. New function.
18808 (do_one_test): Call check_result.
18809 (test_main): Call check1.
18810 * string/bug-strcasestr1.c: Removed.
18811 * string/bug-strchr1.c: Likewise.
18812 * string/bug-strstr1.c: Likewise.
18814 * elf/Makefile (dl-routines): Add hwcaps.
18815 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18816 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18817 (_dl_important_hwcaps): Moved to ...
18818 * elf/dl-hwcaps.c: Here. New file.
18819 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18822 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18823 if IS_IN_rtld isn't defined.
18825 * elf/dl-support.c (_dl_sysinfo_map): New.
18826 Include "get-dynamic-info.h" and "setup-vdso.h".
18827 (_dl_non_dynamic_init): Call setup_vdso.
18828 * elf/dynamic-link.h: Don't include <assert.h>.
18829 (elf_get_dynamic_info): Moved to ...
18830 * elf/get-dynamic-info.h: Here. New file.
18831 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18832 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18833 * elf/setup-vdso.h: Here. New file.
18834 * elf/rtld.c: Include "setup-vdso.h".
18835 (dl_main): Call setup_vdso.
18837 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18839 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18840 creal in comment listing functions tested. List finite, isinf,
18841 isnan, isless, islessequal, isgreater, isgreaterequal,
18842 islessgreater, isunordered, lgamma_r and pow10 as functions and
18843 macros not tested. Mention which functions not tested are aliases
18844 for other functions. Fix typo. Note that signs of NaNs are not
18847 * scripts/config.guess: Update from config.git.
18848 * scripts/config.sub: Likewise.
18850 2012-10-04 Roland McGrath <roland@hack.frob.com>
18852 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18853 * misc/madvise.c (madvise): Renamed to __madvise.
18854 Make madvise a weak alias.
18855 * include/sys/mman.h: Declare __madvise.
18856 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18857 * sysdeps/unix/syscalls.list
18858 (madvise): Make __madvise the strong name, and madvise a weak alias.
18859 * sysdeps/unix/sysv/linux/syscalls.list
18860 (madvise, mmap): Remove redundant entries.
18861 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18862 * malloc/malloc.c (mtrim): Likewise.
18863 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18865 2012-10-03 Roland McGrath <roland@hack.frob.com>
18867 * sysdeps/mach/hurd/dl-cache.c: File removed.
18868 * config.h.in (USE_LDCONFIG): New #undef.
18869 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18870 * configure: Regenerated.
18871 * elf/Makefile (dl-routines): Add dl-cache only under
18872 [$(use-ldconfig) = yes].
18873 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18874 cache on [USE_LDCONFIG].
18875 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18877 * elf/rtld.c (dl_main): Likewise.
18879 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18881 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18882 _SC_LEVEL4_CACHE_LINESIZE.
18884 2012-10-03 Roland McGrath <roland@hack.frob.com>
18886 * sysdeps/unix/bsd/confstr.h: File removed.
18888 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18890 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18893 2012-10-02 Roland McGrath <roland@hack.frob.com>
18895 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18896 Make 'mapoff' field ElfW(Off) rather than off_t.
18898 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18900 * nscd/Makefile: Remove nscd-cflags and all its users.
18901 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18902 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18905 * malloc.c (malloc_printerr): Clarify error message.
18907 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18911 Set bit_FMA_Usable if FMA is supported.
18912 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18914 (bit_FMA4_Usable): Updated.
18915 (index_FMA_Usable): New macro.
18916 (CPUID_FMA): Likewise
18917 (HAS_FMA): Defined with bit_FMA_Usable.
18919 2012-10-01 Roland McGrath <roland@hack.frob.com>
18921 * bits/types.h (__swblk_t): Type removed.
18922 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18923 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18924 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18925 (__SWBLK_T_TYPE): Likewise.
18926 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18927 (__SWBLK_T_TYPE): Likewise.
18928 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18929 (__SWBLK_T_TYPE): Likewise.
18930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18931 (__SWBLK_T_TYPE): Likewise.
18933 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18934 Honza Horak <hhorak@redhat.com>
18936 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18937 (xdr_mapname): Use YPMAXMAP as maxsize.
18938 (xdr_peername): Use YPMAXPEER as maxsize.
18939 (xdr_keydat): Use YPAXRECORD as maxsize.
18940 (xdr_valdat): Use YPMAXRECORD as maxsize.
18942 2012-10-01 Roland McGrath <roland@hack.frob.com>
18944 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18946 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18947 * csu/init-first.c: ... here.
18948 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18949 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18950 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18951 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18952 * sysdeps/i386/init-first.c: File removed.
18953 * sysdeps/sh/init-first.c: File removed.
18955 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18959 if x * y might underflow to zero and z is zero.
18960 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18961 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18962 * math/libm-test.inc (min_subnorm_value): New variable.
18963 (fma_test): Add more tests.
18964 (fma_test_towardzero): Likewise.
18965 (fma_test_downward): Likewise
18966 (fma_test_upward): Likewise.
18967 (initialize): Set min_subnorm_value.
18969 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18974 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18975 mode for addition resulting in exact zero.
18976 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18979 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18980 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18981 * math/libm-test.inc (fma_test): Add more tests.
18982 (fma_test_towardzero): New function.
18983 (fma_test_downward): Likewise.
18984 (fma_test_upward): Likewise.
18985 (main): Call the new functions.
18987 2012-09-28 David S. Miller <davem@davemloft.net>
18989 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18991 2012-09-28 Roland McGrath <roland@hack.frob.com>
18993 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18994 instead of SIGALRM.
18996 * sysdeps/gnu/_G_config.h: Moved to ...
18997 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18998 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18999 * sysdeps/generic/_G_config.h: ... here.
19001 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19003 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19005 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19006 Conditionalize target on [libnss_test1.so-version].
19008 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19010 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19011 (elfobjdir): Move out of conditionals.
19013 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19014 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19015 (__nss_lookup_function): Conditionalize label remove_from_tree on
19016 [!DO_STATIC_NSS || SHARED], matching its only use.
19018 2012-09-28 David S. Miller <davem@davemloft.net>
19020 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19021 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19023 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19025 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19027 when HWCAP_SPARC_CRYPTO is present.
19029 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19031 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19033 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19036 * stdio-common/vfprintf.c (process_string_arg): Revert
19039 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19041 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19043 * stdio-common/tst-sprintf.c: Include <locale.h>
19044 (main): Test sprintf's handling of incomplete multibyte
19047 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19049 * elf/dl-runtime.c (VERSYMIDX): Removed.
19050 * elf/dl-version.c (VERSYMIDX): Likewise.
19051 * elf/do-rel.h (VERSYMIDX): Likewise.
19052 (VALIDX): Likewise.
19053 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19054 * elf/rtld.c (VALIDX): Likewise.
19055 (ADDRIDX): Likewise.
19056 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19057 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19058 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19059 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19060 (VALIDX): Likewise.
19061 (ADDRIDX): Likewise.
19063 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19065 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19067 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19070 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19072 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19073 addresses are in the same scope as 192.0.2/24.
19074 * posix/gai.conf: Document new scope table defaults.
19076 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19079 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19080 for ftell. Compute offsets from write pointers instead.
19081 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19083 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19086 * libio/Makefile (tests): New test case tst-fseek.
19087 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19088 combination works in wide mode.
19089 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19090 state when the external buffer state changes.
19092 2012-09-27 David S. Miller <davem@davemloft.net>
19095 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19096 pass reloc->r_addend in as the 'high' argument to
19097 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19101 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19103 * rt/tst-aio2.c: Include <pthread.h>.
19104 * rt/tst-aio3.c: Likewise.
19106 2012-09-27 Steve Ellcey <sellcey@mips.com>
19108 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19110 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19112 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19113 contents on [SHARED].
19115 2012-09-26 Marek Polacek <polacek@redhat.com>
19119 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19120 for C++ and GCC <4.3 as well as for non GCC compilers.
19122 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19126 2012-09-25 Roland McGrath <roland@hack.frob.com>
19128 * Makefile.in (all, install): Declare with .PHONY.
19129 Reported by Michael Hope <michael.hope@linaro.org>.
19131 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19133 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19134 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19136 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19138 (sydep_routines): Add the new and the internal functions.
19139 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19140 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19142 (GLIBC_2.17): Add the new function.
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19144 (GLIBC_2.17): Likewise.
19145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19146 (GLIBC_2.17): Likewise.
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19148 (GLIBC_2.17): Likewise.
19149 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19151 2012-09-25 Alan Modra <amodra@gmail.com>
19153 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19154 Add release barrier before setting once_control to say
19155 initialisation is done. Add hints on lwarx. Use macro in
19157 (clear_once_control): Add release barrier.
19159 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19162 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19164 * math/s_clog10.c (__clog10): Likewise.
19165 * math/s_clog10f.c (__clog10f): Likewise.
19166 * math/s_clog10l.c (__clog10l): Likewise.
19167 * math/s_clogf.c (__clogf): Likewise.
19168 * math/s_clogl.c (__clogl): Likewise.
19169 * math/Makefile (libm-calls): Add x2y2m1.
19170 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19171 (__x2y2m1): Likewise.
19172 (__x2y2m1l): Likewise.
19173 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19174 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19175 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19176 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19177 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19178 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19179 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19180 * sysdeps/i386/fpu/libm-test-ulps: Update.
19181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19184 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19185 int as type of variable DEPTH.
19186 (glob): Use size_t instead of int as type of variables NEWCOUNT
19189 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19191 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19192 Add s_sincosf-sse2.
19193 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19194 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19195 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19196 macros for using routine as __sincosf_ia32.
19197 Use macro for function declaration and weak_alias.
19198 * sysdeps/i386/fpu/libm-test-ulps: Update.
19200 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19203 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19204 subnormal argument.
19205 * math/s_cexpf.c (__cexpf): Likewise.
19206 * math/s_csinf.c (__csinf): Likewise.
19207 * math/s_csinhf.c (__csinhf): Likewise.
19208 * math/s_ctanf.c (__ctanf): Likewise.
19209 * math/s_ctanhf.c (__ctanhf): Likewise.
19210 * math/s_ccosh.c (__ccoshf): Likewise.
19211 * math/s_cexp.c (__cexpl): Likewise.
19212 * math/s_csin.c (__csin): Likewise.
19213 * math/s_csinh.c (__csinh): Likewise.
19214 * math/s_ctan.c (__ctan): Likewise.
19215 * math/s_ctanh.c (ctanh): Likewise.
19216 * math/s_ccoshl.c (__ccoshl): Likewise.
19217 * math/s_cexpl.c (__cexpl): Likewise.
19218 * math/s_csinl.c (__csinl): Likewise.
19219 * math/s_csinhl.c (__csinhl): Likewise.
19220 * math/s_ctanl.c (__ctanl): Likewise.
19221 * math/s_ctanhl.c (__ctanhl): Likewise.
19223 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19225 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19226 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19227 (_IO_off_t): Define to __off_t, not _G_off_t.
19228 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19229 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19230 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19231 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19232 type of __dummy and __dummy2 fields.
19233 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19234 (_G_ssize_t): Likewise.
19235 (_G_off_t): Likewise.
19236 (_G_pid_t): Likewise.
19237 (_G_uid_t): Likewise.
19238 (_G_wchar_t): Likewise.
19239 (_G_wint_t): Likewise.
19240 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19241 (_G_ssize_t): Likewise.
19242 (_G_off_t): Likewise.
19243 (_G_pid_t): Likewise.
19244 (_G_uid_t): Likewise.
19245 (_G_wchar_t): Likewise.
19246 (_G_wint_t): Likewise.
19247 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19248 (_G_ssize_t): Likewise.
19249 (_G_off_t): Likewise.
19250 (_G_pid_t): Likewise.
19251 (_G_uid_t): Likewise.
19252 (_G_wchar_t): Likewise.
19253 (_G_wint_t): Likewise.
19255 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19257 * malloc/arena.c: Include malloc-sysdep.h.
19258 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19259 is sufficient to shrink the heap or an unmap is needed.
19260 * sysdeps/generic/malloc-sysdep.h: New file. Define
19261 new function check_may_shrink_heap.
19262 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19263 new function check_may_shrink_heap.
19265 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19267 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19270 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19272 * catgets/test-gencat.sh: Add "set -e".
19273 * elf/tst-pathopt.sh: Likewise.
19274 * grp/tst_fgetgrent.sh: Likewise.
19275 * iconvdata/run-iconv-test.sh: Likewise.
19276 * intl/tst-gettext.sh: Likewise.
19277 * intl/tst-gettext2.sh: Likewise.
19278 * intl/tst-gettext4.sh: Likewise.
19279 * intl/tst-gettext6.sh: Likewise.
19280 * intl/tst-translit.sh: Likewise.
19281 * io/ftwtest-sh: Likewise.
19282 * libio/test-freopen.sh: Likewise.
19283 * malloc/tst-mtrace.sh: Likewise.
19284 * posix/globtest.sh: Likewise.
19285 * posix/tst-getconf.sh: Likewise.
19286 * posix/wordexp-tst.sh: Likewise.
19287 * stdio-common/tst-printf.sh: Likewise.
19288 * stdio-common/tst-unbputc.sh: Likewise.
19289 * stdlib/tst-fmtmsg.sh: Likewise.
19290 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19291 * catgets/Makefile: Do not specify -e option when running
19292 testsuite shell scripts.
19293 * elf/Makefile: Likewise.
19294 * grp/Makefile: Likewise.
19295 * iconvdata/Makefile: Likewise.
19296 * intl/Makefile: Likewise.
19297 * io/Makefile: Likewise.
19298 * libio/Makefile: Likewise.
19299 * malloc/Makefile: Likewise.
19300 * posix/Makefile: Likewise.
19301 * stdio-common/Makefile: Likewise.
19302 * stdlib/Makefile: Likewise.
19303 * sysdeps/x86_64/Makefile: Likewise.
19305 * io/ftwtest-sh: Add copyright header.
19306 * posix/globtest.sh: Likewise.
19307 * posix/tst-getconf.sh: Likewise.
19308 * posix/wordexp-tst.sh: Likewise.
19309 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19311 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19314 * Makeconfig (+link): Defined as $(+link-static) if
19315 $(build-shared) isn't yes.
19316 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19318 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19320 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19323 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19324 new chunk size with MALLOC_ALIGN_MASK.
19326 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19329 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19331 (__printf_fphex): Determine rounding using get_rounding_mode and
19333 * stdio-common/tst-printf-round.c (struct hex_test): New
19335 (hex_tests): New variable.
19336 (test_hex_in_one_mode): New function.
19337 (do_test): Also run tests for hex float output.
19339 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19341 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19342 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19343 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19344 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19345 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19346 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19347 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19348 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19350 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19352 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19353 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19354 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19355 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19357 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19360 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19362 * elf/tst-rtld-load-self.sh: New test.
19363 * elf/Makefile: Run it.
19365 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19367 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19368 (tst-writev-ENV): Remove.
19369 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19371 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19373 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19375 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19377 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19379 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19381 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19382 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19383 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19386 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19389 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19390 * config.make.in (have-cpp-asm-debuginfo): Removed.
19391 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19392 * configure: Regenerated.
19394 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19397 * stdio-common/printf_fp.c: Include <stdbool.h> and
19399 (___printf_fp): Determine rounding using get_rounding_mode and
19401 * stdio-common/tst-printf-round.c: New file.
19402 * stdio-common/Makefile (tests): Add tst-printf-round.
19403 (link-libm): New variable.
19404 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19406 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19409 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19410 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19412 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19415 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19417 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19418 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19419 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19420 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19422 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19425 * include/rounding-mode.h: New file.
19426 * sysdeps/generic/get-rounding-mode.h: Likewise.
19427 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19428 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19429 (MAX_VALUE): New macro.
19430 (MIN_VALUE): Likewise.
19431 (overflow_value): New function.
19432 (underflow_value): Likewise.
19433 (round_and_return): Use overflow_value and underflow_value to
19434 determine return values in overflow and underflow cases. Use
19435 round_away to determine rounding depending on rounding mode.
19436 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19437 determine return values in overflow and underflow cases.
19438 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19439 (struct test_results): New structure.
19440 (struct test): Use struct test_results to store expected results
19441 for all rounding modes.
19442 (TEST): Include expected results for all rounding modes.
19443 (test_in_one_mode): New function.
19444 (do_test): Use test_in_one_mode to compute and check results.
19445 Check results for all rounding modes.
19446 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19449 2012-12-09 Allan McRae <allan@archlinux.org>
19451 * sysdeps/i386/fpu/libm-test-ulps: Update
19453 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19455 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19456 (_G_int32_t): Likewise.
19457 (_G_uint16_t): Likewise.
19458 (_G_uint32_t): Likewise.
19459 (_G_HAVE_BOOL): Likewise.
19460 (_G_HAVE_ATEXIT): Likewise.
19461 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19462 (_G_HAVE_IO_FILE_OPEN): Likewise.
19463 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19464 (_G_int32_t): Likewise.
19465 (_G_uint16_t): Likewise.
19466 (_G_uint32_t): Likewise.
19467 (_G_HAVE_BOOL): Likewise.
19468 (_G_HAVE_ATEXIT): Likewise.
19469 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19470 (_G_HAVE_IO_FILE_OPEN): Likewise.
19471 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19472 (_G_int32_t): Likewise.
19473 (_G_uint16_t): Likewise.
19474 (_G_uint32_t): Likewise.
19475 (_G_HAVE_BOOL): Likewise.
19476 (_G_HAVE_ATEXIT): Likewise.
19477 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19478 (_G_HAVE_IO_FILE_OPEN): Likewise.
19480 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19482 * csu/libc-tls.c: Update copyright years.
19484 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19486 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19487 [!_G_USING_THUNKS]: Remove conditional code.
19488 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19489 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19491 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19492 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19493 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19494 (_G_VTABLE_LABEL_PREFIX): Likewise.
19495 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19496 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19497 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19498 (_G_VTABLE_LABEL_PREFIX): Likewise.
19499 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19500 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19501 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19502 (_G_VTABLE_LABEL_PREFIX): Likewise.
19503 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19505 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19507 * libio/Makefile: Include ../Makeconfig before tests.
19508 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19509 only if $(build-shared) is yes.
19511 * iconv/gconv_db.c: Update copyright years.
19513 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19515 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19516 unwind info if defined PIC. Fix special cases description.
19517 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19519 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19521 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19523 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19525 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19527 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19530 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19531 (LDLIBS-tst-chk4): This.
19532 (LDFLAGS-tst-chk5): Renamed to ...
19533 (LDLIBS-tst-chk5): This.
19534 (LDFLAGS-tst-chk6): Renamed to ...
19535 (LDLIBS-tst-chk6): This.
19536 (LDFLAGS-tst-lfschk4): Renamed to ...
19537 (LDLIBS-tst-lfschk4): This.
19538 (LDFLAGS-tst-lfschk5): Renamed to ...
19539 (LDLIBS-tst-lfschk5): This.
19540 (LDFLAGS-tst-lfschk6): Renamed to ...
19541 (LDLIBS-tst-lfschk6): This.
19543 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19544 on $(common-objpfx)soversions.mk.
19546 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19549 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19552 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19554 * malloc/arena.c (arena_get_retry): New function that gets
19555 another arena for the caller to try its request on.
19556 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19557 current arena cannot fulfill the request.
19558 (__libc_memalign): Likewise.
19559 (__libc_memalign): Likewise.
19560 (__libc_pvalloc): Likewise.
19561 (__libc_calloc): Likewise.
19563 2012-09-05 John Tobey <john.tobey@gmail.com>
19566 * manual/arith.texi (Operations on Complex): Fix description
19567 of carg branch cut.
19569 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19572 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19576 * manual/memory.texi (Memory): Make order of menu items match
19579 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19581 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19582 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19583 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19585 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19587 * csu/libc-tls.c (static_dtv): Renamed to ...
19588 (_dl_static_dtv): This. Make it global.
19589 (_dl_initial_dtv): Removed.
19590 (__libc_setup_tls): Updated.
19591 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19592 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19595 2012-09-06 Petr Machata <pmachata@redhat.com>
19597 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19598 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19599 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19600 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19602 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19605 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19606 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19609 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19612 * Makeconfig (link-static-before-libc): Replace $(+prector)
19614 (link-static-after-libc): Replace $(+postctor) with
19616 (link-bounded): Replace $(+prector)/$(+postctor) with
19617 $(+prectorT)/$(+postctorT).
19618 (+prectorT): New macro.
19619 (+postctorT): Likewise.
19621 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19623 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19624 (round_str): Handle values above the maximum for IBM long double
19626 * stdlib/tst-strtod-round.c (tests): Regenerated.
19628 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19630 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19632 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19633 zarch_nohighgprs around the zarch optimized routines.
19634 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19635 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19636 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19639 2012-09-05 David S. Miller <davem@davemloft.net>
19641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19643 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19644 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19645 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19646 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19649 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19651 * malloc/arena.c: Fold copyright years.
19652 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19654 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19656 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19658 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19660 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19662 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19664 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19665 change internal state upon failure.
19667 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19669 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19670 * malloc/memusage.c (mmap): Likewise.
19671 (mmap64, mremap): Likewise. Adjust name in comment.
19673 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19675 * libio/fileops.c: Fix typos in comments.
19676 * libio/oldfileops.c: Likewise.
19677 * libio/wfileops.c: Likewise.
19679 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19682 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19683 (tst-malloc-usable-ENV): Set environment for test case.
19684 * malloc/hooks.c (malloc_check_get_size): New function to get
19686 * malloc/malloc.c (musable): Use malloc_check_get_size.
19687 * malloc/tst-malloc-usable.c: New test case.
19689 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19691 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19693 2012-09-05 Allan McRae <allan@archlinux.org>
19696 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19697 determine header location.
19698 * configure: Regenerated.
19700 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19702 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19704 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19705 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19707 (test): Regenerate.
19709 2012-09-04 David S. Miller <davem@davemloft.net>
19711 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19712 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19713 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19715 2012-09-04 Florian Weimer <fweimer@redhat.com>
19717 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19720 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19722 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19725 * libio/iogetdelim.c: Include <limits.h>.
19726 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19727 + len + 1 would overflow.
19729 2012-09-03 Andreas Jaeger <aj@suse.de>
19731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19732 * sysdeps/i386/fpu/libm-test-ulps: Update.
19734 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19736 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19737 Add s_sinf-sse2, s_conf-sse2.
19739 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19740 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19741 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19742 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19744 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19745 for using routine as __sinf_ia32.
19746 Use macro for function declaration and weak_alias.
19747 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19748 for using routine as __cosf_ia32.
19749 Use macro for function declaration and weak_alias.
19751 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19752 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19754 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19755 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19758 * math/libm-test.inc (cos_test): Add more test cases.
19759 (sin_test): Likewise.
19760 (sincos_test): Likewise.
19762 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19764 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19765 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19767 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19769 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19772 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19773 first element of the GOT.
19774 (elf_machine_load_address): Return the difference between
19775 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19777 2012-09-01 Allan McRae <allan@archlinux.org>
19780 * configure.in (AWK): Require gawk version 3.0 or later.
19781 * configure: Regenerated.
19783 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19785 * sysdeps/unix/sysv/linux/kernel-features.h
19786 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19787 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19788 [__NR_clock_getres]: Make code unconditional.
19789 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19790 (clock_getcpuclockid): Remove code left unreachable by removal of
19792 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19793 code unconditional.
19794 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19795 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19796 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19797 Make code unconditional.
19798 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19799 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19800 * sysdeps/unix/sysv/linux/clock_settime.c
19801 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19803 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19804 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19806 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19809 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19810 scripts/test-installation.pl.
19812 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19813 and $ld_so_version if it is set.
19815 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19818 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19819 failure if reading from procfs failed.
19820 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19822 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19824 * sysdeps/unix/sysv/linux/kernel-features.h
19825 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19826 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19827 Remove conditional code.
19828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19829 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19830 Remove conditional code.
19831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19832 * sysdeps/unix/sysv/linux/i386/fxstat.c
19833 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19835 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19836 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19838 * sysdeps/unix/sysv/linux/i386/lxstat.c
19839 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19841 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19842 Remove conditional code.
19843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19844 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19845 Remove conditional code.
19846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19847 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19848 <kernel-features.h>.
19849 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19851 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19852 Remove conditional code.
19853 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19854 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19855 Remove conditional.
19857 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19860 * NEWS: Add fixed bug number.
19862 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19865 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19866 underflowing exponent in case of negative sign.
19867 * stdlib/tst-strtod-round-data: Add more tests.
19868 * stdlib/tst-strtod-round.c (tests): Regenerated.
19871 * stdlib/strtod_l.c (NDIG): Remove.
19872 (HEXNDIG): Likewise.
19873 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19874 smallest representable value.
19875 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19876 lie within an exact representation of 1/2 ulp of the result.
19877 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19879 (TENS_P9_IDX): Define unconditionally.
19880 (TENS_P9_SIZE): Likewise.
19881 (TENS_P10_IDX): Likewise.
19882 (TENS_P10_SIZE): Likewise.
19883 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19884 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19885 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19886 entries for 10^2^13 and 10^2^14.
19887 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19888 (TENS_P13_IDX): Define.
19889 (TENS_P13_SIZE): Likewise.
19890 (TENS_P14_IDX): Likewise.
19891 (TENS_P14_SIZE): Likewise.
19892 (_fpioconst_pow10): Change array size to
19893 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19895 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19896 1024]: Add entries for 10^2^13 and 10^2^14.
19897 [LAST_POW10 > _LAST_POW10]: Remove #error.
19898 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19899 (_fpioconst_pow10): Change array size to
19900 FPIOCONST_POW10_ARRAY_SIZE.
19901 * stdlib/gen-fpioconst.c: New file.
19902 * stdlib/gen-tst-strtod-round.c: Likewise.
19903 * stdlib/tst-strtod-round-data: Likewise.
19904 * stdlib/tst-strtod-round.c: Likewise.
19905 * stdlib/Makefile (tests): Add tst-strtod-round.
19908 * stdlib/strtod_l.c: Include <stdint.h>.
19909 (NDEBUG): Do not define.
19910 (round_and_return): Change EXPONENT parameter to type intmax_t.
19911 Rearrange calculations to avoid internal overflow possibilities.
19912 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19913 Rearrange calculations to avoid internal overflow possibilities.
19914 Assert that number fits inside MPNSIZE limbs.
19915 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19916 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19917 calculations and add assertions to avoid internal overflow
19918 possibilities. Add casts to avoid signed/unsigned operations.
19919 * stdlib/tst-strtod-overflow.c: New file.
19920 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19922 2012-08-25 Marek Polacek <polacek@redhat.com>
19924 * time/time.h: Fix some typos in comments.
19926 2012-08-23 Roland McGrath <roland@hack.frob.com>
19928 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19929 * posix/tst-rfc3484-2.c: Likewise.
19930 * posix/tst-rfc3484-3.c: Likewise.
19932 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19934 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19935 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19937 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19939 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19940 #include of fxstatat64.c.
19942 2012-08-22 Roland McGrath <roland@hack.frob.com>
19944 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19945 * shadow/getspent_r.c: Likewise.
19946 * shadow/getspnam.c: Likewise.
19947 * shadow/getspnam_r.c: Likewise.
19948 * gshadow/getsgent.c: Likewise.
19949 * gshadow/getsgent_r.c: Likewise.
19950 * gshadow/getsgnam.c: Likewise.
19951 * gshadow/getsgnam_r.c: Likewise.
19952 * inet/getnetbyad.c: Likewise.
19953 * inet/getnetbyad_r.c: Likewise.
19954 * inet/getnetbynm.c: Likewise.
19955 * inet/getnetbynm_r.c: Likewise.
19956 * inet/getnetent.c: Likewise.
19957 * inet/getnetent_r.c: Likewise.
19958 * inet/getproto.c: Likewise.
19959 * inet/getproto_r.c: Likewise.
19960 * inet/getprtent.c: Likewise.
19961 * inet/getprtent_r.c: Likewise.
19962 * inet/getprtname.c: Likewise.
19963 * inet/getprtname_r.c: Likewise.
19964 * inet/getrpcbyname.c: Likewise.
19965 * inet/getrpcbyname_r.c: Likewise.
19966 * inet/getrpcbynumber.c: Likewise.
19967 * inet/getrpcbynumber_r.c: Likewise.
19968 * inet/getrpcent.c: Likewise.
19969 * inet/getrpcent_r.c: Likewise.
19970 * inet/getaliasent.c: Likewise.
19971 * inet/getaliasent_r.c: Likewise.
19972 * inet/getaliasname.c: Likewise.
19973 * inet/getaliasname_r.c: Likewise.
19974 * nscd/getgrgid_r.c: Likewise.
19975 * nscd/getgrnam_r.c: Likewise.
19976 * nscd/gethstbyad_r.c: Likewise.
19977 * nscd/gethstbynm3_r.c: Likewise.
19978 * nscd/getpwnam_r.c: Likewise.
19979 * nscd/getpwuid_r.c: Likewise.
19980 * nscd/getsrvbynm_r.c: Likewise.
19981 * nscd/getsrvbypt_r.c: Likewise.
19982 * nscd/gai.c: Likewise.
19984 * configure.in (build_nscd): New substituted variable, set
19985 by --disable-build-nscd and defaults to $use_nscd.
19986 * configure: Regenerated.
19987 * config.make.in (build-nscd): New substituted variable.
19988 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19989 Change conditional to require [$(build-nscd) = yes] as well.
19990 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19993 * configure.in (use_nscd): New substituted variable, set by
19994 --disable-nscd. If enabled, define USE_NSCD.
19995 * configure: Regenerated.
19996 * config.h.in: Add USE_NSCD.
19997 * config.make.in (use-nscd): New substituted variable.
19998 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19999 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20000 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20001 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20002 (CFLAGS-getgrnam_r.c): Likewise.
20003 (CFLAGS-initgroups.c): Likewise.
20004 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20005 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20007 * inet/getnetgrent_r.c
20008 (nscd_setnetgrent): New function, broken out of ...
20009 (setnetgrent): ... here. Call it.
20010 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20011 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20012 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20013 * nscd/Makefile (routines, aux): Move definitions after include of
20014 Makeconfig. Conditionalize on [$(use-nscd) != no].
20015 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20016 Conditionalize on [USE_NSCD].
20017 (is_nscd, nscd_init_cb): Likewise.
20018 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20019 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20020 * nss/nss_db/db-init.c: Likewise.
20021 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20023 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20024 (make_request): Use it.
20025 (cache_valid_p): New function.
20026 (__check_pf): Use it.
20027 * NEWS: Add item for --disable-nscd.
20029 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20031 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20032 to support sed >= 4.2.1-20-ga9bf076.
20033 * configure: Regenerated.
20035 2012-08-22 Roland McGrath <roland@hack.frob.com>
20037 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20038 Conditionalize whole body on [IREL].
20040 2012-08-22 Jeff Law <law@redhat.com>
20043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20044 if the family is PF_UNSPEC.
20046 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20048 * Makerules (lib-version): Rename from V.
20049 (install-lib-nosubdir): Change V to lib-version.
20051 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20054 * powerpc32/power6/wcschr.c: New file.
20055 * powerpc32/power6/wcscpy.c: New file.
20056 * powerpc32/power6/wcsrchr.c: New file.
20057 * powerpc64/power6/wcschr.c: New file.
20058 * powerpc64/power6/wcscpy.c: New file.
20059 * powerpc64/power6/wcsrchr.c: New file.
20061 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20063 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20064 (two_way_short_needle): Use it.
20065 * string/strstr.c (AVAILABLE1_USES_J): Define.
20066 * string/strcasestr.c: Likewise.
20068 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20070 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20073 * NEWS: Add an entry.
20074 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20075 define their defaults.
20076 (two_way_short_needle): Detect end-of-string on-the-fly.
20077 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20078 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20079 * string/bug-strcasestr1.c: New test.
20080 * string/Makefile: Run it.
20082 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20085 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20086 the first character.
20088 2012-08-21 Roland McGrath <roland@hack.frob.com>
20090 * csu/elf-init.c (__libc_csu_irel): Function removed.
20091 * csu/libc-start.c (apply_irel): New function.
20092 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20094 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20096 * sysdeps/unix/sysv/linux/kernel-features.h
20097 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20098 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20099 <kernel-features.h>.
20100 [__NR_fadvise64_64]: Make code unconditional.
20101 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20102 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20103 !__NR_fadvise64_64)]: Likewise.
20104 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20105 !__NR_fadvise64_64))]: Likewise.
20106 [__NR_fadvise64]: Make code unconditional.
20107 [!__NR_fadvise64]: Remove conditional code.
20108 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20109 <kernel-features.h>.
20110 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20112 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20115 not include <kernel-features.h>.
20116 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20118 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20120 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20121 include <kernel-features.h>.
20122 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20124 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20127 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20129 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20130 slight instruction rearrangements per scrollpipe analysis.
20131 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20133 2012-08-20 Roland McGrath <roland@hack.frob.com>
20135 * manual/syslog.texi (syslog; vsyslog, closelog):
20136 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20137 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20139 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20140 DSOCAPS to match condition on defining it.
20142 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20144 * sysdeps/unix/sysv/linux/kernel-features.h
20145 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20147 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20148 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20150 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20151 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20153 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20154 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20156 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20157 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20159 * sysdeps/unix/sysv/linux/kernel-features.h
20160 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20161 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20163 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20164 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20165 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20166 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20167 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20168 Make code unconditional.
20169 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20170 (__mmap64) [!__NR_mmap2]: Likewise.
20171 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20172 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20173 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20174 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20175 [__NR_mmap2]: Make code unconditional.
20176 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20177 (__mmap64) [!__NR_mmap2]: Likewise.
20179 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20181 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20183 2012-08-18 Andreas Jaeger <aj@suse.de>
20185 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20187 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20189 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20190 * include/unistd.h (__have_sock_cloexec): Likewise.
20191 (__have_pipe2): Likewise.
20192 (__have_dup3): Likewise.
20194 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20197 * include/unistd.h (__have_pipe2): Change define into an extern int.
20198 (__have_dup3): Likewise.
20199 * socket/have_sock_cloexec.c: Include fcntl.h.
20200 (__have_pipe2): New variable.
20201 (__have_dup3): Likewise.
20203 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20205 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20207 2012-08-17 Marek Polacek <polacek@redhat.com>
20209 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20210 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20212 2012-08-17 Roland McGrath <roland@hack.frob.com>
20214 * configure.in: Add AC_SUBST for sysheaders.
20215 * configure: Regenerated.
20216 * config.make.in (sysheaders): New substituted variable.
20218 * sysdeps/unix/mkfifo.c: Moved ...
20219 * sysdeps/posix/mkfifo.c: ... here.
20220 * sysdeps/unix/mkfifoat.c: Moved ...
20221 * sysdeps/posix/mkfifoat.c: ... here.
20223 * sysdeps/unix/utime.c: Moved ...
20224 * sysdeps/posix/utime.c: ... here.
20226 * sysdeps/unix/time.c: Moved ...
20227 * sysdeps/posix/time.c: ... here.
20228 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20229 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20231 * sysdeps/unix/nice.c: Moved ...
20232 * sysdeps/posix/nice.c: ... here.
20234 * sysdeps/unix/alarm.c: Moved ...
20235 * sysdeps/posix/alarm.c: ... here.
20237 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20239 2012-08-17 Jeff Law <law@redhat.com>
20241 * intl/Makefile (codeset_mo): New variable.
20242 ($(codeset_mo)): New target.
20243 (tst-codeset.out): Depend on that. Remove explicit rule.
20244 (tst-gettext3.out, tst-gettext5.out): Likewise.
20245 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20246 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20247 * intl/tst-codeset.sh: Remove.
20248 * intl/tst-gettext3.sh: Likewise.
20249 * intl/tst-gettext5.sh: Likewise.
20251 2012-08-17 Roland McGrath <roland@hack.frob.com>
20253 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20254 * sysdeps/unix/syscalls.list: ... here.
20256 * sysdeps/posix/getaddrinfo.c
20257 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20258 (gaiconf_init, gaiconf_reload): Use them.
20259 [!_STATBUF_ST_NSEC]
20260 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20261 Define using time_t rather than struct timespec.
20263 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20264 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20266 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20268 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20269 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20272 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20273 __libc_cleanup_push argument.
20275 * bits/param.h: New file.
20276 * misc/sys/param.h: New file.
20277 * include/sys/param.h: New file.
20278 * misc/Makefile (headers): Add bits/param.h.
20279 * sysdeps/generic/sys/param.h: File removed.
20280 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20281 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20282 * sysdeps/mach/hurd/bits/param.h: New file.
20283 * sysdeps/mach/hurd/sys/param.h: File removed.
20285 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20288 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20290 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20291 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20294 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20295 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20296 rather than -D_IO_MTSAFE_IO conditionally.
20297 * stdio-common/Makefile (CPPFLAGS): Likewise.
20298 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20299 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20300 Use $(libio-mtsafe).
20301 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20302 of -D_IO_MTSAFE_IO.
20303 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20304 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20305 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20306 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20307 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20308 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20309 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20310 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20311 (CFLAGS-fread_u_chk.c): Likewise.
20312 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20313 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20314 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20315 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20316 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20317 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20318 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20319 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20320 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20322 * libio/Makefile: Test [$(libc-reentrant) = yes]
20323 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20326 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20327 * sysdeps/pthread/configure: File removed.
20328 * sysdeps/pthread/Makeconfig: New file.
20329 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20330 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20332 2012-08-16 Gary Benson <gbenson@redhat.com>
20334 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20335 unmapping the first object in a namespace.
20337 2012-08-16 Roland McGrath <roland@hack.frob.com>
20339 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20340 (__internal_setnetgrent): ... this. Add internal_function to
20341 definition. Add libc_hidden_def.
20342 (setnetgrent): Update caller.
20343 (internal_endnetgrent): Renamed to ...
20344 (__internal_endnetgrent): ... this. Add internal_function to
20345 definition. Add libc_hidden_def.
20346 (endnetgrent): Update caller.
20347 (internal_getnetgrent_r): Renamed to ...
20348 (__internal_getnetgrent_r): ... this. Add internal_function to
20349 definition. Add libc_hidden_def.
20350 (__getnetgrent_r): Update caller.
20351 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20353 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20355 * stdlib/longlong.h: Update from GCC.
20357 2012-08-16 Roland McGrath <roland@hack.frob.com>
20359 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20360 on _QL, which is set by umul_ppmm but never used.
20361 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20362 variables, which are set by GMP macros but never used.
20363 * stdio-common/_itowa.c (_itowa): Likewise.
20364 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20365 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20367 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20369 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20370 struct La_sh_regs is not constant.
20371 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20372 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20373 and struct La_sparc64_regs are not constant.
20375 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20377 * sysdeps/unix/sysv/linux/kernel-features.h
20378 (__ASSUME_POSIX_TIMERS): Remove.
20379 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20380 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20381 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20382 Make code unconditional.
20383 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20384 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20385 Make code unconditional.
20386 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20387 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20388 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20389 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20390 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20391 Make code unconditional.
20392 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20393 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20394 (__libc_missing_posix_timers): Remove.
20396 2012-08-15 Roland McGrath <roland@hack.frob.com>
20398 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20399 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20401 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20403 * elf/dl-sym.c: Include <stdlib.h>.
20405 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20406 constants, which avoids warnings in 32-bit builds.
20408 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20409 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20411 * misc/lseek.c: File moved to ...
20412 * io/lseek.c: ... here.
20414 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20416 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20417 shifting LEN more than 31 bits at once.
20419 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20422 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20423 segmentation fault for a case of two empty input strings.
20424 * string/test-strncasecmp.c (check1): Renamed to...
20425 (bz12205): ...this.
20426 (bz14195): Add new testcase for two empty input strings and N > 0.
20427 (test_main): Call new testcase, adapt for renamed function.
20429 2012-08-15 Andreas Jaeger <aj@suse.de>
20432 * crypt/md5test2.c: New test, based on test supplied by Serge
20433 Belyshev <belyshev@depni.sinp.msu.ru>.
20434 * crypt/Makefile (xtests): Add md5test-giant..
20435 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20437 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20440 * crypt/md5.c (md5_process_block): Don't assume the buffer
20441 length is less than 2**32.
20442 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20443 length is less than 2**64.
20445 2012-08-15 Roland McGrath <roland@hack.frob.com>
20447 * string/str-two-way.h: Include <sys/param.h>.
20448 (MAX): Macro removed.
20450 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20451 Move #define and #undef of memmove to just before and after
20452 including <string.h>.
20454 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20455 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20456 and after including <string.h>. Move declarations of
20457 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20458 to before #include "string/memmove.c".
20460 * include/dirent.h: Declare __getdirentries.
20462 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20463 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20465 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20467 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20468 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20469 * sysdeps/i386/configure: Regenerated.
20470 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20471 STABS_CURRENT_FILE, and STABS_FUN.
20472 (END): Remove call to STABS_FUN_END.
20473 (STABS_CURRENT_FILE1): Delete.
20474 (STABS_CURRENT_FILE): Likewise.
20475 (STABS_FUN): Likewise.
20476 (STABS_FUN_END): Likewise.
20477 (STABS_FUN2): Likewise.
20478 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20479 * sysdeps/x86_64/configure: Regenerated.
20481 2012-08-14 Roland McGrath <roland@hack.frob.com>
20483 * elf/dl-open.c: Include <atomic.h>.
20484 * elf/dl-lookup.c: Likewise.
20486 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20488 * sysdeps/unix/sysv/linux/kernel-features.h
20489 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20490 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20492 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20494 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20495 condition on __ASSUME_CLONE_THREAD_FLAGS.
20497 2012-08-14 Andreas Jaeger <aj@suse.de>
20499 * sysdeps/i386/fpu/libm-test-ulps: Update.
20501 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20503 * include/atomic.h (atomic_exchange_and_add): Split into ...
20504 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20507 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20511 2012-08-13 Jeff Law <law@redhat.com>
20513 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20514 null byte in the output string.
20516 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20518 * sysdeps/unix/sysv/linux/kernel-features.h
20519 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20520 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20521 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20522 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20523 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20524 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20525 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20527 2012-08-09 Jeff Law <law@redhat.com>
20530 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20531 When avoid_arena is set, don't retry in the that arena. Pick the
20532 next one, whatever it might be.
20533 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20534 (arena_lock): Pass in new parameter to arena_get2.
20535 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20537 (__libc_malloc): Unify retrying after main arena failure with
20538 __libc_memalign version.
20539 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20541 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20544 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20545 to __redirect_strstr.
20546 (__strstr_sse42): Use typeof __redirect_strstr.
20547 (__strstr_ia32): Likewise.
20548 (__libc_strstr): New prototype.
20549 (strstr): Renamed to ...
20550 (__libc_strstr): This.
20551 (strstr): New strong alias of __libc_strstr.
20552 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20553 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20556 (__libc_time): New prototype.
20557 (time_ifunc): Replace time with __libc_time.
20558 (time): New strong alias and hidden definition of __libc_time.
20559 (__GI_time): Remove strong alias.
20560 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20561 Include <stddef.h>.
20562 (memmove): Redefined to __redirect_memmove.
20563 (__memmove_sse2): Use typeof __redirect_memmove.
20564 (__memmove_ssse3): Likewise.
20565 (__memmove_ssse3_back): Likewise.
20566 (__libc_memmove): New prototype.
20567 (memmove): Renamed to ...
20568 (__libc_memmove): This.
20569 (memmove): New strong alias of __libc_memmove.
20571 2012-08-08 Mark Salter <msalter@redhat.com>
20574 (R_MN10300_TLS_GD): Define.
20575 (R_MN10300_TLS_LD): Likewise.
20576 (R_MN10300_TLS_LDO): Likewise.
20577 (R_MN10300_TLS_GOTIE): Likewise.
20578 (R_MN10300_TLS_IE): Likewise.
20579 (R_MN10300_TLS_LE): Likewise.
20580 (R_MN10300_TLS_DTPMOD): Likewise.
20581 (R_MN10300_TLS_DTPOFF): Likewise.
20582 (R_MN10300_TLS_TPOFF): Likewise.
20583 (R_MN10300_SYM_DIFF): Likewise.
20584 (R_MN10300_ALIGN): Likewise.
20585 (R_MN10300_NUM): Update.
20587 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20589 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20592 2012-08-08 Roland McGrath <roland@hack.frob.com>
20594 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20596 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20597 sysdeps/unix -> sysdeps/posix move.
20598 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20600 2012-08-07 Allan McRae <allan@archlinux.org>
20603 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20604 (SUNOS_CPP): Likewise.
20605 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20607 (open_input): Call CPP using execvp.
20609 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20611 * sysdeps/unix/sysv/linux/kernel-features.h
20612 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20613 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20614 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20615 (__ASSUME_WAITID_SYSCALL): Likewise.
20616 * sysdeps/unix/sysv/linux/dl-execstack.c
20617 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20618 code unconditional.
20619 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20621 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20622 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20623 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20625 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20627 [__ASSUME_WAITID_SYSCALL]: Likewise.
20628 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20630 2012-08-07 Roland McGrath <roland@hack.frob.com>
20632 * sysdeps/unix/closedir.c: Renamed to ...
20633 * sysdeps/posix/closedir.c: ... here.
20634 * sysdeps/unix/dirfd.c: Renamed to ...
20635 * sysdeps/posix/dirfd.c: ... here.
20636 * sysdeps/unix/dirstream.h: Renamed to ...
20637 * sysdeps/posix/dirstream.h: ... here.
20638 * sysdeps/unix/fdopendir.c: Renamed to ...
20639 * sysdeps/posix/fdopendir.c: ... here.
20640 * sysdeps/unix/opendir.c: Renamed to ...
20641 * sysdeps/posix/opendir.c: ... here.
20642 * sysdeps/unix/readdir.c: Renamed to ...
20643 * sysdeps/posix/readdir.c: ... here.
20644 * sysdeps/unix/readdir_r.c: Renamed to ...
20645 * sysdeps/posix/readdir_r.c: ... here.
20646 * sysdeps/unix/rewinddir.c: Renamed to ...
20647 * sysdeps/posix/rewinddir.c: ... here.
20648 * sysdeps/unix/seekdir.c: Renamed to ...
20649 * sysdeps/posix/seekdir.c: ... here.
20650 * sysdeps/unix/telldir.c: Renamed to ...
20651 * sysdeps/posix/telldir.c: ... here.
20652 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20653 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20654 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20655 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20657 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20658 * bits/fcntl.h: ... here.
20660 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20662 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20663 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20664 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20665 (struct flock): Move l_start, l_len to the beginning.
20666 Use __pid_t for l_pid.
20667 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20668 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20669 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20670 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20671 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20672 [__USE_LARGEFILE64] (struct flock64): New type.
20673 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20675 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20676 * bits/dirent.h: ... here.
20678 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20679 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20681 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20683 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20684 Change from 2.6.0 to 2.6.16.
20685 * sysdeps/unix/sysv/linux/configure: Regenerated.
20686 * sysdeps/unix/sysv/linux/kernel-features.h
20687 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20688 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20690 (__ASSUME_UTIMES): Likewise.
20691 (__ASSUME_CLONE_STOPPED): Remove.
20692 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20693 architectures, not kernel version.
20694 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20695 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20696 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20697 (__ASSUME_WAITID_SYSCALL): Likewise.
20698 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20699 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20700 * README: State 2.6.16 as minimum Linux kernel version. Do not
20701 refer to older versions.
20703 2012-08-06 Roland McGrath <roland@hack.frob.com>
20705 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20706 Define alphasort64 as an alias.
20707 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20708 Define versionsort64 as an alias.
20709 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20710 Define scandir64 as an alias.
20711 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20712 Define scandirat64 as an alias.
20713 * dirent/alphasort64.c (alphasort64):
20714 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20715 * dirent/versionsort64.c: Likewise.
20716 * dirent/scandir64.c: Likewise.
20717 * dirent/scandirat64.c: Likewise.
20718 * sysdeps/wordsize-64/alphasort.c: File removed.
20719 * sysdeps/wordsize-64/alphasort64.c: File removed.
20720 * sysdeps/wordsize-64/scandir.c: File removed.
20721 * sysdeps/wordsize-64/scandir64.c: File removed.
20722 * sysdeps/wordsize-64/scandirat.c: File removed.
20723 * sysdeps/wordsize-64/scandirat64.c: File removed.
20724 * sysdeps/wordsize-64/versionsort.c: File removed.
20725 * sysdeps/wordsize-64/versionsort64.c: File removed.
20726 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20727 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20728 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20729 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20730 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20731 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20732 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20733 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20735 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20737 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20739 [defined __arch64__ || defined __sparcv9]
20740 (__INO_T_MATCHES_INO64_T): New macro.
20741 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20742 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20743 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20744 * sysdeps/unix/sysv/linux/bits/dirent.h
20745 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20746 (_DIRENT_MATCHES_DIRENT64): New macro.
20748 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20749 Define lockf64 as an alias.
20750 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20751 Define fseeko64 as an alias.
20752 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20753 Define ftello64 as an alias.
20754 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20755 Define _IO_fgetpos64 and fgetpos64 as aliases.
20756 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20757 Define _IO_fsetpos64 and fsetpos64 as aliases.
20758 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20759 Conditionalize body on this.
20760 * libio/fseeko64.c: Likewise.
20761 * libio/ftello64.c: Likewise.
20762 * libio/iofgetpos64.c: Likewise.
20763 * libio/iofsetpos64.c: Likewise.
20764 * sysdeps/wordsize-64/lockf.c: File removed.
20765 * sysdeps/wordsize-64/lockf64.c: File removed.
20766 * sysdeps/wordsize-64/fseeko.c: File removed.
20767 * sysdeps/wordsize-64/fseeko64.c: File removed.
20768 * sysdeps/wordsize-64/ftello.c: File removed.
20769 * sysdeps/wordsize-64/ftello64.c: File removed.
20770 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20771 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20772 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20773 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20774 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20775 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20776 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20777 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20778 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20779 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20780 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20781 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20783 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20785 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20786 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20787 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20789 [defined __arch64__ || defined __sparcv9]
20790 (__OFF_T_MATCHES_OFF64_T): New macro.
20791 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20792 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20794 (__OFF_T_MATCHES_OFF64_T): New macro.
20796 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20798 * stdlib/secure-getenv.c (__secure_getenv): Replace
20799 GLIBC_2_16 with GLIBC_2_17.
20801 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20803 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20806 2012-08-03 David S. Miller <davem@davemloft.net>
20808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20810 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20812 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20814 (__ASSUME_CORRECT_SI_PID): Likewise.
20815 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20816 (__ASSUME_TMPFS_NAME): Likewise.
20817 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20818 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20819 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20820 (HAVE_AUX_SECURE): Make definition unconditional.
20821 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20822 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20824 2012-08-03 Roland McGrath <roland@hack.frob.com>
20826 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20827 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20828 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20829 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20830 __eloop_threshold instead of SYMLOOP_MAX.
20832 * sysdeps/generic/eloop-threshold.h: New file.
20833 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20835 * elf/chroot_canon.c (chroot_canon): Likewise.
20837 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20840 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20841 Change to 2.6.0 everywhere.
20842 * sysdeps/unix/sysv/linux/configure: Regenerated.
20843 * sysdeps/unix/sysv/linux/kernel-features.h
20844 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20845 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20847 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20848 (__ASSUME_FUTEX_REQUEUE): Remove.
20849 (__ASSUME_STATFS64): Define unconditionally.
20850 (__ASSUME_AT_SECURE): Likewise.
20851 (__ASSUME_CORRECT_SI_PID): Likewise.
20852 (__ASSUME_TGKILL): Define without depending on kernel version for
20854 (__ASSUME_UTIMES): Likewise.
20855 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20857 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20858 (__ASSUME_TMPFS_NAME): Likewise.
20859 * README: Update reference to Linux kernel versions.
20861 2012-08-02 Marek Polacek <polacek@redhat.com>
20864 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20865 libc_cv_asm_type_prefix with %.
20866 * configure: Regenerated.
20867 * include/libc-symbols.h: Remove comment about
20868 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20869 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20870 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20871 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20872 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20873 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20874 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20875 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20876 * elf/tst-unique2mod1.c: Likewise.
20877 * elf/tst-unique1mod2.c: Likewise.
20878 * elf/tst-unique1mod1.c: Likewise.
20879 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20880 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20881 Replace ASM_TYPE_DIRECTIVE with .type.
20882 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20883 * sysdeps/i386/sysdep.h: Likewise.
20884 * sysdeps/x86_64/sysdep.h: Likewise.
20885 * sysdeps/sh/sysdep.h: Likewise.
20886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20887 Do not define ASM_TYPE_DIRECTIVE.
20888 * sysdeps/powerpc/sysdep.h: Likewise.
20889 * sysdeps/powerpc/powerpc32/sysdep.h:
20890 Replace ASM_TYPE_DIRECTIVE with .type.
20891 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20892 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20893 * sysdeps/i386/fpu/e_powf.S: Likewise.
20894 * sysdeps/i386/fpu/e_expl.S: Likewise.
20895 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20896 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20897 * sysdeps/i386/fpu/e_pow.S: Likewise.
20898 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20899 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20900 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20901 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20902 * sysdeps/i386/fpu/e_log2.S: Likewise.
20903 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20904 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20905 * sysdeps/i386/fpu/e_powl.S: Likewise.
20906 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20907 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20908 * sysdeps/i386/fpu/e_logl.S: Likewise.
20909 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20910 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20911 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20912 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20913 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20914 * sysdeps/i386/fpu/e_log.S: Likewise.
20915 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20916 * sysdeps/i386/fpu/e_logf.S: Likewise.
20917 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20918 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20919 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20920 * sysdeps/i386/fpu/e_log10.S: Likewise.
20921 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20922 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20923 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20924 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20925 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20926 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20927 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20928 * sysdeps/i386/i686/strtok.S: Likewise.
20929 * sysdeps/i386/i386-mcount.S: Likewise.
20930 * sysdeps/i386/strtok.S: Likewise.
20931 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20932 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20933 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20934 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20935 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20936 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20937 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20938 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20939 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20940 * sysdeps/x86_64/_mcount.S: Likewise.
20941 * sysdeps/x86_64/strtok.S: Likewise.
20942 * sysdeps/sh/_mcount.S: Likewise.
20944 2012-08-01 Roland McGrath <roland@hack.frob.com>
20946 * libio/iofopen.c: Include <fcntl.h>.
20947 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20948 (_IO_fopen64, fopen64): Define as aliases.
20949 * libio/iofopen64.c: Include <fcntl.h>.
20950 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20951 Conditionalize body on this.
20952 * sysdeps/wordsize-64/iofopen.c: File removed.
20953 * sysdeps/wordsize-64/iofopen64.c: File removed.
20955 2012-08-01 Marek Polacek <polacek@redhat.com>
20957 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20958 Use dlfcn directly instead of a variable.
20959 (binfmt-subdir): Do not define.
20962 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20964 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20965 Remove all definitions.
20966 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20967 <kernel-features.h>.
20968 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20969 (miss_F_GETOWN_EX): Remove all definitions.
20970 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20972 [!__ASSUME_FCNTL64]: Remove conditional code.
20973 [__ASSUME_FCNTL64]: Make code unconditional.
20974 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20975 <kernel-features.h>.
20976 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20977 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20978 (lockf64) [__NR_fcntl64]: Make code unconditional.
20979 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20981 * sysdeps/unix/sysv/linux/kernel-features.h
20982 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20983 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20984 Make code unconditional.
20985 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20986 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20988 [__NR_vfork]: Make code unconditional.
20989 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20990 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20992 [__NR_vfork]: Make code unconditional.
20993 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20994 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20996 2012-08-01 Roland McGrath <roland@hack.frob.com>
20998 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20999 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21001 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21002 Define mkstemp64 as an alias.
21003 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21004 Define mkstemps64 as an alias.
21005 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21006 Define mkostemp64 as an alias.
21007 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21008 Define mkostemps64 as an alias.
21009 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21010 Conditionalize body on this.
21011 * misc/mkostemp64.c: Likewise.
21012 * misc/mkostemps64.c: Likewise.
21013 * misc/mkstemps64.c: Likewise.
21014 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21015 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21016 * sysdeps/wordsize-64/mkostemp.c: File removed.
21017 * sysdeps/wordsize-64/mkstemp.c: File removed.
21018 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21019 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21020 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21021 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21024 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21025 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21026 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21027 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21029 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21030 compat_symbol macros from <shlib-compat.h> rather than the underlying
21031 default_symbol_version and symbol_version macros, so that DEFAULT
21032 lines in shlib-versions are respected.
21033 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21035 2012-08-01 Florian Weimer <fweimer@redhat.com>
21037 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21038 Declare with warn_unused_result.
21039 (setgid, setregid, setegid, setresgid): Likewise.
21040 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21042 * WUR-REPORT: Remove set*id functions.
21044 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21046 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21048 2012-07-31 Roland McGrath <roland@hack.frob.com>
21051 * include/sys/socket.h (__libc_accept, __libc_accept4):
21052 Add attribute_hidden.
21053 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21055 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21057 * inet/getnetgrent_r.c (setup): Likewise.
21059 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21061 2012-07-31 David S. Miller <davem@davemloft.net>
21063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21065 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21068 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21069 value between 1.0 and 2.0 and smaller part has absolute value less
21071 * math/s_clog10.c (__clog10): Likewise.
21072 * math/s_clog10f.c (__clog10f): Likewise.
21073 * math/s_clog10l.c (__clog10l): Likewise.
21074 * math/s_clogf.c (__clogf): Likewise.
21075 * math/s_clogl.c (__clogl): Likewise.
21076 * math/libm-test.inc (clog_test): Add more tests.
21077 (clog10_test): Likewise.
21078 * sysdeps/i386/fpu/libm-test-ulps: Update.
21079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21081 2012-07-31 Florian Weimer <fweimer@redhat.com>
21083 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21084 Exit with zero in case no suitable GID is found, and write a
21085 message to standard error.
21087 2012-07-30 Roland McGrath <roland@hack.frob.com>
21089 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21091 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21092 (MAXPATHLEN): Removed.
21093 (NOGROUP, NODEV): New macros.
21094 (setbit, clrbit, isset, isclr): New macros.
21095 (howmany, roundup, powerof2): New macros.
21096 (DEV_BSIZE): New macro.
21098 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21099 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21101 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21102 definition on [!__NO_LONG_DOUBLE_MATH].
21104 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21105 PTR_MANGLE and PTR_DEMANGLE.
21107 * socket/accept4.c (accept4): Rename to __libc_accept4.
21108 Define accept4 as a weak alias.
21110 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21111 on [_DIRENT_HAVE_D_TYPE].
21112 * io/ftw.c (ftw_dir): Likewise.
21114 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21116 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21118 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21119 Use the BSD numbers rather than the arbitrary ones we had.
21120 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21121 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21122 (SIGXCPU, SIGXFSZ): New macros.
21125 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21126 initializer on [_LIBC_REENTRANT].
21128 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21129 definitions inside [_POSIX_MAPPED_FILES].
21131 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21133 * dirent/opendir.c: Include <fcntl.h>.
21135 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21136 (__libc_getspecific): Likewise.
21137 (__libc_key_create): Likewise.
21139 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21140 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21141 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21142 (tmpfile64): Define as alias.
21143 * sysdeps/wordsize-64/tmpfile.c: File removed.
21144 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21145 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21146 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21148 * stdio-common/vfscanf.c: Include <stdbool.h>.
21149 * nss/makedb.c: Likewise.
21150 * stdio-common/_i18n_number.h: Likewise.
21151 * argp/argp-help.c: Likewise.
21152 * posix/wordexp.c: Likewise.
21153 * sysdeps/posix/spawni.c: Likewise.
21154 * nss/nss_files/files-initgroups.c: Likewise.
21155 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21156 * nss/nss_files/files-initgroups.c: Likewise.
21157 * nss/nss_db/db-netgrp.c: Likewise.
21158 * nss/nss_db/db-initgroups.c: Likewise.
21159 * io/fchmodat.c: Include <sys/stat.h>.
21161 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21162 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21164 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21167 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21168 Add multiple inclusion protection.
21170 2012-07-27 David S. Miller <davem@davemloft.net>
21172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21174 2012-07-27 Gary Benson <gbenson@redhat.com>
21177 * elf/rtld.c: Include <stap-probe.h>.
21178 (dl_main): Added static probes "init_start" and "init_complete".
21179 * elf/dl-load.c: Include <stap-probe.h>.
21180 (lose): Take new parameter "nsid".
21181 Added static probe "map_failed".
21182 (_dl_map_object_from_fd): Pass namespace id to lose.
21183 Added static probe "map_start".
21184 (open_verify): Pass namespace id to lose.
21185 * elf/dl-open.c: Include <stap-probe.h>.
21186 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21187 and "reloc_complete".
21188 * elf/dl-close.c: Include <stap-probe.h>.
21189 (_dl_close_worker): Added static probes "unmap_start" and
21191 * elf/rtld-debugger-interface.txt: New file documenting the above.
21193 2012-07-26 Roland McGrath <roland@hack.frob.com>
21195 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21196 rather than a string variable.
21197 * sunrpc/rpc_main.c (h_output): Likewise.
21198 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21200 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21202 * inet/check_native.c: New file.
21204 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21207 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21208 if larger part has absolute value 1.0.
21209 * math/s_clog10.c (__clog10): Likewise.
21210 * math/s_clog10f.c (__clog10f): Likewise.
21211 * math/s_clog10l.c (__clog10l): Likewise.
21212 * math/s_clogf.c (__clogf): Likewise.
21213 * math/s_clogl.c (__clogl): Likewise.
21214 * math/libm-test.inc (clog_test): Add more tests.
21215 (clog10_test): Likewise.
21216 * sysdeps/i386/fpu/libm-test-ulps: Update.
21217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21219 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21220 (pltexit): Likewise.
21221 (La_regs): Likewise.
21222 (La_retval): Likewise.
21223 (int_retval): Likewise.
21224 Update #error for removed macros to refer only to definitions in
21226 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21228 (pltexit): Likewise.
21229 (La_regs): Likewise.
21230 (La_retval): Likewise.
21231 (int_retval): Likewise.
21232 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21234 (pltexit): Likewise.
21235 (La_regs): Likewise.
21236 (La_retval): Likewise.
21237 (int_retval): Likewise.
21238 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21240 (pltexit): Likewise.
21241 (La_regs): Likewise.
21242 (La_retval): Likewise.
21243 (int_retval): Likewise.
21244 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21246 (pltexit): Likewise.
21247 (La_regs): Likewise.
21248 (La_retval): Likewise.
21249 (int_retval): Likewise.
21250 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21252 (pltexit): Likewise.
21253 (La_regs): Likewise.
21254 (La_retval): Likewise.
21255 (int_retval): Likewise.
21256 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21258 (pltexit): Likewise.
21259 (La_regs): Likewise.
21260 (La_retval): Likewise.
21261 (int_retval): Likewise.
21262 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21263 macro definitions in tst-audit.h.
21264 * sysdeps/i386/tst-audit.h: New file.
21265 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21266 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21267 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21268 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21269 * sysdeps/sh/tst-audit.h: Likewise.
21270 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21271 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21272 * sysdeps/x86_64/tst-audit.h: Likewise.
21274 2012-07-26 Andreas Jaeger <aj@suse.de>
21276 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21279 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21280 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21281 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21283 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21284 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21285 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21287 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21290 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21292 (si_call_addr, si_syscall, si_arch): Define new macro.
21293 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21295 (si_call_addr, si_syscall, si_arch): Define new marcro.
21296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21298 (si_call_addr, si_syscall, si_arch): Define new macro.
21299 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21301 (si_call_addr, si_syscall, si_arch): Define new macro.
21303 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21306 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21307 Change to 2.4.21 where previously 2.4.1.
21308 * sysdeps/unix/sysv/linux/configure: Regenerated.
21309 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21310 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21311 Linux kernel version.
21312 (__ASSUME_STD_AUXV): Remove.
21313 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21315 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21316 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21317 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21318 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21319 (__ASSUME_NETLINK_SUPPORT): Likewise.
21320 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21321 (__no_netlink_support): Remove conditional definition.
21322 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21324 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21325 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21326 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21327 (if_nameindex_ioctl): Remove.
21328 (if_nameindex_netlink): Do not handle __no_netlink_support.
21329 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21331 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21332 Remove conditional code.
21333 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21335 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21337 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21338 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21339 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21341 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21342 [!__ASSUME_STD_AUXV]: Remove conditional code.
21343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21344 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21345 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21347 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21348 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21350 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21352 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21353 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21355 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21357 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21360 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21363 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21364 code unconditional.
21365 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21367 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21369 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21372 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21374 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21377 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21378 code unconditional.
21379 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21381 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21383 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21386 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21387 code unconditional.
21388 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21390 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21392 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21395 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21397 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21398 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21399 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21400 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21401 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21402 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21403 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21404 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21405 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21406 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21407 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21408 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21409 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21410 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21411 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21412 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21413 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21414 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21415 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21416 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21417 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21418 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21419 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21421 2012-07-25 Florian Weimer <fweimer@redhat.com>
21423 * Versions.def: Add GLIBC_2.17.
21424 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21425 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21426 Introduce __libc_secure_getenv.
21427 * stdlib/Versions (2.17): Add secure_getenv
21428 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21429 * stdlib/secure-getenv.c: Rename __secure_getenv to
21430 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21431 symbol __secure_getenv for GLIBC_2.0.
21432 * stdlib/tst-secure-getenv.c: New.
21433 * stdlib/Makefile (tests): Add testcase.
21434 * manual/startup.texi (Environment Access): Document
21436 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21437 __libc_secure_getenv.
21438 * inet/ruserpass.c (ruserpass): Likewise.
21439 * malloc/mtrace.c (mtrace): Likewise.
21440 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21441 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21442 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21443 * sysdeps/posix/tempname.c: Likewise. Evaluate
21444 HAVE_SECURE_GETENV.
21445 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21446 __secure_getenv to __libc_secure_getenv.
21447 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21460 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21462 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21463 (struct La_i86_retval): Likewise.
21464 (struct La_x86_64_regs): Likewise.
21465 (struct La_x86_64_retval): Likewise.
21466 (struct La_x32_regs): Likewise.
21467 (struct La_x32_retval): Likewise.
21468 (struct La_ppc32_regs): Likewise.
21469 (struct La_ppc32_retval): Likewise.
21470 (struct La_ppc64_regs): Likewise.
21471 (struct La_ppc64_retval): Likewise.
21472 (struct La_sh_regs): Likewise.
21473 (struct La_sh_retval): Likewise.
21474 (struct La_s390_32_regs): Likewise.
21475 (struct La_s390_32_retval): Likewise.
21476 (struct La_s390_64_regs): Likewise.
21477 (struct La_s390_64_retval): Likewise.
21478 (struct La_sparc32_regs): Likewise.
21479 (struct La_sparc32_retval): Likewise.
21480 (struct La_sparc64_regs): Likewise.
21481 (struct La_sparc64_retval): Likewise.
21482 (struct audit_ifaces): Remove architecture-specific pltenter and
21484 * sysdeps/i386/ldsodefs.h: New file.
21485 * sysdeps/powerpc/ldsodefs.h: Likewise.
21486 * sysdeps/s390/ldsodefs.h: Likewise.
21487 * sysdeps/sh/ldsodefs.h: Likewise.
21488 * sysdeps/sparc/ldsodefs.h: Likewise.
21489 * sysdeps/x86_64/ldsodefs.h: Likewise.
21491 2012-07-25 Marek Polacek <polacek@redhat.com>
21494 * math/libm-test.inc (yn_test): Add another test.
21495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21496 to ERANGE when the result is +-Inf.
21497 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21498 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21499 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21500 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21502 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21504 * conform/data/time.h-data (NULL): Use macro-constant. Require
21506 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21508 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21510 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21512 * configure.in <sysdeps resolving>: Correct printing
21514 * configure: Regenerate.
21516 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21518 * math/w_ilogb.c: Include <limits.h>.
21519 * math/w_ilogbl.c: Likewise.
21521 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21523 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21524 va_copy. Document allowing for unavailable va_copy only as
21525 pre-C99 compatibility.
21526 * manual/string.texi (Copying and Concatenation): Use va_copy
21527 instead of __va_copy in concat example.
21529 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21531 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21532 (__sendto): Use create_address_port. Initialize APORT and deallocate
21535 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21536 with O_NOLINK passed to __file_name_lookup.
21538 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21539 with O_NOLINK passed to __file_name_lookup.
21541 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21542 negative N or less than NGIDS.
21544 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21545 type to string_t. Set ERANGE as errno and return it if NAME is not big
21546 enough. Use memcpy instead of strncpy.
21548 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21550 * elf/Makefile (check-data): Remove.
21551 (localplt.data): New vpath directive.
21552 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21553 instead of $(check-data).
21554 * scripts/data/localplt-generic.data: Move to ...
21555 * sysdeps/generic/localplt.data: ... here.
21556 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21557 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21558 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21561 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21564 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21567 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21570 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21573 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21577 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21579 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21580 PPC32 and PPC64 files.
21581 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21582 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21584 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21586 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21587 __makecontext_ret to ...
21588 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21589 ... here and call exit if uc_link is NULL. New file.
21590 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21591 __makecontext_ret.S.
21592 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21593 __makecontext_ret to ...
21594 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21595 ... here and call exit if uc_link is NULL. New file.
21596 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21597 __makecontext_ret.S.
21599 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21601 * elf/elf.h (R_390_IRELATIVE): New definition.
21602 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21603 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21604 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21605 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21606 (elf_machine_lazy_rel): Likewise.
21607 * sysdeps/s390/dl-irel.h: New file.
21608 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21609 * sysdeps/s390/s390-64/memset.S: New asm code.
21610 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21611 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21612 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21613 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21614 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21615 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21616 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21617 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21618 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21619 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21620 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21621 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21622 * sysdeps/s390/s390-32/memset.S: New asm code.
21623 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21625 2012-07-17 Marek Polacek <polacek@redhat.com>
21628 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21629 * sysdeps/s390/s390-64/configure.in: Likewise.
21630 * sysdeps/sparc/configure.in: Likewise.
21631 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21632 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21633 * sysdeps/i386/configure.in: Likewise.
21634 * sysdeps/x86_64/configure.in: Likewise.
21635 * sysdeps/sh/configure.in: Likewise.
21636 * sysdeps/s390/s390-32/configure: Regenerated.
21637 * sysdeps/s390/s390-64/configure: Likewise.
21638 * sysdeps/x86_64/configure: Likewise.
21639 * sysdeps/sh/configure: Likewise.
21640 * sysdeps/powerpc/powerpc64/configure: Likewise.
21641 * sysdeps/powerpc/powerpc32/configure: Likewise.
21642 * sysdeps/sparc/configure: Likwise.
21643 * sysdeps/i386/configure: Likewise.
21645 * elf/dl-open.c: Comment fixes.
21647 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21649 * Makefile [CXX] (check-data): Remove.
21650 [CXX] (c++-types.data): New vpath directive.
21651 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21652 vpath. Do not allow for C++ type data being missing.
21653 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21654 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21655 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21656 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21657 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21658 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21659 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21662 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21665 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21668 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21671 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21674 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21677 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21680 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21683 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21684 definitions to architecture-specific files.
21685 (TLS_IE): Likewise.
21686 (TLS_LD): Likewise.
21687 (TLS_GD): Likewise.
21688 * sysdeps/i386/tls-macros.h: New file.
21689 * sysdeps/powerpc/tls-macros.h: Likewise.
21690 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21691 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21692 * sysdeps/sh/tls-macros.h: Likewise.
21693 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21694 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21695 * sysdeps/x86_64/tls-macros.h: Likewise.
21697 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21699 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21700 zero value for regular exit case.
21702 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21703 (__start_context): Preserve zero value for regular exit case.
21705 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21706 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21708 * manual/setjmp.texi (setcontext): Clarify normal process
21709 termination when uc_link is the null pointer.
21710 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21713 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21715 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21716 preprocessor. Test for each exception mask separately.
21718 2012-07-16 Andreas Jaeger <aj@suse.de>
21720 * po/ru.po: Update from translation team.
21722 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21724 * conform/data/string.h-data (NULL): Use macro-constant. Require
21726 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21727 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21728 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21729 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21732 2012-07-13 Andreas Jaeger <aj@suse.de>
21734 * po/fr.po: Update from translation team.
21736 2012-07-12 Marek Polacek <polacek@redhat.com>
21739 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21740 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21743 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21746 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21747 Change to 2.4.1 where previously 2.4.0.
21748 * sysdeps/unix/sysv/linux/configure: Regenerated.
21749 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21750 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21752 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21753 (__ASSUME_AT_CLKTCK): Remove.
21754 (__ASSUME_AT_PAGESIZE): Likewise.
21755 (__ASSUME_AT_XID): Likewise.
21756 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21757 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21758 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21760 (HAVE_AUX_PAGESIZE): Likewise.
21761 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21762 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21763 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21765 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21769 the temporary buffer used to invoke __gethostbyname2_r,
21770 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21771 host_data / struct gaih_addrtuple.
21772 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21773 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21774 header file nss/nsswitch.h.
21775 * nss/nsswitch.h (global scope): Add definition of implementation
21776 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21777 resolv/nss_dns/dns-host.c).
21779 2012-07-11 Andreas Jaeger <aj@suse.de>
21781 * po/fr.po: Update from translation team.
21783 * po/sv.po: Update from translation team
21784 * po/fr.po: Another update from translation team.
21786 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21788 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21789 for subnormals or multiply small sinh result by itself.
21790 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21793 2012-07-11 David S. Miller <davem@davemloft.net>
21795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21797 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21800 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21801 (INTERNAL_MARK): Shift it here.
21803 2012-07-10 Marek Polacek <polacek@redhat.com>
21806 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21807 libc_cv_asm_global_directive with .globl.
21808 * configure: Regenerated.
21809 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21811 * sysdeps/i386/configure: Regenerated.
21812 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21814 * sysdeps/x86_64/configure: Regenerated.
21815 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21816 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21817 * elf/tst-unique2mod2.c: Likewise.
21818 * elf/tst-unique2mod1.c: Likewise.
21819 * elf/tst-unique1mod2.c: Likewise.
21820 * elf/tst-unique1mod1.c: Likewise.
21821 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21822 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21823 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21824 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21825 * sysdeps/mach/sysdep.h: Likewise.
21826 * sysdeps/i386/sysdep.h: Likewise.
21827 * sysdeps/i386/i386-mcount.S: Likewise.
21828 * sysdeps/x86_64/_mcount.S: Likewise.
21829 * sysdeps/x86_64/sysdep.h: Likewise.
21830 * sysdeps/sh/_mcount.S: Likewise.
21831 * sysdeps/sh/sysdep.h: Likewise.
21832 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21833 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21834 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21835 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21836 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21837 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21838 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21839 * locale/localeinfo.h: Likewise.
21840 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21841 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21843 2012-07-09 Roland McGrath <roland@hack.frob.com>
21846 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21848 * manual/message.texi (The Uniforum approach): Likewise.
21849 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21850 (glibc iconv Implementation): Likewise.
21852 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21855 * math/s_clog.c (__clog): Avoid scaling a value down where that
21856 could result in underflow.
21857 * math/s_clog10.c (__clog10): Likewise.
21858 * math/s_clog10f.c (__clog10f): Likewise.
21859 * math/s_clog10l.c (__clog10l): Likewise.
21860 * math/s_clogf.c (__clogf): Likewise.
21861 * math/s_clogl.c (__clogl): Likewise.
21862 * math/libm-test.inc (clog_test): Add more tests.
21863 (clog10_test): Likewise.
21864 * sysdeps/i386/fpu/libm-test-ulps: Update.
21865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21867 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21870 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21871 by 7 not 8 to examine high bit of fractional part.
21874 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21875 for call to __mcount_internal.
21876 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21877 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21878 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21880 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21883 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21884 approximation for values within 0x1p-13f of an odd multiple of
21886 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21887 exception. Add more tests.
21888 * sysdeps/i386/fpu/libm-test-ulps: Update.
21891 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21892 inputs and return -1 for them. Do not check for +Inf in case not
21893 reachable for +Inf.
21894 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21895 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21896 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21897 and return -1 for them. Do not check for +Inf in case not
21898 reachable for +Inf.
21899 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21901 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21902 and return -1 for them. Do not check for +Inf in case not
21903 reachable for +Inf.
21904 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21905 spurious underflow.
21906 * sysdeps/i386/fpu/libm-test-ulps: Update.
21907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21909 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21911 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21913 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21917 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21918 could result in spurious underflow. Scale down values above
21919 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21920 * math/s_csqrtf.c (__csqrtf): Likewise.
21921 * math/s_csqrtl.c (__csqrtl): Likewise.
21922 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21923 spurious underflow.
21924 * sysdeps/i386/fpu/libm-test-ulps: Update.
21925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21927 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21929 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21931 * catgets/xopen-msg.awk: New file.
21932 * catgets/xopen-msg.sed: Removed.
21934 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21936 * intl/po2test.awk: New file.
21937 * intl/po2test.sed: Removed.
21939 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21942 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21943 or multiply small sinh result by itself.
21944 * math/s_ctanf.c (__ctanf): Likewise.
21945 * math/s_ctanh.c (__ctanh): Likewise.
21946 * math/s_ctanhf.c (__ctanhf): Likewise.
21947 * math/s_ctanhl.c (__ctanhl): Likewise.
21948 * math/s_ctanl.c (__ctanl): Likewise.
21949 * math/libm-test.inc (ctan_test_tonearest): New function.
21950 (ctan_test_towardzero): Likewise.
21951 (ctan_test_downward): Likewise.
21952 (ctan_test_upward): Likewise.
21953 (ctanh_test_tonearest): Likewise.
21954 (ctanh_test_towardzero): Likewise.
21955 (ctanh_test_downward): Likewise.
21956 (ctanh_test_upward): Likewise.
21957 (main): Call these new functions.
21958 * sysdeps/i386/fpu/libm-test-ulps: Update.
21959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21961 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21963 * .gitignore: Delete /ports entry.
21965 2012-07-03 Andreas Jaeger <aj@suse.de>
21967 * po/bg.po: Update from translation team.
21968 * po/cs.po: Likewise.
21969 * po/de.po: Likewise.
21970 * po/hr.po: Likewise.
21971 * po/nl.pl: Likewise.
21972 * po/pl.po: Likewise.
21973 * po/vi.po: Likewise.
21975 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21977 * Makeconfig [!+link] (+link-before-libc): New variable.
21978 [!+link] (+link-after-libc): Likewise.
21979 [!+link] (+link-tests): Likewise.
21980 [!+link] (+link): Define in terms of $(+link-before-libc) and
21981 $(+link-after-libc).
21982 [!+link-static] (+link-static-before-libc): New variable.
21983 [!+link-static] (+link-static-after-libc): Likewise.
21984 [!+link-static] (+link-static-tests): Likewise.
21985 [!+link-static] (+link-static): Define in terms of
21986 $(+link-static-before-libc) and $(+link-static-after-libc).
21987 [build-shared] (link-libc-before-gnulib): New variable.
21988 [build-shared] (link-libc-tests): Likewise.
21989 [build-shared] (link-libc): Define in terms of
21990 $(link-libc-before-gnulib).
21991 [!build-shared] (link-libc-tests): New variable.
21992 (link-libc-static-tests): New variable.
21993 [!gnulib] (gnulib-arch): New variable.
21994 [!gnulib] (gnulib-tests): Likewise.
21995 [!gnulib] (static-gnulib-arch): Likewise.
21996 [!gnulib] (static-gnulib-tests): Likewise.
21997 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21998 Define with "=" instead of ":=".
21999 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22000 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22001 * Rules (binaries-all-notests): New variable.
22002 (binaries-all-tests): Likewise.
22003 (binaries-static-notests): Likewise.
22004 (binaries-static-tests): Likewise.
22005 (binaries-all): Define using $(binaries-all-notests) and
22006 $(binaries-all-tests).
22007 (binaries-static): Define using $(binaries-static-notests) and
22008 $(binaries-static-tests).
22009 (binaries-shared-tests): New variable.
22010 (binaries-shared-notests): Likewise.
22011 (binaries-shared): Remove variable.
22012 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22013 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22014 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22015 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22016 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22017 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22018 * elf/Makefile (sln-modules): New variable.
22019 (extra-objs): Add $(sln-modules:=.o).
22020 (ldconfig-modules): Add static-stubs.
22021 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22022 * elf/static-stubs.c: New file.
22025 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22026 by 7 not 8 to examine high bit of fractional part. Use volatile
22027 variables when splitting into final array of floats if
22028 __FLT_EVAL_METHOD__ != 0.
22029 * math/libm-test.inc (cos_test): Add another test.
22030 (sin_test): Likewise.
22031 * sysdeps/i386/fpu/libm-test-ulps: Update.
22034 * math/libm-test.inc (cosh_test): Add more tests.
22036 * version.h (RELEASE): Set to "development".
22037 (VERSION): Set to "2.16.90".
22039 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22041 * NEWS: Update copyright. Remove last-updated date.
22042 Mention math library bug fixes and timezone data changes.
22043 * README: Mention GNU/Hurd, x32, and HPPA support status.
22045 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22047 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22049 2012-06-27 Andreas Jaeger <aj@suse.de>
22051 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22053 2012-06-25 Andreas Jaeger <aj@suse.de>
22055 * sysdeps/s390/fpu/libm-test-ulps: Update.
22057 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22058 Thomas Schwinge <thomas@codesourcery.com>
22060 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22061 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22062 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22065 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22067 * sysdeps/mach/start.c: Remove file.
22068 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22069 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22070 * sysdeps/sh/init-first.c: Likewise.
22072 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22073 registers for frame unwinding purposes, add CFI directives.
22074 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22075 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22076 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22079 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22080 __fortify_fail returning.
22081 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22083 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22084 sysdeps/sh/____longjmp_chk.S.
22085 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22086 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22087 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22088 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22090 * sysdeps/sh/abort-instr.h: New file.
22091 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22092 process in case exit returns.
22094 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22095 initialize the GOT register before use.
22097 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22098 calculation of ARGC > 4.
22100 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22101 meaningful names to some local labels.
22103 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22104 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22106 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22107 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22108 (__arch_compare_and_exchange_val_16_acq): Likewise.
22109 (__arch_compare_and_exchange_val_32_acq): Likewise.
22110 (atomic_exchange_and_add): Fix gUSA sequence.
22111 (atomic_add): Likewise.
22112 (atomic_add_negative): Likewise.
22113 (atomic_add_zero): Likewise.
22114 (atomic_bit_test_set): Likewise.
22116 2012-06-22 Andreas Schwab <schwab@redhat.com>
22119 * include/link.h (struct link_map): Add l_free_initfini.
22120 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22122 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22123 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22124 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22127 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22129 * configure.in: Use AC_LANG_SOURCE.
22130 * configure: Regenerate.
22132 2012-06-22 Roland McGrath <roland@hack.frob.com>
22134 * configure.in (libc_cv_localstatedir): New substituted variable.
22135 * configure: Regenerated.
22136 * config.make.in (localstatedir): New variable, substituted from
22137 libc_cv_localstatedir.
22138 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22139 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22140 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22141 * sysdeps/gnu/configure: Regenerated.
22143 2012-06-21 Jeff Law <law@redhat.com>
22146 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22147 free. Simplify list management for _LIBC case.
22149 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22152 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22153 Clear sign bit of 64-bit integer value before comparing against
22156 * sysdeps/mach/configure: Regenerated.
22158 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22161 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22163 2012-06-21 Jeff Law <law@redhat.com>
22166 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22167 uint16_t for elements in the "seen" array to avoid char overflows.
22168 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22169 * elf/dl-open.c (dl_open_worker): Likewise.
22171 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22173 * scripts/list-sources.sh: Scan PORTS for translations.
22174 * po/libc.pot: Regenerated.
22176 2012-06-21 Andreas Jaeger <aj@suse.de>
22179 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22181 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22182 * bits/byteswap-16.h (__bswap_16): Likewise.
22183 * bits/byteswap.h (__bswap_constant_16): Likewise.
22185 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22188 * sysdeps/i386/fpu_control.h: Removed.
22189 * sysdeps/x86_64/fpu_control.h: Moved to ...
22190 * sysdeps/x86/fpu_control.h: Here.
22192 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22193 (_FPU_SETCW): Likewise.
22195 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22198 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22199 * sysdeps/x86/fpu/bits/mathinline.h: This.
22200 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22204 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22205 functions if __x86_64__ is defined.
22207 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22209 * string/endian.h: Add !__ASSEMBLER__ condition for including
22210 conversion interfaces.
22212 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22216 of ABS(x) in calculating zero to negative powers other than odd
22218 * math/libm-test.inc (pow_test): Add more tests.
22220 2012-06-15 Andreas Jaeger <aj@suse.de>
22222 * manual/contrib.texi (Contributors): Update entry of Liubov
22223 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22226 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22228 * string/string.h: Add __wur to GNU version of strerror_r.
22230 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22233 * string/Makefile (tests): Add tst-strtok_r.
22234 * string/tst-strtok_r.c: New file.
22235 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22236 RAX_LP/RDX_LP on SAVE_PTR.
22238 2012-06-14 Roland McGrath <roland@hack.frob.com>
22240 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22242 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22244 * libm_test.inc (csqrt_test): Allow more spurious underflow
22246 (j0_test): Likewise.
22247 (j1_test): Likewise.
22248 (y0_test): Likewise.
22249 (y1_test): Likewise.
22251 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22253 * po/Makefile (libc.pot): Use UTF-8 charset.
22255 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22258 Suppress sign-conversion warning from FD_SET.
22259 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22260 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22261 not unsigned long int.
22262 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22264 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22268 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22269 __extern_always_inline instead of __extern_inline.
22270 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22271 (__signbit): Likewise.
22272 (__signbitl): Support C++ namespace.
22273 (lrintf): New inline function.
22275 (llrintf): Likewise.
22276 (llrint): Likewise.
22286 (floorf): Likewise.
22287 (nearbyint): Likewise.
22288 (nearbyintf): Likewise.
22290 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22292 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22293 non-default versions.
22295 2012-06-11 Roland McGrath <roland@hack.frob.com>
22298 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22300 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22302 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22303 (FE_UPWARD, FE_DOWNWARD): Don't define.
22304 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22305 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22307 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22309 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22310 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22312 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22314 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22315 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22316 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22317 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22319 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22322 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22323 * sysdeps/i386/fpu/Implies: New file.
22324 * sysdeps/x86_64/fpu/Implies: Likewise.
22325 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22326 * sysdeps/x86/fpu/bits/fenv.h: This.
22328 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22331 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22334 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22335 character 0xffff that matches the last element of the
22338 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22340 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22343 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22345 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22346 values higher than 25.6283.
22348 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22350 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22351 subnormal exponent extraction and add some __builtin_expect.
22352 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22353 Fix for subnormal mantissa calculation.
22355 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22357 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22358 cpu2 is -1 and errno is not ENOSYS.
22360 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22363 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22364 * sysdeps/x86/bits/string.h: This.
22365 * sysdeps/x86_64/bits/string.h: Removed.
22367 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22368 if not compiling for x86-64, but compiling for >= i486.
22370 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22371 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22373 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22374 New macro from Linux kernel 3.4.0.
22375 (FP_XSTATE_MAGIC2): Likewise.
22376 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22377 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22378 (struct _fpx_sw_bytes): New struct.
22379 (struct _xsave_hdr): Likewise.
22380 (struct _ymmh_state): Likewise.
22381 (struct _xstate): Likewise.
22383 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22384 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22385 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22386 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22387 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22388 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22390 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22391 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22392 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22393 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22394 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22395 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22397 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22400 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22401 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22402 (sysdep_headers): Include sys/platform/ppc.h.
22403 * sysdeps/powerpc/test-gettimebase.c: Test for
22404 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22405 * manual/Makefile (appendices): Include platform.texi.
22406 * manual/contrib.texi (Contributors): Update @node pointers.
22407 * manual/maint.texi (Maintenance): Likewise.
22408 (Platform): New node.
22409 * manual/platform.texi: New file. Document the new features.
22411 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22412 Jakub Jelinek <jakub@redhat.com>
22415 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22416 where __builtin_expect is unavailable.
22418 2012-06-03 David S. Miller <davem@davemloft.net>
22420 * stdlib/longlong.h: Updated from GCC.
22422 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22425 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22426 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22429 (GLIBC_2.16): Likewise.
22431 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22433 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22435 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22438 (default-abi): New variable.
22439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22440 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22442 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22444 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22446 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22449 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22450 definition. Document in comment.
22452 2012-06-01 David S. Miller <davem@davemloft.net>
22454 * stdlib/longlong.h: Updated from GCC.
22456 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22459 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22460 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22461 sys/debugreg.h sys/io.h here.
22462 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22463 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22465 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22466 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22467 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22468 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22469 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22470 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22472 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22473 Define only if __x86_64__ is defined.
22475 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22478 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22479 Use int64_t for variable i.
22480 * math/libm-test.inc (fmod_test): Add more tests.
22482 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22483 z computation is not scheduled after fetestexcept.
22484 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22485 Use math_force_eval instead of asm to ensure calculation scheduled
22486 before exception test.
22487 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22488 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22490 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22493 computation is not scheduled after fetestexcept.
22495 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22498 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22499 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22501 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22503 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22504 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22506 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22509 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22511 (__WCHAR_MIN): Support __WORDSIZE == 64.
22512 (__WCHAR_MAX): Likewise.
22514 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22515 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22518 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22519 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22522 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22523 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22525 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22526 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22528 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22529 Defined to 1 if __x86_64__ isn't defined.
22530 (_STAT_VER_LINUX_OLD): New.
22531 (st_atime): Remove duplicate.
22532 (st_mtime): Likewise.
22533 (st_ctime): Likewise.
22535 2012-05-31 David S. Miller <davem@davemloft.net>
22537 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22540 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22542 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22546 * elf/dl-reloc.c: Include <_itoa.h>.
22547 (_dl_reloc_bad_type): Remove use of INTUSE.
22548 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22549 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22550 * stdio-common/psiginfo.c (psiginfo): Likewise.
22551 * stdio-common/psignal.c (psignal): Likewise.
22552 * string/strsignal.c (strsignal): Likewise.
22553 * include/signal.h (_sys_siglist): Declare hidden proto.
22554 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22555 INTVARDEF with libc_hidden_data_def.
22556 * stdio-common/itoa-udigits.c: Likewise.
22557 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22558 (_itoa_lower_digits_internal): Remove declaration.
22559 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22560 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22561 (_sys_sigabbrev_internal): Remove aliases.
22562 (_sys_siglist): Define hidden alias.
22564 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22569 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22572 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22573 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22575 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22576 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22577 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22578 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22579 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22580 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22582 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22583 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22584 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22586 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22594 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22595 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22596 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22598 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22599 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22600 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22601 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22602 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22603 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22605 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22606 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22608 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22609 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22611 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22613 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22615 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22616 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22618 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22620 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22621 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22622 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22624 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22626 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22628 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22630 * math/math.h (M_El): Use two more decimal places.
22631 (M_LOG2El): Likewise.
22632 (M_LOG10El): Likewise.
22633 (M_LN2l): Likewise.
22634 (M_LN10l): Likewise.
22636 (M_PI_2l): Likewise.
22637 (M_PI_4l): Likewise.
22638 (M_1_PIl): Likewise.
22639 (M_2_PIl): Likewise.
22640 (M_2_SQRTPIl): Likewise.
22641 (M_SQRT2l): Likewise.
22642 (M_SQRT1_2l): Likewise.
22644 2012-05-31 David S. Miller <davem@davemloft.net>
22646 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22647 values between float registers.
22648 * sysdeps/sparc/sparc64/memset.S: Likewise.
22649 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22651 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22653 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22654 -D_FORTIFY_SOURCE=1.
22655 (CPPFLAGS-tst-longjmp_chk.c): Define.
22656 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22657 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22658 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22659 CFLAGS-tst-wchar-h.c.
22661 2012-05-31 Marek Polacek <polacek@redhat.com>
22664 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22665 __endmntent_internal): Remove declaration.
22666 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22667 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22668 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22670 2012-05-30 David S. Miller <davem@davemloft.net>
22672 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22673 (___Q_simulate_exceptions): Use real FP ops rather than writing
22675 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22678 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22681 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22682 * sysdeps/x86/bits/xtitypes.h: This.
22684 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22685 * sysdeps/x86/bits/wordsize.h: This.
22687 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22688 * sysdeps/x86/bits/huge_vall.h: This.
22690 * sysdeps/i386/bits/select.h: Removed.
22691 * sysdeps/x86_64/bits/select.h: Renamed to ...
22692 * sysdeps/x86/bits/select.h: This.
22694 * sysdeps/i386/bits/setjmp.h: Removed.
22695 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22696 * sysdeps/x86/bits/setjmp.h: This.
22698 * sysdeps/i386/bits/mathdef.h: Removed.
22699 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22700 * sysdeps/x86/bits/mathdef.h: This.
22702 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22705 * include/sys/socket.h (__connect_internal)
22706 (__libc_sa_len_internal): Remove declaration.
22707 (__connect, __libc_sa_len): Declare hidden_proto.
22708 (SA_LEN): Remove use of INTUSE.
22709 * socket/connect.c: Add libc_hidden_def.
22710 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22711 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22712 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22714 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22715 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22716 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22717 of adding _internal alias.
22719 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22722 * sysdeps/i386/bits/link.h: Removed.
22723 * sysdeps/i386/bits/linkmap.h: Likewise.
22724 * sysdeps/x86_64/bits/link.h: Renamed to ...
22725 * sysdeps/x86/bits/link.h: This.
22726 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22727 * sysdeps/x86/bits/linkmap.h: This.
22729 * sysdeps/i386/bits/endian.h: Removed.
22730 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22731 * sysdeps/x86/bits/endian.h: This.
22733 * sysdeps/i386/bits/byteswap.h: Removed.
22734 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22735 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22736 * sysdeps/x86/bits/byteswap.h: This.
22737 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22738 * sysdeps/x86/bits/byteswap-16.h: This.
22739 * sysdeps/i386/Implies: Add x86.
22740 * sysdeps/x86_64/Implies: Likewise.
22742 2012-05-30 David S. Miller <davem@davemloft.net>
22744 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22745 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22746 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22747 (FP_TRAPPING_EXCEPTIONS): Define.
22748 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22749 (FP_TRAPPING_EXCEPTIONS): Define.
22750 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22751 subnormals only when inexact has been signalled or underflow
22752 exceptions are enabled.
22753 (_FP_PACK_CANONICAL): Likewise.
22755 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22758 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22759 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22761 2012-05-30 Richard Henderson <rth@twiddle.net>
22763 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22764 with #ifndef NOT_IN_libc.
22766 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22767 marked to avoid plt entry.
22769 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22772 * Makeconfig (default-abi): New macro.
22773 (abi-includes): Likewise.
22774 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22775 $(abi-$(default-abi)-lib-soname) for soname if defined.
22776 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22778 * Makefile (installed-stubs): Likewise.
22779 * include/stubs-biarch.h: Removed.
22780 * scripts/lib-names.awk: Only handle one library at a time.
22781 * scripts/soversions.awk: Remove WORDSIZE support.
22782 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22784 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22786 (syscall-list-default-condition): Likewise.
22787 (syscall-list-default-condition): Likewise.
22788 (syscall-list-includes): Likewise.
22789 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22790 syscall-list-* with abi-*. Handle undefined abi-variants.
22791 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22792 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22793 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22794 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22795 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22796 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22798 (syscall-list-32-options): Likewise.
22799 (syscall-list-32-condition): Likewise.
22800 (syscall-list-64-options): Likewise.
22801 (syscall-list-64-condition): Likewise.
22802 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22804 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22807 (abi-64-ld-soname): New macro.
22808 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22809 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22812 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22813 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22815 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22817 * sysdeps/unix/sysv/linux/kernel-features.h
22818 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22819 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22820 include <kernel-features.h>.
22821 [!__NR_ftruncate64]: Remove conditional code.
22822 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22823 [__NR_ftruncate64]: Make code unconditional.
22824 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22825 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22826 include <kernel-features.h>.
22827 [!__NR_ftruncate64]: Remove conditional code.
22828 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22829 [__NR_ftruncate64]: Make code unconditional.
22830 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22832 include <kernel-features.h>.
22833 [!__NR_ftruncate64]: Remove conditional code.
22834 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22835 [__NR_ftruncate64]: Make code unconditional.
22836 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22838 include <kernel-features.h>.
22839 [!__NR_ftruncate64]: Remove conditional code.
22840 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22841 [__NR_ftruncate64]: Make code unconditional.
22842 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22844 * configure.in (libc_cv_fpie): Weaken to a compile test using
22845 LIBC_TRY_CC_OPTION.
22846 * configure: Regenerated.
22848 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22863 2012-05-27 David S. Miller <davem@davemloft.net>
22865 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22867 (__Q_simulate_exceptions): Return void. Change to simulate
22868 exceptions by writing into the %fsr.
22869 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22870 (__Qp_handle_exceptions): Likewise.
22872 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22873 __Qp_handle_exceptions.
22874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22875 __Qp_handle_exceptions.
22876 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22877 as unused and give dummy FP_RND_NEAREST initializer.
22878 (FP_INHIBIT_RESULTS): Define.
22879 (___Q_simulate_exceptions): Update declaration.
22880 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22882 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22883 as unused and give dummy FP_RND_NEAREST initializer.
22884 (__Qp_handle_exceptions): Update declaration.
22885 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22888 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22890 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22891 the temporary FPU control word.
22892 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22893 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22894 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22895 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22896 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22897 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22898 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22899 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22900 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22901 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22902 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22904 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22906 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22909 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22911 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22912 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22913 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22914 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22916 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22917 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22920 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22922 * po/h.po: Update from translation team.
22924 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22926 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22928 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22929 handling of denormals.
22930 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22931 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22932 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22933 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22935 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22936 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22939 2012-05-26 Marek Polacek <polacek@redhat.com>
22942 * math/libm-test.inc (fma_test): Don't always expect underflow
22945 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22948 * elf/tst-execstack.c: Include stackinfo.h.
22949 (do_test): Adjust test case to ensure that pthread_getattr_np
22950 behaviour remains the same after marking stack executable.
22952 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22954 * sysdeps/unix/sysv/linux/kernel-features.h
22955 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22956 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22958 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22959 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22960 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22962 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22963 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22965 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22967 * configure.in: Define the default includes to being none.
22968 * configure: Regenerated.
22970 2012-05-25 Roland McGrath <roland@hack.frob.com>
22972 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22973 * sysdeps/x86_64/setjmp.S: Likewise.
22974 * sysdeps/i386/bsd-setjmp.S: Likewise.
22975 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22976 * sysdeps/i386/setjmp.S: Likewise.
22977 * sysdeps/i386/__longjmp.S: Likewise.
22978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22979 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22981 * include/stap-probe.h: New file.
22982 * configure.in: Handle --enable-systemtap.
22983 * configure: Regenerated.
22984 * config.h.in (USE_STAP_PROBE): New #undef.
22985 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22986 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22987 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22989 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22992 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22993 to 2.4.0 where earlier.
22994 * sysdeps/unix/sysv/linux/configure: Regenerated.
22995 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
23004 [__ASSUME_32BITUIDS]: Make code unconditional.
23005 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23006 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23007 <kernel-features.h>.
23008 [__ASSUME_32BITUIDS]: Make code unconditional.
23009 [!__ASSUME_32BITUIDS]: Remove conditional code.
23010 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23011 <kernel-features.h>.
23012 [__ASSUME_32BITUIDS]: Make code unconditional.
23013 [!__ASSUME_32BITUIDS]: Remove conditional code.
23014 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23015 <kernel-features.h>.
23016 [__ASSUME_32BITUIDS]: Make code unconditional.
23017 [!__ASSUME_32BITUIDS]: Remove conditional code.
23018 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23019 <kernel-features.h>.
23020 [__ASSUME_32BITUIDS]: Make code unconditional.
23021 [!__ASSUME_32BITUIDS]: Remove conditional code.
23022 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23023 <kernel-features.h>.
23024 [__ASSUME_32BITUIDS]: Make code unconditional.
23025 [!__ASSUME_32BITUIDS]: Remove conditional code.
23026 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23027 <kernel-features.h>.
23028 [__ASSUME_32BITUIDS]: Make code unconditional.
23029 [!__ASSUME_32BITUIDS]: Remove conditional code.
23030 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23031 <kernel-features.h>.
23032 [__ASSUME_32BITUIDS]: Make code unconditional.
23033 [!__ASSUME_32BITUIDS]: Remove conditional code.
23034 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23035 <kernel-features.h>.
23036 [__ASSUME_32BITUIDS]: Make code unconditional.
23037 [!__ASSUME_32BITUIDS]: Remove conditional code.
23038 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23039 <kernel-features.h>.
23040 [__ASSUME_32BITUIDS]: Make code unconditional.
23041 [!__ASSUME_32BITUIDS]: Remove conditional code.
23042 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23043 <kernel-features.h>.
23044 [__ASSUME_32BITUIDS]: Make code unconditional.
23045 [!__ASSUME_32BITUIDS]: Remove conditional code.
23046 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23047 <kernel-features.h>.
23048 [__NR_setresgid] (__setresgid): Do not declare.
23049 [__ASSUME_32BITUIDS]: Make code unconditional.
23050 [!__ASSUME_32BITUIDS]: Remove conditional code.
23051 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23052 <kernel-features.h>.
23053 [__NR_setresuid] (__setresuid): Do not declare.
23054 [__ASSUME_32BITUIDS]: Make code unconditional.
23055 [!__ASSUME_32BITUIDS]: Remove conditional code.
23056 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23057 <kernel-features.h>.
23058 [__ASSUME_32BITUIDS]: Make code unconditional.
23059 [!__ASSUME_32BITUIDS]: Remove conditional code.
23060 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23061 <kernel-features.h>.
23062 [__ASSUME_32BITUIDS]: Make code unconditional.
23063 [!__ASSUME_32BITUIDS]: Remove conditional code.
23064 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23065 <kernel-features.h>.
23066 [__ASSUME_32BITUIDS]: Make code unconditional.
23067 [!__ASSUME_32BITUIDS]: Remove conditional code.
23068 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23069 <kernel-features.h>.
23070 [__ASSUME_32BITUIDS]: Make code unconditional.
23071 [!__ASSUME_32BITUIDS]: Remove conditional code.
23072 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23073 <kernel-features.h>.
23074 [__ASSUME_32BITUIDS]: Make code unconditional.
23075 [!__ASSUME_32BITUIDS]: Remove conditional code.
23076 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23077 <kernel-features.h>.
23078 [__ASSUME_32BITUIDS]: Make code unconditional.
23079 [!__ASSUME_32BITUIDS]: Remove conditional code.
23080 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23081 <kernel-features.h>.
23082 [__ASSUME_32BITUIDS]: Make code unconditional.
23083 [!__ASSUME_32BITUIDS]: Remove conditional code.
23084 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23085 <kernel-features.h>.
23086 [__ASSUME_32BITUIDS]: Make code unconditional.
23087 [!__ASSUME_32BITUIDS]: Remove conditional code.
23088 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23089 <kernel-features.h>.
23090 [__ASSUME_32BITUIDS]: Make code unconditional.
23091 [!__ASSUME_32BITUIDS]: Remove conditional code.
23092 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23093 <kernel-features.h>.
23094 [__ASSUME_32BITUIDS]: Make code unconditional.
23095 [!__ASSUME_32BITUIDS]: Remove conditional code.
23096 * sysdeps/unix/sysv/linux/kernel-features.h
23097 (__ASSUME_SETRESUID_SYSCALL): Remove.
23098 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23099 (__ASSUME_32BITUIDS): Likewise.
23100 (__ASSUME_LDT_WORKS): Likewise.
23101 (__ASSUME_O_DIRECTORY): Likewise.
23102 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23103 architecture but not kernel version.
23104 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23105 (__ASSUME_MMAP2_SYSCALL): Likewise.
23106 (__ASSUME_STAT64_SYSCALL): Likewise.
23107 (__ASSUME_IPC64): Likewise.
23108 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23109 <kernel-features.h>.
23110 [__ASSUME_32BITUIDS]: Make code unconditional.
23111 [!__ASSUME_32BITUIDS]: Remove conditional code.
23112 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23113 <kernel-features.h>.
23114 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23115 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23116 132096]: Remove conditional code.
23117 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23118 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23119 <kernel-features.h>.
23120 [__ASSUME_32BITUIDS]: Make code unconditional.
23121 [!__ASSUME_32BITUIDS]: Remove conditional code.
23122 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23123 <kernel-features.h>.
23124 [__ASSUME_32BITUIDS]: Make code unconditional.
23125 [!__ASSUME_32BITUIDS]: Remove conditional code.
23126 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23127 <kernel-features.h>.
23128 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23130 (__setresgid): Do not declare.
23131 [__ASSUME_32BITUIDS]: Make code unconditional.
23132 [!__ASSUME_32BITUIDS]: Remove conditional code.
23133 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23134 <kernel-features.h>.
23135 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23137 (__setresuid): Do not declare.
23138 [__ASSUME_32BITUIDS]: Make code unconditional.
23139 [!__ASSUME_32BITUIDS]: Remove conditional code.
23140 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23141 <kernel-features.h>.
23142 [__ASSUME_32BITUIDS]: Make code unconditional.
23143 [!__ASSUME_32BITUIDS]: Remove conditional code.
23144 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23145 <kernel-features.h>.
23146 [__ASSUME_32BITUIDS]: Make code unconditional.
23147 [!__ASSUME_32BITUIDS]: Remove conditional code.
23149 2012-05-25 Richard Henderson <rth@twiddle.net>
23151 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23152 dl_hwcap to ifunc resolver.
23153 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23155 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23156 dl_hwcap to ifunc resolver.
23157 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23159 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23162 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23163 for |x| <= 2**-26, not 2**-57.
23164 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23167 2012-05-24 Jeff Law <law@redhat.com>
23169 * stdio-common/Makefile (tests): Add bug25.
23170 * stdio-common/bug25.c: New test.
23172 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23175 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23176 multiple of MALLOC_ALIGNMENT in size.
23177 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23179 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23181 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23183 (FILENAME_MAX): Use macro-int-constant.
23184 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23185 (_IOFBF): Use macro-int-constant.
23186 (_IOLBF): Likewise.
23187 (_IONBF): Likewise.
23188 (SEEK_CUR): Likewise.
23189 (SEEK_END): Likewise.
23190 (SEEK_SET): Likewise.
23191 (TMP_MAX): Likewise.
23192 (EOF): Use macro-int-constant. Require < 0.
23193 (NULL): Use macro-constant. Require == 0.
23194 (stdin): Require type to be FILE *.
23195 (stdout): Likewise.
23196 (stderr): Likewise.
23197 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23198 macro-int-constant.
23199 (EXIT_SUCCESS): Likewise.
23200 (NULL): Use macro-constant. Require == 0.
23201 (RAND_MAX): Use macro-int-constant.
23202 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23203 [C99-based standards] (strtof): Require function.
23204 [C99-based standards] (strtold): Likewise.
23205 [C99-based standards] (strtoll): Likewise.
23206 [C99-based standards] (strtoull): Likewise.
23207 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23208 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23209 [ISO || ISO99 || ISO11] (math.h): Likewise.
23210 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23211 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23214 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23217 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23218 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23219 * intl/dgettext.c (DCGETTEXT): Likewise.
23220 * intl/gettext.c (DCGETTEXT): Likewise.
23221 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23222 * posix/regex_internal.h (gettext): Likewise.
23223 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23224 Remove declaration.
23225 * include/argz.h (__argz_count_internal)
23226 (__argz_stringify_internal): Remove declaration.
23227 (__argz_count, __argz_stringify): Declare hidden proto.
23228 * intl/dcgettext.c: Remove use of INTDEF.
23229 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23230 * string/argz-stringify.c: Likewise.
23231 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23232 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23233 Declare hidden proto.
23234 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23235 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23236 Declare hidden proto.
23237 * include/stdio.h (__asprintf_internal): Don't declare.
23238 (__asprintf): Don't define as macro. Declare hidden proto.
23239 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23240 (__fsetlocking): Declare hidden proto.
23241 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23242 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23244 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23245 (_IO_setlinebuf): Remove use of INTUSE.
23246 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23247 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23248 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23249 Remove declaration.
23250 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23251 (_IO_do_flush): Remove use of INTUSE.
23252 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23253 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23254 (_IO_adjust_column, _IO_least_wmarker)
23255 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23256 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23257 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23258 (_IO_default_doallocate, _IO_wdefault_doallocate)
23259 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23260 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23261 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23262 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23263 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23264 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23265 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23266 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23267 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23268 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23269 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23270 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23271 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23273 (_IO_flush_all_internal, _IO_adjust_column_internal)
23274 (_IO_default_uflow_internal, _IO_default_finish_internal)
23275 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23276 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23277 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23278 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23279 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23280 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23281 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23282 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23283 (_IO_file_close_internal, _IO_file_close_it_internal)
23284 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23285 (_IO_file_init_internal, _IO_file_attach_internal)
23286 (_IO_file_fopen_internal, _IO_file_read_internal)
23287 (_IO_file_sync_internal, _IO_file_seek_internal)
23288 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23289 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23290 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23291 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23292 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23293 (_IO_list_all_internal, _IO_link_in_internal)
23294 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23295 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23296 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23297 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23298 (_IO_do_write_internal, _IO_padn_internal)
23299 (_IO_getline_info_internal, _IO_getline_internal)
23300 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23301 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23302 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23303 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23304 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23305 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23306 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23307 with libc_hidden_ver, remove use of INTUSE.
23308 * libio/genops.c: Likewise.
23309 * libio/freopen.c: Likewise.
23310 * libio/freopen64.c: Likewise.
23311 * libio/iofclose.c: Likewise.
23312 * libio/iofdopen.c: Likewise.
23313 * libio/iofflush.c: Likewise.
23314 * libio/iofflush_u.c: Likewise.
23315 * libio/iofgets.c: Likewise.
23316 * libio/iofgets_u.c: Likewise.
23317 * libio/iofopen.c: Likewise.
23318 * libio/iofopncook.c: Likewise.
23319 * libio/iofread.c: Likewise.
23320 * libio/iofread_u.c: Likewise.
23321 * libio/ioftell.c: Likewise.
23322 * libio/iofwrite.c: Likewise.
23323 * libio/iogetline.c: Likewise.
23324 * libio/iogets.c: Likewise.
23325 * libio/iogetwline.c: Likewise.
23326 * libio/iopadn.c: Likewise.
23327 * libio/iopopen.c: Likewise.
23328 * libio/ioseekoff.c: Likewise.
23329 * libio/ioseekpos.c: Likewise.
23330 * libio/iosetbuffer.c: Likewise.
23331 * libio/iosetvbuf.c: Likewise.
23332 * libio/ioungetc.c: Likewise.
23333 * libio/ioungetwc.c: Likewise.
23334 * libio/iovdprintf.c: Likewise.
23335 * libio/iovsprintf.c: Likewise.
23336 * libio/iovsscanf.c: Likewise.
23337 * libio/memstream.c: Likewise.
23338 * libio/obprintf.c: Likewise.
23339 * libio/oldfileops.c: Likewise.
23340 * libio/oldiofclose.c: Likewise.
23341 * libio/oldiofdopen.c: Likewise.
23342 * libio/oldiofopen.c: Likewise.
23343 * libio/oldiopopen.c: Likewise.
23344 * libio/oldstdfiles.c: Likewise.
23345 * libio/putc.c: Likewise.
23346 * libio/setbuf.c: Likewise.
23347 * libio/setlinebuf.c: Likewise.
23348 * libio/stdfiles.c: Likewise.
23349 * libio/strops.c: Likewise.
23350 * libio/vasprintf.c: Likewise.
23351 * libio/vscanf.c: Likewise.
23352 * libio/vsnprintf.c: Likewise.
23353 * libio/vswprintf.c: Likewise.
23354 * libio/wfiledoalloc.c: Likewise.
23355 * libio/wfileops.c: Likewise.
23356 * libio/wgenops.c: Likewise.
23357 * libio/wmemstream.c: Likewise.
23358 * libio/wstrops.c: Likewise.
23359 * libio/__fpurge.c: Likewise.
23360 * libio/__fsetlocking.c: Likewise.
23361 * assert/assert.c: Likewise.
23362 * debug/fgets_chk.c: Likewise.
23363 * debug/fgets_u_chk.c: Likewise.
23364 * debug/fread_chk.c: Likewise.
23365 * debug/fread_u_chk.c: Likewise.
23366 * debug/gets_chk.c: Likewise.
23367 * debug/obprintf_chk.c: Likewise.
23368 * debug/vasprintf_chk.c: Likewise.
23369 * debug/vdprintf_chk.c: Likewise.
23370 * debug/vsnprintf_chk.c: Likewise.
23371 * debug/vsprintf_chk.c: Likewise.
23372 * malloc/mtrace.c: Likewise.
23373 * misc/error.c: Likewise.
23374 * misc/syslog.c: Likewise.
23375 * stdio-common/asprintf.c: Likewise.
23376 * stdio-common/fxprintf.c: Likewise.
23377 * stdio-common/getw.c: Likewise.
23378 * stdio-common/isoc99_fscanf.c: Likewise.
23379 * stdio-common/isoc99_scanf.c: Likewise.
23380 * stdio-common/isoc99_vfscanf.c: Likewise.
23381 * stdio-common/isoc99_vscanf.c: Likewise.
23382 * stdio-common/isoc99_vsscanf.c: Likewise.
23383 * stdio-common/printf-prs.c: Likewise.
23384 * stdio-common/printf_fp.c: Likewise.
23385 * stdio-common/printf_fphex.c: Likewise.
23386 * stdio-common/printf_size.c: Likewise.
23387 * stdio-common/putw.c: Likewise.
23388 * stdio-common/scanf.c: Likewise.
23389 * stdio-common/sprintf.c: Likewise.
23390 * stdio-common/tmpfile.c: Likewise.
23391 * stdio-common/vfprintf.c: Likewise.
23392 * stdio-common/vfscanf.c: Likewise.
23393 * stdlib/strfmon_l.c: Likewise.
23394 * sunrpc/openchild.c: Likewise.
23395 * sunrpc/xdr_stdio.c: Likewise.
23396 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23397 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23399 2012-05-24 Roland McGrath <roland@hack.frob.com>
23401 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23403 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23404 in the third column, to generate for the shared library an IFUNC
23405 that uses _dl_vdso_vsym.
23406 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23407 * Makeconfig (object-suffixes-noshared): New variable.
23409 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23410 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23411 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23412 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23415 * include/sys/time.h (__gettimeofday): Remove macro.
23416 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23417 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23419 (__gettimeofday): Add libc_hidden_def.
23420 (gettimeofday): Add libc_hidden_weak.
23421 * sysdeps/mach/gettimeofday.c: Likewise.
23422 * sysdeps/posix/gettimeofday.c: Likewise.
23423 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23424 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23425 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23426 (__gettimeofday_internal): Remove strong_alias.
23427 (__gettimeofday): Add libc_hidden_def.
23428 (gettimeofday): Add libc_hidden_weak.
23429 * sysdeps/unix/syscalls.list (gettimeofday):
23430 Remove __gettimeofday_internal alias.
23432 2012-05-24 Daniel Jacobowitz <drow@false.org>
23433 H.J. Lu <hongjiu.lu@intel.com>
23436 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23437 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23438 (largebin_index_32_big): New.
23439 (largebin_index): Use it for 16-byte alignment.
23440 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23441 correction with front_misalign.
23443 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23471 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23472 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23474 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23478 * math/libm-test.inc (exp_test): Add test from bug 14036.
23479 (pow_test): Add test from bug 10846.
23481 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23483 (special_function): Do not include flags in test name.
23484 (parse_args): Likewise.
23485 * sysdeps/i386/fpu/libm-test-ulps: Update.
23486 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23487 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23488 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23491 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23493 * math/libm-test.inc ("Philosophy"): Update comment about
23495 (UNDERFLOW_EXCEPTION): New macro.
23496 (UNDERFLOW_EXCEPTION_OK): Likewise.
23497 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23498 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23499 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23500 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23501 (INVALID_EXCEPTION_OK): Update value.
23502 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23503 (OVERFLOW_EXCEPTION_OK): Likewise.
23504 (IGNORE_ZERO_INF_SIGN): Likewise.
23505 (test_exceptions): Handle underflow exceptions.
23506 (acos_test): Update for underflow exception expectations.
23507 (cexp_test): Likewise.
23508 (clog_test): Likewise.
23509 (clog10_test): Likewise.
23510 (csqrt_test): Likewise.
23511 (ctan_test): Likewise.
23512 (ctanh_test): Likewise.
23513 (exp_test): Likewise.
23514 (exp10_test): Likewise.
23515 (exp2_test): Likewise.
23516 (expm1_test): Likewise.
23517 (fma_test): Likewise.
23518 (j0_test): Likewise.
23519 (jn_test): Likewise.
23520 (nexttoward_test): Likewise.
23521 (pow_test): Likewise.
23522 (scalbn_test): Likewise.
23523 (scalbln_test): Likewise.
23524 (tan_test): Likewise.
23525 (y1_test): Likewise.
23526 * sysdeps/i386/fpu/libm-test-ulps: Update.
23527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23529 2012-05-23 David S. Miller <davem@davemloft.net>
23531 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23532 (__libc_sigaction): Remove unused local variables.
23534 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23536 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23538 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23540 mktime: avoid signed integer overflow
23541 * time/mktime.c (__mktime_internal): Do not mishandle the case
23542 where diff == INT_MIN.
23544 mktime: simplify computation of average
23545 * time/mktime.c (ranged_convert): Use new time_t_avg function
23546 instead of rolling our own (probably-slower) code.
23548 mktime: do not assume signed right shift propagates sign bit
23549 * time/mktime.c (isdst_differ): New static function.
23550 (__mktime_internal): No need to normalize tm_isdst now.
23551 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23554 mktime: merge another wrapv change from gnulib
23555 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23556 from some compilers.
23558 mktime: remove incorrect attempt at unusual arithmetics
23559 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23560 The code didn't really work on such machines anyway.
23561 (TYPE_MINIMUM): Assume two's complement.
23562 (twos_complement_arithmetic): Verify that long_int and time_t
23563 are two's complement (or unsigned, in the latter case).
23565 mktime: check signed shifts on long_int and time_t, too
23566 * time/mktime.c (SHR): Check that shifts work as desired
23567 on the types long_int and time_t too, as SHR is used on
23570 mktime: do not assume 'long' is wide enough
23571 * time/mktime.c (verify): Move decl up.
23572 (long_int): New type.
23573 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23574 to remove assumption in the code that 'long' is wide enough to
23575 store year values. This assumption is not true on x32 and on
23576 some non-glibc platforms.
23578 mktime: merge wrapv change from gnulib
23579 * time/mktime.c (WRAPV): New macro.
23580 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23581 (guess_time_tm, __mktime_internal): Do not assume that signed
23582 integer overflow wraps around; modern compilers generate code
23583 where this assumption is no longer valid.
23585 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23587 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23588 Replace "jmp L(pseudo_end)" with "ret".
23589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23592 2012-05-23 Andreas Jaeger <aj@suse.de>
23594 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23595 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23597 2012-05-23 Andreas Jaeger <aj@suse.de>
23598 Maximilian Attems <max@stro.at>
23600 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23603 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23605 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23606 code so that pseudo_end is just ret and the stack pointer is
23607 correct also for static library in error case.
23609 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23611 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23612 move to syscalls.list.
23613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23618 * manual/install.texi (Running make install): Do not mention Linux
23619 kernel version for which pt_chown is not needed.
23620 (Linux): Do not mention problems with nscd with 2.0 kernels.
23621 * INSTALL: Regenerated.
23623 2012-05-23 Andreas Jaeger <aj@suse.de>
23625 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23626 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23628 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23629 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23630 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23631 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23632 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23633 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23634 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23635 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23636 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23637 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23638 * sysdeps/unix/sysv/linux/bits/in.h
23639 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23641 2012-05-22 Roland McGrath <roland@hack.frob.com>
23643 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23644 (PREPARE_VERSION): Just use assert instead, it will be elided
23645 under [NDEBUG] anyway.
23647 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23649 * sysdeps/unix/sysv/linux/Makefile: Include
23650 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23651 (sysdep_routines): Remove sysctl.
23652 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23653 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23654 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23655 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23656 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23658 2012-05-22 Andreas Jaeger <aj@suse.de>
23660 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23661 that pseudo_end is just ret and the stack pointer is correct also
23662 for static library in error case.
23664 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23667 * nss/nsswitch.c (defconfig_entries): New variable.
23668 (__nss_database_lookup): Don't leak defconfig entries.
23669 (nss_parse_service_list): Don't leak on error paths.
23670 (free_database_entries): New function.
23671 (free_defconfig): New function.
23672 (free_mem): Move common code to free_database_entries.
23674 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23676 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23678 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23680 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23681 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23682 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23684 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23685 (INTERNAL_SYSCALL_TYPES): Likewise.
23686 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23687 (LOAD_REGS_TYPES_[1-6]): Likewise.
23688 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23689 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23691 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23693 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23694 copysignl for GLIBC_2_0.
23695 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23696 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23698 logbl for GLIBC_2_0.
23699 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23700 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23702 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23705 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23707 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23710 * time/mktime.c: Update copyright years.
23712 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23714 mktime: merge comment-quoting-style change from gnulib
23715 * time/mktime.c: Quote 'like this' in comments.
23716 The GNU coding standards suggest that we no longer quote `like this',
23717 as "`" and "'" are typically rendered asymmetrically nowadays.
23718 The typical gnulib style is to quote 'like this' when quoting
23719 code, and "like this" when quoting English.
23721 * time/mktime.c (compile-command): Add "-I.".
23723 mktime: merge mktime-internal.h change from gnulib
23724 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23726 mktime: merge time_r change from gnulib
23727 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23729 mktime: merge DEBUG change from gnulib
23730 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23731 case system <time.h> has a #define.
23733 mktime: merge <sys/types.h> change from gnulib
23734 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23735 since <time.t> is now guaranteed to define time_t.
23737 mktime: merge HAVE_CONFIG_H change from gnulib
23738 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23740 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23745 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23747 (struct rusage): Use anonymous union to pad each field to
23750 2012-05-21 David S. Miller <davem@davemloft.net>
23752 * Makefules (o-iterator): Remove .s cases.
23753 (compile-command.s): Delete.
23754 (COMPILE.s): Delete.
23755 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23757 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23759 * configure.in (libc_cv_predef_stack_protector): Only consider
23760 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23761 * configure: Regenerated.
23763 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23766 New macro. Use R*LP on int and pointer.
23767 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23768 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23769 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23770 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23772 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23773 [__WORDSIZE_TIME64_COMPAT32] instead of
23774 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23775 (struct utmp): Likewise.
23776 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23777 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23779 (__WORDSIZE_TIME64_COMPAT32): This.
23780 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23781 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23782 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23783 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23784 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23785 (__WORDSIZE_TIME64_COMPAT32): New macro.
23787 2012-05-21 Andreas Jaeger <aj@suse.de>
23789 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23790 only if [SHARED]. Add prototype for __wcschr_ia32.
23792 2012-05-21 Roland McGrath <roland@hack.frob.com>
23794 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23795 of %rbp unmolested in the jmp_buf while mangling the low bits.
23796 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23797 unmolested high bits of %rbp while demangling the low bits.
23798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23800 2012-05-21 Andreas Jaeger <aj@suse.de>
23802 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23803 * sunrpc/svc_simple.c: Use it for registerrpc.
23804 * sunrpc/xcrypt.c: Use it for passwd2des.
23806 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23808 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23810 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23811 Don't define if [__SYSCALL_WORDSIZE != 32].
23812 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23815 2012-05-21 Bruno Haible <bruno@clisp.org>
23816 Andreas Jaeger <aj@suse.de>
23818 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23819 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23820 inptr and inend for must_buffer_ch.
23821 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23822 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23823 * stdio-common/Makefile (tests): Remove bug15.
23824 (bug15-ENV): Remove macro.
23825 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23828 2012-05-19 Andreas Jaeger <aj@suse.de>
23829 Roland McGrath <roland@hack.frob.com>
23831 * manual/contrib.texi: Completely rewritten. It contains now an
23832 alphabetical list of contributors and their contributions.
23834 2012-05-21 Richard Henderson <rth@twiddle.net>
23836 * misc/getauxval.c (__getauxval): Use unsigned long int.
23837 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23838 (getauxval): Use unsigned long int.
23840 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23842 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23844 2012-05-21 Roland McGrath <roland@hack.frob.com>
23846 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23847 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23848 __alignof__ (long double).
23850 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23854 2012-05-20 Richard Henderson <rth@twiddle.net>
23856 * misc/getauxval.c: New file.
23857 * misc/sys/auxv.h: New file.
23858 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23859 (routines): Add getauxval.
23860 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23861 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23862 * elf/dl-sysdep.c (_dl_auxv): Remove.
23863 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23864 * elf/dl-support.c (_dl_auxv): New variable.
23865 (_dl_aux_init): Initialize it.
23866 * manual/startup.texi (Auxiliary Vector): New node.
23867 * sysdeps/generic/bits/hwcap.h: New file.
23868 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23869 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23870 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23871 * sysdeps/sparc/sysdep.h: ... here. Include it.
23872 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23873 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23879 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23885 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23889 2012-05-19 David S. Miller <davem@davemloft.net>
23891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23893 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23896 * math/s_ccosh.c: Include <float.h>
23897 (__ccosh): Avoid internal overflow calculating sinh and cosh
23898 values before multiplying by sin and cos values.
23899 * math/s_ccoshf.c: Likewise.
23900 * math/s_ccoshl.c: Likewise.
23901 * math/s_csin.c: Likewise.
23902 * math/s_csinf.c: Likewise.
23903 * math/s_csinl.c: Likewise.
23904 * math/s_csinh.c: Likewise.
23905 * math/s_csinhf.c: Likewise.
23906 * math/s_csinhl.c: Likewise.
23907 * math/libm-test.inc (ccos_test): Add more tests.
23908 (ccosh_test): Likewise.
23909 (csin_test): Likewise.
23910 (csinh_test): Likewise.
23911 * sysdeps/i386/fpu/libm-test-ulps: Update.
23912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23914 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23916 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23917 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23919 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23921 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23923 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23924 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23925 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23926 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23927 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23928 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23929 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23930 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23931 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23932 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23933 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23934 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23935 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23936 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23937 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23938 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23939 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23940 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23941 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23942 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23943 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23944 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23945 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23946 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23947 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23948 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23949 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23950 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23951 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23952 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23953 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23955 2012-05-18 Andreas Jaeger <aj@suse.de>
23957 * csu/.gitignore: Delete.
23959 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23961 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23962 (timex): Use __syscall_slong_t.
23964 2012-05-18 Andreas Jaeger <aj@suse.de>
23965 Carlos O'Donell <carlos_odonell@mentor.com>
23967 * manual/install.texi (Configuring and compiling): Update
23968 description about files modified in the source directory.
23969 * INSTALL: Regenerated.
23971 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23973 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23974 value. Use "or" to set return value to -1.
23975 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23976 negate return value.
23978 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23980 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23981 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23982 failure if the compiler has Graphite support disabled.
23983 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23985 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23986 CFLAGS-memmove.c): Likewise.
23987 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23990 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23992 * sysdeps/x86_64/x32/_itoa.h: New file.
23994 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23995 getdents system call only if kernel and user dirents have the
23996 same d_ino and d_off.
23998 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23999 LLONG_MAX != LONG_MAX.
24000 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24001 (_fitoa_word): Likewise.
24003 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24005 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24006 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24007 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24009 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24010 include <bits/wordsize.h>. Check __x86_64__ instead of
24012 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24013 if __x86_64__ is defined. Use anonymous union on fpstate.
24015 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24018 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24020 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24021 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24022 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24023 Refer to _rtld_local_ro instead of _rtld_global_ro.
24024 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24026 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24028 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24030 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24031 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24032 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24034 * sysdeps/powerpc/powerpc32/dl-machine.c
24035 (__elf_machine_runtime_setup) [PROF]: Don't reference
24038 2012-05-18 Andreas Jaeger <aj@suse.de>
24040 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24041 function only available for GCCs before 3.4 since GCC 3.4
24042 introduced a builtin.
24044 (llrintf): Likewise.
24045 (llrint): Likewise.
24052 (nearbyint): Likewise.
24053 (nearbyintf): Likewise.
24057 (floorf): Likewise.
24059 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24061 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24062 on both fields and cast pointer to __syscall_ulong_t.
24064 * bits/types.h (__fsword_t): New type.
24065 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24066 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24067 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24068 (__FSWORD_T_TYPE): Likewise.
24069 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24070 (__FSWORD_T_TYPE): Likewise.
24071 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24072 (__FSWORD_T_TYPE): Likewise.
24073 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24074 (__FSWORD_T_TYPE): Likewise.
24075 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24076 __SWORD_TYPE with __fsword_t.
24077 (statfs64): Likewise.
24079 2012-05-17 David S. Miller <davem@davemloft.net>
24081 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24083 2012-05-17 Andreas Jaeger <aj@suse.de>
24085 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24088 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24090 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24092 2012-05-17 Andreas Jaeger <aj@suse.de>
24094 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24097 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24099 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24101 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24103 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24104 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24106 2012-05-17 Andreas Jaeger <aj@suse.de>
24107 Carlos O'Donell <carlos_odonell@mentor.com>
24110 * sysdeps/x86_64/multiarch/init-arch.h
24111 (bit_YMM_Usable): Rename to...
24112 (bit_AVX_Usable): ... this.
24113 (bit_FMA4_Usable): New macro.
24114 (bit_XMM_state): New macro.
24115 (bit_YMM_state): New macro.
24116 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24117 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24118 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24119 (CPUID_OSXSAVE): New macro.
24120 (CPUID_AVX): New macro.
24121 (CPUID_FMA4): New macro.
24122 (index_YMM_Usable): Rename to...
24123 (index_AVX_Usable): ... this.
24124 (HAS_AVX): Use HAS_ARCH_FEATURE.
24125 (HAS_FMA4): Likewise.
24126 (HAS_YMM_USABLE): Remove.
24127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24128 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24130 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24131 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24132 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24133 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24134 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24136 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24138 * math/libm-test.c: Support platforms without multiple rounding modes.
24139 * math/bug-nextafter.c: Support platforms without FP exceptions.
24140 * math/bug-nexttoward.c: Likewise.
24141 * math/test-fenv.c: Likewise.
24142 * math/test-misc.c: Likewise.
24143 * stdlib/bug-getcontext.c: Likewise.
24145 2012-05-17 Andreas Jaeger <aj@suse.de>
24147 * manual/examples/search.c (critter_cmp): Change signature to
24149 * manual/string.texi (Collation Functions): Likewise.
24151 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24153 * bits/types.h: Fold copyright years.
24154 * bits/typesizes.h: Likewise.
24155 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24156 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24157 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24158 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24159 * time/time.h: Likewise.
24161 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24164 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24165 in instead of returning them. Return void.
24166 (__libc_mallinfo): Accumulate over all arenas.
24167 (__malloc_stats): Adjust for change in int_mallinfo interface.
24169 2012-05-16 Roland McGrath <roland@hack.frob.com>
24172 * configure.in (NM): Add AC_CHECK_TOOL for it.
24173 (libc_extra_cflags): New substituted variable.
24174 Check for -fstack-protector being used implicitly.
24175 * configure: Regenerated.
24176 * config.make.in (config-extra-cflags): New variable,
24177 gets @libc_extra_cflags@.
24178 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24181 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24182 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24183 * configure: Regenerated.
24184 * config.make.in (CPPUNDEFS): New substituted variable.
24185 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24186 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24187 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24189 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24191 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24192 (mq_attr): Use __syscall_slong_t.
24194 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24196 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24197 Check __x86_64__ instead of __WORDSIZE.
24198 (_STAT_VER_LINUX): Likewise.
24199 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24200 __syscall_ulong_t and __syscall_slong_t.
24201 (stat64): Likewise.
24203 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24205 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24207 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24209 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24211 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24213 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24216 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24217 include <bits/wordsize.h>. Check __x86_64__ instead of
24219 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24221 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24223 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24224 include <bits/wordsize.h>. Check __x86_64__ instead of
24226 (user_regs_struct): Use "__extension__ unsigned long long"
24227 instead of "unsigned long" if __x86_64__ is defined.
24228 (user): Likewise. Pad after pointer field if __ILP32__ is
24231 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24233 * configure.in (makeinfo): Require version 4.5 or later. Allow
24235 * configure: Regenerated.
24236 * manual/install.texi (texinfo): Increase version requirement to
24238 * INSTALL: Regenerated.
24240 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24242 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24244 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24246 * sysdeps/x86_64/x32/ffs.c: New file.
24248 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24250 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24251 defined. Use __syscall_ulong_t.
24252 (shminfo): Use __syscall_ulong_t.
24253 (shm_info): Likewise.
24255 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24258 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24260 (msgqnum_t): Use __syscall_ulong_t.
24261 (msglen_t): Likewise.
24262 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24265 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24266 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24268 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24270 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24271 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24273 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24276 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24277 include <bits/wordsize.h>. Check __x86_64__ instead of
24280 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24281 "unsigned long long int" if __x86_64__ is defined.
24282 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24284 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24285 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24286 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24288 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24290 (GET_PC): Cast to uintptr_t first.
24291 (GET_FRAME): Likewise.
24292 (GET_STACK): Likewise.
24294 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24295 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24296 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24297 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24298 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24299 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24300 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24301 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24302 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24303 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24304 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24305 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24306 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24307 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24308 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24309 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24310 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24311 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24312 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24313 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24314 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24315 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24316 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24317 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24318 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24319 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24320 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24321 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24322 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24324 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24326 * Makerules (+depfiles): Also collect depfiles from .oS in
24328 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24329 .oS, $(libnldbl-routines)).
24331 * Makerules (native-compile-mkdep-flags): Define.
24332 * sunrpc/Makefile (extra-objs): Add $(addprefix
24333 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24334 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24335 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24336 calling $(make-target-directory).
24338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24340 * bits/types.h (__snseconds_t): Removed.
24341 * time/time.h (struct timespec): Replace __snseconds_t with
24343 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24344 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24347 (__SNSECONDS_T_TYPE): Likewise.
24348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24349 (__SNSECONDS_T_TYPE): Likewise.
24350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24351 (__SNSECONDS_T_TYPE): Likewise.
24353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24355 * sysdeps/mach/hurd/bits/typesizes.h
24356 (__SYSCALL_SLONG_TYPE): New macro.
24357 (__SYSCALL_ULONG_TYPE): Likewise.
24359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24361 * bits/types.h (__syscall_slong_t): New type.
24362 (__syscall_ulong_t): Likewise.
24364 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24365 (__SYSCALL_ULONG_TYPE): Likewise.
24366 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24367 (__SYSCALL_SLONG_TYPE): Likewise.
24368 (__SYSCALL_ULONG_TYPE): Likewise.
24369 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24370 (__SYSCALL_SLONG_TYPE): Likewise.
24371 (__SYSCALL_ULONG_TYPE): Likewise.
24372 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24373 (__SYSCALL_SLONG_TYPE): Likewise.
24374 (__SYSCALL_ULONG_TYPE): Likewise.
24376 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24378 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24379 Add sigaltstack-offsets.sym.
24380 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24381 <sigaltstack-offsets.h>.
24382 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24383 longjmp_msg pointer.
24384 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24385 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24387 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24389 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24391 * elf/stackguard-macros.h: Remove file.
24392 * sysdeps/generic/stackguard-macros.h: New file.
24393 * sysdeps/i386/stackguard-macros.h: Likewise.
24394 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24395 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24396 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24397 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24398 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24399 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24400 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24401 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24402 <elf/stackguard-macros.h>.
24405 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24406 __aligned__ in attribute.
24407 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24408 (gregset_t): Likewise.
24410 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24412 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24413 * sysdeps/x86_64/64/Implies-after: Here. New file.
24414 * sysdeps/x86_64/x32/Implies-after: New file.
24416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24418 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24419 and access return value for _dl_profile_fixup. Use R10_LP to
24422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24424 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24428 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24429 * sysdeps/x86_64/x32/sysdep.h: New file.
24431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24433 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24434 * sysdeps/x86_64/setjmp.S: Likewise.
24436 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24438 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24439 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24440 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24441 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24442 remove unused global constant.
24444 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24446 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24447 include of <not-cancel.h>.
24449 2012-05-15 Roland McGrath <roland@hack.frob.com>
24451 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24453 2012-05-15 Jeff Law <law@redhat.com>
24454 Andreas Jaeger <aj@suse.de>
24457 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24459 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24460 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24461 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24462 code changing __hst_map_handle.map.
24464 2012-05-15 Roland McGrath <roland@hack.frob.com>
24466 * configure.in (sysnames): Look for Implies-before and Implies-after
24468 * configure: Regenerated.
24470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24472 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24473 8-byte data alignment with LP_SIZE alignment.
24475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24477 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24482 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24486 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24487 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24488 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24490 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24494 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24495 (stackinfo_sub_sp): Likewise.
24497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24499 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24502 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24504 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24507 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24509 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24512 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24514 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24518 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24519 into R11_LP and load __x86_64_shared_cache_size_half into
24522 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24527 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24531 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24533 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24535 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24536 powerpc32/power7/fpu/s_logb.c via #include.
24537 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24538 powerpc32/power7/fpu/s_logbf.c via #include.
24539 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24540 powerpc32/power7/fpu/s_logbl.c via #include.
24542 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24544 * README.libm: Remove file.
24546 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24548 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24549 count for x32. Use R*_LP and omit operand-size suffix.
24551 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24553 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24554 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24555 * sysdeps/x86_64/x32/shlib-versions: New file.
24557 2012-05-14 Roland McGrath <roland@hack.frob.com>
24559 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24560 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24561 Use _dl_fatal_printf instead.
24563 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24565 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24566 set if not set by the user. Do not allow for being unset.
24567 * sysdeps/unix/sysv/linux/configure: Regenerated.
24569 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24571 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24572 the `q' suffix from lea and replace .quad with ASM_ADDR.
24574 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24577 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24579 (PTR_DEMANGLE): Likewise.
24581 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24583 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24585 (ASM_ADDR): Likewise.
24586 (RAX_LP): Likewise.
24587 (RBP_LP): Likewise.
24588 (RBX_LP): Likewise.
24589 (RCX_LP): Likewise.
24590 (RDI_LP): Likewise.
24591 (RSI_LP): Likewise.
24592 (RSP_LP): Likewise.
24595 (R10_LP): Likewise.
24596 (R10_LP): Likewise.
24597 (R11_LP): Likewise.
24598 (R12_LP): Likewise.
24599 (R13_LP): Likewise.
24600 (R14_LP): Likewise.
24601 (R15_LP): Likewise.
24603 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24605 * sysdeps/x86_64/x32/dl-machine.h: New file.
24607 2012-05-14 Andreas Jaeger <aj@suse.de>
24609 * manual/Makefile (subdir): Remove export of subdir.
24610 (all): Remove target.
24611 (.PHONY): Remove all from list.
24612 (mkinstalldirs): Remove.
24613 (.PHONY): Remove installdirs from list.
24614 ($(inst_infodir)/libc.info): Use make-target-directory.
24615 (installdirs): Remove.
24616 (subdir_%): Remove.
24617 (glibc-targets): Remove.
24620 ($(objpfx)stubs ../po/manual.pot): Remove.
24621 ($(objpfx)stamp%): Remove.
24622 (make-target-directory): Remove.
24623 (subdir_install): Remove.
24624 (routines): Remove.
24631 * manual/.gitignore: Remove, it's not needed anymore.
24632 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24634 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24636 (texis): Renamed to $(objpfx)texis.
24637 (texis-path): New, contains path to generated files.
24638 (chapters.%): Use texis-path for complete path, add extra argument
24640 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24641 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24642 (summary,texi, stamp-summary): Use complete path of
24643 files. Generate files in build dir.
24644 (dir-add.texi): Build in build dir.
24645 (libm-err.texi,stamp-libm-err): Likewise.
24646 (version.texi, stamp-version): Likewise.
24647 (.%c.texi): Likewise.
24648 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24649 (mostlyclean): Remove target.
24650 (realclean): Remove target.
24651 (generated): Add new variable with contents from mostlyclean and
24652 realclean, remove entries duplicated in common-mostlyclean, add
24653 stamp-libm-err and stamp-version.
24654 (generated-dirs): Add libc directory.
24655 ($(inst_infodir)/libc.info): Install files from build dir.
24657 * manual/install.texi (Configuring and compiling): Adjust since
24658 the info files are not part of the tar ball anymore.
24660 2012-05-14 Andreas Jaeger <aj@suse.de>
24662 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24665 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24668 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24669 to 2.2.0 where earlier.
24670 * sysdeps/unix/sysv/linux/configure: Regenerated.
24671 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24672 Remove conditional code.
24673 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24674 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24675 Remove conditional code.
24676 [!__NR_lchown]: Likewise.
24677 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24678 [__NR_lchown]: Likewise.
24679 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24680 comment referencing __ASSUME_LCHOWN_SYSCALL.
24681 * sysdeps/unix/sysv/linux/i386/sigaction.c
24682 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24683 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24684 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24685 Remove conditional code.
24686 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24687 (__protocol_available): Remove #if 0 code.
24688 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24690 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24691 * sysdeps/unix/sysv/linux/kernel-features.h
24692 (__ASSUME_GETCWD_SYSCALL): Don't define.
24693 (__ASSUME_REALTIME_SIGNALS): Likewise.
24694 (__ASSUME_PREAD_SYSCALL): Likewise.
24695 (__ASSUME_PWRITE_SYSCALL): Likewise.
24696 (__ASSUME_POLL_SYSCALL): Likewise.
24697 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24698 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24700 (__ASSUME_SIOCGIFNAME): Don't define.
24701 (__ASSUME_MSG_NOSIGNAL): Likewise.
24702 (__ASSUME_SENDFILE): Define unconditionally.
24703 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24704 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24706 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24707 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24708 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24709 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24710 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24711 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24712 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24714 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24717 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24723 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24724 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24726 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24729 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24730 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24732 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24735 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24736 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24737 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24738 Remove conditional code.
24739 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24740 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24741 Remove conditional code.
24742 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24743 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24744 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24745 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24746 Remove conditional code.
24747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24748 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24749 Remove conditional code.
24750 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24751 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24752 Remove conditional code.
24753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24754 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24755 Remove conditional code.
24756 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24757 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24758 Remove conditional code.
24759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24760 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24761 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24762 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24763 * sysdeps/unix/sysv/linux/sigaction.c
24764 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24765 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24766 * sysdeps/unix/sysv/linux/sigpending.c
24767 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24768 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24769 * sysdeps/unix/sysv/linux/sigprocmask.c
24770 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24771 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24772 * sysdeps/unix/sysv/linux/sigsuspend.c
24773 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24774 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24775 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24776 (__libc_missing_rt_sigs): Remove.
24777 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24778 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24779 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24780 Remove conditional code.
24781 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24782 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24784 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24785 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24786 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24787 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24789 2012-05-14 Andreas Jaeger <aj@suse.de>
24791 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24792 it's not used in glibc.
24793 (__coshm1): Likewise.
24794 (__acosh1p): Likewise.
24797 * manual/string.texi (Copying and Concatenation): Add missing
24798 variable in concat example.
24799 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24801 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24804 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24805 __builtin_clzl with __builtin_clzll.
24807 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24810 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24813 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24815 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24816 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24817 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24818 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24820 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24822 * NEWS: Update ia64 info.
24824 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24826 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24829 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24831 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24832 * sysdeps/unix/syscalls.list (dup3): Likewise.
24833 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24834 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24836 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24838 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24839 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24841 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24843 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24845 (TLS_IE): Use mov/add instead of movq/addq to load thread
24847 (TLS_GD_PREFIX): New.
24850 2012-05-11 David S. Miller <davem@davemloft.net>
24852 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24853 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24854 (_FPU_SETCW): Likewise.
24856 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24858 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24859 is 32-byte aligned.
24861 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24864 * iconvdata/gb18030.c: Update tables.
24865 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24866 characters specially.
24867 (BODY for TO_LOOP): Add encoding of missing ranges.
24869 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24872 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24873 * sysdeps/mach/hurd/dup3.c: Likewise.
24874 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24875 * sysdeps/powerpc/memmove.c:: Likewise.
24877 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24879 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24880 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24882 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24884 * elf/elf.h (R_X86_64_RELATIVE64): New.
24885 (R_X86_64_NUM): Updated.
24886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24887 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24888 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24889 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24890 tst-quad1pie tst-quad2pie
24891 (modules-names): Add tst-quadmod1 tst-quadmod2.
24892 ($(objpfx)tst-quad1): New dependency.
24893 ($(objpfx)tst-quad2): Likewise.
24894 ($(objpfx)tst-quad1pie): Likewise.
24895 ($(objpfx)tst-quad2pie): Likewise.
24896 * sysdeps/x86_64/tst-quad1.c: New file.
24897 * sysdeps/x86_64/tst-quad1pie.c: New file.
24898 * sysdeps/x86_64/tst-quad2.c: Likewise.
24899 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24900 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24901 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24902 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24903 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24907 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24908 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24909 * streams/stropts.h (t_scalar_t): Define type.
24911 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24912 (_PATH_PRESERVE): Set to "/var/lib".
24913 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24915 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24918 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24919 if __dir_mkfile succeeded.
24921 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24922 checking for _hurd_dtablesize. Unlock it right after having
24923 finished _hurd_dtable allocation.
24925 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24927 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24928 * sysdeps/mach/hurd/configure: Regenerated.
24929 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24930 special-casing to...
24931 * sysdeps/gnu/configure.in: ... this new file.
24932 * sysdeps/unix/sysv/linux/configure: Regenerated.
24933 * sysdeps/gnu/configure: New generated file.
24935 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24936 for Linux: use nsec instead of usec, as well as:
24937 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24938 members of type struct timespec.
24939 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24941 (struct stat64): Likewise.
24942 (_STATBUF_ST_NSEC): New macro.
24943 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24945 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24946 __strtoul_internal rather than strtoul.
24948 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24950 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24953 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24955 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24956 which preserves existing values.
24957 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24959 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24961 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24962 TIMEOUT values. Return EINVAL for NFDS values either negative or
24963 greater than FD_SETSIZE.
24965 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24967 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24968 allocated, call __vm_protect to finish enabling the existing space, and
24969 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24970 allocate the remainder.
24972 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24974 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24975 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24977 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24979 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24980 sysdeps/mach/hurd/readlink.c.
24982 * posix/tst-sysconf.c (posix_options): Only use
24983 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24984 _POSIX_SYNCHRONIZED_IO when they are defined
24985 * sysdeps/mach/hurd/bits/posix_opt.h:
24986 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24987 (_XOPEN_REALTIME): Undefine macro.
24988 (_XOPEN_REALTIME_THREADS): Undefine macro.
24989 (_XOPEN_SHM): Undefine macro.
24990 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24992 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24994 (_POSIX_ASYNC_IO): Undefine macro.
24995 (_POSIX_PRIORITIZED_IO): Undefine macro.
24996 (_POSIX_SPIN_LOCKS): Define macro to -1.
24998 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24999 SA_NODEFER, SA_RESETHAND.
25000 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25001 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25004 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25006 * elf/Makefile (pldd-modules): Define unconditionally.
25008 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25010 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25012 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25014 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25015 Return ENOENT when name is empty.
25016 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25018 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25020 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25022 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25026 Fix mlock in all cases except non-readable pages.
25027 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25028 instead of VM_PROT_ALL as parameter to __vm_wire function.
25030 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25031 (__mkdir): When path is `/', just fail with EEXIST.
25032 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25034 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25036 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25037 <sys/uio.h> (for writev).
25038 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25039 and <sys/param.h> (for MIN).
25041 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25043 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25044 REQUESTED_TIME. Properly set the remaining time and return EINTR
25047 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25049 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25050 Depend on against $(link-rpcuserlibs).
25052 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25054 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25055 (__libc_stack_end): Do not use attribute_relro.
25056 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25057 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25058 to libthread-provided value.
25059 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25062 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25065 * bits/libc-lock.h (__libc_once_get): New macro.
25066 * sysdeps/mach/bits/libc-lock.h: Likewise.
25067 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25069 instead of using implementation details.
25071 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25072 * libio/freopen.c: Likewise.
25073 * libio/freopen64.c: Likewise.
25074 * misc/syslog.c: Likewise.
25075 * nscd/connections.c: Likewise.
25076 * nscd/netgroupcache.c: Likewise.
25077 * sysdeps/posix/getcwd.c: Likewise.
25079 2012-05-10 Roland McGrath <roland@hack.frob.com>
25081 * math/w_ilogbf.c: Add #include <limits.h>.
25083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25085 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25086 path instead of returning without unlocking.
25088 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25089 immediate-write ioctls.
25090 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25092 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25094 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25095 __builtin_frame_address instead of making assumptions about the
25096 location of the return address relative to DATA. Force early load of
25097 the return address.
25098 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25099 __builtin_frame_address.
25102 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25103 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25104 implement dup3 and do some further code clean-ups.
25105 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25106 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25108 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25110 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25112 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25113 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25114 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25115 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25116 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25119 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25120 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25121 when handler == SIG_ERR, not when handler != SIG_ERR.
25123 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25125 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25126 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25129 accept4 for GNU Hurd.
25130 * include/sys/socket.h (__libc_accept4): New prototype.
25131 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25132 to implement __libc_accept4.
25133 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25135 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25137 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25138 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25139 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25140 signal-defines.sym.
25142 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25144 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25146 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25148 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25149 assertion on O_CLOEXEC flag.
25150 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25151 * hurd/intern-fd.c: Likewise.
25152 * hurd/port2fd.c: Likewise.
25154 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25157 * bits/in.h (IPV6_PKTINFO): Define new macro.
25158 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25160 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25165 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25166 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25167 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25168 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25170 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25171 * math/libm-test.inc (logb_test) : Additional logb tests.
25173 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25174 Andreas Jaeger <aj@suse.de>
25176 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25177 * configure: Regenerated.
25178 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25179 * config.make.in (link-obsolete-rpc): New substituted variable.
25180 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25181 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25182 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25183 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25184 so that libc.a contains the symbols.
25185 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25186 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25187 * sunrpc/auth_none.c: Likewise.
25188 * sunrpc/auth_unix.c: Likewise.
25189 * sunrpc/authdes_prot.c: Likewise.
25190 * sunrpc/authuxprot.c: Likewise.
25191 * sunrpc/clnt_gen.c: Likewise.
25192 * sunrpc/clnt_perr.c: Likewise.
25193 * sunrpc/clnt_raw.c: Likewise.
25194 * sunrpc/clnt_simp.c: Likewise.
25195 * sunrpc/clnt_tcp.c: Likewise.
25196 * sunrpc/clnt_udp.c: Likewise.
25197 * sunrpc/clnt_unix.c: Likewise.
25198 * sunrpc/des_crypt.c: Likewise.
25199 * sunrpc/des_soft.c: Likewise.
25200 * sunrpc/get_myaddr.c: Likewise.
25201 * sunrpc/key_call.c: Likewise.
25202 * sunrpc/key_prot.c: Likewise.
25203 * sunrpc/netname.c: Likewise.
25204 * sunrpc/pm_getmaps.c: Likewise.
25205 * sunrpc/pm_getport.c: Likewise.
25206 * sunrpc/pmap_clnt.c: Likewise.
25207 * sunrpc/pmap_prot.c: Likewise.
25208 * sunrpc/pmap_prot2.c: Likewise.
25209 * sunrpc/pmap_rmt.c: Likewise.
25210 * sunrpc/publickey.c: Likewise.
25211 * sunrpc/rpc_cmsg.c: Likewise.
25212 * sunrpc/rpc_common.c: Likewise.
25213 * sunrpc/rpc_dtable.c: Likewise.
25214 * sunrpc/rpc_prot.c: Likewise.
25215 * sunrpc/rpc_thread.c: Likewise.
25216 * sunrpc/rtime.c: Likewise.
25217 * sunrpc/svc.c: Likewise.
25218 * sunrpc/svc_auth.c: Likewise.
25219 * sunrpc/svc_raw.c: Likewise.
25220 * sunrpc/svc_run.c: Likewise.
25221 * sunrpc/svc_tcp.c: Likewise.
25222 * sunrpc/svc_udp.c: Likewise.
25223 * sunrpc/svc_unix.c: Likewise.
25224 * sunrpc/svcauth_des.c: Likewise.
25225 * sunrpc/xcrypt.c: Likewise.
25226 * sunrpc/xdr.c: Likewise.
25227 * sunrpc/xdr_array.c: Likewise.
25228 * sunrpc/xdr_float.c: Likewise.
25229 * sunrpc/xdr_intXX_t.c: Likewise.
25230 * sunrpc/xdr_mem.c: Likewise.
25231 * sunrpc/xdr_rec.c: Likewise.
25232 * sunrpc/xdr_ref.c: Likewise.
25233 * sunrpc/xdr_sizeof.c: Likewise.
25234 * sunrpc/xdr_stdio.c: Likewise.
25236 2012-05-10 Roland McGrath <roland@hack.frob.com>
25238 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25239 change. Update copyright years.
25241 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25243 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25245 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25246 Joseph Myers <joseph@codesourcery.com>
25247 Paul Pluzhnikov <ppluzhnikov@google.com>
25250 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25252 [cross-compiling] (extra-libs): Likewise.
25253 [cross-compiling] (extra-libs-others): Likewise.
25254 [cross-compiling] (librpcsvc-routines): Likewise.
25255 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25256 [cross-compiling] (omit-deps): Likewise.
25257 (sunrpc-CPPFLAGS): New variable.
25258 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25259 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25260 (cross-rpcgen-objs): New variable.
25261 (extra-objs): Append $(cross-rpcgen-objs).
25262 ($(cross-rpcgen-objs)): New rule.
25263 ($(objpfx)cross-rpcgen): Likewise.
25264 (rpcgen-cmd): Define to use $(built-program-file). Expand
25266 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25267 ($(objpfx)x%.stmp): Likewise.
25268 * sunrpc/proto.h [IS_IN_build] (_): Define.
25269 [IS_IN_build] (_libc_intl_domainname): Likewise.
25271 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25273 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25274 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25275 and R_X86_64_TPOFF64.
25277 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25279 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25280 sysdeps/unix/sysv/syscalls.list.
25283 * sysdeps/unix/sysv/syscalls.list: Remove file.
25285 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25288 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25289 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25290 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25291 (__LC_IDENTIFICATION): Make these macros useful in #if
25292 expressions, as required by C99.
25294 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25296 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25297 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25300 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25302 * stdlib/longlong.h: Updated from GCC.
25304 2012-05-09 Andreas Jaeger <aj@suse.de>
25306 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25307 default is first entry.
25308 (run_mode): Set type.
25309 (main): Remove informal message about syslog.
25310 (options): Fix typo.
25313 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25316 (llrintf): Likewise.
25317 (llrint): Likewise.
25320 (nearbyint): Likewise.
25321 (nearbyintf): Likewise.
25323 2012-05-09 Andreas Jaeger <aj@suse.de>
25324 Pedro Alves <palves@redhat.com>
25326 * nscd/nscd.c (run_mode): Use enum.
25327 (main): Cleanup coding style issue.
25329 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25330 Andreas Jaeger <aj@suse.de>
25332 * nscd/nscd.c (go_background): Replaced with...
25333 (run_mode): ... this.
25334 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25335 (options): Add -F --foreground.
25336 (main): Implement it.
25337 (parse_opt): Parse it.
25339 2012-05-09 Andreas Jaeger <aj@suse.de>
25342 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25343 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25344 -Wconversion warning.
25345 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25348 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25350 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25352 (LC_ALL): Use macro-int-constant.
25353 (LC_COLLATE): Likewise.
25354 (LC_CTYPE): Likewise.
25355 (LC_MESSAGES): Likewise.
25356 (LC_MONETARY): Likewise.
25357 (LC_NUMERIC): Likewise.
25358 (LC_TIME): Likewise.
25359 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25360 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25362 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25364 [C99-based standards] (float_t): Expect type.
25365 [C99-based standards] (double_t): Expect type.
25366 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25368 [C99-based standards] (HUGE_VALL): Likewise.
25369 [C99-based standards] (INFINITY): Likewise.
25370 [C99-based standards] (NAN): Likewise.
25371 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25372 [C99-based standards] (FP_NAN): Likewise.
25373 [C99-based standards] (FP_NORMAL): Likewise.
25374 [C99-based standards] (FP_SUBNORMAL): Likewise.
25375 [C99-based standards] (FP_ZERO): Likewise.
25376 [C99-based standards] (FP_FAST_FMA): Use
25377 optional-macro-int-constant. Specify type. Require == 1.
25378 [C99-based standards] (FP_FAST_FMAF): Likewise.
25379 [C99-based standards] (FP_FAST_FMAL): Likewise.
25380 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25381 [C99-based standards] (FP_ILOGBNAN): Likewise.
25382 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25384 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25385 [C99-based standards] (math_errhandling): Specify type.
25386 [ISO99 || ISO11] (signgam): Do not allow.
25387 [non-C99-based standards] (copysignf): Do not allow.
25388 [non-C99-based standards] (exp2f): Likewise.
25389 [non-C99-based standards] (log2f): Likewise.
25390 [non-C99-based standards] (modff): Allow.
25391 [non-C99-based standards] (erff): Do not allow.
25392 [non-C99-based standards] (erfcf): Likewise.
25393 [non-C99-based standards] (gammaf): Likewise.
25394 [non-C99-based standards] (hypotf): Likewise.
25395 [non-C99-based standards] (j0f): Likewise.
25396 [non-C99-based standards] (j1f): Likewise.
25397 [non-C99-based standards] (jnf): Likewise.
25398 [non-C99-based standards] (lgammaf): Likewise.
25399 [non-C99-based standards] (tgammaf): Likewise.
25400 [non-C99-based standards] (y0f): Likewise.
25401 [non-C99-based standards] (y1f): Likewise.
25402 [non-C99-based standards] (ynf): Likewise.
25403 [non-C99-based standards] (isnanf): Likewise.
25404 [non-C99-based standards] (acoshf): Likewise.
25405 [non-C99-based standards] (asinhf): Likewise.
25406 [non-C99-based standards] (atanhf): Likewise.
25407 [non-C99-based standards] (cbrtf): Likewise.
25408 [non-C99-based standards] (expm1f): Likewise.
25409 [non-C99-based standards] (ilogbf): Likewise.
25410 [non-C99-based standards] (log1pf): Likewise.
25411 [non-C99-based standards] (logbf): Likewise.
25412 [non-C99-based standards] (nextafterf): Likewise.
25413 [non-C99-based standards] (remainderf): Likewise.
25414 [non-C99-based standards] (rintf): Likewise.
25415 [non-C99-based standards] (scalbf): Likewise.
25416 [non-C99-based standards] (copysignl): Likewise.
25417 [non-C99-based standards] (exp2l): Likewise.
25418 [non-C99-based standards] (log2l): Likewise.
25419 [non-C99-based standards] (modfl): Allow.
25420 [non-C99-based standards] (erfl): Do not allow.
25421 [non-C99-based standards] (erfcl): Likewise.
25422 [non-C99-based standards] (gammal): Likewise.
25423 [non-C99-based standards] (hypotl): Likewise.
25424 [non-C99-based standards] (j0l): Likewise.
25425 [non-C99-based standards] (j1l): Likewise.
25426 [non-C99-based standards] (jnl): Likewise.
25427 [non-C99-based standards] (lgammal): Likewise.
25428 [non-C99-based standards] (tgammal): Likewise.
25429 [non-C99-based standards] (y0l): Likewise.
25430 [non-C99-based standards] (y1l): Likewise.
25431 [non-C99-based standards] (ynl): Likewise.
25432 [non-C99-based standards] (isnanl): Likewise.
25433 [non-C99-based standards] (acoshl): Likewise.
25434 [non-C99-based standards] (asinhl): Likewise.
25435 [non-C99-based standards] (atanhl): Likewise.
25436 [non-C99-based standards] (cbrtl): Likewise.
25437 [non-C99-based standards] (expm1l): Likewise.
25438 [non-C99-based standards] (ilogbl): Likewise.
25439 [non-C99-based standards] (log1pl): Likewise.
25440 [non-C99-based standards] (logbl): Likewise.
25441 [non-C99-based standards] (nextafterl): Likewise.
25442 [non-C99-based standards] (remainderl): Likewise.
25443 [non-C99-based standards] (rintl): Likewise.
25444 [non-C99-based standards] (scalbl): Likewise.
25445 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25446 [non-C99-based standards] (FP_*): Do not allow.
25447 [C99-based standards] (FP_*): Change to
25448 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25449 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25451 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25452 (SIG_ERR): Likewise.
25453 [X/Open-based standards] (SIG_HOLD): Likewise.
25454 (SIG_IGN): Likewise.
25455 (SIGABRT): Use macro-int-constant. Specify type. Require
25457 (SIGFPE): Likewise.
25458 (SIGILL): Likewise.
25459 (SIGINT): Likewise.
25460 (SIGSEGV): Likewise.
25461 (SIGTER): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25480 [X/Open-based standards] (SIGTRAP): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25485 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25488 2012-05-08 Ian Wienand <ianw@vmware.com>
25491 * time/tzset.c (__tzset_parse_tz): Update default rules for
25492 daylight time changes in the Energy Policy Act of 2005.
25494 2012-05-09 Andreas Jaeger <aj@suse.de>
25497 * elf/ldconfig.c (parse_conf): Change string to make clear that
25498 ldconfig only issued a warning if ld.so.conf does not exist.
25500 2012-05-08 David S. Miller <davem@davemloft.net>
25502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25503 movxtod instead of popping the value on the stack.
25505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25507 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25509 * config.h.in: Add HAVE_ARM_PCS_VFP.
25511 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25514 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25515 checking but the checks are disabled for any reason.
25517 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25519 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25520 and ELF64_R_TYPE with ELFW(R_TYPE).
25522 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25524 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25525 (ulimit): Likewise.
25527 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25528 (settimeofday): Likewise.
25530 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25532 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25533 a struct th_u2 inside the union, and move tu_block/tu_code into
25534 a new th_u3 union of tu_block/tu_code inside of that. Move
25535 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25536 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25537 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25538 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25539 (th_stuff): Change to th_u1.tu_stuff.
25541 (th_msg): Change to th_u1.th_u2.tu_data.
25543 2012-05-07 David S. Miller <davem@davemloft.net>
25545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25548 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25549 (SETUP_PIC_REG): Use it.
25550 (SETUP_PIC_REG_LEAF): Use it.
25552 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25556 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25558 (EXPL_FINITE): Likewise.
25559 (FLDLOG): Likewise.
25560 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25561 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25563 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25565 (EXPL_FINITE): Likewise.
25566 (FLDLOG): Likewise.
25567 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25568 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25570 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25571 test of -max_value argument for long double.
25572 * sysdeps/i386/fpu/libm-test-ulps: Update.
25573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25575 2012-05-06 David S. Miller <davem@davemloft.net>
25577 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25578 quad soft-float symbols whose references which are compiler
25580 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25582 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25586 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25588 (EXPL_FINITE): Likewise.
25589 (FLDLOG): Likewise.
25592 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25593 Adjust comments for base varying.
25594 (__expl_finite): Change alias to EXPL_FINITE.
25595 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25597 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25598 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25599 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25600 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25601 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25603 (EXPL_FINITE): Likewise.
25604 (FLDLOG): Likewise.
25607 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25608 Adjust comments for base varying.
25609 (__expl_finite): Change alias to EXPL_FINITE.
25610 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25615 * math/libm-test.inc (check_float_internal): Correct ulp
25616 calculation for subnormal expected results.
25618 2012-05-06 Andreas Jaeger <aj@suse.de>
25620 * Makeconfig (+math-flags): New, set to -frounding-math.
25621 (+cflags): Add +math-flags so that all of glibc gets compiled with
25624 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25626 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25628 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25634 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25635 (__ieee754_expl): Allow for and saturate large arguments.
25636 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25637 (u_threshold): Likewise.
25638 (__exp): Call __ieee754_exp before checking for overflow and
25640 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25641 (u_threshold): Likewise.
25642 (__expf): Call __ieee754_expf before checking for overflow and
25644 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25645 (u_threshold): Likewise.
25646 (__expl): Call __ieee754_expl before checking for overflow and
25648 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25649 (__ieee754_expl): Allow for and saturate large arguments.
25650 * math/libm-test.inc (exp_test): Add another test. Do not allow
25651 missing overflow exception on overflow.
25652 (expm1_test): Do not allow missing overflow exception on overflow.
25654 * sysdeps/i386/fpu/e_expl.c: Move to ...
25655 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25656 rather than using inline asm.
25657 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25658 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25659 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25661 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25664 (signal): Likewise.
25668 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25670 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25671 sysdeps/unix/common/syscalls.list.
25672 (fchmod): Likewise.
25673 (fchown): Likewise.
25674 (ftruncate): Likewise.
25675 (getrusage): Likewise.
25676 (gettimeofday): Likewise.
25677 (setpgid): Likewise.
25678 (setregid): Likewise.
25679 (setreuid): Likewise.
25680 (sigaction): Likewise.
25681 (truncate): Likewise.
25682 (vhangup): Likewise.
25683 * sysdeps/unix/common/syscalls.list: Remove file.
25684 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25685 * sysdeps/unix/sysv/linux/Implies: Likewise.
25687 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25689 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25691 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25695 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25698 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25701 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25704 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25707 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25710 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25713 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25717 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25721 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25724 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25728 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25732 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25734 * sysdeps/unix/common/bits/dirent.h: Remove file.
25735 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25737 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25738 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25739 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25740 * sysdeps/unix/bsd/isatty.c: Likewise.
25741 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25742 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25743 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25745 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25748 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25749 long double comparison inaccuracies.
25750 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25753 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25755 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25756 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25758 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25761 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25762 nonzero digits before rounding a hex value.
25763 * stdlib/tst-strtod.c (tests): Add another test.
25765 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25767 * sysdeps/s390/fpu/libm-test-ulps: Update.
25769 2012-05-03 Andreas Jaeger <aj@suse.de>
25771 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25772 does not get optimized out.
25773 (malloc_opt_barrier): New.
25775 2012-05-03 Andreas Jaeger <aj@suse.de>
25776 Roland McGrath <roland@hack.frob.com>
25778 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25779 intermediate file deletion.
25780 (generated): Add .symlist files.
25782 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25785 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25786 Redirect under this condition.
25787 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25788 [__USE_GNU] (__dprintf_chk): Not under this condition.
25789 [__USE_GNU] (__vdprintf_chk): Likewise.
25790 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25791 under this condition.
25792 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25793 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25794 [__USE_XOPEN2K8] (vdprintf): Likewise.
25795 [__USE_GNU] (__dprintf_chk): Not under this condition.
25796 [__USE_GNU] (__vdprintf_chk): Likewise.
25797 [__USE_GNU] (dprintf): Likewise.
25798 [__USE_GNU] (vdprintf): Likewise.
25800 2012-05-03 Roland McGrath <roland@hack.frob.com>
25802 * elf/Makefile (common-generated): Set this instead of generated for
25803 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25804 $(all-built-dso)-derived lists.
25806 2012-05-03 Andreas Jaeger <aj@suse.de>
25808 * sysdeps/i386/fpu/libm-test-ulps: Update.
25811 * FAQ.in: Likewise.
25812 * scripts/gen-FAQ.pl: Likewise.
25813 * manual/install.texi (Installation): Point to online location of
25815 * Makefile (files-for-dist): Remove FAQ.
25818 2012-05-02 Allan McRae <allan@archlinux.org>
25820 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25821 (LDFLAGS-reldepmod5.so): Likewise.
25822 (LDFLAGS-reldep6mod1.so): Likewise.
25823 (LDFLAGS-reldep6mod4.so): Likewise.
25824 (LDFLAGS-reldep8mod3.so): Likewise.
25825 (LDFLAGS-unload4mod1.so): Likewise.
25826 (LDFLAGS-unload4mod2.so): Likewise.
25827 (LDFLAGS-tst-initorder): Likewise.
25828 (LDFLAGS-tst-initordera2.so): Likewise.
25829 (LDFLAGS-tst-initordera3.so): Likewise.
25830 (LDFLAGS-tst-initordera4.so): Likewise.
25831 (LDFLAGS-tst-initorderb2.so): Likewise.
25832 (LDFLAGS-noload): Likewise.
25833 (LDFLAGS-next): Likewise.
25834 (LDFLAGS-order2mod1.so): Likewise.
25835 (LDFLAGS-order2mod2.so): Likewise.
25836 (LDFLAGS-tst-initorder2): Likewise.
25837 (LDFLAGS-tst-initorder2a.so): Likewise.
25838 (LDFLAGS-tst-initorder2b.so): Likewise.
25839 (LDFLAGS-tst-initorder2c.so): Likewise.
25840 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25842 2012-05-02 David S. Miller <davem@davemloft.net>
25844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25846 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25849 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25851 2012-05-02 Andreas Jaeger <aj@suse.de>
25853 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25854 since we manipulate rounding mode.
25855 (CPPFLAGS-test-idouble.c): Likewise.
25856 (CPPFLAGS-test-ifloat.c): Likewise.
25857 (CFLAGS-test-ldouble.c): Likewise.
25858 (CFLAGS-test-double.c): Likewise.
25859 (CFLAGS-test-float.c): Likewise.
25860 (CFLAGS-test-misc.c): Likewise.
25861 (CFLAGS-test-test-fenv.c): Likewise.
25863 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25867 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25868 comparisons to determine direction to adjust input.
25870 2012-05-01 Roland McGrath <roland@hack.frob.com>
25872 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25873 output to the target.
25875 * scripts/localplt.awk: New file.
25876 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25877 (check-localplt-CFLAGS): Variable removed.
25878 ($(all-built-dso:=.jmprel)): New static pattern rule.
25879 (generated): Add those targets.
25880 (localplt-built-dso): New variable.
25881 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25883 * elf/check-localplt.c: File removed.
25885 * scripts/check-execstack.awk: New file.
25886 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25887 (check-execstack-CFLAGS): Variable removed.
25888 ($(objpfx)check-execstack.h): Target removed.
25889 ($(objpfx)execstack-default): New target.
25890 (generated): Add that instead of check-execstack.h.
25891 ($(all-built-dso:=.phdr)): New static pattern rule.
25892 (generated): Add those targets.
25893 * elf/check-execstack.c: File removed.
25895 * scripts/check-textrel.awk: New file.
25896 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25897 (check-textrel-CFLAGS): Variable removed.
25898 (all-built-dso): Use := to define.o
25899 ($(all-built-dso:=.dyn)): New static pattern rule.
25900 (generated): Add those targets.
25901 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25902 * config.make.in (READELF): New substituted variable.
25903 * elf/check-textrel.c: File removed.
25905 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25907 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25909 * conform/data/ctype.h-data [C99-based standards] (isblank):
25911 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25912 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25913 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25914 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25915 Specify type. Require positive value.
25916 (EILSEQ): Likewise.
25917 (ERANGE): Likewise.
25918 [ISO || POSIX] (EILSEQ): Do not expect.
25919 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25920 Specify type. Require positive value.
25921 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25923 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25924 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25925 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25926 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25927 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25932 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25933 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25938 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25939 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25940 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25941 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25942 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25943 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25944 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25945 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25946 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25947 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25948 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25949 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25950 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25951 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25952 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25953 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25954 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25955 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25956 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25957 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25958 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25959 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25960 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25961 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25962 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25963 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25964 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25965 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25966 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25967 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25968 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25969 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25970 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25971 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25972 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25973 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25974 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25975 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25976 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25977 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25978 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25979 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25980 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25981 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25982 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25983 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25984 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25985 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25986 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25987 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25988 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25989 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25990 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25991 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25992 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25993 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25994 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25995 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25996 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25997 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25999 (FLT_ROUNDS): Expect as macro, not constant.
26000 (FLT_MANT_DIG): Use macro-int-constant.
26001 (DBL_MANT_DIG): Likewise.
26002 (LDBL_MANT_DIG): Likewise.
26003 (FLT_DIG): Likewise.
26004 (DBL_DIG): Likewise.
26005 (LDBL_DIG): Likewise.
26006 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26007 (DBL_MIN_EXP): Likewise.
26008 (LDBL_MIN_EXP): Likewise.
26009 (FLT_MAX_EXP): Use macro-int-constant.
26010 (DBL_MAX_EXP): Likewise.
26011 (LDBL_MAX_EXP): Likewise.
26012 (FLT_MAX_10_EXP): Likewise.
26013 (DBL_MAX_10_EXP): Likewise.
26014 (LDBL_MAX_10_EXP): Likewise.
26015 (FLT_MAX): Use macro-constant.
26016 (DBL_MAX): Likewise.
26017 (LDBL_MAX): Likewise.
26018 (FLT_EPSILON): Use macro-constant. Give upper bound.
26019 (DBL_EPSILON): Likewise.
26020 (LDBL_EPSILON): Likewise.
26021 (FLT_MIN): Likewise.
26022 (DBL_MIN): Likewise.
26023 (LDBL_MIN): Likewise.
26024 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26025 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26026 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26027 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26028 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26029 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26030 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26031 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26032 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26033 [ISO11] (FLT_TRUE_MIN): Likewise.
26034 [ISO11] (LDBL_TRUE_MIN): Likewise.
26035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26036 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26037 (SCHAR_MIN): Use macro-int-constant. Specify type.
26038 (SCHAR_MAX): Likewise.
26039 (UCHAR_MAX): Likewise.
26040 (CHAR_MIN): Likewise.
26041 (CHAR_MAX): Likewise.
26042 (MB_LEN_MAX): Use macro-int-constant.
26043 (SHRT_MIN): Use macro-int-constant. Specify type.
26044 (SHRT_MAX): Likewise.
26045 (USHRT_MAX): Likewise.
26046 (INT_MAX): Likewise.
26047 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26049 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26051 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26053 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26054 bound negative. Suffix upper bound with "L".
26055 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26057 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26059 [C99-based standards] (LLONG_MAX): Likewise.
26060 [C99-based standards] (ULLONG_MAX): Likewise.
26061 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26063 [ISO11] (max_align_t): Require type.
26064 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26066 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26067 from $CFLAGS, without defining away __attribute__ calls.
26068 (checknamespace): Use $CFLAGS_namespace.
26070 * conform/conformtest.pl (@keywords): Only include C99 keywords
26071 for standards based on C99 or C11.
26073 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26075 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26078 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26079 usability of symbols in #if.
26081 * conform/conformtest.pl: If macro or constant types start
26082 "promoted:", expect the symbol to be of the following type
26083 promoted by the integer promotions.
26085 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26086 in one place. Also handle "macro-constant".
26088 * conform/conformtest.pl: Only accept expected macro values with
26089 "==". Parse all "macro" lines in one place.
26090 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26092 * conform/conformtest.pl: Handle braced types on "constant" lines
26093 instead of handling "typed-constant".
26094 * conform/data/signal.h-data: Use "constant" instead of
26097 * conform/conformtest.pl: Handle "optional-" at start of lines in
26098 one place rather than duplicating several cases. Handle each
26099 format of "macro" line with initial "optional-".
26101 * conform/conformtest.pl: Only accept expected constant or
26102 optional-constant values with "==". Parse all "constant" lines in
26103 one place. Parse all "optional-constant" lines in one place.
26104 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26105 * conform/data/fmtmsg.h-data: Likewise.
26106 * conform/data/netinet/in.h-data: Likewise.
26107 * conform/data/tar.h-data: Likewise.
26108 * conform/data/limits.h-data: Use "==" form on "constant" and
26109 "optional-constant" lines.
26111 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26112 Use -std=c99 for XOPEN2K.
26113 (@knownproblems): Remove.
26114 (newtoken): Don't check %isknown.
26116 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26117 Do not expect macro.
26118 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26119 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26120 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26121 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26122 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26123 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26124 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26125 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26126 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26127 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26128 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26129 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26130 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26131 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26132 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26133 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26136 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26137 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26138 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26139 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26141 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26142 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26143 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26145 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26146 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26147 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26148 [XPG3] (acosh): Likewise.
26149 [XPG3] (asinh): Likewise.
26150 [XPG3] (atanh): Likewise.
26151 [XPG3] (cbrt): Likewise.
26152 [XPG3] (expm1): Likewise.
26153 [XPG3] (ilogb): Likewise.
26154 [XPG3] (log1p): Likewise.
26155 [XPG3] (logb): Likewise.
26156 [XPG3] (nextafter): Likewise.
26157 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26158 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26159 [XPG3] (remainder): Likewise.
26160 [XPG3] (rint): Likewise.
26161 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26162 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26163 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26164 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26165 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26166 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26167 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26168 [UNIX98 || XOPEN2K] (scalb): Expect.
26169 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26170 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26176 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26177 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26178 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26238 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26239 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26240 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26241 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26242 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26243 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26244 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26245 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26246 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26247 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26248 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26249 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26250 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26251 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26252 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26253 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26254 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26255 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26256 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26257 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26258 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26259 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26260 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26261 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26262 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26263 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26265 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26266 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26267 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26268 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26269 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26270 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26271 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26272 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26274 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26275 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26276 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26277 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26278 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26279 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26280 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26281 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26282 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26283 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26284 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26285 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26286 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26287 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26288 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26290 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26291 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26292 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26293 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26294 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26295 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26296 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26297 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26299 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26300 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26302 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26303 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26304 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26305 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26307 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26308 _XOPEN_SOURCE_EXTENDED for XPG4.
26310 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26312 * Makeconfig (localtime): Remove variable.
26313 (inst_localtime-file): Likewise.
26315 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26336 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26340 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26341 comparisons to determine direction to adjust input.
26342 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26343 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26344 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26346 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26348 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26350 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26351 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26353 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26355 * math/libm-test.inc (nexttoward_test): Add more tests.
26357 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26360 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26361 in version GLIBC_2.1, not GLIBC_2.0.
26362 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26365 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26368 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26370 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26371 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26372 * math/libm-test.inc (acos_test): Add more tests.
26373 (asin_test): Likewise.
26374 * sysdeps/i386/fpu/libm-test-ulps: Update.
26375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26378 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26380 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26381 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26382 * math/libm-test.inc (acos_test_tonearest): New function.
26383 (acos_test_towardzero): Likewise.
26384 (acos_test_downward): Likewise.
26385 (acos_test_upward): Likewise.
26386 (asin_test_tonearest): Likewise.
26387 (asin_test_towardzero): Likewise.
26388 (asin_test_downward): Likewise.
26389 (asin_test_upward): Likewise.
26390 (main): Call the new functions.
26391 * sysdeps/i386/fpu/libm-test-ulps: Update.
26392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26396 * math/e_exp10.c: Include <float.h>.
26397 (__ieee754_exp10): Handle underflow here rather than multiplying
26398 large negative argument by M_LN10.
26399 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26401 * math/e_exp10l.c: Include <float.h>.
26402 (__ieee754_exp10l): Handle underflow here rather than multiplying
26403 large negative argument by M_LN10l.
26404 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26405 spurious overflow exception on underflow.
26407 2012-04-29 Marek Polacek <polacek@redhat.com>
26409 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26410 (__fortify_function): New macro.
26411 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26412 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26413 __extern_always_inline.
26414 * libio/bits/stdio2.h: Likewise.
26415 * libio/bits/stdio.h: Likewise.
26416 * string/string.h: Likewise.
26417 * string/bits/string3.h: Likewise.
26418 * include/stdio.h: Likewise.
26419 * stdlib/bits/stdlib.h: Likewise.
26420 * stdlib/stdlib.h: Likewise.
26421 * rt/bits/mqueue2.h: Likewise.
26422 * rt/mqueue.h: Likewise.
26423 * posix/bits/unistd.h: Likewise.
26424 * posix/unistd.h: Likewise.
26425 * io/bits/poll2.h: Likewise.
26426 * io/bits/fcntl2.h: Likewise.
26427 * io/fcntl.h: Likewise.
26428 * io/sys/poll.h: Likewise.
26429 * misc/bits/syslog.h: Likewise.
26430 * misc/bits/syslog-ldbl.h: Likewise.
26431 * misc/sys/syslog.h: Likewise.
26432 * socket/bits/socket2.h: Likewise.
26433 * socket/sys/socket.h: Likewise.
26434 * debug/tst-chk1.c: Likewise.
26435 * wcsmbs/bits/wchar2.h: Likewise.
26436 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26437 * wcsmbs/wchar.h: Likewise.
26439 2012-04-29 Andreas Jaeger <aj@suse.de>
26441 * Makerules (tests): Remove enable-check-abi protection.
26442 (check-abi-warn): Remove.
26443 (check-abi-%): Remove check-abi-warn usage.
26445 * configure.in: Remove check-abi configure option.
26446 * configure: Regenerated.
26447 * config.make.in (enable-check-abi): Remove.
26449 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26452 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26453 double functions to double *_finite functions.
26456 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26457 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26459 * stdio-common/Makefile (tests): Add tst-sprintf3.
26460 * stdio-common/tst-sprintf3.c: New file.
26462 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26463 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26465 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26467 * conform/conformtest.pl: Remove duplicate typed-constant
26470 2012-04-28 David S. Miller <davem@davemloft.net>
26472 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26473 (check-abi-%): Remove AWK script prerequisite and explicit
26475 (check-abi): Rewrite to just diff the symlist with the abilist.
26476 (config-tls, config-abi-config): Delete, no longer used.
26477 (update-abi-%): Remove AWK script and explicit abilist directory.
26478 (update-abi): Rewrite to simply compare and conditionally copy the
26479 symlist and the sysdep abilist file. Remove update-abi-config
26481 * abilist/ld.abilist: Remove.
26482 * abilist/libBrokenLocale.abilist: Remove.
26483 * abilist/libanl.abilist: Remove.
26484 * abilist/libcrypt.abilist: Remove.
26485 * abilist/libdl.abilist: Remove.
26486 * abilist/librt.abilist: Remove.
26487 * abilist/libthread_db.abilist: Remove.
26488 * abilist/libutil.abilist: Remove.
26489 * scripts/extract-abilist.awk: Remove.
26490 * scripts/merge-abilist.awk: Remove.
26491 * sysdeps/generic/libcidn.abilist: New file.
26492 * sysdeps/generic/libnss_compat.abilist: New file.
26493 * sysdeps/generic/libnss_db.abilist: New file.
26494 * sysdeps/generic/libnss_dns.abilist: New file.
26495 * sysdeps/generic/libnss_files.abilist: New file.
26496 * sysdeps/generic/libnss_hesiod.abilist: New file.
26497 * sysdeps/generic/libnss_nis.abilist: New file.
26498 * sysdeps/generic/libnss_nisplus.abilist: New file.
26499 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26500 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26501 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26503 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26504 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26505 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26506 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26507 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26508 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26509 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26510 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26511 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26513 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26514 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26515 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26516 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26518 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26519 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26520 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26521 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26522 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26523 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26525 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26526 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26527 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26529 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26536 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26632 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26633 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26634 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26636 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26637 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26638 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26639 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26640 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26641 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26642 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26643 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26644 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26645 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26697 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26699 * conform/conformtest.pl: Fix typo in handling typed-constant from
26702 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26704 * README: Cut down references to pre-2.6 Linux kernels and
26705 Linuxthreads. Update lists of configurations in libc and ports
26706 and sort alphabetically. Say "or newer" with Linux kernel version
26709 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26711 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26714 * math/libm-test.inc (logb_test_downward): New test to expose
26715 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26718 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26721 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26723 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26724 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26726 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26728 * sysdeps/unix/i386/brk.S: Remove file.
26729 * sysdeps/unix/i386/dl-brk.S: Likewise.
26730 * sysdeps/unix/i386/pipe.S: Likewise.
26731 * sysdeps/unix/i386/sigreturn.S: Likewise.
26732 * sysdeps/unix/i386/syscall.S: Likewise.
26733 * sysdeps/unix/i386/vfork.S: Likewise.
26734 * sysdeps/unix/i386/wait.S: Likewise.
26736 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26737 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26739 * configure.in (arm*-none*): Do not allow without
26740 --enable-hacker-mode.
26741 (netbsd*): Remove case setting base_os.
26742 (386bsd*): Likewise.
26743 (freebsd*): Likewise.
26746 (sunos*): Likewise.
26747 (ultrix*): Likewise.
26748 (newsos*): Likewise.
26749 (dynix*): Likewise.
26755 (minix*): Likewise.
26756 (irix4*): Likewise.
26757 (irix6*): Likewise.
26758 (solaris[2-9]*): Likewise.
26760 * configure: Regenerated.
26762 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26765 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26766 overflow or cancellation in calculating denominator.
26767 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26768 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26769 down expression to avoid unexpected rounding in newer GCCs.
26770 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26772 2012-04-26 David S. Miller <davem@davemloft.net>
26774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26775 long-double compat symbols.
26776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26790 2012-04-25 David S. Miller <davem@davemloft.net>
26792 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26793 HWCAP_* values only after the memory barriers have been defined.
26794 (atomic_full_barrier): Define.
26795 (atomic_read_barrier): Define.
26796 (atomic_write_barrier): Define.
26798 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26800 * shlib-versions: Add libgcc_s version information.
26801 * sysdeps/generic/libgcc_s.h: Remove.
26802 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26804 * sysdeps/gnu/unwind-resume.c: Likewise.
26805 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26807 2012-04-25 David S. Miller <davem@davemloft.net>
26809 * sysdeps/unix/sparc/brk.S: Delete.
26810 * sysdeps/unix/sparc/dl-brk.S: Delete.
26811 * sysdeps/unix/sparc/pipe.S: Delete.
26812 * sysdeps/unix/sparc/sysdep.S: Delete.
26813 * sysdeps/unix/sparc/sysdep.h: Delete.
26814 * sysdeps/unix/sparc/vfork.S: Delete.
26815 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26816 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26817 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26818 ret_ERRVAL, r0, r1, MOVE): Define.
26819 (JUMPTARGET): Remove.
26820 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26821 sysdeps/unix/sparc/sysdep.h
26822 (ENTRY, END): Remove.
26823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26825 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26827 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26828 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26831 * timezone/README: Update upstream location and email address for
26833 * timezone/zdump.c: Update from tzcode 2012b.
26834 * timezone/zic.c: Likewise.
26836 * configure.in (libc_cv_as_needed): Remove test.
26837 * configure: Regenerated.
26838 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26839 conditional definition.
26840 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26841 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26842 * config.make.in (have-as-needed): Remove variable.
26844 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26845 Paul Pluzhnikov <ppluzhnikov@google.com>
26847 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26850 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26852 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26853 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26854 * sysdeps/sh/strlen.S: Likewise.
26856 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26858 * sysdeps/unix/fork.S: Remove file.
26859 * sysdeps/unix/i386/fork.S: Likewise.
26860 * sysdeps/unix/sparc/fork.S: Likewise.
26862 * sysdeps/unix/system.c: Remove file.
26863 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26865 * sysdeps/unix/getegid.S: Remove file.
26866 * sysdeps/unix/geteuid.S: Likewise.
26868 2012-04-24 Roland McGrath <roland@hack.frob.com>
26870 * scripts/check-localplt.awk: New file.
26871 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26873 * scripts/data/localplt-generic.data: Add a comment.
26875 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26876 NODE when __dir_mkfile failed.
26877 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26878 Reported by Ludovic Courtès <ludo@gnu.org>.
26880 2012-04-24 Andreas Jaeger <aj@suse.de>
26882 * Makerules (common-clean): Also remove gen-as-const-headers
26885 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26887 * Makerules (native-compile): Do not change working directory for
26888 build. Use $(OUTPUT_OPTION) in command.
26889 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26891 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26894 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26895 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26896 * math/libm-test.inc (floor_test): Add more tests.
26897 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26899 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26901 * sysdeps/unix/getdents.c: Remove file.
26902 * sysdeps/unix/sysv/getdents.c: Likewise.
26903 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26905 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26906 sysdeps/unix/mman/syscalls.list.
26908 (mprotect): Likewise.
26910 (munmap): Likewise.
26911 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26912 * sysdeps/unix/mman/syscalls.list: Remove.
26913 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26915 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26916 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26917 * configure: Regenerated.
26918 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26919 $(libgcc_s_suffix).
26920 * config.make.in (libgcc_s_suffix): Remove variable.
26922 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26924 * sysdeps/unix/sysv/gethostname.c: Move to ...
26925 * sysdeps/posix/gethostname.c: ... here.
26927 * sysdeps/unix/execve.S: Remove file.
26929 * sysdeps/unix/_exit.S: Remove file.
26931 2012-04-23 Andreas Jaeger <aj@suse.de>
26934 * manual/Makefile: Remove make dist support, there's no
26935 need for a stand-alone documentation tar ball.
26936 (TEXI2DVI): Define always, it's not in Makeconfig.
26939 (edition): Removed.
26940 (glibc-doc-$(edition).tar): Removed
26944 (ETAGS): Remove, it's in Makeconfig.
26945 (move-if-change): Remove, it's in Makeconfig.
26947 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26950 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26951 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26952 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26953 (strtod_l, strtof_l, strtold_l): Remove __wur.
26954 It is not necessarily an error to ignore strtol's return value.
26955 One can reliably look at the stored endptr to decide whether
26956 the number had valid syntax.
26958 2012-04-21 Andreas Jaeger <aj@suse.de>
26961 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26963 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26965 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26966 * sysdeps/unix/sysv/Versions: Remove file.
26968 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26973 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26976 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26977 version from __vm86.
26979 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26981 * sysdeps/unix/common/lxstat.c: Remove file.
26982 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26984 * sysdeps/unix/sysv/Makefile: Remove file.
26986 * sysdeps/unix/sysv/direct.h: Remove file.
26988 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26989 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26990 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26991 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26992 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26993 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26994 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26996 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26998 * sysdeps/unix/xmknod.c: Remove file.
26999 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27001 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27003 * sysdeps/unix/sysv/i386/time.S: Remove file.
27005 * sysdeps/unix/fxstat.c: Remove file.
27006 * sysdeps/unix/xstat.c: Likewise.
27007 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27009 * sysdeps/unix/sysv/sigaction.c: Remove file.
27011 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27012 (sysdep_headers): Remove variable.
27013 [termio.h not in sysdep_headers] (generated): Likewise.
27014 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27015 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27016 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27017 * sysdeps/unix/sysv/tcflow.c: Likewise.
27018 * sysdeps/unix/sysv/tcflush.c: Likewise.
27019 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27020 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27021 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27022 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27023 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27025 * sysdeps/unix/siglist.c: Remove file.
27027 * sysdeps/unix/getppid.S: Remove file.
27029 * sysdeps/unix/mkdir.c: Remove file.
27030 * sysdeps/unix/rmdir.c: Likewise.
27032 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27034 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27036 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27037 errlist-compat value.
27039 2012-04-18 David S. Miller <davem@davemloft.net>
27041 * sysdeps/generic/memcopy.h (reg_char): Delete.
27042 * debug/strcat_chk.c: Use char, not reg_char.
27043 * debug/strcpy_chk.c: Likewise.
27044 * debug/strncat_chk.c: Likewise.
27045 * debug/strncpy_chk.c: Likewise.
27046 * string/memchr.c: Likewise.
27047 * string/memrchr.c: Likewise.
27048 * string/rawmemchr.c: Likewise.
27049 * string/strcat.c: Likewise.
27050 * string/strchr.c: Likewise.
27051 * string/strchrnul.c: Likewise.
27052 * string/strcmp.c: Likewise.
27053 * string/strcpy.c: Likewise.
27054 * string/strncat.c: Likewise.
27055 * string/strncmp.c: Likewise.
27056 * string/strncpy.c: Likewise.
27058 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27060 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27061 __builtin_memcopy is called when src and dest ranges are known to not
27064 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27066 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27067 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27068 fwd_align_merge macro call.
27069 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27070 bwd_align_merge macro call.
27071 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27073 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27075 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27076 bwd_align_merge macros.
27077 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27078 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27079 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27081 2012-04-18 David S. Miller <davem@davemloft.net>
27083 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27085 2012-04-18 Andreas Jaeger <aj@suse.de>
27088 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27089 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27090 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27092 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27093 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27094 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27096 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27097 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27098 Adjust for changed ldbl-128 files.
27100 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27101 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27102 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27104 2012-04-17 David S. Miller <davem@davemloft.net>
27106 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27108 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27110 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27111 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27112 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27113 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27114 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27115 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27117 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27120 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27121 * math/libm-test.inc: Add ilogb errno and exception tests.
27122 * math/w_ilogb.c: New file: ilogb wrapper.
27123 * math/w_ilogbf.c: New file: ilogbf wrapper.
27124 * math/w_ilogbl.c: New file: ilogbl wrapper.
27125 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27126 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27127 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27128 exception being thrown with 0.0 as argument.
27129 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27130 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27131 exception being thrown with 0.0 as argument.
27132 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27133 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27134 exception being thrown with 0.0 as argument.
27135 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27136 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27137 exception being thrown with 0.0 as argument.
27138 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27139 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27140 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27141 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27142 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27143 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27144 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27145 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27146 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27148 2012-04-17 Petr Baudis <pasky@ucw.cz>
27150 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27153 2012-04-16 Marek Polacek <polacek@redhat.com>
27155 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27157 2012-04-16 Marek Polacek <polacek@redhat.com>
27159 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27160 operands of fdivp instruction.
27162 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27164 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27165 * elf/tst-auditmod3b.c: Likewise.
27166 * elf/tst-auditmod4b.c: Likewise.
27167 * elf/tst-auditmod5b.c: Likewise.
27168 * elf/tst-auditmod6b.c: Likewise.
27169 * elf/tst-auditmod6c.c: Likewise.
27170 * elf/tst-auditmod7b.c: Likewise.
27171 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27172 * sysdeps/x86_64/preconfigure.in: Likewise.
27173 * sysdeps/x86_64/preconfigure: Regenerated.
27175 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27177 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27180 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27182 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27183 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27185 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27188 * locale/iso-639.def: Fix gl language name. Spotted by
27191 2012-04-12 Roland McGrath <roland@hack.frob.com>
27194 * libio/libio.h (__io_write_fn): Update comment.
27196 2012-04-12 Petr Baudis <pasky@ucw.cz>
27199 * stdio.texi (Hook Functions): The user provided writer function
27200 is not allowed to return -1.
27202 2012-04-11 David S. Miller <davem@davemloft.net>
27204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27206 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27208 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27209 Add a leading slash to rtkaio.
27211 2012-04-11 Jim Meyering <meyering@redhat.com>
27214 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27215 It is not necessarily an error to ignore fwrite's return
27216 value. One can reliably use ferror to test for errors after
27219 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27221 * bits/types.h (__snseconds_t): New type.
27222 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27224 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27226 (__SNSECONDS_T_TYPE): Likewise.
27227 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27228 (__SNSECONDS_T_TYPE): Likewise.
27229 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27230 (__SNSECONDS_T_TYPE): Likewise.
27232 2012-04-10 Andreas Jaeger <aj@suse.de>
27235 * manual/time.texi (Processor Time): Return type of times is
27236 elapsed real time since an arbitrary point in the past.
27237 (CPU Time): Move CLK_TCK from here...
27238 (Processor Time): ...to here. Correct description.
27239 * manual/conf.texi (Constants for Sysconf): Correct description of
27242 2012-04-10 David S. Miller <davem@davemloft.net>
27245 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27246 where the is a gap between DT_REL(A) and DT_JMPREL.
27248 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27250 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27251 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27252 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27254 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27256 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27257 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27258 (dl_main): Handle --inhibit-cache.
27259 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27261 * elf/dl-load.c (_dl_map_object): Use it.
27262 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27264 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27267 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27268 (__ieee754_powl): Saturate large exponents rather than testing for
27269 overflow of y*log2(x).
27270 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27271 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27275 * math/s_ctan.c: Include <float.h>.
27276 (__ctan): Avoid internal overflow or cancellation in calculating
27278 * math/s_ctanf.c: Likewise.
27279 * math/s_ctanl.c: Likewise.
27280 * math/s_ctanh.c: Likewise.
27281 * math/s_ctanhf.c: Likewise.
27282 * math/s_ctanhl.c: Likewise.
27283 * math/libm-test.inc (ctan_test): Add more tests.
27284 (ctanh_test): Likewise.
27285 * sysdeps/i386/fpu/libm-test-ulps: Update.
27286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27288 2012-04-09 Andreas Jaeger <aj@suse.de>
27291 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27292 is an optional BSD extension.
27295 * manual/stdio.texi (Opening Streams): Document additional fopen
27298 2012-04-09 Roland McGrath <roland@hack.frob.com>
27300 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27301 %eax without telling the compiler.
27303 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27306 * manual/install.texi: Use sourceware.org.
27308 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27311 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27312 (__ieee754_pow): Generate overflow and underflow using huge*huge
27313 and tiny*tiny rather than just returning constant infinity or zero
27314 for large exponents.
27315 * math/libm-test.inc (pow_test): Require overflow exceptions for
27316 applicable cases of large exponents.
27319 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27320 (__ieee754_pow): Use iterative multiplication algorithm only for
27321 integer exponents with absolute value below 1024. Check for odd
27322 integer exponents when using algorithm for real exponents.
27323 * math/libm-test.inc (pow_test): Add more tests.
27324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27326 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27329 * math/libm-test.inc (exp_test): Do not allow overflow exception
27332 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27335 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27336 instead of __kernel_standard_f.
27338 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27340 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27341 * sysdeps/x86_64/memset_chk.S: Likewise.
27343 2012-04-08 Andreas Jaeger <aj@suse.de>
27346 * manual/startup.texi (Environment Access): Describe return value
27347 for putenv and setenv.
27350 * manual/filesys.texi (Directory Entries): Add description for
27354 * manual/filesys.texi (Directory Entries): Clarify that it's file
27355 system not operating system in the description of DT_UNKNOWN.
27358 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27360 2012-04-08 Stephen Compall <s11@member.fsf.org>
27363 * manual/llio.texi (Opening and Closing Files): Add cross
27364 reference to explain mode argument.
27366 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27368 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27369 * sysdeps/x86_64/memset_chk.S: Likewise.
27371 2012-04-07 David S. Miller <davem@davemloft.net>
27373 * elf/elf.h (R_SPARC_WDISP10): Define.
27374 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27377 R_SPARC_SIZE64 and R_SPARC_H34.
27379 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27381 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27382 conditions and remove no longer applicable assertion.
27384 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27386 * bits/byteswap.h: Include <features.h>.
27387 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27388 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27390 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27392 * bits/byteswap.h (__bswap_16): Removed.
27393 Include <bits/byteswap-16.h> to get __bswap_16.
27394 * sysdeps/i386/bits/byteswap.h: Likewise.
27395 * sysdeps/s390/bits/byteswap.h: Likewise.
27396 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27397 * bits/byteswap-16.h: New file.
27398 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27399 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27400 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27401 * string/Makefile (headers): Add bits/byteswap-16.h.
27403 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27406 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27408 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27409 * nss/tst-nss-static.c: New.
27411 2012-04-06 Robert Millan <rmh@gnu.org>
27414 * manual/llio.texi (File Position Primitive): lseek
27415 refers to WHENCE when it really means OFFSET.
27417 2012-04-06 Andreas Jaeger <aj@suse.de>
27419 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27420 strncmp declarations.
27422 * abilist/libc.abilist: Add __poll and __ppoll.
27424 2012-04-05 David S. Miller <davem@davemloft.net>
27426 * scripts/check-local-headers.sh: Accept a host triplet in the
27427 path matched by the exclude regexp.
27429 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27431 * sysdeps/powerpc/powerpc32/dl-machine.h
27432 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27433 * sysdeps/s390/s390-32/dl-machine.h
27434 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27435 * sysdeps/sparc/sparc32/dl-machine.h
27436 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27437 * sysdeps/sparc/sparc64/dl-machine.h
27438 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27440 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27442 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27443 undefined symbol errors.
27445 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27448 2012-04-05 Michael Matz <matz@suse.de>
27451 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27453 2012-04-05 Andreas Jaeger <aj@suse.de>
27456 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27459 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27461 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27462 which ROUND is no valid rounding mode.
27464 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27466 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27468 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27470 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27472 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27473 an exception using FPU order intentionally.
27475 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27477 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27478 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27479 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27480 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27482 2012-04-05 Simon Josefsson <simon@josefsson.org>
27485 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27486 EINVAL when BUFLEN is too smal.
27488 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27491 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27492 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27494 2012-04-03 Andreas Jaeger <aj@suse.de>
27497 * manual/setjmp.texi (System V contexts): Fix sentence.
27500 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27501 New macro for this case.
27502 [!__GNUC__] (__bswap_64): New inline function for this case.
27503 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27504 * bits/byteswap.h: Likewise.
27505 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27506 ull, guard with __GLIBC_HAVE_LONG_LONG.
27508 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27509 __GLIBC_HAVE_LONG_LONG.
27511 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27512 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27514 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27517 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27518 inptr and inend, rather than using last_ch.
27520 2012-04-02 David S. Miller <davem@davemloft.net>
27522 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27523 * stdio-common/printf-parse.h (read_int): Change return type to
27524 'int', return -1 on INT_MAX overflow.
27525 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27526 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27527 overflows INT_MAX. Check for overflow of in-format-string precision
27528 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27529 SIZE_MAX not INT_MAX for integer overflow test.
27530 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27531 skip the construct in the format string but do not record anything.
27532 * stdio-common/bug22.c: Adjust to test both width/prevision
27533 INT_MAX overflow as well as total length INT_MAX overflow. Check
27534 explicitly for proper errno values.
27536 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27538 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27540 * string/test-strcmp.c [! WIDE]: Likewise.
27541 * time/tst-mktime2.c: Likewise for INT_MAX.
27542 * string/test-string.h: #include <sys/param.h> for MIN.
27544 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27545 * sysdeps/i386/init-first.c (init): Likewise.
27546 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27547 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27548 * sysdeps/sh/init-first.c (init): Likewise.
27550 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27552 * po/ru.po: Update from translation team.
27553 * po/vi.po: Likewise.
27555 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27557 * resolv/nss_dns/dns-host.c: Merge copyright years.
27559 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27562 Optimize memcpy with prefetch if
27563 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27564 src, dst pointers have unequal 16 byte alignments.
27566 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27569 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27570 from a CNAME entry and return the minimum ttl for the query.
27571 (gaih_getanswer_slice): Likewise.
27573 2012-03-30 Jeff Law <law@redhat.com>
27575 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27577 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27578 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27580 * resolv/nss_dns/dns-host.c: Update copyright year.
27582 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27584 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27585 requests to save a system call. Fix check that all bytes are sent.
27587 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27588 comments for sendmmsg.
27590 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27593 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27594 with only 1 character between 0x0041 and 0x01b0.
27595 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27596 * wcsmbs/tst-mbsnrtowcs.c: New file.
27598 2012-03-29 David S. Miller <davem@davemloft.net>
27600 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27601 small copies by hand.
27603 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27606 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27607 _nss_compat_initgroups_dyn): Fall back to malloc/free
27608 for large group memberships.
27610 2012-03-28 David S. Miller <davem@davemloft.net>
27612 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27613 that branches into memcpy.
27614 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27615 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27616 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27617 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27618 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27620 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27621 implementation too.
27622 * sysdeps/sparc/mempcpy.S: New file.
27624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27625 the IFUNC routine in the libc case.
27626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27628 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27629 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27630 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27631 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27632 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27633 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27634 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27635 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27637 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27638 loop to 256 bytes instead of 64 bytes and fix test signedness.
27640 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27641 * sysdeps/sparc/sparc32/Makefile: rather than here...
27642 * sysdeps/sparc/sparc64/Makefile: and here.
27644 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27646 * malloc/mallocbug.c: Avoid warnings about unused variables.
27648 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27651 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27652 in the right place. Discard and retry query if response is
27653 larger than input buffer size.
27655 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27660 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27661 x for large integer exponent.
27662 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27663 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27664 sign of result as needed afterwards.
27665 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27666 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27667 result for underflowing pow the same as for overflow.
27668 (__kernel_standard_l): Handle powl overflow and underflow here
27669 rather than calling __kernel_standard.
27670 * math/libm-test.inc (pow_test): Add more tests.
27685 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27686 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27687 (__kernel_standard_l): New function.
27688 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27690 * math/w_acosl.c (__acosl): Likewise.
27691 * math/w_asinl.c (__asinl): Likewise.
27692 * math/w_atan2l.c (__atan2l): Likewise.
27693 * math/w_atanhl.c (__atanhl): Likewise.
27694 * math/w_coshl.c (__coshl): Likewise.
27695 * math/w_exp10l.c (__exp10l): Likewise.
27696 * math/w_exp2l.c (__exp2l): Likewise.
27697 * math/w_fmodl.c (__fmodl): Likewise.
27698 * math/w_hypotl.c (__hypotl): Likewise.
27699 * math/w_j0l.c (__j0l, __y0l): Likewise.
27700 * math/w_j1l.c (__j1l, __y1l): Likewise.
27701 * math/w_jnl.c (__jnl, __ynl): Likewise.
27702 * math/w_lgammal.c (__lgammal): Likewise.
27703 * math/w_log10l.c (__log10l): Likewise.
27704 * math/w_log2l.c (__log2l): Likewise.
27705 * math/w_logl.c (__logl): Likewise.
27706 * math/w_powl.c (__powl): Likewise.
27707 * math/w_remainderl.c (__remainderl): Likewise.
27708 * math/w_scalbl.c (sysv_scalbl): Likewise.
27709 * math/w_sinhl.c (__sinhl): Likewise.
27710 * math/w_sqrtl.c (__sqrtl): Likewise.
27711 * math/w_tgammal.c (__tgammal): Likewise.
27712 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27713 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27714 * math/libm-test.inc (acos_test): Add more tests.
27715 (acosh_test): Likewise.
27716 (asin_test): Likewise.
27717 (atanh_test): Likewise.
27718 (exp_test): Likewise.
27719 (exp10_test): Likewise.
27720 (exp2_test): Likewise.
27721 (expm1_test): Likewise.
27722 (lgamma_test): Likewise.
27723 (log_test): Likewise.
27724 (log10_test): Likewise.
27725 (log1p_test): Likewise.
27726 (log2_test): Likewise.
27727 (pow_test): Do not allow some spurious overflow exceptions.
27728 (sqrt_test): Add more tests.
27729 (tgamma_test): Likewise.
27730 (y0_test): Likewise.
27731 (y1_test): Likewise.
27732 (yn_test): Likewise.
27734 2012-03-27 Anton Blanchard <anton@samba.org>
27736 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27738 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27739 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27740 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27742 2012-03-27 David S. Miller <davem@davemloft.net>
27744 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27746 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27747 have-as-vis3 check.
27749 2012-03-27 Andreas Jaeger <aj@suse.de>
27751 * sysdeps/x86_64/elf/configure.in: Moved to ...
27752 * sysdeps/x86_64/configure.in: ... here.
27753 * sysdeps/x86_64/elf/start.S: Moved to ...
27754 * sysdeps/x86_64/start.S: ... here.
27755 * sysdeps/x86_64/elf/configure: Delete.
27757 * sysdeps/x86_64/configure.in: Merge contents from
27758 sysdeps/i386/configure.in (without i686 check).
27760 * sysdeps/i386/elf/Versions: Merge into ...
27761 * sysdeps/i386/Versions: ... this.
27762 * sysdeps/i386/elf/Versions: Delete file.
27763 * sysdeps/i386/elf/start.S: Moved to ...
27764 * sysdeps/i386/start.S: ...here.
27765 * sysdeps/i386/elf/configure.in: Merge into...
27766 * sysdeps/i386/configure.in: ...here.
27767 * sysdeps/i386/elf/configure.in: Delete file.
27768 * sysdeps/i386/elf/configure: Delete file.
27770 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27771 * debug/backtracesyms.c: ... here.
27772 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27773 * debug/backtracesymsfd.c: ... here.
27774 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27775 * sysdeps/generic/ifunc-sel.h: ... here.
27777 * sysdeps/unix/i386/start.c: Delete file.
27778 * sysdeps/unix/sparc/start.c: Delete file.
27779 * sysdeps/unix/start.c: Delete file.
27781 * sysdeps/sh/elf/configure.in: Moved to ...
27782 * sysdeps/sh/configure.in: ... here.
27783 * sysdeps/sh/elf/start.S: Moved to ...
27784 * sysdeps/sh/start.S: ... here.
27785 * sysdeps/sh/elf/configure: Delete file.
27787 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27788 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27789 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27790 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27791 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27792 * sysdeps/powerpc/powerpc64/start.S: here.
27793 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27794 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27795 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27796 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27797 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27799 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27800 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27801 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27802 * sysdeps/powerpc/powerpc32/start.S: ... here.
27803 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27804 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27805 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27807 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27808 * sysdeps/powerpc/ifunc-sel.h: ... here.
27809 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27810 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27812 * sysdeps/sparc/elf/configure.in: Moved to ...
27813 * sysdeps/sparc/configure.in: ... here.
27814 * sysdeps/sparc/elf/configure: Delete file.
27815 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27816 * sysdeps/sparc/sparc32/start.S: ... here.
27817 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27818 * sysdeps/sparc/sparc64/start.S: ... here.
27819 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27820 * sysdeps/sparc/sparc32/Makefile: ... this.
27821 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27822 * sysdeps/sparc/sparc64/Makefile: ... this.
27824 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27825 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27826 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27827 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27828 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27829 * sysdeps/s390/s390-32/setjmp.S: ... here.
27830 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27831 * sysdeps/s390/s390-32/configure.in: ... here.
27832 * sysdeps/s390/s390-32/elf/configure: Delete file.
27833 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27834 * sysdeps/s390/s390-32/start.S: ... here.
27836 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27837 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27838 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27839 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27840 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27841 * sysdeps/s390/s390-64/setjmp.S: ... here.
27842 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27843 * sysdeps/s390/s390-64/configure.in: ... here
27844 * sysdeps/s390/s390-64/elf/configure: Delete file.
27845 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27846 * sysdeps/s390/s390-64/start.S: ... here.
27847 * sysdeps/s390/s390-64/elf/configure: Delete.
27849 * configure.in: Remove support for elf directories in sysdeps.
27851 * configure: Regenerated.
27852 * sysdeps/i386/configure: Regenerated.
27853 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27854 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27855 * sysdeps/s390/s390-32/configure: Regenerated.
27856 * sysdeps/s390/s390-64/configure: Regenerated.
27857 * sysdeps/sh/configure: Regenerated.
27858 * sysdeps/sparc/configure: Regenerated.
27859 * sysdeps/x86_64/configure: Regenerated.
27861 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27866 denormal result into account.
27868 2012-03-25 Roland McGrath <roland@hack.frob.com>
27870 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27871 Reported by Allan McRae <allan@archlinux.org>.
27873 2012-03-23 Jeff Law <law@redhat.com>
27875 * nss/getnssent.c (__nss_getent): Fix typo.
27877 2012-03-23 David S. Miller <davem@davemloft.net>
27879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27881 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27883 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27884 to pad to uint64_t for each field.
27885 (dl_tls_index): Replace unsigned long with uint64_t.
27887 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27888 Paul Pluzhnikov <ppluzhnikov@google.com>
27891 * grp/Makefile (otherlibs): Don't set it.
27892 * inet/Makefile (otherlibs): Likewise.
27893 * login/Makefile (otherlibs): Likewise.
27894 * nscd/Makefile (otherlibs): Likewise.
27895 * posix/Makefile (otherlibs): Likewise.
27896 * pwd/Makefile (otherlibs): Likewise.
27897 * rt/Makefile (otherlibs): Likewise.
27898 * sunrpc/Makefile (otherlibs): Likewise.
27899 * nss/Makefile (otherlibs): Likewise.
27900 Add libnss_files to routines and static-only-routines.
27901 ($(objpfx)getent): Remove rule.
27902 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27903 static-only-routines.
27905 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27908 * math/s_cexp.c: Include <float.h>.
27909 (__cexp): Handle exp result overflowing not necessarily
27910 overflowing both real and imaginary parts of result.
27911 * math/s_cexpf.c: Likewise.
27912 * math/s_cexpl.c: Likewise.
27913 * math/libm-test.inc (cexp_test): Add more tests.
27914 * sysdeps/i386/fpu/libm-test-ulps: Update.
27915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27917 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27919 * include/link.h (ELFW): New macro.
27920 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27921 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27923 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27925 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27928 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27930 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27932 (struct La_x32_retval): Likewise.
27934 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27936 * sysdeps/x86_64/preconfigure.in: New file.
27937 * sysdeps/x86_64/preconfigure: New generated file.
27939 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27942 * math/e_exp2l.c: Include <float.h>.
27943 (__ieee754_exp2l): Handle overflow and underflow cases
27944 separately. Only pass fractional part of argument to
27946 * math/libm-test.inc (exp2_test): Add more tests.
27948 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27949 negating x to take absolute value.
27950 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27952 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27953 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27955 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27956 computing low part if x was negated.
27957 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27959 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27961 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27962 la_x32_gnu_pltexit.
27963 (pltexit): Cast int_retval to ptrdiff_t.
27964 * elf/tst-auditmod3b.c: Likewise.
27965 * elf/tst-auditmod4b.c: Likewise.
27966 * elf/tst-auditmod5b.c: Likewise.
27967 * elf/tst-auditmod6b.c: Likewise.
27968 * elf/tst-auditmod6c.c: Likewise.
27969 * elf/tst-auditmod7b.c: Likewise.
27971 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27972 and x32_gnu_pltexit.
27974 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27975 __ELF_NATIVE_CLASS.
27976 (La_x32_regs): New macro.
27977 (La_x32_retval): Likewise.
27978 (la_x32_gnu_pltenter): New function prototype.
27979 (la_x32_gnu_pltexit): Likewise.
27981 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27983 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27988 * configure.in (libc_cv_cc_nofma): Check for option to disable
27989 generation of FMA instructions.
27990 * configure: Regenerate.
27991 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27992 * sysdeps/ieee754/dbl-64/Makefile: New file.
27993 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27994 Remove brandred-fma4.
27995 (CFLAGS-brandred-fma4.c): Remove.
27996 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27997 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27999 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28002 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28004 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28005 LLONG_MAX != LONG_MAX.
28006 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28007 (_fitoa_word): Likewise.
28008 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28009 LLONG_MAX != LONG_MAX.
28010 * stdio-common/_itowa.h: Include <_itoa.h>.
28011 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28012 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28013 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28014 only if not defined.
28015 (_ITOA_WORD_TYPE): Likewise.
28016 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28017 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28019 2012-03-21 David S. Miller <davem@davemloft.net>
28021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28023 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28025 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28026 of x86_64 when setting libc_cv_slibdir, libdir and
28028 * sysdeps/unix/sysv/linux/configure: Regenerated.
28030 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28032 * manual/lang.texi (Old Varargs): Remove section.
28033 (How Variadic): Update menu.
28034 (va_start): Do not mention varargs.h.
28036 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28037 Joseph Myers <joseph@codesourcery.com>
28039 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28041 * configure: Regenerated.
28043 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28045 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28046 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28049 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28052 * Makefile (files-for-dist): Remove NOTES.
28053 (NOTES): Remove rule.
28054 * README: Don't refer to NOTES.
28055 * manual/creature.texi: Don't include macros.texi.
28056 * manual/intro.texi (creature.texi): Remove comment referring to
28059 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28060 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28061 * configure: Regenerated.
28062 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28063 LIBC_TRY_CC_OPTION.
28064 (libc_cv_as_i686): Likewise.
28065 (libc_cv_cc_avx): Likewise.
28066 (libc_cv_cc_sse2avx): Likewise.
28067 (libc_cv_cc_fma4): Likewise.
28068 (libc_cv_cc_novzeroupper): Likewise.
28069 * sysdeps/i386/configure: Regenerated.
28072 * sysdeps/i386/fpu/s_cexp.S: Remove.
28073 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28074 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28075 * math/libm-test.inc (cexp_test): Add more tests.
28076 * sysdeps/i386/fpu/libm-test-ulps: Update.
28077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28079 2012-03-21 Allan McRae <allan@archlinux.org>
28081 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28083 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28086 * math/w_exp2.c: Do not include <float.h>.
28087 (o_threshold, u_threshold): Remove.
28088 (__exp2): Calculate result before checking finiteness and calling
28090 * math/w_exp2f.c: Likewise.
28091 * math/w_exp2l.c: Likewise.
28092 * math/libm-test.inc (exp2_test): Require overflow exception for
28096 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28097 range of signed 64-bit integers before using fistpll. Remove
28098 checks for whether integers fit in mantissa bits.
28099 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28100 the range of signed 32-bit integers before using fistpl. Remove
28101 checks for whether integers fit in mantissa bits.
28102 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28103 (__ieee754_powl): Test for y outside the range of signed 64-bit
28104 integers before using fistpll. Reduce 64-bit values to 63-bit
28106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28107 divide-by-zero is raised for zero to large negative powers.
28108 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28109 (__ieee754_powl): Test for y outside the range of signed 64-bit
28110 integers before using fistpll. Reduce 64-bit values to 63-bit
28112 * math/libm-test.inc (pow_test): Add more tests.
28114 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28116 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28117 <stdio-common/_itoa.h>.
28118 * debug/segfault.c: Likewise.
28119 * elf/dl-cache.c: Likewise.
28120 * elf/dl-minimal.c: Likewise.
28121 * elf/dl-misc.c: Likewise.
28122 * elf/dl-sysdep.c: Likewise.
28123 * elf/dl-version.c: Likewise.
28124 * elf/rtld.c: Likewise.
28125 * hurd/hurdsock.c: Likewise.
28126 * hurd/lookup-retry.c: Likewise.
28127 * malloc/malloc.c: Likewise.
28128 * malloc/mtrace.c: Likewise.
28129 * nscd/nscd_getgr_r.c: Likewise.
28130 * nscd/nscd_getpw_r.c: Likewise.
28131 * nscd/nscd_getserv_r.c: Likewise.
28132 * posix/getopt_init.c: Likewise.
28133 * posix/wordexp.c: Likewise.
28134 * stdio-common/_itoa.c: Likewise.
28135 * stdio-common/printf_fphex.c: Likewise.
28136 * stdio-common/vfprintf.c: Likewise.
28137 * string/_strerror.c: Likewise.
28138 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28139 * sysdeps/i386/i686/hp-timing.h: Likewise.
28140 * sysdeps/mach/_strerror.c: Likewise.
28141 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28142 * sysdeps/mach/hurd/sethostid.c: Likewise.
28143 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28144 * sysdeps/mach/xpg-strerror.c: Likewise.
28145 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28146 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28147 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28148 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28149 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28150 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28151 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28152 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28153 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28154 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28155 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28156 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28157 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28158 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28159 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28160 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28161 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28162 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28163 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28164 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28165 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28167 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28169 * stdio-common/_itoa.h: Moved to ...
28170 * sysdeps/generic/_itoa.h: Here.
28172 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28174 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28175 instead of "_itoa.h" and "_itowa.h".
28176 * stdio-common/vfprintf.: Likewise.
28178 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28180 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28182 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28183 (__signbit): Likwise.
28184 (llrintf): Likwise.
28187 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28189 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28192 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28194 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28195 OVERFLOW_EXCEPTION_OK.
28196 * math/libm-test.inc ("Philosophy"): Update comment about
28198 (OVERFLOW_EXCEPTION): Define.
28199 (OVERFLOW_EXCEPTION_OK): Likewise.
28200 (INVALID_EXCEPTION_OK): Renumber.
28201 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28202 (IGNORE_ZERO_INF_SIGN): Likewise.
28203 (test_exceptions): Handle FE_OVERFLOW.
28204 (exp10_test): Expect overflow exceptions.
28205 (exp2_test): Likewise.
28206 (expm1_test): Likewise.
28207 (nextafter_test): Likewise.
28208 (pow_test): Likewise.
28209 (scalbn_test): Likewise.
28210 (scalbln_test): Likewise.
28212 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28214 * sysdeps/x86_64/bits/atomic.h
28215 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28217 (atomic_exchange_acq): Likewise.
28218 (__arch_exchange_and_add_body): Likewise.
28219 (__arch_add_body): Likewise.
28220 (atomic_add_negative): Likewise.
28221 (atomic_add_zero): Likewise.
28223 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28225 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28226 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28228 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28230 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28231 Check __x86_64__ instead of __WORDSIZE.
28233 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28235 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28237 2012-03-19 David S. Miller <davem@davemloft.net>
28239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28241 * sysdeps/sparc/fpu/fenv_private.h: New file.
28242 * sysdeps/sparc/fpu/math_private.h: Use it.
28243 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28245 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28246 (libc_feholdexcept_setroundl): Remove.
28247 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28249 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28250 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28252 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28254 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28255 int64_t instead of long int.
28256 (INSERT_WORDS64): Likwise.
28258 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28260 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28261 _Unwind_GetCFA return to _Unwind_Ptr first.
28263 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28266 * math/s_clog.c: Include <float.h>.
28267 (__clog): Scale large or subnormal inputs.
28268 * math/s_clogf.c: Likewise.
28269 * math/s_clogl.c: Likewise.
28270 * math/s_clog10.c: Include <float.h>.
28271 (M_LOG10_2): Define.
28272 (__clog10): Scale large or subnormal inputs.
28273 * math/s_clog10f.c: Likewise.
28274 * math/s_clog10l.c: Likewise.
28275 * math/libm-test.inc (clog_test): Add more tests.
28276 (clog10_test): Likewise.
28277 * sysdeps/i386/fpu/libm-test-ulps: Update.
28278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28281 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28283 * math/libm-test.inc (atan2_test): Add another test.
28285 * Makerules (common-objdir-compile): Remove.
28286 * sysdeps/unix/Makefile (config-generated): Do not add
28287 $(unix-generated) to variable.
28288 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28289 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28291 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28293 [generic bits/local_lim.h] (before-compile): Do not append to
28295 [generic bits/local_lim.h] (common-generated): Likewise.
28296 [generic sys/param.h] (before-compile): Do not append to variable.
28297 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28298 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28299 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28300 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28302 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28303 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28304 [generic sys/param.h] ($(addprefix
28305 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28306 [generic sys/param.h] (common-generated): Do not append to
28308 [generic sys/param.h] (sysdep_headers): Likewise.
28309 [generic bits/errno.h] (before-compile): Do not append to
28311 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28313 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28314 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28315 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28316 [generic bits/errno.h] (common-generated): Do not append to
28318 [generic bits/ioctls.h] (before-compile): Do not append to
28320 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28322 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28323 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28324 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28326 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28327 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28328 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28329 [generic bits/ioctls.h] (common-generated): Do not append to
28331 [generic sys/syscall.h] (syscall.h): Remove variable.
28332 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28334 [generic sys/syscall.h] (before-compile): Do not append to
28336 [generic sys/syscall.h] (common-generated): Likewise.
28337 * sysdeps/unix/errnos-tmpl.c: Remove file.
28338 * sysdeps/unix/errnos.awk: Likewise.
28339 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28340 * sysdeps/unix/ioctls.awk: Likewise.
28341 * sysdeps/unix/mk-local_lim.c: Likewise.
28342 * sysdeps/unix/snarf-ioctls: Likewise.
28344 2012-03-19 Richard Henderson <rth@twiddle.net>
28346 * sysdeps/i386/fpu/fenv_private.h: New file.
28347 * sysdeps/i386/fpu/math_private.h: Use it.
28348 (math_opt_barrier, math_force_eval): Remove.
28349 (libc_feholdexcept_setround_53bit): Remove.
28350 (libc_feupdateenv_53bit): Remove.
28351 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28352 (math_opt_barrier, math_force_eval): Remove.
28353 (libc_feholdexcept): Remove.
28354 (libc_feholdexcept_setround): Remove.
28355 (libc_fetestexcept, libc_fesetenv): Remove.
28356 (libc_feupdateenv_test): Remove.
28357 (libc_feupdateenv, libc_feholdsetround): Remove.
28358 (libc_feresetround): Remove.
28360 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28361 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28363 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28364 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28365 (libc_feupdateenv_testl): New.
28366 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28367 (libc_feupdateenv_testf): New.
28368 (libc_feupdateenv): Use libc_feupdateenv_test.
28369 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28370 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28372 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28373 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28374 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28375 (libc_feresetround_noex): New.
28376 (libc_feresetround_noexf): New.
28377 (libc_feresetround_noexl): New.
28378 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28379 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28380 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28381 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28383 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28386 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28387 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28388 SET_RESTORE_ROUND_NOEX.
28389 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28390 SET_RESTORE_ROUND_NOEXF.
28391 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28392 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28393 (libc_feholdsetroundf): New.
28394 (libc_feresetround, libc_feresetroundf): New.
28396 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28397 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28398 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28400 * sysdeps/generic/math_private.h: Include <fenv.h>.
28401 (default_libc_feholdexcept): New.
28402 (default_libc_feholdexcept_setround): New.
28403 (default_libc_fesetenv, default_libc_feupdateenv): New.
28404 (libc_feholdexcept): Only define if undefined.
28405 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28406 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28407 (libc_feholdexcept_setroundl): Likewise.
28408 (libc_feholdexcept_setround_53bit): Likewise.
28409 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28410 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28411 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28412 (libc_feupdateenv_53bit): Likewise.
28413 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28414 (libc_feholdexcept): Convert from macro to inline function.
28415 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28416 (libc_fesetenv, libc_feupdateenv): Likewise.
28418 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28419 not previously defined.
28420 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28421 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28422 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28423 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28424 * sysdeps/ieee754/flt-32/math_private.h: New file.
28425 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28426 math_private.h below SET_FLOAT_WORD.
28427 (__isnan, __isinf_ns, __finite): Remove.
28428 (__isnanf, __isinf_nsf, __finitef): Remove.
28430 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28434 2012-03-17 David S. Miller <davem@davemloft.net>
28437 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28440 2012-03-16 David S. Miller <davem@davemloft.net>
28442 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28446 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28448 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28449 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28450 sysdep_routines when subdir is sysvipc.
28451 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28452 __getshmlba helper.
28454 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28456 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28458 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28461 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28463 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28464 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28465 (__lround): Renamed to ...
28466 (__llround): This. Replace long int with long long int.
28467 Define lround functions as aliases of llround functions.
28468 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28470 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28472 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28473 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28474 adresses to uintptr_t. Replace "long int" and "unsigned long
28475 int" with "greg_t" on va_arg.
28477 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28479 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28480 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28482 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28483 Move e_machine check before EI_CLASS check. Handle x32
28484 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28485 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28486 SKIP_EM_IA_64 and include
28487 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28489 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28490 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28491 (add_system_dir): New macro.
28493 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28494 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28496 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28507 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28509 * math/w_j0f.c (j0f): Likewise.
28511 * math/w_j0l.c (__j0l): Likewise.
28513 * math/w_j1.c (j1): Likewise.
28515 * math/w_j1f.c (j1f): Likewise.
28517 * math/w_j1l.c (__j1l): Likewise.
28519 * math/w_jn.c (jn): Likewise.
28521 * math/w_jnf.c (jnf): Likewise.
28523 * math/w_jnl.c (__jnl): Likewise.
28525 * math/libm-test.inc (j0_test): Add more tests.
28526 (j1_test): Likewise.
28527 (jn_test): Likewise. Add trailing semicolon to existing test.
28528 (y0_test): Likewise.
28529 (y1_test): Likewise.
28530 * sysdeps/i386/fpu/libm-test-ulps: Update.
28531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28535 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28536 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28537 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28538 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28539 (__tanl): Set errno for infinite argument.
28540 * sysdeps/i386/fpu/mptan.c: Remove.
28541 * sysdeps/i386/fpu/s_tan.S: Likewise.
28542 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28543 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28544 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28545 * math/libm-test.inc (tan_test): Add more tests and enable more
28546 tests for double and long double.
28547 * sysdeps/i386/fpu/libm-test-ulps: Update.
28548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28550 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28552 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28553 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28555 2012-03-16 Roland McGrath <roland@hack.frob.com>
28557 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28558 * configure.in: Use it for both main tree and add-ons.
28559 * configure: Regenerated.
28561 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28563 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28565 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28567 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28571 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28572 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28573 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28574 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28575 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28577 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28578 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28579 != 0 for prec == 2.
28580 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28581 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28582 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28583 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28584 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28585 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28586 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28587 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28588 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28589 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28590 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28591 * math/libm-test.inc (cos_test): Add more tests and enable more
28592 tests for long double.
28593 (sin_test): Likewise.
28594 (sincos_test): Likewise.
28595 * sysdeps/i386/fpu/libm-test-ulps: Update.
28596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28598 2012-03-16 David S. Miller <davem@davemloft.net>
28600 * sysdeps/sparc/fpu/math_private.h: New file.
28602 2012-03-15 David S. Miller <davem@davemloft.net>
28604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28614 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28618 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28619 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28621 * sysdeps/sparc/sparc-ifunc.h: New file.
28622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28660 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28664 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28667 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28669 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28673 2012-03-15 Andreas Jaeger <aj@suse.de>
28676 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28677 ieee754/flt-32 implementation for sin, cos and sincos.
28678 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28679 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28680 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28681 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28682 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28683 ieee754/flt-32 implementation for tan.
28685 * math/libm-test.inc (cos_test): Enable some large input tests for
28687 (sin_test): Likewise.
28688 (sincos_test): Likewise.
28689 (tan_test): Add tests for large input.
28691 * sysdeps/i386/fpu/libm-test-ulps: Update.
28693 2012-03-15 Andreas Jaeger <aj@suse.de>
28696 * math/libm-test.inc (cos_test): Add more test cases.
28697 (sin_test): Likewise.
28698 (sincos_test): Likewise.
28700 2012-03-15 Andreas Jaeger <aj@suse.de>
28703 * math/libm-test.inc (cos_test): Add a test case for large input
28705 (sin_test): Likewise.
28706 (sincos_test): Likewise.
28708 2012-03-15 Andreas Jaeger <aj@suse.de>,
28709 Joseph Myers <joseph@codesourcery.com>
28712 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28713 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28714 * sysdeps/i386/fpu/branred.c: Likewise.
28715 * sysdeps/i386/fpu/dosincos.c: Likewise.
28716 * sysdeps/i386/fpu/mpa.c: Likewise.
28717 * sysdeps/i386/fpu/s_cos.S: Likewise.
28718 * sysdeps/i386/fpu/s_sin.S: Likewise.
28719 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28720 * sysdeps/i386/fpu/sincos32.c: Likewise.
28722 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28724 (libc_feupdateenv_53bit): Define.
28725 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28727 (libc_feupdateenv_53bit): Define.
28729 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28730 53 bit (without extend i386 double precision).
28732 * math/libm-test.inc (sincos_test): Add tests for large input.
28736 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28738 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28742 2012-03-15 David S. Miller <davem@davemloft.net>
28744 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28745 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28746 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28747 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28772 fmin/fmax sysdep routines.
28773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28775 2012-03-14 David S. Miller <davem@davemloft.net>
28777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28799 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28803 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28804 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28849 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28854 * sysdeps/sparc/configure.in: New file.
28855 * sysdeps/sparc/configure: Generate.
28856 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28857 * configure: Regenerate.
28858 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28859 * config.make.in (have-as-vis3): New.
28860 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28861 available use -Av9d instead of -Av9a.
28862 * sysdeps/sparc/sparc64/Makefile: Likewise.
28863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28872 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28874 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28878 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28879 fzeros/fnegs to load 0x80000000 into a float register instead of
28881 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28883 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28887 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28888 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28889 ($(inst_includedir)/bits/syscall.h): Remove rule.
28890 ($(objpfx)bits/syscall.d): Include instead of
28891 $(objpfx)syscall-list.d.
28892 (generated): Change syscall-list.h and syscall-list.d to
28893 bits/syscall.h and bits/syscall.d.
28895 2012-03-14 Roland McGrath <roland@hack.frob.com>
28898 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28900 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28903 * math/s_csqrt.c: Include <float.h>.
28904 (__csqrt): Scale large or subnormal inputs.
28905 * math/s_csqrtf.c: Likewise.
28906 * math/s_csqrtl.c: Likewise.
28907 * math/libm-test.inc (csqrt_test): Add more tests.
28908 * sysdeps/i386/fpu/libm-test-ulps: Update.
28909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28912 * math/libm-test.inc (hypot_test): Add more tests.
28914 2012-03-13 David S. Miller <davem@davemloft.net>
28917 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28918 double-precision for the calculation instead of scaling.
28920 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28922 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28923 manipulate bits before adding and subtracting TWO52[sx].
28924 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28925 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28927 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28929 2012-03-13 David S. Miller <davem@davemloft.net>
28931 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28932 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28933 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28934 rtld-global-offsets.h
28935 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28937 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28940 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28942 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28943 'err' in the ifdef scope in which it is actually used.
28945 * nss/nss_db/db-init.c: Include string.h
28947 2012-03-12 David S. Miller <davem@davemloft.net>
28949 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28950 masking out of the most significant byte of random value used.
28951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28952 Fix coding style in previous change.
28954 * sysdeps/unix/sysv/linux/kernel-features.h
28955 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28956 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28958 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28961 2012-03-11 David S. Miller <davem@davemloft.net>
28963 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28964 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28965 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28966 for 'resultvar' otherwise things get truncated on 64-bit.
28968 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28969 Fix masking out of the most significant byte of random value used.
28971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28973 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28977 2012-03-09 David S. Miller <davem@davemloft.net>
28979 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28980 variables with appropriate CPP guards.
28981 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28982 frame pointer, not the stack pointer. Correct layout comments. Fix test
28983 on resulting framesize and the management of the outregs buffer for pltexit.
28984 Preserve floating point return values across _dl_call_pltexit call.
28985 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28986 framesize and the management of the outregs buffer for pltexit.
28987 Preserve floating point return values across _dl_call_pltexit
28989 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28990 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28991 (print_exit): Fix format string for return register value.
28993 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28995 * sunrpc/Makefile (others): Add rpcgen.
28996 ($(objpfx)rpcgen): Remove special build rule and dependency on
28998 * sunrpc/rpcgen.c: New file.
29000 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29003 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29004 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29005 * sysdeps/i386/crti.S: Likewise.
29006 * sysdeps/i386/crtn.S: Likewise.
29007 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29008 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29009 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29010 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29011 * sysdeps/sh/crti.S: Likewise.
29012 * sysdeps/sh/crtn.S: Likewise.
29013 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29016 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29018 * locale/programs/locfile-kw.gperf: Likewise.
29019 * locale/programs/charmap-kw.h: Regenerated.
29020 * locale/programs/locfile-kw.h: Likewise.
29023 * intl/plural.y: Replace FSF snail mail address with URL.
29024 * intl/plural.c: Regenerated.
29026 2012-03-09 Richard Henderson <rth@twiddle.net>
29028 * include/math_private.h: Remove file.
29029 * math/math_private.h: Move file ...
29030 * sysdeps/generic/math_private.h: ... here.
29032 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29033 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29034 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29036 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29037 and <math_private.h>.
29038 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29039 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29040 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29041 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29042 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29043 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29044 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29068 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29070 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29071 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29075 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29076 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29078 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29079 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29080 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29081 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29082 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29083 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29084 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29085 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29086 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29087 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29088 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29089 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29090 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29091 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29092 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29093 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29094 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29095 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29096 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29097 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29098 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29099 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29101 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29102 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29103 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29104 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29126 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29127 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29128 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29129 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29130 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29131 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29132 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29142 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29143 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29144 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29145 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29146 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29147 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29148 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29149 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29150 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29151 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29152 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29153 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29154 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29155 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29156 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29157 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29158 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29159 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29160 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29161 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29162 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29163 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29164 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29165 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29166 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29167 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29168 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29169 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29170 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29171 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29172 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29173 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29174 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29175 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29176 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29177 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29178 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29179 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29180 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29181 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29182 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29183 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29184 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29185 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29186 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29187 * sysdeps/ieee754/k_standard.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29235 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29238 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29239 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29247 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29248 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29279 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29280 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29281 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29282 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29283 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29284 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29290 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29291 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29292 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29295 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29296 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29297 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29298 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29299 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29300 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29301 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29302 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29303 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29304 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29305 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29306 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29307 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29308 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29310 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29311 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29312 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29313 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29314 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29315 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29316 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29317 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29318 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29319 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29320 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29321 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29322 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29323 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29324 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29325 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29326 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29327 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29328 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29329 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29330 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29331 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29332 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29333 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29334 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29335 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29336 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29337 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29338 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29339 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29340 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29341 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29342 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29343 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29344 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29345 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29346 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29347 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29348 * sysdeps/ieee754/s_lib_version.c: Likewise.
29349 * sysdeps/ieee754/s_matherr.c: Likewise.
29350 * sysdeps/ieee754/s_signgam.c: Likewise.
29351 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29352 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29353 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29354 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29355 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29356 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29357 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29358 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29359 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29360 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29361 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29362 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29363 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29364 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29365 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29366 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29367 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29368 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29369 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29373 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29375 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29376 * sunrpc/rpc_main.c: Likewise.
29377 * sunrpc/rpc_svcout.c: Likewise.
29379 2012-03-09 David S. Miller <davem@davemloft.net>
29381 * include/math_private.h: New file.
29383 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29385 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29386 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29387 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29388 from <bits/socket_type.h>.
29389 (enum __socket_type): Don't define here.
29390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29392 bits/socket_type.h.
29395 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29396 checking __USE_GNU.
29398 * Makerules ($(inst_includedir)/%.h): New rule.
29399 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29400 (install-others): Remove variable setting.
29401 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29403 2012-03-08 Richard Henderson <rth@twiddle.net>
29405 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29406 from macro to inline function; merge with the
29407 !__LIBC_INTERNAL_MATH_INLINES version.
29408 (__ieee754_sqrtf): Likewise.
29410 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29411 to inline function.
29412 (__rintf, __floor, __floorf): Likewise.
29414 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29415 macro to inline function.
29416 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29418 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29419 not <math/math_private.h>.
29421 2012-03-08 David S. Miller <davem@davemloft.net>
29423 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29425 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29427 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29429 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29431 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29432 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29434 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29436 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29437 be defined individually, they must be defined as a block. Define
29438 S for printing a string instead of hidint the different by using a
29439 macro for adding the 'l'.
29440 * stdio-common/tst-fphex-wide.c: Adjust.
29442 2012-03-07 Marek Polacek <polacek@redhat.com>
29444 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29446 2012-03-08 Marek Polacek <polacek@redhat.com>
29449 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29450 * stdio-common/tst-fphex.c: Define a few macros to make the
29451 test reusable. Use them.
29452 * stdio-common/tst-fphex-wide.c: New file.
29454 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29457 * manual/macros.texi (gnusystems): New macro.
29458 (nongnusystems): Likewise.
29459 (gnulinuxhurdsystems): Likewise.
29460 (gnuhurdsystems): Likewise..
29461 (gnulinuxsystems): Likewise.
29462 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29463 variants of the GNU system, not "GNU system".
29464 * manual/conf.texi: Likewise.
29465 * manual/errno.texi: Likewise. Update example of errno macro
29467 * manual/filesys.texi: Likewise.
29468 (getumask): Document as specific to GNU/Hurd.
29469 * manual/install.texi: Likewise. Reword some references to
29471 * manual/intro.texi: Likewise.
29472 * manual/io.texi: Likewise.
29473 (File Name Portability): Detail which constraints are inapplicable
29474 to all GNU systems and which are only inapplicable to GNU/Hurd.
29475 * manual/job.texi: Likewise.
29476 * manual/llio.texi: Likewise.
29477 (O_NOCTTY): Document as present on GNU/Linux.
29478 * manual/maint.texi: Likewise.
29479 * manual/memory.texi: Likewise.
29480 * manual/pattern.texi: Likewise.
29481 * manual/pipe.texi: Likewise.
29482 * manual/process.texi: Likewise.
29483 * manual/resource.texi: Likewise.
29484 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29486 * manual/setjmp.texi: Likewise.
29487 * manual/signal.texi: Likewise.
29488 * manual/startup.texi: Likewise.
29489 * manual/stdio.texi: Likewise.
29490 * manual/terminal.texi: Likewise.
29491 (ONLCR): Document as POSIX.
29492 (OXTABS): Document availability on GNU/Linux as XTABS.
29493 (ONOEOT): Document availability separately from other bits.
29494 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29495 * manual/time.texi: Likewise.
29496 * manual/users.texi: Likewise.
29497 * INSTALL: Regenerated.
29498 * sysdeps/gnu/errlist.c: Regenerated.
29500 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29501 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29502 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29504 * configure: Regenerated.
29506 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29508 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29509 default includes instead of AC_HEADER_CHECK.
29510 * sysdeps/i386/configure: Regenerated.
29513 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29514 * math/s_cacoshf.c (__cacoshf): Likewise.
29515 * math/s_cacoshl.c (__cacoshl): Likewise.
29516 * math/s_casinh.c (__casinh): Set signs of result from argument.
29517 * math/s_casinhf.c (__casinhf): Likewise.
29518 * math/s_casinhl.c (__casinhl): Likewise.
29519 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29520 (casinh_test): Add more tests.
29521 * sysdeps/i386/fpu/libm-test-ulps: Update.
29522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29524 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29526 * po/zh_TW.po: Update from translation team.
29528 * login/Makefile (distribute): Remove variable.
29529 * catgets/Makefile: Likewise.
29530 * mach/Makefile: Likewise.
29531 * malloc/Makefile: Likewise.
29532 * misc/Makefile: Likewise.
29533 * iconv/Makefile: Likewise.
29534 * nscd/Makefile: Likewise.
29535 * hurd/Makefile: Likewise.
29536 * manual/Makefile: Likewise.
29537 * locale/Makefile: Likewise.
29538 * intl/Makefile: Likewise.
29539 * conform/Makefile: Likewise.
29540 * nss/Makefile: Likewise.
29541 * time/Makefile: Likewise.
29542 * soft-fp/Makefile: Likewise.
29543 * dirent/Makefile: Likewise.
29544 * gmon/Makefile: Likewise.
29545 * po/Makefile: Likewise.
29546 * rt/Makefile: Likewise.
29547 * socket/Makefile: Likewise.
29548 * math/Makefile: Likewise.
29549 * signal/Makefile: Likewise.
29550 * debug/Makefile: Likewise.
29551 * elf/Makefile: Likewise.
29552 * timezone/Makefile: Likewise.
29553 * stdlib/Makefile: Likewise.
29554 * iconvdata/Makefile: Likewise.
29555 * sunrpc/Makefile: Likewise.
29556 * io/Makefile: Likewise.
29557 * argp/Makefile: Likewise.
29558 * inet/Makefile: Likewise.
29559 * hesiod/Makefile: Likewise.
29560 * grp/Makefile: Likewise.
29561 * csu/Makefile: Likewise.
29562 * wctype/Makefile: Likewise.
29563 * crypt/Makefile: Likewise.
29564 * libio/Makefile: Likewise.
29565 * string/Makefile: Likewise.
29566 * nis/Makefile: Likewise.
29567 * resolv/Makefile: Likewise.
29568 * stdio-common/Makefile: Likewise.
29569 * wcsmbs/Makefile: Likewise.
29570 * dlfcn/Makefile: Likewise.
29571 * posix/Makefile: Likewise.
29574 * timezone/Makefile: Don't install timezone files, just the programs
29577 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29579 * nss/databases.def: Add missing gshadow entry.
29581 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29583 2012-03-06 Marek Polacek <polacek@redhat.com>
29586 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29587 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29588 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29589 * stdio-common/tst-long-dbl-fphex.c: New file.
29591 2012-03-06 David S. Miller <davem@davemloft.net>
29593 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29594 (set_obp_int): New function.
29595 (get_obp_int): New function.
29596 (__get_clockfreq_via_dev_openprom): Likewise.
29597 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29598 Avoid unused variable warnings on 'val' and use builtin_expect.
29599 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29601 (INLINE_CLONE_SYSCALL): Likewise.
29603 2012-03-05 David S. Miller <davem@davemloft.net>
29605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29607 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29611 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29612 only for |x| >= 40.
29613 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29615 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29618 Replace gettimeofday with __vdso_gettimeofday.
29620 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29621 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29622 __vdso_clock_gettime and __vdso_getcpu.
29624 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29625 time with __vdso_time.
29627 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29629 * manual/lang.texi (size_t): Note types to which size_t may be
29630 equivalent with the GNU C Library, but do not describe when
29631 differences between them are significant.
29633 2012-03-05 Andreas Jaeger <aj@suse.de>
29635 * sysdeps/i386/fpu/libm-test-ulps: Update.
29637 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29640 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29641 (__ieee754_pow): Save and restore rounding mode and use
29642 round-to-nearest for main computations.
29643 * math/libm-test.inc (pow_test_tonearest): New function.
29644 (pow_test_towardzero): Likewise.
29645 (pow_test_downward): Likewise.
29646 (pow_test_upward): Likewise.
29647 (main): Call the new functions.
29648 * sysdeps/i386/fpu/libm-test-ulps: Update.
29649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29652 * math/libm-test.inc (cosh_test_tonearest): New function.
29653 (cosh_test_towardzero): Likewise.
29654 (cosh_test_downward): Likewise.
29655 (cosh_test_upward): Likewise.
29656 (sinh_test_tonearest): Likewise.
29657 (sinh_test_towardzero): Likewise.
29658 (sinh_test_downward): Likewise.
29659 (sinh_test_upward): Likewise.
29660 (main): Call the new functions.
29661 * sysdeps/i386/fpu/libm-test-ulps: Update.
29662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29664 2012-03-05 Tom de Vries <tom@codesourcery.com>
29666 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29667 default stack guard is set in last bytes.
29668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29670 2012-03-05 Kees Cook <keescook@chromium.org>
29672 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29675 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29676 possibly allocate from heap instead of stack.
29677 * stdio-common/bug-vfprintf-nargs.c: New file.
29678 * stdio-common/Makefile (tests): Add nargs overflow test.
29680 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29684 2012-03-03 Marek Polacek <polacek@redhat.com>
29686 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29687 * math/math_private.h: Likewise.
29688 * stdlib/tst-strtod.c: Likewise.
29689 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29690 * sysdeps/x86_64/bits/atomic.h: Likewise.
29692 2012-03-02 David S. Miller <davem@davemloft.net>
29694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29698 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29699 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29700 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29701 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29703 2012-03-02 Roland McGrath <roland@hack.frob.com>
29706 * manual/examples/README: New file, says the example source files
29707 can be used under GPL>=2.
29708 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29709 line containing just "*/".
29710 * manual/examples/add.c: Add copyright header (GPL>=2).
29711 * manual/examples/argp-ex1.c: Likewise.
29712 * manual/examples/argp-ex2.c: Likewise.
29713 * manual/examples/argp-ex3.c: Likewise.
29714 * manual/examples/argp-ex4.c: Likewise.
29715 * manual/examples/atexit.c: Likewise.
29716 * manual/examples/db.c: Likewise.
29717 * manual/examples/dir.c: Likewise.
29718 * manual/examples/dir2.c: Likewise.
29719 * manual/examples/execinfo.c: Likewise.
29720 * manual/examples/filecli.c: Likewise.
29721 * manual/examples/filesrv.c: Likewise.
29722 * manual/examples/fmtmsgexpl.c: Likewise.
29723 * manual/examples/genpass.c: Likewise.
29724 * manual/examples/inetcli.c: Likewise.
29725 * manual/examples/inetsrv.c: Likewise.
29726 * manual/examples/isockad.c: Likewise.
29727 * manual/examples/longopt.c: Likewise.
29728 * manual/examples/memopen.c: Likewise.
29729 * manual/examples/memstrm.c: Likewise.
29730 * manual/examples/mkfsock.c: Likewise.
29731 * manual/examples/mkisock.c: Likewise.
29732 * manual/examples/mygetpass.c: Likewise.
29733 * manual/examples/pipe.c: Likewise.
29734 * manual/examples/popen.c: Likewise.
29735 * manual/examples/rprintf.c: Likewise.
29736 * manual/examples/search.c: Likewise.
29737 * manual/examples/select.c: Likewise.
29738 * manual/examples/setjmp.c: Likewise.
29739 * manual/examples/sigh1.c: Likewise.
29740 * manual/examples/sigusr.c: Likewise.
29741 * manual/examples/stpcpy.c: Likewise.
29742 * manual/examples/strdupa.c: Likewise.
29743 * manual/examples/strftim.c: Likewise.
29744 * manual/examples/strncat.c: Likewise.
29745 * manual/examples/subopt.c: Likewise.
29746 * manual/examples/swapcontext.c: Likewise.
29747 * manual/examples/termios.c: Likewise.
29748 * manual/examples/testopt.c: Likewise.
29749 * manual/examples/testpass.c: Likewise.
29750 * manual/examples/timeval_subtract.c: Likewise.
29753 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29755 * manual/timeval_subtract.c.texi: ... here, new file.
29757 2012-03-02 David S. Miller <davem@davemloft.net>
29759 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29761 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29764 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29765 (__sin): Save and restore rounding mode and use round-to-nearest
29766 for all computations.
29767 (__cos): Save and restore rounding mode and use round-to-nearest
29768 for all computations.
29769 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29771 (tan): Save and restore rounding mode and use round-to-nearest for
29773 * math/libm-test.inc (cos_test_tonearest): New function.
29774 (cos_test_towardzero): Likewise.
29775 (cos_test_downward): Likewise.
29776 (cos_test_upward): Likewise.
29777 (sin_test_tonearest): Likewise.
29778 (sin_test_towardzero): Likewise.
29779 (sin_test_downward): Likewise.
29780 (sin_test_upward): Likewise.
29781 (tan_test_tonearest): Likewise.
29782 (tan_test_towardzero): Likewise.
29783 (tan_test_downward): Likewise.
29784 (tan_test_upward): Likewise.
29785 (main): Call the new functions.
29786 * sysdeps/i386/fpu/libm-test-ulps: Update.
29787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29790 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29791 small n, then large n, before computing and testing k+n.
29792 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29797 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29798 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29799 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29800 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29803 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29804 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29805 * math/libm-test.inc (scalbn_test): Add more tests.
29806 (scalbln_test): Likewise.
29808 * manual/filesys.texi (mode_t): Describe constraints on size and
29809 signedness, not exact equivalence to a particular type.
29811 (ino64_t): Likewise.
29813 (nlink_t): Likewise.
29814 (blkcnt_t): Likewise.
29815 (blkcnt64_t): Likewise.
29816 * manual/llio.texi (off_t): Likewise.
29819 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29820 (__ieee754_exp): Save and restore rounding mode and use
29821 round-to-nearest for all computations.
29822 * math/libm-test.inc (exp_test_tonearest): New function.
29823 (exp_test_towardzero): Likewise.
29824 (exp_test_downward): Likewise.
29825 (exp_test_upward): Likewise.
29826 (main): Call the new functions.
29827 * sysdeps/i386/fpu/libm-test-ulps: Update.
29828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29830 2012-03-01 Chris Demetriou <cgd@google.com>
29832 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29833 have predictable order.
29835 2012-03-01 David S. Miller <davem@davemloft.net>
29837 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29839 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29840 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29841 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29842 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29844 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29845 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29846 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29848 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29849 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29850 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29851 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29852 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29856 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29857 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29858 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29860 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29861 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29862 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29863 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29864 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29865 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29866 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29867 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29868 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29869 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29870 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29871 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29873 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29874 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29875 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29876 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29877 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29878 * sysdeps/sparc/elf/configure: Regenerated.
29880 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29882 * configure.in (AS, LD): Require binutils 2.20 or later.
29883 * configure: Regenerated.
29884 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29885 as required minimum version.
29886 * INSTALL: Regenerated.
29890 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29891 before squaring exponent.
29892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29893 bottom long double and 27 bits of top long double before squaring
29895 * math/libm-test.inc (erfc_test): Add more tests.
29896 * sysdeps/i386/fpu/libm-test-ulps: Update.
29897 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29900 2012-03-01 Kai Tietz <ktietz@redhat.com>
29902 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29903 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29904 containing bit-fields.
29905 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29906 * soft-fp/single.h (_FP_UNION_S): Likewise.
29907 * soft-fp/double.h (_FP_UNION_D): Likewise.
29909 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29912 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29913 not include ../strcmp.S.
29914 [USE_AS_STRNCASECMP_L]: Likewise.
29915 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29916 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29917 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29918 (__strncasecmp_l_ia32): Define as alias to
29919 __strncasecmp_l_nonascii.
29922 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29923 * sysdeps/i386/fpu/libm-test-ulps: Update.
29924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29926 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29929 2012-02-29 Jeff Law <law@redhat.com>
29931 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29932 out of bounds read.
29934 2012-02-29 Marek Polacek <polacek@redhat.com>
29937 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29938 * elf/Makefile: Add rules to run tst-unused-dep.out.
29940 2012-02-28 David S. Miller <davem@davemloft.net>
29942 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29943 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29944 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29945 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29946 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29947 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29949 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29951 * math/libm-test.inc (llround_test): Move one test from
29952 lround_test. Use TEST_f_L in moved test.
29953 (lround_test): Move misplaced test to llround_test. Add testcase
29956 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29958 * sysdeps/x86_64/fpu/e_expf.S: New file.
29959 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29961 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29964 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29965 of remain_len that may cause incomplete multi-byte character and
29967 * posix/bug-regex33.c: New file.
29968 * posix/Makefile (tests): Add bug-regex33.
29970 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29972 * manual/macros.texi: New file.
29973 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29974 * manual/libc.texinfo: Include macros.texi.
29975 * manual/creatute.texi: Likewise.
29976 * manual/install.texi: Likewise.
29977 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29978 @glibcadj{} in references to the GNU C Library.
29979 * manual/charset.texi: Likewise.
29980 * manual/conf.texi: Likewise.
29981 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29982 when not using those macros.
29983 * manual/creature.texi: Likewise.
29984 * manual/crypt.texi: Likewise.
29985 * manual/errno.texi: Likewise.
29986 * manual/filesys.texi: Likewise.
29987 * manual/header.texi: Likewise.
29988 * manual/install.texi: Likewise.
29989 * manual/intro.texi: Likewise.
29990 * manual/io.texi: Likewise.
29991 * manual/job.texi: Likewise.
29992 * manual/lang.texi: Likewise.
29993 * manual/libc.texiinfo: Likewise.
29994 * manual/llio.texi: Likewise.
29995 * manual/locale.texi: Likewise.
29996 * manual/maint.texi: Likewise.
29997 * manual/math.texi: Likewise.
29998 * manual/memory.texi: Likewise.
29999 * manual/message.texi: Likewise.
30000 * manual/nss.texi: Likewise.
30001 * manual/pattern.texi: Likewise.
30002 * manual/process.texi: Likewise.
30003 * manual/resource.texi: Likewise.
30004 * manual/search.texi: Likewise.
30005 * manual/setjmp.texi: Likewise.
30006 * manual/signal.texi: Likewise.
30007 * manual/socket.texi: Likewise.
30008 * manual/startup.texi: Likewise.
30009 * manual/stdio.texi: Likewise.
30010 * manual/string.texi: Likewise.
30011 * manual/sysinfo.texi: Likewise.
30012 * manual/syslog.texi: Likewise.
30013 * manual/terminal.texi: Likewise.
30014 * manual/time.texi: Likewise.
30015 * manual/users.texi: Likewise.
30016 * INSTALL: Regenerated.
30017 * NOTES: Regenerated.
30018 * sysdeps/gnu/errlist.c: Regenerated.
30020 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30022 * include/dirent.h: Include <dirstream.h> before
30025 2012-02-28 David S. Miller <davem@davemloft.net>
30027 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30028 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30029 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30030 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30032 2012-02-27 David S. Miller <davem@davemloft.net>
30034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30036 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30037 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30040 frame pointer instead of stack pointer relative arg slot.
30041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30042 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30043 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30045 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30048 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30050 2012-02-27 David S. Miller <davem@davemloft.net>
30052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30056 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30057 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30058 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30059 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30061 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30063 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30064 later. Allow versions 5-9.
30065 * configure: Regenerated.
30066 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30067 required minimum version and 4.6 as recommended version. Do not
30068 mention bugs in GCC 2.7 and 2.8.
30069 * INSTALL: Regenerated.
30071 2012-02-27 David S. Miller <davem@davemloft.net>
30073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30077 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30078 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30079 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30080 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30082 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30083 manipulate bits before adding and subtracting TWO112[sx].
30084 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30086 2012-02-27 Roland McGrath <roland@hack.frob.com>
30089 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30090 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30091 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30092 being in POSIX, because they are in 1003.1-2008.
30094 * rt/tst-aio.c: Include <fcntl.h>.
30095 * rt/tst-aio7.c: Likewise.
30096 * rt/tst-aio64.c: Likewise.
30098 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30100 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30102 * manual/install.texi (--with-headers): Describe headers as
30103 interface headers, not private headers.
30104 (Specific advice for GNU/Linux systems): Describe use of headers
30105 from "make headers_install", not private headers from older
30107 * INSTALL: Regenerated.
30108 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30110 * sysdeps/unix/sysv/linux/configure: Regenerated.
30112 * manual/llio.texi (fclean): Remove documentation.
30114 * manual/Makefile (libc-texi-generated): New variable. Include
30116 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30117 $(libc-texi-generated), not duplicated list of files.
30118 (version.texi, stamp-version): New rules.
30119 (realclean): Remove $(libc-texi-generated), not individual files
30120 from that list. Do not remove dir-add.texinfo.
30121 * manual/libc.texinfo: Comment out uses of edition numbers and
30122 references to printed manual. Remove last-updated dates.
30123 (EDITION): Comment out.
30125 (VERSION, UPDATED): Remove.
30126 (version.texi): Include.
30128 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30130 * sysdeps/posix/spawni.c: Include <signal.h>.
30131 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30132 * sysdeps/pthread/aio_fsync.c: Likewise.
30134 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30136 * conform/Makefile (tests): Run only when not cross-compiling and
30137 when fast-check is not defined.
30139 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30140 * conform/data/limits.h-data: Fixes for POSIX2008.
30141 * conform/run-conformtest.sh: Run all tests.
30142 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30144 * include/bits/dlfcn.h: Likewise.
30145 * include/langinfo.h: Likewise.
30146 * include/monetary.h: Likewise.
30147 * include/sys/poll.h: Likewise.
30149 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30151 * posix/spawn.h: Define __need_sigset_t.
30152 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30153 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30154 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30155 to get sigevent_t only.
30156 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30157 only for __USE_GNU.
30158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30159 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30160 process_vm_writev only for __USE_GNU.
30161 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30163 * conform/Makefile: For now ignore errors from run-conformtest.
30164 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30165 POSIX to avoid namespace pollution. Don't prepend headers.
30166 * conform/data/aio.h-data: Fixes for POSIX testing.
30167 * conform/data/fcntl.h-data: Likewise.
30168 * conform/data/glob.h-data: Likewise.
30169 * conform/data/grp.h-data: Likewise.
30170 * conform/data/pthread.h-data: Likewise.
30171 * conform/data/pwd.h-data: Likewise.
30172 * conform/data/signal.h-data: Likewise.
30173 * conform/data/spawn.h-data: Likewise.
30174 * conform/data/stdio.h-data: Likewise.
30175 * conform/data/stdlib.h-data: Likewise.
30176 * conform/data/stropts.h-data: Likewise.
30177 * conform/data/sys/mman.h-data: Likewise.
30178 * conform/data/sys/stat.h-data: Likewise.
30179 * conform/data/sys/types.h-data: Likewise.
30180 * conform/data/sys/wait.h-data: Likewise.
30181 * conform/data/time.h-data: Likewise.
30182 * conform/data/unistd.h-data: Likewise.
30183 * conform/data/utime.h-data: Likewise.
30185 * io/sys/stat.h: fchmod was always in POSIX.
30186 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30187 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30188 * rt/aio.h: Define __need_timespec before including <time.h>.
30189 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30190 struct. Add forward declaration of pthread_attr_t and use it in
30192 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30193 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30194 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30195 always remove CLK_TCK definition.
30197 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30199 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30201 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30203 * conform/run-conformtest.sh: New file.
30204 * conform/Makefile: Run run-conformtest for tests.
30205 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30208 * conform/data/uchar.h-data: New file.
30209 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30210 * conform/data/arpa/inet.h-data: Likewise.
30211 * conform/data/assert.h-data: Likewise.
30212 * conform/data/complex.h-data: Likewise.
30213 * conform/data/cpio.h-data: Likewise.
30214 * conform/data/ctype.h-data: Likewise.
30215 * conform/data/dirent.h-data: Likewise.
30216 * conform/data/dlfcn.h-data: Likewise.
30217 * conform/data/errno.h-data: Likewise.
30218 * conform/data/fcntl.h-data: Likewise.
30219 * conform/data/float.h-data: Likewise.
30220 * conform/data/fmtmsg.h-data: Likewise.
30221 * conform/data/fnmatch.h-data: Likewise.
30222 * conform/data/ftw.h-data: Likewise.
30223 * conform/data/glob.h-data: Likewise.
30224 * conform/data/grp.h-data: Likewise.
30225 * conform/data/iconv.h-data: Likewise.
30226 * conform/data/inttypes.h-data: Likewise.
30227 * conform/data/langinfo.h-data: Likewise.
30228 * conform/data/libgen.h-data: Likewise.
30229 * conform/data/limits.h-data: Likewise.
30230 * conform/data/locale.h-data: Likewise.
30231 * conform/data/math.h-data: Likewise.
30232 * conform/data/monetary.h-data: Likewise.
30233 * conform/data/mqueue.h-data: Likewise.
30234 * conform/data/ndbm.h-data: Likewise.
30235 * conform/data/net/if.h-data: Likewise.
30236 * conform/data/netdb.h-data: Likewise.
30237 * conform/data/netinet/in.h-data: Likewise.
30238 * conform/data/nl_types.h-data: Likewise.
30239 * conform/data/poll.h-data: Likewise.
30240 * conform/data/pthread.h-data: Likewise.
30241 * conform/data/pwd.h-data: Likewise.
30242 * conform/data/regex.h-data: Likewise.
30243 * conform/data/sched.h-data: Likewise.
30244 * conform/data/search.h-data: Likewise.
30245 * conform/data/semaphore.h-data: Likewise.
30246 * conform/data/setjmp.h-data: Likewise.
30247 * conform/data/signal.h-data: Likewise.
30248 * conform/data/spawn.h-data: Likewise.
30249 * conform/data/stdarg.h-data: Likewise.
30250 * conform/data/stdio.h-data: Likewise.
30251 * conform/data/stdlib.h-data: Likewise.
30252 * conform/data/string.h-data: Likewise.
30253 * conform/data/strings.h-data: Likewise.
30254 * conform/data/stropts.h-data: Likewise.
30255 * conform/data/sys/ipc.h-data: Likewise.
30256 * conform/data/sys/mman.h-data: Likewise.
30257 * conform/data/sys/msg.h-data: Likewise.
30258 * conform/data/sys/resource.h-data: Likewise.
30259 * conform/data/sys/select.h-data: Likewise.
30260 * conform/data/sys/sem.h-data: Likewise.
30261 * conform/data/sys/shm.h-data: Likewise.
30262 * conform/data/sys/socket.h-data: Likewise.
30263 * conform/data/sys/stat.h-data: Likewise.
30264 * conform/data/sys/statvfs.h-data: Likewise.
30265 * conform/data/sys/time.h-data: Likewise.
30266 * conform/data/sys/timeb.h-data: Likewise.
30267 * conform/data/sys/times.h-data: Likewise.
30268 * conform/data/sys/types.h-data: Likewise.
30269 * conform/data/sys/uio.h-data: Likewise.
30270 * conform/data/sys/un.h-data: Likewise.
30271 * conform/data/sys/utsname.h-data: Likewise.
30272 * conform/data/sys/wait.h-data: Likewise.
30273 * conform/data/syslog.h-data: Likewise.
30274 * conform/data/tar.h-data: Likewise.
30275 * conform/data/termios.h-data: Likewise.
30276 * conform/data/utime.h-data: Likewise.
30277 * conform/data/utmpx.h-data: Likewise.
30278 * conform/data/varargs.h-data: Likewise.
30279 * conform/data/wchar.h-data: Likewise.
30280 * conform/data/wctype.h-data: Likewise.
30281 * conform/data/wordexp.h-data: Likewise.
30283 * include/stropts.h: New file.
30284 * include/uchar.h: New file.
30285 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30286 * include/assert.h: Likewise.
30287 * include/ctype.h: Likewise.
30288 * include/dirent.h: Likewise.
30289 * include/dlfcn.h: Likewise.
30290 * include/fcntl.h: Likewise.
30291 * include/fnmatch.h: Likewise.
30292 * include/glob.h: Likewise.
30293 * include/grp.h: Likewise.
30294 * include/libio.h: Likewise.
30295 * include/locale.h: Likewise.
30296 * include/math.h: Likewise.
30297 * include/net/if.h: Likewise.
30298 * include/netdb.h: Likewise.
30299 * include/netinet/in.h: Likewise.
30300 * include/pthread.h: Likewise.
30301 * include/pwd.h: Likewise.
30302 * include/regex.h: Likewise.
30303 * include/sched.h: Likewise.
30304 * include/search.h: Likewise.
30305 * include/setjmp.h: Likewise.
30306 * include/signal.h: Likewise.
30307 * include/stdio.h: Likewise.
30308 * include/stdlib.h: Likewise.
30309 * include/string.h: Likewise.
30310 * include/sys/cdefs.h: Likewise.
30311 * include/sys/mman.h: Likewise.
30312 * include/sys/msg.h: Likewise.
30313 * include/sys/resource.h: Likewise.
30314 * include/sys/select.h: Likewise.
30315 * include/sys/socket.h: Likewise.
30316 * include/sys/stat.h: Likewise.
30317 * include/sys/statvfs.h: Likewise.
30318 * include/sys/time.h: Likewise.
30319 * include/sys/times.h: Likewise.
30320 * include/sys/uio.h: Likewise.
30321 * include/sys/utsname.h: Likewise.
30322 * include/sys/wait.h: Likewise.
30323 * include/termios.h: Likewise.
30324 * include/time.h: Likewise.
30325 * include/ulimit.h: Likewise.
30326 * include/unistd.h: Likewise.
30327 * include/utime.h: Likewise.
30328 * include/wchar.h: Likewise.
30329 * include/wctype.h: Likewise.
30330 * include/wordexp.h: Likewise.
30332 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30334 * time/time.h: TIME_UTC must be a macro.
30335 Make timespec_get available for ISO C11 only as well.
30337 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30339 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30340 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30342 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30344 * configure.in: Use -o not -a in test for unsupported multi-arch.
30346 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30348 * manual/texinfo.tex: Update to version 2012-01-19.16.
30350 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30352 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30354 2012-02-24 Roland McGrath <roland@hack.frob.com>
30357 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30358 * manual/fdl-1.3.texi: New file.
30359 * manual/fdl-1.1.texi: File removed.
30362 * manual/libc.texinfo (FDL_VERSION): New @set.
30363 Use it for mention of FDL in cover text.
30364 (Documentation License): Use it in @include file name.
30366 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30367 Roland McGrath <roland@hack.frob.com>
30370 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30371 not LONG_LONG_MAX and LONG_LONG_MIN.
30372 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30373 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30375 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30377 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30381 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30382 manipulate bits before adding and subtracting TWO23[sx].
30383 * math/libm-test.inc (nearbyint_test): Add more tests.
30385 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30388 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30389 bits before adding and subtracting TWO23[sx].
30390 * math/libm-test.inc (rint_test): Add more tests.
30391 (rint_test_tonearest): Likewise.
30392 (rint_test_towardzero): Likewise.
30393 (rint_test_downward): Likewise.
30394 (rint_test_upward: Likewise.
30396 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30399 * include/stdc-predef.h: New file. Extracted from features.h.
30400 * include/features.h: Include stdc-predef.h.
30401 * Makefile (headers): Add stdc-predef.h.
30402 * CONFORMANCE (Compiler limitations): Update.
30404 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30406 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30408 2012-02-21 David S. Miller <davem@davemloft.net>
30410 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30411 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30413 2012-02-20 David S. Miller <davem@davemloft.net>
30415 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30416 using a normal save/restore sequence, rather than allocating a
30417 dummy stack frame just to store a frame pointer and restore.
30418 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30420 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30422 * manual/install.texi: Fix stray word in line-wrapped comment.
30424 2012-02-20 David S. Miller <davem@davemloft.net>
30426 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30427 both binutils and gcc support GOTDATA.
30429 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30430 "rd %pc" in the PIC register setup sequences.
30432 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30433 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30434 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30435 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30436 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30439 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30441 (SYSCALL_ERROR_HANDLER): Likewise.
30442 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30443 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30445 (SYSCALL_ERROR_HANDLER): Likewise.
30447 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30448 (HAVE_GCC_GOTDATA): New.
30449 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30450 relocation support in both binutils and gcc.
30451 * sysdeps/sparc/elf/configure: Regenerate.
30453 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30454 * sysdeps/sparc/sparc32/elf/configure: Delete.
30455 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30456 * sysdeps/sparc/sparc64/elf/configure: Delete.
30457 * sysdeps/sparc/elf/configure.in: New file.
30458 * sysdeps/sparc/elf/configure: Generate.
30460 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30461 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30462 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30463 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30464 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30466 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30468 * manual/install.texi: Do not mention specific glibc version
30470 * manual/libc.texinfo (VERSION, UPDATED): Update.
30471 (@copying): Use @copyright{} and range of years.
30473 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30476 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30477 [crti.S not in sysdirs] (generated): Do not append.
30478 [crti.S not in sysdirs] (omit-deps): Likewise.
30479 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30480 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30481 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30482 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30483 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30485 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30486 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30487 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30488 * csu/defs.awk: Remove file.
30489 * sysdeps/generic/initfini.c: Likewise.
30490 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30492 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30495 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30497 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30498 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30499 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30500 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30501 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30502 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30504 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30505 (__EPOLL_PACKED): Define to empty if not defined by
30507 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30511 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30513 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30514 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30515 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30516 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30518 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30522 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30524 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30526 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30527 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30531 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30533 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30534 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30536 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30538 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30539 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30541 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30543 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30546 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30548 * math/w_acos.c: Use non-signaling floating-point comparisons.
30549 * math/w_acosf.c: Likewise.
30550 * math/w_acosh.c: Likewise.
30551 * math/w_acoshf.c: Likewise.
30552 * math/w_acoshl.c: Likewise.
30553 * math/w_acosl.c: Likewise.
30554 * math/w_asin.c: Likewise.
30555 * math/w_asinf.c: Likewise.
30556 * math/w_asinl.c: Likewise.
30557 * math/w_atanh.c: Likewise.
30558 * math/w_atanhf.c: Likewise.
30559 * math/w_atanhl.c: Likewise.
30560 * math/w_exp2.c: Likewise.
30561 * math/w_exp2f.c: Likewise.
30562 * math/w_exp2l.c: Likewise.
30563 * math/w_j0.c: Likewise.
30564 * math/w_j0f.c: Likewise.
30565 * math/w_j0l.c: Likewise.
30566 * math/w_j1.c: Likewise.
30567 * math/w_j1f.c: Likewise.
30568 * math/w_j1l.c: Likewise.
30569 * math/w_jn.c: Likewise.
30570 * math/w_jnf.c: Likewise.
30571 * math/w_log.c: Likewise.
30572 * math/w_log10.c: Likewise.
30573 * math/w_log10f.c: Likewise.
30574 * math/w_log10l.c: Likewise.
30575 * math/w_log2.c: Likewise.
30576 * math/w_log2f.c: Likewise.
30577 * math/w_log2l.c: Likewise.
30578 * math/w_logf.c: Likewise.
30579 * math/w_logl.c: Likewise.
30580 * math/w_sqrt.c: Likewise.
30581 * math/w_sqrtf.c: Likewise.
30582 * math/w_sqrtl.c: Likewise.
30583 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30584 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30585 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30586 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30587 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30589 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30592 * manual/string.texi (strnlen): Use correct parameter name in
30593 equivalent expression.
30595 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30598 * manual/users.texi (seteuid): Consistently use neweuid for
30601 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30604 * manual/nss.texi (Services in the NSS configuration): Correct
30605 list of services in example configuration file.
30607 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30610 * manual/arith.texi: Remove statements about negative zero
30611 behaving identically to zero.
30613 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30616 * manual/install.texi: Do not document upgrading from libc5.
30618 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30621 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30623 2012-02-18 David S. Miller <davem@davemloft.net>
30625 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30626 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30627 %o7 across the call.
30628 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30630 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30631 SETUP_PIC_REG_LEAF.
30632 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30633 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30634 * sysdeps/sparc/crtn.S: Likewise.
30636 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30638 * aout/Makefile: Remove.
30640 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30643 * manual/examples/argp-ex1.c (main): Format definition in GNU
30645 * manual/examples/argp-ex2.c (main): Likewise.
30646 * manual/examples/argp-ex3.c (main): Likewise.
30647 * manual/examples/argp-ex4.c (main): Likewise.
30648 * manual/examples/longopt.c (main): Use new-style prototype
30650 * manual/examples/strncat.c (main): Specify return type and use
30651 (void) for arguments.
30652 * manual/examples/subopt.c (main): Use char **argv argument.
30654 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30657 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30660 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30663 * manual/string.texi (strchr): Change when strchrnul is
30666 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30669 * manual/locale.texi (setlocale): Document LOCPATH.
30671 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30674 * manual/process.texi (execle): Move @dots{} before last argument.
30676 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30679 * manual/charset.texi (Generic Charset Conversion): Fix typo
30680 (LC_TYPE -> LC_CTYPE).
30682 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30685 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30686 (scalbnf): Likewise.
30687 (scalbnl): Likewise.
30688 (scalbln): Likewise.
30689 (scalblnf): Likewise.
30690 (scalblnl): Likewise.
30691 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30692 (vwarnx): Likewise.
30695 * manual/filesys.texi (telldir): Use braces around return type.
30696 * manual/llio.texi (mmap): Add space after comma.
30697 (mmap64): Likewise.
30698 * manual/math.texi (jn): Use @var{} on parameter names.
30704 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30706 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30708 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30709 (sched_get_priority_max): Likewise.
30710 * manual/signal.texi (sigvec): Add space after comma.
30711 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30713 (if_indextoname): Likewise.
30714 (if_freenameindex): Likewise.
30715 (sendto): Use ',' instead of '.' in prototype.
30716 * manual/startup.texi (syscall): Use @dots{} instead of literal
30718 * manual/stdio.texi (__fpending): Separate initial words of
30719 paragraph from @deftypefun line.
30720 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30722 (vsyslog): Use @var{} on parameter names.
30723 * manual/terminal.texi (stty): Use @var{} on parameter names.
30724 * manual/users.texi (getutmp): Use @var{} on parameter names.
30725 (getutmpx): Likewise.
30727 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30730 * manual/stdio.texi (fopen): Fix typos in description of
30733 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30736 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30737 get clock_id definition.
30739 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30742 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30743 (madvise): Cast every argument to void on its own.
30745 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30748 * manual/startup.texi (Exit Status): Fix typo.
30750 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30753 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30754 * manual/examples/argp-ex2.c: Likewise.
30755 * manual/examples/argp-ex3.c: Likewise.
30757 2012-02-16 Richard Henderson <rth@redhat.com>
30759 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30760 * sysdeps/s390/s390-32/initfini.c: Remove.
30761 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30762 * sysdeps/s390/s390-64/initfini.c: Remove.
30764 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30766 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30767 compiler output for sysdeps/generic/initfini.c.
30768 * sysdeps/sh/elf/initfini.c: Remove file.
30770 2012-02-16 David S. Miller <davem@davemloft.net>
30773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30775 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30776 * sysdeps/sparc/crti.S: New file.
30777 * sysdeps/sparc/crtn.S: New file.
30778 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30779 * sysdeps/sparc/sparc64/Makefile: Likewise.
30781 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30784 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30786 2012-02-15 Roland McGrath <roland@hack.frob.com>
30789 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30791 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30792 (write, read, close): Likewise.
30793 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30795 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30797 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30798 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30799 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30800 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30802 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30806 2012-02-14 Marek Polacek <polacek@redhat.com>
30808 * sysdeps/x86_64/crti.S: New file.
30809 * sysdeps/x86_64/crtn.S: New file.
30810 * sysdeps/x86_64/elf/initfini.c: Remove file.
30812 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30814 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30815 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30816 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30817 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30819 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30823 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30825 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30826 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30827 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30828 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30830 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30834 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30836 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30837 __feraiseexcept instead of feraiseexcept.
30839 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30840 nanosleep invocations.
30841 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30842 strings, and add error checking for a nanosleep invocations.
30844 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30846 Replace FSF snail mail address with URLs, as per GNU coding standards.
30847 Most of the snail mail addresses were wrong anyway, and omitting
30848 them makes the source code easier to maintain. Almost all of the
30849 changes are to license notices and to locale LC_IDENTIFICATION
30850 addresses, except for this one:
30851 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30852 not its snail mail address.
30854 2012-02-09 Richard Henderson <rth@twiddle.net>
30856 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30857 of kernel-features.h.
30859 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30861 2012-02-08 Marek Polacek <polacek@redhat.com>
30863 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30864 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30865 * sysdeps/gnu/_G_config.h: Likewise.
30866 * sysdeps/generic/_G_config.h: Likewise.
30868 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30870 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30874 * sysdeps/powerpc/powerpc32/crti.S: New file.
30875 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30876 * sysdeps/powerpc/powerpc64/crti.S: New file.
30877 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30879 * Makeconfig (have-initfini): Don't set.
30880 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30881 * configure.in (nopic_initfini): Don't substitute.
30882 * config.h.in (HAVE_INITFINI): Don't #undef.
30883 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30884 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30886 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30888 Support crti.S and crtn.S provided directly by architectures.
30889 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30890 [crti.S in sysdirs] (omit-deps): Likewise.
30891 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30892 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30893 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30894 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30895 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30896 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30897 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30898 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30899 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30900 compiler output for sysdeps/generic/initfini.c.
30901 * sysdeps/i386/elf/Makefile: Remove file.
30902 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30904 2012-02-07 Marek Polacek <polacek@redhat.com>
30906 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30907 * sysdeps/gnu/_G_config.h: Likewise.
30908 * sysdeps/mach/hurd/_G_config.h: Likewise.
30910 2012-02-07 Marek Polacek <polacek@redhat.com>
30912 * math/Makefile (tests): Add tst-CMPLX2.
30913 * math/tst-CMPLX2.c: New file.
30915 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30917 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30919 * math/libm-test.inc (jn_test): Add missing L suffix.
30921 2012-02-06 Marek Polacek <polacek@redhat.com>
30923 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30924 * sysdeps/i386/fpu/e_powf.S: Likewise.
30925 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30926 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30927 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30928 * sysdeps/i386/fpu/e_pow.S: Likewise.
30929 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30930 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30931 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30932 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30933 * sysdeps/i386/fpu/e_log2.S: Likewise.
30934 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30935 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30936 * sysdeps/i386/fpu/e_powl.S: Likewise.
30937 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30938 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30939 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30940 * sysdeps/i386/fpu/e_logl.S: Likewise.
30941 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30942 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30943 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30944 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30945 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30946 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30947 * sysdeps/i386/fpu/e_log.S: Likewise.
30948 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30949 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30950 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30951 * sysdeps/i386/fpu/e_logf.S: Likewise.
30952 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30953 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30954 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30955 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30956 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30957 * sysdeps/i386/fpu/e_log10.S: Likewise.
30958 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30959 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30960 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30961 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30962 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30963 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30964 * sysdeps/i386/asm-syntax.h: Likewise.
30965 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30966 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30967 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30968 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30969 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30970 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30971 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30972 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30973 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30974 * sysdeps/powerpc/sysdep.h: Likewise.
30975 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30976 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30978 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30981 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30983 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30985 * sysdeps/i386/sysdep.h: Include <features.h>.
30986 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30989 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30991 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30993 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30996 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30998 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30999 (SETUP_PIC_REG): Use GET_PC_THUNK.
31000 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31003 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31005 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31006 for non-PIC compilation.
31007 (SETUP_PIC_REG): Add .p2align directive.
31008 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31009 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31010 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31012 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31016 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31017 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31018 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31019 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31020 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31021 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31022 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31023 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31024 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31025 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31026 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31027 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31028 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31030 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31031 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31032 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31034 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31035 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31036 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31037 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31038 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31039 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31040 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31041 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31042 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31043 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31044 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31045 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31046 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31047 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31048 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31050 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31052 * math/tst-CMPLX.c: Include <stdio.h>.
31054 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31056 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31058 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31059 * sysdeps/sparc/bits/mathdef.h: Likewise.
31061 2012-01-31 Marek Polacek <polacek@redhat.com>
31063 * libio/libio.h: Don't define _PARAMS.
31064 * locale/programs/config.h: Don't define PARAMS.
31065 * stdlib/strtol_l.c: Likewise.
31066 (__strtol_l): Remove PARAMS from the prototype.
31068 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31070 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31071 names. Just use the correct names. Remove unnecessary wrapper
31073 * malloc/arena.c: Likewise.
31074 * malloc/hooks.c: Likewise.
31076 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31077 ARENA_TEST says not to. Simplify test for creation of a new arena.
31078 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31080 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31082 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31084 (update_get_addr): New function.
31085 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31086 GET_ADDR_MODULE parameter.
31088 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31090 * crypt/cert.c: Remove __STDC__ conditionals.
31091 * crypt/crypt-entry.c: Likewise.
31092 * crypt/crypt_util.c: Likewise.
31093 * libio/filedoalloc.c: Likewise.
31094 * libio/fileops.c: Likewise.
31095 * libio/genops.c: Likewise.
31096 * libio/iofclose.c: Likewise.
31097 * libio/iofdopen.c: Likewise.
31098 * libio/iofopen.c: Likewise.
31099 * libio/iofopen64.c: Likewise.
31100 * libio/iogetdelim.c: Likewise.
31101 * libio/iopopen.c: Likewise.
31102 * libio/obprintf.c: Likewise.
31103 * libio/oldfileops.c: Likewise.
31104 * libio/oldiofclose.c: Likewise.
31105 * libio/oldiofdopen.c: Likewise.
31106 * libio/oldiofopen.c: Likewise.
31107 * libio/oldiopopen.c: Likewise.
31108 * libio/wfiledoalloc.c: Likewise.
31109 * libio/wgenops.c: Likewise.
31110 * locale/programs/xmalloc.c: Likewise.
31111 * misc/syslog.c: Likewise.
31112 * stdio-common/xbug.c: Likewise.
31113 * string/memchr.c: Likewise.
31114 * string/memcmp.c: Likewise.
31115 * string/memrchr.c: Likewise.
31116 * string/rawmemchr.c: Likewise.
31117 * sysdeps/posix/getcwd.c: Likewise.
31118 * time/strftime_l.c: Likewise.
31120 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31122 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31123 * config.make.in (config-cflags-sse2avx): Define.
31124 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31127 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31129 * scripts/config.guess: Update from upstream config git repository.
31130 * scripts/config.sub: Likewise.
31132 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31134 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31136 (R_TILEPRO_*, R_TILEGX_*): New macros.
31138 * scripts/firstversions.awk: Fix bug in version range handling.
31140 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31142 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31144 * include/sys/epoll.h: New file.
31145 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31148 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31150 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31151 Avoid unnecessary __WORDSIZE == 64 test.
31152 (fmaxf): Use VEX format if possible.
31157 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31158 * math/math_private.h: Remove libc_fegetround* and
31160 * sysdeps/i386/configure.in: Check for -msse2avx.
31161 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31162 also if SSE2AVX is defined.
31163 Remove libc_fegetround* and libc_fesetround*.
31164 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31165 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31166 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31168 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31169 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31170 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31171 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31172 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31174 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31176 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31178 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31180 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31182 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31185 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31187 * Makeconfig (libm): Define.
31188 * elf/Makefile: Add rules to build and run tst-relsort1.
31189 * elf/tst-relsort1.c: New file.
31190 * elf/tst-relsort1mod1.c: New file.
31191 * elf/tst-relsort1mod2.c: New file.
31193 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31195 * math/s_ldexp.c: Remove __STDC__ conditionals.
31196 * math/s_ldexpf.c: Likewise.
31197 * math/s_ldexpl.c: Likewise.
31198 * math/s_nextafter.c: Likewise.
31199 * math/s_nexttowardf.c: Likewise.
31200 * math/s_significand.c: Likewise.
31201 * math/s_significandf.c: Likewise.
31202 * math/s_significandl.c: Likewise.
31203 * math/w_jnl.c: Likewise.
31204 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31205 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31206 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31207 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31208 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31210 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31211 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31212 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31213 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31214 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31215 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31216 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31217 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31218 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31219 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31220 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31221 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31223 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31224 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31225 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31226 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31228 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31229 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31230 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31231 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31232 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31233 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31234 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31235 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31236 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31237 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31238 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31239 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31240 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31241 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31242 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31243 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31244 * sysdeps/ieee754/k_standard.c: Likewise.
31245 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31246 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31249 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31254 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31257 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31260 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31263 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31264 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31265 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31266 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31267 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31270 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31271 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31274 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31275 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31277 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31278 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31279 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31280 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31281 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31282 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31283 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31284 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31285 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31286 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31287 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31288 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31289 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31290 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31291 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31292 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31293 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31294 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31295 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31296 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31297 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31298 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31299 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31300 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31301 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31302 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31303 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31304 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31305 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31306 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31307 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31308 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31309 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31310 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31311 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31312 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31313 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31314 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31315 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31316 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31317 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31318 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31319 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31320 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31321 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31322 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31323 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31324 * sysdeps/ieee754/s_matherr.c: Likewise.
31325 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31326 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31327 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31328 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31330 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31332 * crypt/md5.h: Remove __STDC__ conditionals.
31333 * libio/libioP.h: Likewise.
31334 * locale/programs/config.h: Likewise.
31335 * sysdeps/generic/sysdep.h: Likewise.
31336 * sysdeps/i386/asm-syntax.h: Likewise.
31337 * sysdeps/s390/asm-syntax.h: Likewise.
31338 * sysdeps/unix/sysdep.h: Likewise.
31339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31342 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31344 * libio/libio.h: Remove __STDC__ conditionals.
31345 * malloc/obstack.h: Likewise.
31346 * math/complex.h: Likewise.
31347 * math/math.h: Likewise.
31348 * sysdeps/generic/_G_config.h: Likewise.
31349 * sysdeps/gnu/_G_config.h: Likewise.
31350 * sysdeps/mach/hurd/_G_config.h: Likewise.
31351 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31352 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31353 * sysdeps/sparc/bits/mathdef.h: Likewise.
31355 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31358 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31359 Clean up HAS_* macros.
31360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31361 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31363 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31365 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31366 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31367 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31368 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31369 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31371 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31373 * elf/tst-unique3.cc (gets): Remove declaration.
31374 * elf/tst-unique3lib.cc (gets): Likewise.
31375 * elf/tst-unique3lib2.cc (gets): Likewise.
31376 * elf/tst-unique4.cc (gets): Likewise.
31378 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31380 * include/stdio.h: Add C++ protection. Add gets declarations and
31382 * debug/tst-chk1.c: Don't declare gets here.
31383 * stdio-common/tst-gets.c: Likewise.
31385 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31387 * posix/glob: Remove directory.
31389 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31391 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31393 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31395 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31396 of the non-standard EPFNOSUPPORT.
31398 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31400 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31401 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31402 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31404 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31406 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31408 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31410 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31412 * nscd/grpcache.c (cache_addgr): Likewise.
31413 * nscd/hstcache.c (cache_addhst): Likewise.
31414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31415 * nscd/pwdcache.c (cache_addpw): Likewise.
31416 * nscd/servicescache.c (cache_addserv): Likewise.
31418 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31420 * malloc/malloc.c: Various cleanups.
31421 * malloc/hooks.c: Likewise.
31423 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31424 * stdlib/bug-fmtmsg1.c: New file.
31426 * stdlib/fmtmsg.c (init): Add missing unlock.
31427 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31429 2012-01-12 Marek Polacek <polacek@redhat.com>
31431 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31434 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31436 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31437 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31438 macro to ensure uniqueness of label name.
31439 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31440 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31442 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31444 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31446 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31447 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31448 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31449 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31451 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31453 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31455 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31456 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31457 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31459 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31461 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31462 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31463 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31464 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31466 * math/bits/math-finite.h: Add ldexp support.
31468 2012-01-10 Marek Polacek <polacek@redhat.com>
31470 * locale/programs/localedef.h (show_archive_content): Add noreturn
31473 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31475 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31477 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31479 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31481 * io/Makefile (headers): Add bits/poll2.h.
31483 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31486 typo #include statement.
31488 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31490 * include/sys/cdefs.h: Define __attribute_alloc_size.
31491 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31492 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31493 * elf/pldd.c: Likewise.
31494 * iconv/iconv_charmap.c: Likewise.
31495 * iconv/iconvconfig.c: Likewise.
31496 * iconv/strtab.c: Likewise.
31497 * locale/programs/locale.c: Likewise.
31498 * locale/programs/localedef.h: Likewise.
31499 * locale/programs/simple-hash.c: Likewise.
31500 * nscd/nscd.h: Likewise.
31501 * nss/makedb.c: Likewise.
31502 * sysdeps/generic/ldconfig.h: Likewise.
31503 * locale/programs/localedef.c: Remove xmalloc prototype.
31504 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31506 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31508 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31511 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31513 * math/Makefile (tests): Add tst-CMPLX.
31514 * math/tst-CMPLX.c: New file.
31516 * math/complex.h (CMPLXL): Fix typo.
31518 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31519 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31521 * debug/tst-chk1.c: Add poll and ppoll tests.
31522 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31523 * include/sys/poll.h: Add hidden proto for ppoll.
31524 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31525 * sysdeps/mach/hurd/ppoll.c: Likewise.
31526 * io/ppoll.c: Likewise.
31527 * debug/poll_chk.c: New file.
31528 * debug/ppoll_chk.c: New file.
31529 * include/bits/poll2.h: New file.
31530 * io/bits/poll2.h: New file.
31533 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31535 * configure.in: static is always set to yes. Remove.
31536 * config.make.in: Don't set build-static.
31537 * Makeconfig: Remove use of build-static.
31538 * dlfcn/Makefile: Likewise.
31539 * elf/Makefile: Likewise.
31540 * math/Makefile: Likewise.
31541 * misc/Makefile: Likewise.
31542 * nptl/Makefile: Likewise.
31543 * sysdeps/mach/hurd/Makefile: Likewise.
31545 * configure.in: PWD_P is not used anymore.
31546 * config.make.in: Remove PWD_P entry.
31548 * configure.in: Remove last remnants of RANLIB.
31549 No need to check for signed size_t anymore.
31550 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31552 Remove __builtin_expect test because we require at least gcc 3.4.
31553 * aclocal.m4: Likewise.
31555 * wcsmbs/mbrtoc16.c: Implement using towc function.
31556 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31557 * wcsmbs/wcsmbsload.c: Likewise.
31558 * iconv/gconv_simple.c: Likewise.
31559 * iconv/gconv_int.h: Likewise.
31560 * iconv/gconv_builtin.h: Likewise.
31561 * iconv/iconv_prog.c: Remove CHAR16 handling.
31563 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31565 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31567 * configure.in: Remove --with-elf and --enable-bounded options.
31568 Dont set base_machine for ia64. More non-ELF conditions removed.
31569 Remove testing and setting of leading underscore information.
31570 * config.make.in (build-bounded): Set to no.
31571 * config.h.in: Remove NO_UNDERSCORES entry.
31572 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31574 * csu/start.c: Remove !NO_UNDERSCORE code.
31575 * locale/localeinfo.h: Likewise.
31576 * sysdeps/generic/machine-gmon.h: Likewise.
31577 * sysdeps/generic/sysdep.h: Likewise.
31578 * sysdeps/i386/sysdep.h: Likewise.
31579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31580 * sysdeps/mach/sysdep.h: Likewise.
31581 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31582 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31583 * sysdeps/sh/sysdep.h: Likewise.
31584 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31585 * sysdeps/unix/i386/sysdep.S: Likewise.
31586 * sysdeps/unix/sparc/start.c: Likewise.
31587 * sysdeps/unix/sparc/sysdep.S: Likewise.
31588 * sysdeps/unix/sparc/sysdep.h: Likewise.
31589 * sysdeps/unix/start.c: Likewise.
31590 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31591 * sysdeps/x86_64/sysdep.h: Likewise.
31593 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31596 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31598 * argp/argp-fmtstream.h: Use const instead __const.
31599 * argp/argp.h: Likewise.
31600 * assert/assert.h: Likewise.
31601 * bits/fenv.h: Likewise.
31602 * bits/sched.h: Likewise.
31603 * bits/sigset.h: Likewise.
31604 * bits/sigthread.h: Likewise.
31605 * catgets/nl_types.h: Likewise.
31606 * conform/data/pthread.h-data: Likewise.
31607 * crypt/crypt-private.h: Likewise.
31608 * crypt/crypt.h: Likewise.
31609 * crypt/crypt_util.c: Likewise.
31610 * ctype/ctype.h: Likewise.
31611 * debug/execinfo.h: Likewise.
31612 * debug/mbsnrtowcs_chk.c: Likewise.
31613 * debug/mbsrtowcs_chk.c: Likewise.
31614 * debug/wcsnrtombs_chk.c: Likewise.
31615 * debug/wcsrtombs_chk.c: Likewise.
31616 * debug/wcstombs_chk.c: Likewise.
31617 * dirent/dirent.h: Likewise.
31618 * dlfcn/dlfcn.h: Likewise.
31619 * elf/neededtest4.c: Likewise.
31620 * grp/grp.h: Likewise.
31621 * gshadow/gshadow.h: Likewise.
31622 * iconv/gconv.h: Likewise.
31623 * iconv/gconv_int.h: Likewise.
31624 * iconv/gconv_simple.c: Likewise.
31625 * iconv/iconv.h: Likewise.
31626 * iconv/loop.c: Likewise.
31627 * iconv/skeleton.c: Likewise.
31628 * include/aio.h: Likewise.
31629 * include/aliases.h: Likewise.
31630 * include/argz.h: Likewise.
31631 * include/arpa/inet.h: Likewise.
31632 * include/assert.h: Likewise.
31633 * include/dirent.h: Likewise.
31634 * include/dlfcn.h: Likewise.
31635 * include/execinfo.h: Likewise.
31636 * include/fcntl.h: Likewise.
31637 * include/fenv.h: Likewise.
31638 * include/glob.h: Likewise.
31639 * include/grp.h: Likewise.
31640 * include/libintl.h: Likewise.
31641 * include/mntent.h: Likewise.
31642 * include/netdb.h: Likewise.
31643 * include/pwd.h: Likewise.
31644 * include/rpc/netdb.h: Likewise.
31645 * include/sched.h: Likewise.
31646 * include/search.h: Likewise.
31647 * include/shadow.h: Likewise.
31648 * include/signal.h: Likewise.
31649 * include/stdio.h: Likewise.
31650 * include/stdlib.h: Likewise.
31651 * include/string.h: Likewise.
31652 * include/sys/socket.h: Likewise.
31653 * include/sys/stat.h: Likewise.
31654 * include/sys/statfs.h: Likewise.
31655 * include/sys/statvfs.h: Likewise.
31656 * include/sys/syslog.h: Likewise.
31657 * include/sys/time.h: Likewise.
31658 * include/sys/uio.h: Likewise.
31659 * include/time.h: Likewise.
31660 * include/unistd.h: Likewise.
31661 * include/utmp.h: Likewise.
31662 * include/wchar.h: Likewise.
31663 * include/wctype.h: Likewise.
31664 * inet/aliases.h: Likewise.
31665 * inet/arpa/inet.h: Likewise.
31666 * inet/netinet/ether.h: Likewise.
31667 * inet/netinet/in.h: Likewise.
31668 * intl/libintl.h: Likewise.
31669 * io/bits/fcntl2.h: Likewise.
31670 * io/fcntl.h: Likewise.
31671 * io/ftw.h: Likewise.
31672 * io/sys/poll.h: Likewise.
31673 * io/sys/stat.h: Likewise.
31674 * io/sys/statfs.h: Likewise.
31675 * io/sys/statvfs.h: Likewise.
31676 * io/utime.h: Likewise.
31677 * libio/bits/stdio.h: Likewise.
31678 * libio/bits/stdio2.h: Likewise.
31679 * libio/libio.h: Likewise.
31680 * libio/libioP.h: Likewise.
31681 * libio/stdio.h: Likewise.
31682 * locale/lc-ctype.c: Likewise.
31683 * locale/locale.h: Likewise.
31684 * login/utmp.h: Likewise.
31685 * malloc/arena.c: Likewise.
31686 * malloc/malloc.c: Likewise.
31687 * malloc/malloc.h: Likewise.
31688 * malloc/mcheck.c: Likewise.
31689 * malloc/mtrace.c: Likewise.
31690 * math/bits/mathcalls.h: Likewise.
31691 * math/fenv.h: Likewise.
31692 * math/math_private.h: Likewise.
31693 * misc/bits/error.h: Likewise.
31694 * misc/bits/syslog.h: Likewise.
31695 * misc/err.h: Likewise.
31696 * misc/error.h: Likewise.
31697 * misc/fstab.h: Likewise.
31698 * misc/mntent.h: Likewise.
31699 * misc/regexp.h: Likewise.
31700 * misc/search.h: Likewise.
31701 * misc/sgtty.h: Likewise.
31702 * misc/sys/mman.h: Likewise.
31703 * misc/sys/syslog.h: Likewise.
31704 * misc/sys/uio.h: Likewise.
31705 * misc/sys/xattr.h: Likewise.
31706 * misc/ttyent.h: Likewise.
31707 * nis/rpcsvc/ypclnt.h: Likewise.
31708 * nss/nss.h: Likewise.
31709 * posix/bits/unistd.h: Likewise.
31710 * posix/fnmatch.h: Likewise.
31711 * posix/glob.h: Likewise.
31712 * posix/sched.h: Likewise.
31713 * posix/spawn.h: Likewise.
31714 * posix/sys/wait.h: Likewise.
31715 * posix/unistd.h: Likewise.
31716 * posix/wordexp.h: Likewise.
31717 * pwd/pwd.h: Likewise.
31718 * resolv/netdb.h: Likewise.
31719 * resource/sys/resource.h: Likewise.
31720 * rt/aio.h: Likewise.
31721 * rt/bits/mqueue2.h: Likewise.
31722 * rt/mqueue.h: Likewise.
31723 * shadow/shadow.h: Likewise.
31724 * signal/signal.h: Likewise.
31725 * socket/send.c: Likewise.
31726 * socket/sendto.c: Likewise.
31727 * socket/sys/socket.h: Likewise.
31728 * stdio-common/printf.h: Likewise.
31729 * stdlib/bits/stdlib.h: Likewise.
31730 * stdlib/fmtmsg.h: Likewise.
31731 * stdlib/monetary.h: Likewise.
31732 * stdlib/stdlib.h: Likewise.
31733 * stdlib/ucontext.h: Likewise.
31734 * streams/stropts.h: Likewise.
31735 * string/argz.h: Likewise.
31736 * string/bits/string2.h: Likewise.
31737 * string/string.h: Likewise.
31738 * string/strings.h: Likewise.
31739 * sunrpc/rpc/auth.h: Likewise.
31740 * sunrpc/rpc/auth_des.h: Likewise.
31741 * sunrpc/rpc/clnt.h: Likewise.
31742 * sunrpc/rpc/netdb.h: Likewise.
31743 * sunrpc/rpc/pmap_clnt.h: Likewise.
31744 * sunrpc/rpc/xdr.h: Likewise.
31745 * sysdeps/generic/inttypes.h: Likewise.
31746 * sysdeps/generic/net/if.h: Likewise.
31747 * sysdeps/generic/sys/swap.h: Likewise.
31748 * sysdeps/gnu/net/if.h: Likewise.
31749 * sysdeps/gnu/utmpx.h: Likewise.
31750 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31751 * sysdeps/i386/i486/bits/string.h: Likewise.
31752 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31753 * sysdeps/s390/bits/string.h: Likewise.
31754 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31755 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31756 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31757 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31758 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31759 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31760 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31761 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31762 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31763 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31764 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31765 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31766 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31767 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31768 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31769 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31770 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31772 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31773 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31774 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31775 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31776 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31777 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31778 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31779 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31780 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31781 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31782 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31783 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31784 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31785 * sysvipc/sys/ipc.h: Likewise.
31786 * sysvipc/sys/msg.h: Likewise.
31787 * sysvipc/sys/sem.h: Likewise.
31788 * sysvipc/sys/shm.h: Likewise.
31789 * termios/termios.h: Likewise.
31790 * time/sys/time.h: Likewise.
31791 * time/time.h: Likewise.
31792 * wcsmbs/bits/wchar2.h: Likewise.
31793 * wcsmbs/uchar.h: Likewise.
31794 * wcsmbs/wchar.h: Likewise.
31795 * wctype/wctype.h: Likewise.
31798 * Makeconfig: Remove all but ELF support including AIX support.
31799 * Makerules: Likewise.
31800 * config.h.in: Likewise.
31801 * config.make.in: Likewise.
31802 * configure: Likewise.
31803 * configure.in: Likewise.
31804 * csu/Makefile: Likewise.
31805 * csu/version.c: Likewise.
31806 * debug/Makefile: Likewise.
31807 * dlfcn/Makefile: Likewise.
31808 * elf/Makefile: Likewise.
31809 * extra-lib.mk: Likewise.
31810 * iconv/Makefile: Likewise.
31811 * include/libc-symbols.h: Likewise.
31812 * include/shlib-compat.h: Likewise.
31813 * resolv/Makefile: Likewise.
31814 * resolv/res_libc.c: Likewise.
31815 * rt/Makefile: Likewise.
31816 * sysdeps/i386/asm-syntax.h: Likewise.
31817 * sysdeps/i386/sysdep.h: Likewise.
31818 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31819 * sysdeps/mach/sysdep.h: Likewise.
31820 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31821 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31822 * sysdeps/s390/asm-syntax.h: Likewise.
31823 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31824 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31825 * sysdeps/sh/sysdep.h: Likewise.
31826 * sysdeps/unix/sparc/sysdep.h: Likewise.
31827 * sysdeps/wordsize-32/divdi3.c: Likewise.
31828 * sysdeps/x86_64/sysdep.h: Likewise.
31830 * argp/Versions: Remove _argp_unlock_xxx.
31833 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31834 * abilist/libBrokenLocale.abilist: Likewise.
31835 * abilist/libanl.abilist: Likewise.
31836 * abilist/libc.abilist: Likewise.
31837 * abilist/libcrypt.abilist: Likewise.
31838 * abilist/libdl.abilist: Likewise.
31839 * abilist/libm.abilist: Likewise.
31840 * abilist/libnsl.abilist: Likewise.
31841 * abilist/libpthread.abilist: Likewise.
31842 * abilist/libresolv.abilist: Likewise.
31843 * abilist/librt.abilist: Likewise.
31844 * abilist/libthread_db.abilist: Likewise.
31845 * abilist/libutil.abilist: Likewise.
31846 * abilist/libnss_db.abilist: New file.
31848 * scripts/abilist.awk: Add support for indirect functions.
31850 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31852 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31854 * shlib-versions: Remove entries for ports architectures.
31856 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31858 * elf/stackguard-macros.h: Remove support for IA-64.
31859 * elf/tst-auditmod1.c: Likewise.
31860 * sysdeps/generic/ldsodefs.h: Likewise.
31862 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31863 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31867 * configure.in: Remove --enable-omitfp support.
31869 * config.make.in: Likewise.
31870 * Makeconfig: Likewise.
31871 * manual/install.texi: Likewise.
31873 In case anyone cares, the IA-64 architecture could move to ports.
31874 * sysdeps/ia64/*: Removed.
31875 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31876 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31879 * configure.in: Remove entries for unsupported architectures.
31882 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31883 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31885 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31886 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31887 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31888 fall back to using wcrtomb.
31889 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31890 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31892 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31893 * wcsmbs/tst-c16c32-1.c: New file.
31895 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31898 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31900 * elf/tst-unique3.cc: Add explicit declaration of gets.
31901 * elf/tst-unique3lib.cc: Likewise.
31902 * elf/tst-unique3lib2.cc: Likewise.
31903 * elf/tst-unique4.cc: Likewise.
31905 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31907 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31910 * assert/assert.h (static_assert): Don't define for C++.
31911 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31912 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31914 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31916 * iconv/loop.c (single loop): Fix assertion in storing of
31919 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31921 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31923 * posix/getconf.c: Update copyright year.
31924 * nss/getent.c: Likewise.
31925 * nss/makedb.c: Likewise.
31926 * iconv/iconvconfig.c: Likewise.
31927 * iconv/iconv_prog.c: Likewise.
31928 * elf/ldconfig.c: Likewise.
31929 * elf/pldd.c: Likewise.
31930 * elf/sotruss.ksh: Likewise.
31931 * catgets/gencat.c: Likewise.
31932 * csu/version.c: Likewise.
31933 * elf/ldd.bash.in: Likewise.
31934 * elf/sprof.c (print_version): Likewise.
31935 * locale/programs/locale.c: Likewise.
31936 * locale/programs/localedef.c: Likewise.
31937 * login/programs/pt_chown.c: Likewise.
31938 * nscd/nscd.c (print_version): Likewise.
31939 * debug/xtrace.sh: Likewise.
31940 * malloc/memusage.sh: Likewise.
31941 * malloc/mtrace.pl: Likewise.
31942 * debug/catchsegv.sh: Likewise.
31944 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31946 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31949 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31952 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31953 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31955 * iconv/gconv_int.h: Likewise.
31956 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31957 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31958 from libc for GLIBC_2.16.
31959 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31960 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31961 * wcsmbs/uchar.h: Really define mbstate_t.
31962 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31963 * wcsmbs/c16rtomb.c: New file.
31964 * wcsmbs/mbrtoc16.c: New file.
31965 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31966 for C/POSIX locale.
31967 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31968 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31970 * wcsmbs/wchar.h: Add missing __restrict.
31972 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31975 * time/Makefile (routines): Add timespec_get.
31976 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31977 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31978 timespec for ISO C11.
31979 * time/timespec_get.c: New file.
31980 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31981 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31984 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31985 * stdlib/stdlib.h: Declare aligned_alloc.
31986 * Versions.def: Add GLIBC_2.16 for libc.
31987 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31990 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31993 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31997 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32000 * assert/assert.h (static_assert): Define.
32002 * version.h: Update for 2.16 development version.
32005 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32008 * version.h (RELEASE): Bump for 2.15 release.
32009 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32011 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32012 Patch by Marek Polacek <mpolacek@redhat.com>.
32014 * bits/byteswap.h: Protect long long constants with __extension__.
32015 * sysdeps/i386/bits/byteswap.h: Likewise.
32016 * sysdeps/ia64/bits/byteswap.h: Likewise.
32017 * sysdeps/s390/bits/byteswap.h: Likewise.
32018 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32020 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32023 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32024 destination buffer.
32025 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32027 2011-12-23 Marek Polacek <polacek@redhat.com>
32029 * elf/dl-addr.c (determine_info): Add inline keyword.
32030 * elf/tst-auditmod4b.c (check_avx): Likewise.
32031 * elf/tst-auditmod6b.c (check_avx): Likewise.
32032 * elf/tst-auditmod6c.c (check_avx): Likewise.
32033 * elf/tst-auditmod7b.c (check_avx): Likewise.
32035 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32037 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32040 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32043 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32044 processing for last bytes.
32046 2011-08-06 Bruno Haible <bruno@clisp.org>
32049 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32050 U+0385, not to U+1FEE.
32053 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32054 entry for U+00A5 U+0301.
32056 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32059 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32060 buffer for the output is too small.
32062 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32066 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32067 SSE flags if possible.
32069 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32073 processing for last bytes.
32075 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32077 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32078 (syscall-list-default-options, syscall-list-default-condition)
32079 (syscall-list-includes): Define.
32080 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32081 list of ABIs and options and #if conditions for each ABI. Do not
32082 handle common syscalls between ABIs specially.
32083 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32085 (syscall-list-variants, syscall-list-32bit-options)
32086 (syscall-list-32bit-condition, syscall-list-64bit-options)
32087 (syscall-list-64bit-condition): Define.
32088 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32089 (syscall-list-variants, syscall-list-32bit-options)
32090 (syscall-list-32bit-condition, syscall-list-64bit-options)
32091 (syscall-list-64bit-condition): Define.
32092 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32094 (syscall-list-variants, syscall-list-32bit-options)
32095 (syscall-list-32bit-condition, syscall-list-64bit-options)
32096 (syscall-list-64bit-condition): Define.
32097 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32099 (syscall-list-variants, syscall-list-32bit-options)
32100 (syscall-list-32bit-condition, syscall-list-64bit-options)
32101 (syscall-list-64bit-condition): Define.
32103 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32105 * locale/iso-639.def: Add brx entry.
32108 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32109 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32111 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32112 __feraiseexcept_renamed.
32114 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32117 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32118 EPOLLET with unsigned values.
32119 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32120 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32122 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32123 to large cancellation.
32124 * math/s_cacoshf.c: Likewise.
32125 * math/s_cacoshl.c: Likewise.
32127 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32131 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32132 * math/s_cacoshf.c: Likewise.
32133 * math/s_cacoshl.c: Likewise.
32135 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32138 * iconv/gconv.h: Define __GCONV_SWAP.
32139 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32140 * iconvdata/utf-16.c: Likewise.
32141 * iconvdata/utf-32.c: Likewise.
32143 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32146 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32147 numerator after shifting it by one limb.
32149 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32151 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32152 under [__USE_EXTERN_INLINES].
32154 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32157 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32159 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32161 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32162 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32164 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32165 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32166 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32167 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32168 for strncasecmp/strncasecmp_l compilation.
32169 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32170 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32172 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32175 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32178 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32181 * time/tzfile.c (__tzfile_read): Check values from file header.
32183 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32185 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32186 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32187 * powerpc/powerpc32/dl-start.S: Likewise.
32188 * powerpc/powerpc32/elf/start.S: Likewise.
32189 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32190 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32191 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32192 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32193 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32194 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32195 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32196 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32197 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32198 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32199 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32200 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32201 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32202 * powerpc/powerpc32/memset.S: Likewise.
32203 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32204 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32205 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32206 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32207 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32208 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32209 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32210 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32211 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32212 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32213 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32214 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32215 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32217 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32219 * math/libm-test.inc: Added more nearbyint tests.
32220 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32221 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32222 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32223 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32225 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32227 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32230 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32232 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32233 Add wcscpy-ssse3 wcscpy-c.
32234 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32235 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32236 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32237 * sysdeps/x86_64/wcschr.S: New file.
32238 * sysdeps/x86_64/wcsrchr.S: New file.
32239 * string/test-strcmp.c: Remove checking of wcscmp function for
32241 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32242 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32243 wcsrchr-sse2 wcsrchr-c.
32244 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32245 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32246 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32247 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32248 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32249 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32250 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32251 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32252 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32253 * wcsmbc/wcschr.c (WCSCHR): New macro.
32255 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32257 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32258 * wcsmbs/test-wcsrchr.c: New file.
32259 * string/test-strrchr.c: Add wcsrchr support.
32261 * wcsmbs/test-wcscpy.c: New file.
32262 * string/test-strcpy.c: Add wcscpy support.
32265 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32267 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32270 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32273 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32275 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32277 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32278 Minor optimizations.
32280 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32281 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32282 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32284 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32286 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32287 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32288 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32289 for gcc to avoid warnings.
32290 * inet/Makefile (tests): Add tst-checks.
32291 * inet/tst-checks.c: New file.
32293 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32296 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32299 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32300 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32302 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32304 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32306 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32309 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32311 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32313 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32314 conditional on GCC version.
32315 (__arch_compare_and_exchange_val_8_acq)
32316 (__arch_compare_and_exchange_val_16_acq)
32317 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32318 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32319 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32321 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32323 * sysdeps/sh/backtrace.c: New file.
32325 2011-12-02 Andreas Schwab <schwab@redhat.com>
32327 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32330 2011-12-01 Andreas Schwab <schwab@redhat.com>
32332 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32333 falling back to utime.
32335 2011-11-30 Andreas Schwab <schwab@redhat.com>
32337 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32338 expectations for float.
32340 2011-11-29 Andreas Schwab <schwab@redhat.com>
32342 * locale/weight.h (findidx): Add parameter len.
32343 * locale/weightwc.h (findidx): Likewise.
32344 * posix/fnmatch_loop.c (FCT): Adjust caller.
32345 * posix/regcomp.c (build_equiv_class): Likewise.
32346 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32347 * posix/regexec.c (check_node_accept_bytes): Likewise.
32348 * string/strcoll_l.c (STRCOLL): Likewise.
32349 * string/strxfrm_l.c (STRXFRM): Likewise.
32351 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32353 * Makefile.in: Remove CVSOPT handling.
32354 * configure.in: Remove use of AC_REVISION.
32355 * iconvdata/Makefile (distribute): No need to filter out CVS.
32356 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32359 2011-11-16 Andreas Schwab <schwab@redhat.com>
32361 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32362 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32363 [USE_AS_STRNCASECMP_L]: Likewise.
32364 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32365 NO_TLS_DIRECT_SEG_REFS.
32366 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32367 Fix argument offsets for non-PIC.
32368 [USE_AS_STRNCASECMP_L]: Likewise.
32369 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32370 NO_TLS_DIRECT_SEG_REFS.
32372 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32374 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32376 * locale/loadlocale.c (_nl_load_locale): Likewise.
32378 2011-11-15 Andreas Schwab <schwab@redhat.com>
32380 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32381 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32382 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32383 (SYSCALL_GETTIME): Set errno on error.
32385 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32386 count references to noai6ai_cached.
32388 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32390 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32392 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32393 FD_CLOEXEC for /proc/self/maps.
32395 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32396 FD_CLOEXEC for /proc/meminfo.
32398 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32401 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32402 FD_CLOEXEC for given file.
32404 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32406 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32407 FD_CLOEXEC for /etc/hosts.
32408 (_gethtent): Likewise.
32410 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32412 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32413 cancellation and set FD_CLOEXEC for /etc/netgroup.
32415 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32416 reading /etc/publickey.
32418 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32419 allow cancellation when reading /etc/group.
32421 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32423 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32425 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32426 when using data file.
32428 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32430 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32431 (write_nis_obj): Use "c" and "e" in fopen.
32433 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32435 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32437 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32439 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32441 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32444 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32446 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32448 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32450 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32451 file parsing and set FD_CLOEXEC.
32453 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32455 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32457 2011-11-14 Andreas Schwab <schwab@redhat.com>
32459 * malloc/arena.c (arena_get2): Don't call reused_arena when
32460 _int_new_arena failed.
32462 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32464 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32465 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32466 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32467 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32468 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32470 to compile strcasecmp and strncasecmp.
32471 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32472 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32476 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32478 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32479 locale-defines.sym to gen-as-const-headers.
32480 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32481 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32483 to compile strcasecmp and strncasecmp.
32484 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32485 strcasecmp_l and strncasecmp_l.
32486 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32487 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32488 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32489 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32490 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32491 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32492 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32493 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32494 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32495 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32496 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32498 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32500 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32501 result of SYSDEP_GETTIME_CPU to retval.
32502 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32503 parameter list to macro. Remove trailing semicolon. Adjust users.
32505 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32508 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32510 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32512 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32513 from unused variable.
32515 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32517 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32520 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32523 * sunrpc/rpc_prot.c (rejected): Fix case value.
32525 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32526 unsigned long long int to avoid warnings in shift.
32528 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32530 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32533 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32534 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32535 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32537 * nis/nis_table.c (nis_list): Use variable of correct type for
32538 result of __follow_path call.
32540 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32542 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32543 of math functions ceil, trunc, floor, round, and sqrt, when
32544 avaliable on the platform.
32545 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32547 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32548 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32549 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32551 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32553 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32554 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32556 2011-11-11 Roland McGrath <roland@hack.frob.com>
32558 * include/unistd.h: Fix __readlink return type.
32559 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32561 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32563 * stdlib/ucontext.h: Undo last change for makecontext.
32565 2011-11-11 Andreas Schwab <schwab@redhat.com>
32567 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32569 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32570 * setjmp/setjmp.h: Mark functions as non-leaf.
32571 * setjmp/bits/setjmp2.h: Likewise.
32572 * stdlib/ucontext.h: Likewise.
32574 2011-11-10 Andreas Schwab <schwab@redhat.com>
32576 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32577 (reused_arena): Don't check arena limit.
32578 (arena_get2): Atomically check arena limit.
32580 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32582 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32583 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32585 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32588 2011-11-07 Andreas Schwab <schwab@redhat.com>
32590 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32591 handler when locking.
32593 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32594 Fix size of allocated buffer.
32596 2011-11-04 Andreas Schwab <schwab@redhat.com>
32599 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32600 declarations for long double functions.
32601 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32603 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32605 2011-11-03 Andreas Schwab <schwab@redhat.com>
32607 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32610 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32613 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32615 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32617 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32619 * include/alloca.h (stackinfo_alloca_round): Define.
32620 (extend_alloca): Use it.
32621 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32622 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32625 * scripts/check-local-headers.sh: Ignore libaudit.h.
32627 * nscd/Makefile (extra-objs): Make recursively expanded.
32629 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32631 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32632 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32634 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32635 * posix/tst-rfc3484-2.c: Likewise.
32636 * posix/tst-rfc3484-3.c: Likewise.
32638 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32640 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32642 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32643 process_vm_writev from libc using GLIBC_2.15 version.
32645 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32647 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32649 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32652 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32655 * nss/getent.c (initgroups_keys): Show error message in case no group
32658 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32659 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32660 __bump_nl_timestamp.
32661 * nscd/connections (nscd_init): When host database is served open
32662 netlink socket and request notification about configuration changes.
32663 (main_loop_poll): Track netlink file descriptor and bump timestamp
32664 in case data becomes available.
32665 (main_loop_epoll): Likewise.
32666 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32667 (database_pers_head): Add extra_data fileds.
32668 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32669 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32670 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32672 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32673 in6ai data, call __free_in6ai.
32674 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32675 Add -DHAVE_NETLINK.
32676 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32677 interface information. Reuse previous data if netlink timestamp
32679 (__bump_nl_timestamp): New function.
32680 (__free_in6ai): New function.
32682 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32684 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32685 close_not_cancel_no_status here.
32686 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32688 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32691 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32694 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32695 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32696 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32698 2011-07-03 Andreas Jaeger <aj@suse.de>
32701 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32702 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32703 * math/libm-test.inc (sin_test): Add test case.
32705 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32708 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32709 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32711 * elf/chroot_canon.c (chroot_canon): Cleanups.
32713 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32716 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32717 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32719 * string/test-strchr.c: Make usable for strchrnul testing.
32720 * string/test-strchrnul.c: New file.
32721 * string/Makefile (strop-tests): Add strchrnul.
32723 * po/it.po: Update from translation team.
32724 * po/es.po: Likewise.
32726 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32728 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32729 the three constants needed as parameters. Drop the others.
32730 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32731 __m128i_strloadu_tolower.
32732 Create and initialize variable zero and use it in all the places
32733 where _mm_setzero_si128 was used.
32735 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32736 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32737 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32738 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32740 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32741 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32742 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32743 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32744 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32745 __mpranred, __mptan.
32746 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32747 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32748 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32749 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32750 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32751 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32753 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32754 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32756 2011-10-28 Andreas Schwab <schwab@redhat.com>
32758 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32759 redefine if SHARED.
32760 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32763 wide char related routines to wcsmbs subdir.
32765 2011-10-27 Andreas Schwab <schwab@redhat.com>
32768 * misc/sys/cdefs.h (__THROWNL): Define.
32769 * posix/unistd.h: Use __THREADNL instead of __THREAD
32770 for memory synchronization functions.
32772 2011-10-26 Roland McGrath <roland@hack.frob.com>
32775 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32777 * manual/stdio.texi (Obstack Streams): Node removed.
32779 2011-10-26 Andreas Schwab <schwab@redhat.com>
32781 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32782 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32783 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32785 * math/math_private.h (math_force_eval): Allow non-addressable
32787 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32789 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32791 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32792 file is not needed.
32794 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32796 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32797 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32798 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32799 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32800 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32801 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32803 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32804 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32805 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32806 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32807 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32808 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32809 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32810 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32811 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32812 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32813 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32814 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32816 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32817 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32818 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32819 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32820 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32821 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32823 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32824 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32826 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32827 place. Use VEX encoding when compiling for AVX.
32829 2011-10-25 Andreas Schwab <schwab@redhat.com>
32831 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32832 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32834 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32836 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32838 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32839 useless if() expression.
32840 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32841 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32842 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32843 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32844 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32845 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32846 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32847 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32848 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32849 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32850 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32851 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32852 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32853 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32854 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32855 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32856 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32857 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32858 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32860 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32862 2011-10-25 Andreas Schwab <schwab@redhat.com>
32864 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32866 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32868 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32870 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32871 .text section. Avoid duplicate constants.
32872 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32874 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32875 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32876 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32878 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32879 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32880 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32881 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32882 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32883 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32884 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32885 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32886 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32887 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32888 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32889 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32890 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32891 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32895 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32896 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32897 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32898 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32899 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32900 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32901 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32902 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32903 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32904 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32905 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32906 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32907 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32908 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32909 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32910 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32911 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32912 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32914 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32915 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32916 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32918 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32920 * sysdeps/x86_64/dla.h: Move to ...
32921 * sysdeps/x86_64/fpu/dla.h: ...here.
32922 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32923 situations. Use __builtin_fma only for gcc 4.6 and up.
32925 * config.make.in: Add have-mfma4 entry.
32926 * configure.in: Substitute libc_cv_cc_fma4.
32927 * math/Makefile (dbl-only-routines): Add sincostab.
32928 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32929 Use __sincostab not sincos.
32930 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32937 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32938 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32939 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32940 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32942 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32943 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32945 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32946 define aliases when function name is a macro.
32947 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32948 sysdeps/ieee754/dbl-64/sincos.tbl.
32949 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32950 fma4-enabled routines.
32951 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32952 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32953 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32954 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32955 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32956 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32957 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32958 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32959 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32960 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32961 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32962 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32963 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32964 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32965 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32966 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32967 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32968 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32969 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32970 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32971 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32972 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32973 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32974 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32975 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32976 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32977 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32978 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32979 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32980 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32982 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32993 2011-10-24 Andreas Schwab <schwab@redhat.com>
32995 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32997 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32999 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33001 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33003 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33005 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33006 Remove unused variable magic_bits.
33007 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33009 * string/strnlen.c: Define and use STRNLEN macro.
33010 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33011 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33012 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33013 * wcsmbs/wcslen.c: Define and use WCSLEN.
33014 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33015 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33016 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33017 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33018 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33019 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33020 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33022 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33025 strnlen-sse2-no-bsf.
33026 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33027 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33028 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33029 Add strnlen support.
33030 (USE_AS_STRNLEN): New macro.
33031 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33032 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33033 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33034 * sysdeps/x86_64/wcslen.S: New file.
33036 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33038 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33039 XMM-moves are used for copying on small sizes.
33041 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33043 * wcsmbs/Makefile (strop-tests): Add wcschr.
33044 * wcsmbs/test-wcschr.c: New file.
33045 * string/test-strchr.c: Update.
33046 Add wcschr support.
33049 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33051 * wcsmbs/Makefile (strop-tests): Add wcslen.
33052 * wcsmbs/test-wcslen.c: New file.
33053 * string/test-strlen.c: Update.
33054 Add wcslen support.
33057 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33059 * po/it.po: Update from translation team.
33061 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33063 * sysdeps/x86_64/wcscmp.S: Update.
33064 Fix wrong comparison semantics.
33065 wcscmp shall use signed comparison not unsigned.
33066 Don't use substraction to avoid overflow bug.
33067 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33068 * wcsmbc/wcscmp.c: Likewise.
33069 * string/test-strcmp.c: Likewise.
33070 Add new tests to check cases with negative values.
33072 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33074 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33075 * sysdeps/x86_64/dla.h: ...here. New file.
33076 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33078 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33080 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33081 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33086 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33089 __ynl_finite aliases.
33091 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33095 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33097 [DLA_FMA] (EMULV): Use DLA_FMA.
33098 [DLA_FMA] (MUL12): Use EMULV.
33099 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33100 that are not needed.
33101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33102 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33106 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33109 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33111 * math/s_nan.c: Undef __nan.
33112 * math/s_nanf.c: Undef __nanf.
33113 * math/s_nanl.c: Undef __nanl.
33114 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33117 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33119 * math/s_catan.c: Add branch predictions.
33120 * math/s_catanf.c: Likewise.
33121 * math/s_catanh.c: Likewise.
33122 * math/s_catanhf.c: Likewise.
33123 * math/s_catanhl.c: Likewise.
33124 * math/s_catanl.c: Likewise.
33125 * math/s_cexp.c: Likewise.
33126 * math/s_cexpf.c: Likewise.
33127 * math/s_cexpl.c: Likewise.
33128 * math/s_clog.c: Likewise.
33129 * math/s_clog10.c: Likewise.
33130 * math/s_clog10f.c: Likewise.
33131 * math/s_clog10l.c: Likewise.
33132 * math/s_clogf.c: Likewise.
33133 * math/s_clogl.c: Likewise.
33134 * math/s_csqrt.c: Likewise.
33135 * math/s_csqrtf.c: Likewise.
33136 * math/s_csqrtl.c: Likewise.
33137 * math/s_ctanf.c: Likewise.
33138 * math/s_ctanh.c: Likewise.
33139 * math/s_ctanhf.c: Likewise.
33140 * math/s_ctanhl.c: Likewise.
33141 * math/s_ctanl.c: Likewise.
33143 * math/math_private.h: Define __nan, __nanf, __nanl.
33144 * math/s_cacosh.c: Include <math_private.h>.
33145 * math/s_cacoshl.c: Likewise.
33146 * math/s_casinh.c: Likewise.
33147 * math/s_casinhf.c: Likewise.
33148 * math/s_casinhl.c: Likewise.
33149 * math/s_ccos.c: Rely entire on ccosh.
33150 * math/s_ccosf.c: Rely entire on ccoshf.
33151 * math/s_ccosl.c: Rely entirely on ccoshl.
33152 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33153 Remove tests for FE_INVALID.
33154 * math/s_ccoshf.c: Likewise.
33155 * math/s_ccoshl.c: Likewise.
33156 * math/s_csin.c: Likewise.
33157 * math/s_csinf.c: Likewise.
33158 * math/s_csinh.c Likewise.
33159 * math/s_csinhf.c: Likewise.
33160 * math/s_csinhl.c: Likewise.
33161 * math/s_csinl.c: Likewise.
33162 * math/s_ctan.c: Likewise.
33163 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33164 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33165 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33167 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33170 compilation problems.
33172 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33175 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33177 * sysdeps/i386/configure.in: Test for -mfma4 option.
33178 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33179 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33180 COMMON_CPUID_INDEX_80000001.
33181 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33182 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33183 use it if FMA3 is not supported.
33184 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33186 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33187 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33189 2011-10-20 Andreas Schwab <schwab@redhat.com>
33192 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33193 it would create a cycle with a link time dependency.
33195 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33197 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33199 * string/Makefile (strop-tests): Add rawmemchr.
33200 * string/test-rawmemchr.c: New file.
33202 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33203 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33204 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33205 when compiling str{,n}casecmp and when AVX is available. Hook up
33206 new optimized code in initializers.
33208 2011-10-19 Andreas Schwab <schwab@redhat.com>
33210 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33211 __feraiseexcept instead of feraiseexcept.
33213 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33215 * math/math_private.h: Define defaults for libc_fetestexcept and
33217 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33218 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33219 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33220 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33221 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33222 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33223 libc_fetestexcept and libc_feupdateenv.
33225 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33226 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33227 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33228 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33229 libc_feholdexcept_setround.
33231 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33232 Add s_nearbyint-c and s_nearbyintf-c.
33233 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33234 nearbyintf inlines.
33235 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33236 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33237 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33238 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33240 * math/math_private.h: Define defaults for libc_fegetround,
33241 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33242 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33243 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33244 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33245 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33246 standard functions.
33247 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33248 Remove comments and hacks for old compiler versions.
33249 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33250 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33251 libc_feholdexceptl.
33253 2011-10-18 Andreas Schwab <schwab@redhat.com>
33255 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33256 (__feraiseexcept_renamed): Add __NTH.
33257 (feraiseexcept): Add __NTH. Rename local variables to fix
33258 namespace violations.
33260 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33262 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33264 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33266 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33267 recently added interfaces.
33268 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33270 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33271 about macro parameter expansion.
33273 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33274 __NO_MATH_INLINES is defined. Cleanups.
33276 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33277 and __floorf is target has SSE4.1.
33278 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33279 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33280 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33281 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33283 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33285 (floorf): Likewise.
33287 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33289 2011-10-17 Andreas Schwab <schwab@redhat.com>
33291 * misc/sys/cdefs.h: Fix last change.
33293 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33296 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33298 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33300 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33301 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33302 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33303 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33305 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33306 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33307 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33308 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33309 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33310 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33311 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33312 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33313 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33314 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33315 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33316 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33317 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33318 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33319 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33320 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33321 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33323 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33324 ceil, ceilf, floor, floorf.
33326 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33327 Perform IRELATIVE relocations last.
33329 * elf/do-rel.h: Add another parameter nrelative, replacing the
33330 local variable with the same name. Change name of the function
33331 to end in Rel or Rela (uppercase).
33332 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33333 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33334 elf_dynamic_do_##reloc function.
33336 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33338 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33339 is sufficient, at least on modern CPUs.
33341 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33343 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33344 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33346 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33348 * math/bits/math-finite.h: Add entries for exp.
33349 * math/e_expl.c: Add __*_finite alias.
33350 * sysdeps/i386/fpu/e_exp.S: Likewise.
33351 * sysdeps/i386/fpu/e_expf.S: Likewise.
33352 * sysdeps/i386/fpu/e_expl.c: Likewise.
33353 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33354 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33355 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33357 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33358 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33359 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33361 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33362 is sufficient, at least on modern CPUs.
33364 * ctype/ctype-info.c (__ctype_init): Define.
33365 * include/ctype.h (__ctype_init): Declare.
33366 (__ctype_b_loc): The variable is always initialized.
33367 (__ctype_toupper_loc): Likewise.
33368 (__ctype_tolower_loc): Likewise.
33369 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33370 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33372 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33374 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33376 * configure.in: Also look in $cxxmachine/include for C++ system
33379 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33381 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33382 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33383 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33384 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33385 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33386 (USE_AS_WMEMCMP): New macro.
33388 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33389 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33390 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33391 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33393 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33394 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33395 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33396 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33397 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33398 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33399 (USE_AS_WMEMCMP): New macro.
33400 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33401 * sysdeps/string/test-memcmp.c: Update.
33402 Fix simple_wmemcmp.
33404 * wcsmbs/wmemcmp.c: Update.
33405 (WMEMCMP): New macro.
33408 2011-10-12 Andreas Jaeger <aj@suse.de>
33411 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33413 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33415 * libio/iofwide.c (do_length): Avoid warning.
33417 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33419 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33421 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33423 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33424 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33425 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33426 * sysdeps/i386/i686/fpu/e_log.S: New file.
33427 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33428 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33430 * ctype/ctype.h: Add support for inlined isXXX functions when
33431 compiling C++ code.
33433 2011-10-14 Andreas Schwab <schwab@redhat.com>
33435 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33437 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33439 2011-10-13 Roland McGrath <roland@hack.frob.com>
33442 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33444 2011-10-13 Andreas Schwab <schwab@redhat.com>
33446 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33447 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33450 * sysdeps/x86_64/memrchr.S: Check for zero size.
33452 * string/stratcliff.c: Add memrchr tests.
33454 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33457 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33458 rawmemchr-sse2 rawmemchr-sse2-bsf.
33459 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33460 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33461 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33462 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33463 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33464 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33465 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33466 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33467 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33468 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33469 * string/memrchr.c (MEMRCHR): New macro.
33471 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33473 Add integration with gcc's -ffinite-math-only and optimize wrapper
33475 * Versions.def: Define GLIBC_2.15 version for libm.
33476 * math/Makefile (headers): Add bits/math-finite.h.
33477 * math/bits/math-finite.h: New file.
33478 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33479 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33480 * math/e_acoshl.c: Add __*_finite alias.
33481 * math/e_acosl.c: Likewise.
33482 * math/e_asinl.c: Likewise.
33483 * math/e_atan2l.c: Likewise.
33484 * math/e_atanhl.c: Likewise.
33485 * math/e_coshl.c: Likewise.
33486 * math/e_exp10.c: Likewise.
33487 * math/e_exp10f.c: Likewise.
33488 * math/e_exp10l.c: Likewise.
33489 * math/e_exp2l.c: Likewise.
33490 * math/e_fmodl.c: Likewise.
33491 * math/e_gammal_r.c: Likewise.
33492 * math/e_hypotl.c: Likewise.
33493 * math/e_j0l.c: Likewise.
33494 * math/e_j1l.c: Likewise.
33495 * math/e_jnl.c: Likewise.
33496 * math/e_lgammal_r.c: Likewise.
33497 * math/e_log10l.c: Likewise.
33498 * math/e_log2l.c: Likewise.
33499 * math/e_logl.c: Likewise.
33500 * math/e_powl.c: Likewise.
33501 * math/e_sinhl.c: Likewise.
33502 * math/e_sqrtl.c: Likewise.
33503 * math/e_scalb.c: Completely rewritten and optimized.
33504 * math/e_scalbf.c: Likewise.
33505 * math/e_scalbl.c: Likewise.
33506 * math/w_acos.c: Likewise.
33507 * math/w_acosf.c: Likewise.
33508 * math/w_acosl.c: Likewise.
33509 * math/w_acosh.c: Likewise.
33510 * math/w_acoshf.c: Likewise.
33511 * math/w_acoshl.c: Likewise.
33512 * math/w_asin.c: Likewise.
33513 * math/w_asinf.c: Likewise.
33514 * math/w_asinl.c: Likewise.
33515 * math/w_atan2.c: Likewise.
33516 * math/w_atan2f.c: Likewise.
33517 * math/w_atan2l.c: Likewise.
33518 * math/w_atanh.c: Likewise.
33519 * math/w_atanhf.c: Likewise.
33520 * math/w_atanhl.c: Likewise.
33521 * math/w_exp10.c: Likewise.
33522 * math/w_exp10f.c: Likewise.
33523 * math/w_exp10l.c: Likewise.
33524 * math/w_fmod.c: Likewise.
33525 * math/w_fmodf.c: Likewise.
33526 * math/w_fmodl.c: Likewise.
33527 * math/w_j0.c: Likewise.
33528 * math/w_j0f.c: Likewise.
33529 * math/w_j0l.c: Likewise.
33530 * math/w_j1.c: Likewise.
33531 * math/w_j1f.c: Likewise.
33532 * math/w_j1l.c: Likewise.
33533 * math/w_jn.c: Likewise.
33534 * math/w_jnf.c: Likewise.
33535 * math/w_log.c: Likewise.
33536 * math/w_logf.c: Likewise.
33537 * math/w_logl.c: Likewise.
33538 * math/w_log10.c: Likewise.
33539 * math/w_log10f.c: Likewise.
33540 * math/w_log10l.c: Likewise.
33541 * math/w_log2.c: Likewise.
33542 * math/w_log2f.c: Likewise.
33543 * math/w_log2l.c: Likewise.
33544 * math/w_pow.c: Likewise.
33545 * math/w_powf.c: Likewise.
33546 * math/w_powl.c: Likewise.
33547 * math/w_remainder.c: Likewise.
33548 * math/w_remainderf.c: Likewise.
33549 * math/w_remainderl.c: Likewise.
33550 * math/w_scalb.c: Likewise.
33551 * math/w_scalbf.c: Likewise.
33552 * math/w_scalbl.c: Likewise.
33553 * math/w_sqrt.c: Likewise.
33554 * math/w_sqrtf.c: Likewise.
33555 * math/w_sqrtl.c: Likewise.
33556 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33557 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33559 * math/math_private.h: Declare __kernel_standard_f.
33560 * math/w_cosh.c: Remove cruft and optimize a bit.
33561 * math/w_coshf.c: Likewise.
33562 * math/w_coshl.c: Likewise.
33563 * math/w_exp2.c: Likewise.
33564 * math/w_exp2f.c: Likewise.
33565 * math/w_exp2l.c: Likewise.
33566 * math/w_hypot.c: Likewise.
33567 * math/w_hypotf.c: Likewise.
33568 * math/w_hypotl.c: Likewise.
33569 * math/w_lgamma.c: Likewise.
33570 * math/w_lgamma_r.c: Likewise.
33571 * math/w_lgammaf.c: Likewise.
33572 * math/w_lgammaf_r.c: Likewise.
33573 * math/w_lgammal.c: Likewise.
33574 * math/w_lgammal_r.c: Likewise.
33575 * math/w_sinh.c: Likewise.
33576 * math/w_sinhf.c: Likewise.
33577 * math/w_sinhl.c: Likewise.
33578 * math/w_tgamma.c: Likewise.
33579 * math/w_tgammaf.c: Likewise.
33580 * math/w_tgammal.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33582 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33583 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33584 Minor optimizations. Pretty printing. Remove cruft.
33585 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33586 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33587 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33588 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33589 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33590 * sysdeps/i386/fpu/e_asin.S: Likewise.
33591 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33592 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33593 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33594 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33595 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33596 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33597 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33598 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33599 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33600 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33601 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33602 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33603 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33604 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33605 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33606 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33607 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33608 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33609 * sysdeps/i386/fpu/e_log.S: Likewise.
33610 * sysdeps/i386/fpu/e_log10.S: Likewise.
33611 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33612 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33613 * sysdeps/i386/fpu/e_log2.S: Likewise.
33614 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33615 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33616 * sysdeps/i386/fpu/e_logf.S: Likewise.
33617 * sysdeps/i386/fpu/e_logl.S: Likewise.
33618 * sysdeps/i386/fpu/e_pow.S: Likewise.
33619 * sysdeps/i386/fpu/e_powf.S: Likewise.
33620 * sysdeps/i386/fpu/e_powl.S: Likewise.
33621 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33622 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33623 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33624 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33625 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33626 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33627 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33628 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33629 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33631 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33633 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33637 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33638 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33639 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33640 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33641 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33651 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33652 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33653 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33654 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33655 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33656 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33657 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33658 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33659 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33660 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33661 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33662 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33663 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33664 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33665 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33666 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33667 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33668 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33669 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33670 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33671 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33710 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33713 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33715 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33716 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33718 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33721 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33722 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33723 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33724 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33725 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33726 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33727 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33728 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33729 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33730 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33731 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33732 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33733 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33734 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33735 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33736 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33737 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33738 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33739 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33740 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33741 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33742 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33743 (__isnanf): Likewise.
33744 (__isinf_ns): Likewise.
33745 (__isinf_nsf): Likewise.
33746 (__finite): Likewise.
33747 (__finitef): Likewise.
33748 (__ieee754_sqrt): Define as macro.
33749 (__ieee754_sqrtf): Define as macro.
33750 (__ieee754_sqrtl): Define as macro.
33751 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33753 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33754 __FINITE_MATH_ONLY__ consistent.
33755 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33757 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33759 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33762 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33764 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33766 * po/ja.po: Update from translation team.
33768 2011-10-08 Roland McGrath <roland@hack.frob.com>
33770 * locale/programs/locarchive.c (prepare_address_space): New function.
33771 (create_archive, enlarge_archive, open_archive): Use it.
33773 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33774 inside [SHARED], where it is used.
33776 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33778 * nss/getent.c (netgroup_keys): Remove unused variable.
33779 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33781 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33783 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33784 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33786 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33787 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33788 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33789 * math/Makefile (libm-calls): Add s_isinf_ns.
33790 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33791 * math/multc3.c: Likewise.
33792 * math/s_casin.c: Likewise.
33793 * math/s_casinf.c: Likewise.
33794 * math/s_casinl.c: Likewise.
33795 * math/s_ccos.c: Likewise.
33796 * math/s_ccosf.c: Likewise.
33797 * math/s_ccosl.c: Likewise.
33798 * math/s_ctan.c: Likewise.
33799 * math/s_ctanf.c: Likewise.
33800 * math/s_ctanh.c: Likewise.
33801 * math/s_ctanhf.c: Likewise.
33802 * math/s_ctanhl.c: Likewise.
33803 * math/s_ctanl.c: Likewise.
33804 * math/w_fmod.c: Likewise.
33805 * math/w_fmodf.c: Likewise.
33806 * math/w_fmodl.c: Likewise.
33807 * math/w_remainder.c: Likewise.
33808 * math/w_remainderf.c: Likewise.
33809 * math/w_remainderl.c: Likewise.
33810 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33811 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33812 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33814 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33815 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33816 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33817 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33819 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33821 * stdio-common/printf_fphex.c: Likewise.
33822 * stdio-common/printf_size.c: Likewise.
33824 * math/e_exp10.c: Include math_private.h using <...> not "...".
33825 * math/e_exp10f.c: Likewise.
33826 * math/e_exp10l.c: Likewise.
33827 * math/e_exp2l.c: Likewise.
33828 * math/e_j0l.c: Likewise.
33829 * math/e_j1l.c: Likewise.
33830 * math/e_jnl.c: Likewise.
33831 * math/e_lgammal_r.c: Likewise.
33832 * math/e_rem_pio2l.c: Likewise.
33833 * math/e_scalb.c: Likewise.
33834 * math/e_scalbf.c: Likewise.
33835 * math/e_scalbl.c: Likewise.
33836 * math/k_cosl.c: Likewise.
33837 * math/k_sinl.c: Likewise.
33838 * math/k_tanl.c: Likewise.
33839 * math/s_cacoshf.c: Likewise.
33840 * math/s_catan.c: Likewise.
33841 * math/s_catanf.c: Likewise.
33842 * math/s_catanh.c: Likewise.
33843 * math/s_catanhf.c: Likewise.
33844 * math/s_catanhl.c: Likewise.
33845 * math/s_catanl.c: Likewise.
33846 * math/s_ccosh.c: Likewise.
33847 * math/s_ccoshf.c: Likewise.
33848 * math/s_ccoshl.c: Likewise.
33849 * math/s_cexp.c: Likewise.
33850 * math/s_cexpf.c: Likewise.
33851 * math/s_cexpl.c: Likewise.
33852 * math/s_clog.c: Likewise.
33853 * math/s_clog10.c: Likewise.
33854 * math/s_clog10f.c: Likewise.
33855 * math/s_clog10l.c: Likewise.
33856 * math/s_clogf.c: Likewise.
33857 * math/s_clogl.c: Likewise.
33858 * math/s_csin.c: Likewise.
33859 * math/s_csinf.c: Likewise.
33860 * math/s_csinh.c: Likewise.
33861 * math/s_csinhf.c: Likewise.
33862 * math/s_csinhl.c: Likewise.
33863 * math/s_csinl.c: Likewise.
33864 * math/s_csqrt.c: Likewise.
33865 * math/s_csqrtf.c: Likewise.
33866 * math/s_csqrtl.c: Likewise.
33867 * math/s_ctan.c: Likewise.
33868 * math/s_ctanf.c: Likewise.
33869 * math/s_ctanh.c: Likewise.
33870 * math/s_ctanhf.c: Likewise.
33871 * math/s_ctanhl.c: Likewise.
33872 * math/s_ctanl.c: Likewise.
33873 * math/s_ldexp.c: Likewise.
33874 * math/s_ldexpf.c: Likewise.
33875 * math/s_ldexpl.c: Likewise.
33876 * math/s_significand.c: Likewise.
33877 * math/s_significandf.c: Likewise.
33878 * math/s_significandl.c: Likewise.
33879 * math/w_acos.c: Likewise.
33880 * math/w_acosf.c: Likewise.
33881 * math/w_acosh.c: Likewise.
33882 * math/w_acoshf.c: Likewise.
33883 * math/w_acoshl.c: Likewise.
33884 * math/w_acosl.c: Likewise.
33885 * math/w_asin.c: Likewise.
33886 * math/w_asinf.c: Likewise.
33887 * math/w_asinl.c: Likewise.
33888 * math/w_atan2.c: Likewise.
33889 * math/w_atan2f.c: Likewise.
33890 * math/w_atan2l.c: Likewise.
33891 * math/w_atanh.c: Likewise.
33892 * math/w_atanhf.c: Likewise.
33893 * math/w_atanhl.c: Likewise.
33894 * math/w_cosh.c: Likewise.
33895 * math/w_coshf.c: Likewise.
33896 * math/w_coshl.c: Likewise.
33897 * math/w_dremf.c: Likewise.
33898 * math/w_exp10.c: Likewise.
33899 * math/w_exp10f.c: Likewise.
33900 * math/w_exp10l.c: Likewise.
33901 * math/w_exp2.c: Likewise.
33902 * math/w_exp2f.c: Likewise.
33903 * math/w_fmod.c: Likewise.
33904 * math/w_fmodf.c: Likewise.
33905 * math/w_fmodl.c: Likewise.
33906 * math/w_hypot.c: Likewise.
33907 * math/w_hypotf.c: Likewise.
33908 * math/w_hypotl.c: Likewise.
33909 * math/w_j0.c: Likewise.
33910 * math/w_j0f.c: Likewise.
33911 * math/w_j0l.c: Likewise.
33912 * math/w_j1.c: Likewise.
33913 * math/w_j1f.c: Likewise.
33914 * math/w_j1l.c: Likewise.
33915 * math/w_jn.c: Likewise.
33916 * math/w_jnf.c: Likewise.
33917 * math/w_jnl.c: Likewise.
33918 * math/w_lgamma.c: Likewise.
33919 * math/w_lgamma_r.c: Likewise.
33920 * math/w_lgammaf.c: Likewise.
33921 * math/w_lgammaf_r.c: Likewise.
33922 * math/w_lgammal.c: Likewise.
33923 * math/w_lgammal_r.c: Likewise.
33924 * math/w_log.c: Likewise.
33925 * math/w_log10.c: Likewise.
33926 * math/w_log10f.c: Likewise.
33927 * math/w_log10l.c: Likewise.
33928 * math/w_log2.c: Likewise.
33929 * math/w_log2f.c: Likewise.
33930 * math/w_log2l.c: Likewise.
33931 * math/w_logf.c: Likewise.
33932 * math/w_logl.c: Likewise.
33933 * math/w_pow.c: Likewise.
33934 * math/w_powf.c: Likewise.
33935 * math/w_powl.c: Likewise.
33936 * math/w_remainder.c: Likewise.
33937 * math/w_remainderf.c: Likewise.
33938 * math/w_remainderl.c: Likewise.
33939 * math/w_scalb.c: Likewise.
33940 * math/w_scalbf.c: Likewise.
33941 * math/w_scalbl.c: Likewise.
33942 * math/w_sinh.c: Likewise.
33943 * math/w_sinhf.c: Likewise.
33944 * math/w_sinhl.c: Likewise.
33945 * math/w_sqrt.c: Likewise.
33946 * math/w_sqrtf.c: Likewise.
33947 * math/w_sqrtl.c: Likewise.
33948 * math/w_tgamma.c: Likewise.
33949 * math/w_tgammaf.c: Likewise.
33950 * math/w_tgammal.c: Likewise.
33952 * po/ja.po: Update from translation team.
33954 2011-09-29 Andreas Jaeger <aj@suse.de>
33957 * sunrpc/netname.c (netname2host): Fix logic.
33961 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33963 * math/w_remainder.c (__remainder): Likewise.
33964 * math/w_remainderf.c (__remainderf): Likewise.
33965 * math/libm-test.inc (remainder_test): Add test cases.
33967 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33969 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33972 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33974 * string/test-memcmp.c: Avoid unncessary #defines.
33975 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33977 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33979 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33980 Use new sse2 version for core i3 - i7 as it's faster
33981 than sse42 version.
33982 (bit_Prefer_PMINUB_for_stringop): New.
33983 * sysdeps/x86_64/rawmemchr.S: Update.
33984 Replace with faster SSE2 version.
33985 * sysdeps/x86_64/memrchr.S: New file.
33986 * sysdeps/x86_64/memchr.S: Update.
33987 Replace with faster SSE2 version.
33989 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33991 * elf/dl-load.c (lose): Add cast to avoid warning.
33993 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33995 * po/ca.po: Update from translation team.
33997 * inet/getnetgrent_r.c: Hook up nscd.
33998 * nscd/Makefile (routines): Add nscd_netgroup.
33999 (nscd-modules): Add netgroupcache.
34000 (CFLAGS-netgroupcache.c): Define.
34001 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34002 (cache_search): Add const to second parameter.
34003 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34005 (dbs): Add netgrdb entry.
34006 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34007 (verify_persistent_db): Handle netgrdb.
34008 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34009 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34011 (netgroup_response_header): Define.
34012 (innetgroup_response_header): Define.
34013 (datahead): Add netgroup_response_header and innetgroup_response_header
34015 * nscd/nscd.conf: Add entries for netgroup cache.
34016 * nscd/nscd.h (dbtype): Add netgrdb.
34017 (_PATH_NSCD_NETGROUP_DB): Define.
34018 (netgroup_iov_disabled): Declare.
34019 (xmalloc, xcalloc, xrealloc): Move declarations here.
34020 (cache_search): Adjust prototype.
34021 Add netgroup-related prototypes.
34022 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34023 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34024 (__nscd_innetgr): Declare.
34025 * nscd/selinux.c (perms): Use access_vector_t as element type and
34026 add netgroup-related initializers.
34027 * nscd/netgroupcache.c: New file.
34028 * nscd/nscd_netgroup.c: New file.
34029 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34030 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34031 For four parameters use innetgr.
34032 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34033 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34034 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34035 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34037 * nscd/connections.c (register_traced_file): Don't register file
34038 for disabled databases.
34040 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34042 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34044 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34045 from tree and freeing node.
34047 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34049 * nss/nsswitch.c (__nss_database_lookup): Handle
34050 nss_parse_service_list out of memory case.
34052 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34054 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34055 out of memory case.
34057 2011-10-04 Andreas Schwab <schwab@redhat.com>
34059 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34060 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34062 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34063 elf_machine_rela, elf_machine_lazy_rel.
34064 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34065 (ELF_DYNAMIC_DO_REL): Likewise.
34066 (ELF_DYNAMIC_DO_RELA): Likewise.
34067 (ELF_DYNAMIC_RELOCATE): Likewise.
34068 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34069 to ELF_DYNAMIC_DO_REL.
34070 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34071 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34072 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34074 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34075 skip_ifunc, don't call ifunc function if non-zero.
34076 (elf_machine_rela): Likewise.
34077 (elf_machine_lazy_rel): Likewise.
34078 (elf_machine_lazy_rela): Likewise.
34079 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34080 (elf_machine_lazy_rel): Likewise.
34081 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34083 (elf_machine_lazy_rel): Likewise.
34084 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34086 (elf_machine_lazy_rel): Likewise.
34087 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34088 (elf_machine_lazy_rel): Likewise.
34089 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34090 (elf_machine_lazy_rel): Likewise.
34091 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34092 (elf_machine_lazy_rel): Likewise.
34093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34094 (elf_machine_lazy_rel): Likewise.
34095 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34096 (elf_machine_lazy_rel): Likewise.
34097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34098 (elf_machine_lazy_rel): Likewise.
34100 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34102 * nss/nss_files/files-init.c (_nss_files_init): Use static
34103 initialization for all the *_traced_file variables.
34105 2011-09-28 Andreas Schwab <schwab@redhat.com>
34107 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34109 2011-09-27 Roland McGrath <roland@hack.frob.com>
34112 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34114 2011-09-27 Andreas Schwab <schwab@redhat.com>
34116 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34117 Reread the line before reparsing it.
34119 2011-09-26 Andreas Schwab <schwab@redhat.com>
34121 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34123 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34124 Maxim Kuvyrkov <maxim@codesourcery.com>
34125 Joseph Myers <joseph@codesourcery.com>
34127 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34128 if needed for __stack_chk_guard.
34130 2011-09-19 Roland McGrath <roland@hack.frob.com>
34132 * sysdeps/posix/spawni.c (script_execute): Always define it.
34133 It will be optimized away if unused.
34134 (maybe_script_execute): New function.
34135 (__spawni): Call it.
34137 * Makerules: Don't include tls.make.
34138 (config-tls): Always set to thread.
34139 * tls.make.c: File removed.
34141 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34143 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34144 * config.make.in (CPPFLAGS-config): New substituted variable.
34146 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34148 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34151 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34152 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34154 2011-09-15 Roland McGrath <roland@hack.frob.com>
34156 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34157 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34159 (CALL_FAIL): Likewise.
34160 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34161 (CALL_FAIL): Macro removed.
34162 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34164 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34166 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34167 for __FINITE_MATH_ONLY__ == 1.
34169 2011-09-15 Andreas Schwab <schwab@redhat.com>
34171 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34172 __ieee754_sqrt instead of sqrt.
34173 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34174 __ieee754_sqrtf instead of sqrtf.
34175 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34176 __floorf instead of floorf.
34177 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34178 __floorf, __truncf instead of floorf, truncf.
34180 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34182 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34184 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34185 __extern_always_inline.
34186 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34189 2011-09-14 Andreas Schwab <schwab@redhat.com>
34191 * elf/rtld.c (dl_main): Also relocate in dependency order when
34192 doing symbol dependency testing.
34194 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34196 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34197 Always define `refsym'.
34199 2011-09-13 Andreas Schwab <schwab@redhat.com>
34201 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34202 (__FD_ELT): Renamed from __FDELT.
34203 * misc/bits/select2.h (__FD_ELT): Likewise.
34204 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34205 __FD_MASK instead of __FDELT, __FDMASK.
34206 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34208 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34211 * elf/Makefile (gen-ldd): Fix pattern.
34213 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34214 (init_tls): Likewise.
34216 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34218 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34220 2011-09-12 Andreas Schwab <schwab@redhat.com>
34222 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34223 `struct cmsghdr *' instead of `void *'.
34224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34227 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34229 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34231 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34232 ldd_rewrite_script.
34234 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34236 * configure.in: Remove --with-tls option.
34237 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34238 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34239 out in case it is missing.
34240 * sysdeps/ia64/elf/configure.in: Likewise.
34241 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34242 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34243 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34244 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34245 * sysdeps/sh/elf/configure.in: Likewise.
34246 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34247 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34248 * sysdeps/x86_64/elf/configure.in: Likewise.
34249 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34250 * sysdeps/mach/hurd/tls.h: Likewise.
34253 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34256 * configure.in: Fix use of AC_INIT.
34258 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34260 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34262 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34264 * malloc/hooks.c: Likewise.
34267 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34268 variables statically.
34269 (narenas): Initialize.
34270 (list_lock): Initialize.
34271 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34272 initializtion of main_arena and list_lock. Small cleanups.
34273 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34274 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34275 Add initializers to main_arena and mp_.
34276 (malloc_state): Remove pagesize member. Change all users to use
34279 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34280 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34281 is always initialized.
34283 * malloc/malloc.c: Removed unused configurations and dead code.
34284 * malloc/arena.c: Likewise.
34285 * malloc/hooks.c: Likewise.
34286 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34288 * include/tls.h: Removed. USE___THREAD must always be defined.
34289 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34290 * elf/dl-libc.c: Likewise.
34291 * elf/dl-tsd.c: Likewise.
34292 * include/errno.h: Likewise.
34293 * include/netdb.h: Likewise.
34294 * include/resolv.h: Likewise.
34295 * inet/herrno-loc.c: Likewise.
34296 * inet/herrno.c: Likewise.
34297 * malloc/arena.c: Likewise.
34298 * malloc/hooks.c: Likewise.
34299 * malloc/malloc.c: Likewise.
34300 * resolv/res-state.c: Likewise.
34301 * resolv/res_libc.c: Likewise.
34302 * sysdeps/i386/dl-machine.h: Likewise.
34303 * sysdeps/ia64/dl-machine.h: Likewise.
34304 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34305 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34306 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34307 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34308 * sysdeps/sh/dl-machine.h: Likewise.
34309 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34310 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34311 * sysdeps/unix/i386/sysdep.S: Likewise.
34312 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34313 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34315 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34317 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34318 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34320 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34322 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34323 * sysdeps/x86_64/dl-machine.h: Likewise.
34324 * tls.make.c: Likewise.
34326 * configure.in: Remove --with-__thread option. Make tests for
34327 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34328 tls_model attribute fail if no support is available. Remove
34330 * Makeconfig: Adjust for dropped configure option. All features are
34332 * Makerules: Likewise.
34333 * Versions.def: Likewise.
34334 * argp/argp-fmtstream.c: Likewise.
34335 * argp/argp-fmtstream.h: Likewise.
34336 * argp/argp-help.c: Likewise.
34337 * assert/assert.c: Likewise.
34338 * config.h.in: Likewise.
34339 * config.make.in: Likewise.
34340 * configure: Likewise.
34341 * configure.in: Likewise.
34342 * csu/Versions: Likewise.
34343 * csu/init.c: Likewise.
34344 * elf/tst-audit2.c: Likewise.
34345 * elf/tst-tls10.c: Likewise.
34346 * elf/tst-tls10.h: Likewise.
34347 * elf/tst-tls11.c: Likewise.
34348 * elf/tst-tls12.c: Likewise.
34349 * elf/tst-tls14.c: Likewise.
34350 * elf/tst-tlsmod11.c: Likewise.
34351 * elf/tst-tlsmod12.c: Likewise.
34352 * elf/tst-tlsmod13.c: Likewise.
34353 * elf/tst-tlsmod13a.c: Likewise.
34354 * elf/tst-tlsmod14a.c: Likewise.
34355 * elf/tst-tlsmod15b.c: Likewise.
34356 * elf/tst-tlsmod16a.c: Likewise.
34357 * elf/tst-tlsmod16b.c: Likewise.
34358 * elf/tst-tlsmod7.c: Likewise.
34359 * elf/tst-tlsmod8.c: Likewise.
34360 * elf/tst-tlsmod9.c: Likewise.
34361 * gmon/gmon.c: Likewise.
34362 * grp/fgetgrent_r.c: Likewise.
34363 * grp/putgrent.c: Likewise.
34364 * hurd/fopenport.c: Likewise.
34365 * include/libc-symbols.h: Likewise.
34366 * include/tls.h: Likewise.
34367 * intl/gettextP.h: Likewise.
34368 * intl/loadinfo.h: Likewise.
34369 * locale/global-locale.c: Likewise.
34370 * locale/localeinfo.h: Likewise.
34371 * mach/devstream.c: Likewise.
34372 * malloc/arena.c: Likewise.
34373 * malloc/set-freeres.c: Likewise.
34374 * misc/err.c: Likewise.
34375 * misc/getttyent.c: Likewise.
34376 * misc/mntent_r.c: Likewise.
34377 * posix/getopt.c: Likewise.
34378 * posix/wordexp.c: Likewise.
34379 * pwd/fgetpwent_r.c: Likewise.
34380 * resolv/Versions: Likewise.
34381 * resolv/res_hconf.c: Likewise.
34382 * shadow/fgetspent_r.c: Likewise.
34383 * shadow/putspent.c: Likewise.
34384 * stdio-common/printf_fphex.c: Likewise.
34385 * stdio-common/tmpfile.c: Likewise.
34386 * stdlib/abort.c: Likewise.
34387 * stdlib/fmtmsg.c: Likewise.
34388 * sunrpc/auth_unix.c: Likewise.
34389 * sunrpc/clnt_perr.c: Likewise.
34390 * sunrpc/clnt_tcp.c: Likewise.
34391 * sunrpc/clnt_udp.c: Likewise.
34392 * sunrpc/clnt_unix.c: Likewise.
34393 * sunrpc/openchild.c: Likewise.
34394 * sunrpc/svc_simple.c: Likewise.
34395 * sunrpc/svc_tcp.c: Likewise.
34396 * sunrpc/svc_udp.c: Likewise.
34397 * sunrpc/svc_unix.c: Likewise.
34398 * sunrpc/xdr.c: Likewise.
34399 * sunrpc/xdr_array.c: Likewise.
34400 * sunrpc/xdr_rec.c: Likewise.
34401 * sunrpc/xdr_ref.c: Likewise.
34402 * sunrpc/xdr_stdio.c: Likewise.
34404 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34406 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34408 2011-07-03 Andreas Jaeger <aj@suse.de>
34410 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34411 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34412 regenerate with gen-libm-tests.pl.
34414 2010-05-12 Petr Baudis <pasky@suse.cz>
34417 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34418 around j0() zero points by switching to j1().
34419 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34420 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34421 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34422 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34424 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34426 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34428 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34430 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34431 Patch in part by Pavel Roskin <proski@gnu.org>.
34434 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34436 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34437 Free memory block if necessary.
34440 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34441 be NULL. Don't lock in this case.
34443 2011-09-09 Roland McGrath <roland@hack.frob.com>
34445 * elf/elf.h (ELFOSABI_GNU): New macro.
34446 (ELFOSABI_LINUX): Define to that.
34448 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34450 * string/strncat.c (strncat): Undef the symbol in case it has been
34451 defined in bits/string.h.
34453 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34455 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34457 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34460 2011-08-17 Andreas Jaeger <aj@suse.de>
34462 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34464 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34465 Ian Lance Taylor <iant@google.com>
34467 * math/libm-test.inc (lround_test): New testcase.
34468 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34470 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34472 * Makefile: Remove support for automatic cvs check-ins.
34473 * Makerules: Likewise.
34474 * config.make.in: Likewise.
34475 * configure.in: Likewise.
34476 * intl/Makefile: Likewise.
34477 * locale/Makefile: Likewise.
34478 * po/Makefile: Likewise.
34479 * posix/Makefile: Likewise.
34480 * sysdeps/gnu/Makefile: Likewise.
34481 * sysdeps/mach/hurd/Makefile: Likewise.
34482 * sysdeps/sparc/sparc32/Makefile: Likewise.
34485 * posix/Makefile (bug-regex32-ENV): Define.
34486 Patch by John Stanley <jpsinthemix@verizon.net>.
34488 * misc/Makefile (headers): Add bits/select2.h.
34489 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34490 * misc/bits/select2.h: New file.
34491 * include/bits/select2.h: New file.
34492 * debug/Makefile (routines): Add fdelt_chk.
34493 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34494 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34496 * debug/fdelt_chk.c: New file.
34498 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34499 * wcsmbs/test-wmemcmp.c: Likewise.
34500 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34501 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34503 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34505 * string/Makefile (strop-tests): Add memcmp.
34506 * string/test-wmemcmp.c: New file.
34507 * string/test-memcmp.c: Add wmemcmp support.
34509 2011-09-08 Roland McGrath <roland@hack.frob.com>
34512 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34515 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34516 garbage value in a __mach_port_mod_refs call in the cases of the
34517 task-self and thread-self ports.
34519 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34521 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34523 2011-09-08 Andreas Schwab <schwab@redhat.com>
34525 * elf/dl-load.c (lose): Check for non-null L.
34527 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34529 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34531 * elf/dl-libc.c (dlerror_run): Pass back error code from
34535 * elf/dl-load.c (lose): Free l_origin if it is valid.
34537 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34539 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34540 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34542 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34543 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34544 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34546 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34548 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34549 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34550 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34551 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34552 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34553 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34554 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34555 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34556 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34557 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34559 2011-08-15 Alan Modra <amodra@gmail.com>
34562 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34563 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34564 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34565 ppc_mcount to static-only-routines.
34566 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34568 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34569 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34571 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34573 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34574 for finite and infinity parameters.
34576 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34578 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34579 and add nop instructions for throughput optimization.
34580 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34582 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34584 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34585 aligned copy for power7 with vector-scalar instructions.
34586 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34588 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34593 2011-09-07 Andreas Schwab <schwab@redhat.com>
34596 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34599 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34601 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34602 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34603 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34604 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34607 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34609 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34610 Forgot to demangle the pointer.
34612 * sysdeps/i386/sysdep.h: Define atom_text_section.
34613 * sysdeps/x86_64/sysdep.h: Likewise.
34614 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34615 section with atom_text_section.
34616 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34617 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34618 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34620 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34622 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34623 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34624 already be defined. Change to take two parameters and don't assign
34625 result to variable. Adjust all users.
34626 Define INTERNAL_GETTIME if not already defined.
34627 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34629 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34630 HAVE_CLOCK_GETTIME_VSYSCALL.
34631 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34634 gettimeofday vsyscall, just use time.
34636 2011-09-06 Andreas Schwab <schwab@redhat.com>
34638 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34641 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34643 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34645 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34647 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34648 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34649 syscall if possible.
34651 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34653 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34654 e_ident. Don't pass to find_mapsXX.
34655 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34657 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34660 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34661 * sysdeps/x86_64/multiarch/strchr.S: Update.
34662 Check bit_slow_BSF bit.
34663 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34664 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34665 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34667 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34670 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34672 (tryshell): Define.
34673 (__spawni): Change last parameter to be flag. Test
34674 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34675 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34676 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34677 * posix/spawni.c: Likewise.
34678 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34679 * posix/spawnp.c: Likewise. Change normal version to use
34680 SPAWN_XFLAGS_USE_PATH.
34681 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34682 SPAWN_XFLAGS_TRY_SHELL.
34685 * posix/glob.h: Remove gcc 1.x support.
34688 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34690 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34693 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34695 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34696 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34697 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34698 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34699 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34700 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34702 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34704 * sysdeps/x86_64/wcscmp.S: New file.
34706 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34707 wcscmp-c wcscmp-sse2
34708 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34709 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34710 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34711 * wcsmbs/wcscmp.c: Allow renaming.
34713 2011-09-05 David S. Miller <davem@davemloft.net>
34715 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34716 stack slot, rather than the struct return pointer slot.
34717 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34718 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34720 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34722 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34724 * po/ja.po: Update from translation team.
34727 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34728 kernel in 64-bit binaries.
34730 2011-09-01 David S. Miller <davem@davemloft.net>
34732 * elf/elf.h (HWCAP_SPARC_*): Move to..
34733 * sysdeps/sparc/sysdep.h: this new file and add new values.
34734 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34735 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34736 _DL_HWCAP_COUNT to 24.
34737 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34739 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34740 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34741 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34743 instead of magic constants.
34744 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34746 2011-08-31 David S. Miller <davem@davemloft.net>
34748 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34750 Reimplement to do errno handling inline.
34751 (SYSCALL_ERROR_HANDLER): New macro.
34752 (__SYSCALL_STRING): Do not do errno handling in asm.
34753 (__CLONE_SYSCALL_STRING): Delete.
34754 (__INTERNAL_SYSCALL_STRING): Delete.
34755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34756 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34757 (PSEUDO): Reimplement to do errno handling inline.
34758 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34759 (SYSCALL_ERROR_HANDLER): New macro.
34760 (__SYSCALL_STRING): Do not do errno handling in asm.
34761 (__CLONE_SYSCALL_STRING): Delete.
34762 (__INTERNAL_SYSCALL_STRING): Delete.
34763 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34764 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34766 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34767 (inline_syscall*): Add 'err' argument.
34768 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34769 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34770 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34771 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34773 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34774 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34776 2011-08-30 Andreas Schwab <schwab@redhat.com>
34778 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34780 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34782 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34785 2011-08-24 David S. Miller <davem@davemloft.net>
34787 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34789 2011-08-24 Andreas Schwab <schwab@redhat.com>
34791 * elf/Makefile: Add rules to build and run unload8 test.
34792 * elf/unload8.c: New file.
34793 * elf/unload8mod1.c: New file.
34794 * elf/unload8mod1x.c: New file.
34795 * elf/unload8mod2.c: New file.
34796 * elf/unload8mod3.c: New file.
34798 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34801 2011-08-23 David S. Miller <davem@davemloft.net>
34803 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34804 subtract stack bias.
34805 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34806 %sp not %fp in calculations.
34807 (_JMPBUF_UNWINDS_ADJ): Likewise.
34809 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34810 (aio_suspend): Call it to force an exception region around the
34811 AIO_MISC_WAIT() invocation.
34813 2011-08-23 Andreas Schwab <schwab@redhat.com>
34815 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34818 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34820 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34822 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34823 and <dl-machine.h>.
34824 (Elf64_FuncDesc): Remove.
34826 2011-08-22 David S. Miller <davem@davemloft.net>
34828 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34829 sigaltstack check, add missing cfi directives.
34830 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34831 missing cfi directives, and sigaltstack handling.
34833 2011-08-16 Andreas Schwab <schwab@redhat.com>
34836 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34837 object is seen twice.
34838 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34840 * elf/Makefile (distribute): Add tst-initorder2.c.
34841 (tests): Add tst-initorder2.
34842 (modules-names): Add tst-initorder2a tst-initorder2b
34843 tst-initorder2c tst-initorder2d. Add rules to build them.
34844 ($(objpfx)tst-initorder2.out): New rule.
34845 * elf/tst-initorder2.c: New file.
34846 * elf/tst-initorder2.exp: New file.
34848 2011-08-22 Andreas Schwab <schwab@redhat.com>
34850 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34852 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34853 dependencies back to end of function.
34855 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34856 $(elfobjdir)/ld.so.
34858 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34860 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34861 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34863 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34864 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34865 of __vdso_gettimeofday.
34866 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34867 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34869 (_libc_vdso_platform_setup): Remove initialization of
34870 __vdso_gettimeofday and __vdso_time.
34872 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34874 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34875 and fgetc_unlocked.
34876 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34879 * elf/dl-open.c (add_to_global): Report additions to the global scope
34880 for LD_DEBUG=scopes.
34881 (dl_open_worker): Also print scope of newly loaded dependencies.
34882 (_dl_show_scope): Indicate if there is no scope.
34885 * stdio-common/Makefile (tests): Add bug24.
34886 * stdio-common/bug24.c: New file.
34888 2011-08-19 Andreas Jaeger <aj@suse.de>
34891 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34892 non-existant file when using close-on-exec mode.
34894 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34896 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34897 the very first instruction.
34899 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34900 the CFI state in the end.
34901 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34902 inclusion of dl-trampoline.h.
34903 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34905 2011-08-19 Andreas Schwab <schwab@redhat.com>
34907 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34908 expectations for long double.
34910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34911 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34913 2011-08-14 David S. Miller <davem@davemloft.net>
34915 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34916 artificual limit depends upon the system page size.
34918 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34920 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34921 * resolv/Makefile: Define CFLAGS-libresolv.
34923 2011-08-17 Andreas Schwab <schwab@redhat.com>
34925 * nss/makedb.c (compute_tables): Make variables used in nested
34928 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34930 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34931 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34932 if buffer was too small.
34934 * elf/pldd.c (main): Attach to all threads in the process.
34935 Rewrite /proc handling to use *at functions.
34937 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34939 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34940 specifies first scope to show.
34941 (dl_open_worker): Update callers. Move printing scope of new
34942 object to before the relocation.
34943 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34944 * sysdeps/generic/ldsodefs.h: Update declaration.
34946 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34947 string for the scope number.
34949 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34951 * nscd/servicescache.c (cache_addserv): Make sure written is always
34954 2011-08-14 Roland McGrath <roland@hack.frob.com>
34956 * sysdeps/i386/i486/bits/atomic.h
34957 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34958 statement expression, so as to suppress "set but not used" warning.
34959 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34961 * string/strncat.c (STRNCAT): Use prototype definition.
34963 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34964 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34966 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34967 (localedef-modules): Add localedef.
34968 (locale-modules): Add locale.
34970 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34971 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34972 to avoid a warning.
34974 2011-08-14 David S. Miller <davem@davemloft.net>
34976 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34977 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34979 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34981 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34982 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34983 * elf/rtld.c (dl_main): Set l_name of vDSO.
34984 Call _dl_show_scope when DL_DEBUG_SCOPES.
34985 (process_dl_debug): Recognize scopes flag and also set it for all.
34986 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34987 Declare _dl_show_scope.
34989 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34990 (do_dlopen): Pass caller_dlopen to dl_open.
34991 (__libc_dlopen_mode): Initialize caller_dlopen.
34993 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34994 of libc. Make tolower call locale-independent. Optimize a bit by
34995 using isdigit instead of isalnum.
34996 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34998 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35000 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35001 was a dependency or dynamically loaded.
35003 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35005 * intl/l10nflist.c: Allow architecture-specific pop function.
35006 * sysdeps/x86_64/l10nflist.c: New file.
35008 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35011 2011-08-10 Andreas Schwab <schwab@redhat.com>
35013 * include/dirent.h: Add libc_hidden_proto for scandirat and
35014 scandirat64. Don't declare __scandirat64.
35015 * dirent/scandirat.c: Add libc_hidden_def.
35016 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35017 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35019 2011-08-10 David S. Miller <davem@davemloft.net>
35021 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35023 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35024 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35025 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35027 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35029 * Versions.def [libc]: Add GLIBC_2.15.
35030 * dirent/Makefile (routines): Add scandirat and scandirat64.
35031 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35033 * dirent/dirent.h: Declare scandirat and scandirat64.
35034 * dirent/scandirat.c: New file.
35035 * dirent/scandirat64.c: New file.
35036 * sysdeps/wordsize-64/scandirat.c: New file.
35037 * sysdeps/wordsize-64/scandirat64.c: New file.
35038 * dirent/opendir.c: Define opendirat.
35039 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35041 * dirent/scandir64.c: Adjust for scandir.c change.
35042 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35043 __scandirat64, and __scandir_cancel_handler.
35044 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35045 additional parameter and use openat instead of open (outside of ld.so).
35046 Add new __opendir as wrapper around __opendirat.
35047 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35048 here without requiring old scandirat implementation.
35050 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35052 * dirent/scandir.c (cancel_handler): Renamed to
35053 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35054 defined. Adjust users.
35055 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35056 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35058 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35060 * string/test-string.h (IMPL): Use __STRING to expand name and then
35063 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35066 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35068 * string/Makefile: Update.
35069 (strop-tests): Append strncat.
35070 * string/test-wcscmp.c: New file.
35071 New comprehensive test for wcscmp.
35072 * string/test-strcmp.c: Update.
35073 (WIDE): New define.
35075 2011-07-22 Andreas Schwab <schwab@redhat.com>
35077 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35080 2011-07-26 Andreas Schwab <schwab@redhat.com>
35082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35083 encoding to ACE if AI_IDN.
35085 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35087 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35088 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35090 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35092 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35093 Fix overflow bug in strncat.
35094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35096 * string/test-strncat.c: Update.
35097 Add new tests for checking overflow bugs.
35099 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35102 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35103 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35104 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35105 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35106 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35107 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35108 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35109 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35111 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35112 (USE_AS_STRCAT): Define.
35113 Add strcat and strncat support.
35114 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35116 2011-07-25 Andreas Schwab <schwab@redhat.com>
35118 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35119 __n bigger than INT_MAX+1.
35120 (__strncmp_g): Likewise.
35122 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35124 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35125 * libio/stido.h: Likewise.
35127 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35129 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35132 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35133 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35134 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35135 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35136 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35139 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35142 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35144 (_dl_x86_64_save_sse): Likewise.
35146 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35150 (_dl_x86_64_save_sse): Likewise.
35152 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35154 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35156 2011-07-21 Andreas Schwab <schwab@redhat.com>
35158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35160 (_dl_x86_64_save_sse): Use correct AVX check.
35162 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35164 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35165 bug in strncpy/strncat.
35166 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35168 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35170 * string/tester.c (test_strcat): Add tests for different alignments
35171 of source and destination.
35172 (test_strncat): Likewise.
35174 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35177 * posix/glob.c (glob): Check passed in values before using them in
35178 expressions to avoid some overflows.
35179 (glob_in_dir): Likewise.
35182 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35183 check for AVX enablement so that we don't crash with old kernels and
35185 * elf/tst-audit4.c: Add same checks here.
35186 * elf/tst-audit6.c: Likewise.
35188 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35190 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35192 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35194 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35196 * po/cs.po: Update from translation team.
35197 * po/bg.po: Likewise.
35199 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35201 * misc/sys/cdefs.h: Add support for const attribute.
35202 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35203 to gnu_dev_{major,minor,makedev} functions.
35205 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35207 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35209 2011-07-20 Andreas Schwab <schwab@redhat.com>
35211 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35214 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35217 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35218 register in order to avoid conflicts with the soft frame pointer
35219 being held in r11 when necessary.
35220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35221 (INTERNAL_VSYSCALL_NCS): Likewise.
35223 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35225 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35226 * elf/dl-fini.c (_dl_fini): Adjust caller.
35227 * elf/dl-close.c (_dl_close_worker): Likewise.
35228 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35230 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35232 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35233 "aux_cache->nlibs < 0".
35235 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35236 in the reload-count case.
35238 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35241 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35242 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35243 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35244 * sysdeps/x86_64/multiarch/strcat.S: New file.
35245 * sysdeps/x86_64/multiarch/strncat.S: New file.
35246 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35247 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35248 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35249 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35250 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35251 (USE_AS_STRCAT): Define.
35252 Add strcat and strncat support.
35253 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35254 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35255 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35256 * string/strncat.c: Update.
35257 (USE_AS_STRNCAT): Define.
35258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35259 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35261 * sysdeps/x86_64/multiarch/init-arch.h
35262 (bit_Prefer_PMINUB_for_stringop): New.
35263 (index_Prefer_PMINUB_for_stringop): Likewise.
35264 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35265 bit_Prefer_PMINUB_for_stringop.
35267 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35269 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35271 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35272 of casting of buffer.
35273 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35274 buffer32 and buffer64.
35275 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35276 writes instead of casting of buffer.
35277 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35279 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35282 2011-07-19 Andreas Schwab <schwab@redhat.com>
35284 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35286 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35288 * nscd/nscd.c (termination_handler): Don't do anything for a database
35289 if it has not yet been initialized.
35291 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35293 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35295 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35297 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35299 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35301 * po/nl.po: Update from translation team.
35302 * po/sv.po: Likewise.
35304 2011-07-16 Roland McGrath <roland@hack.frob.com>
35306 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35307 now disallowed by GCC.
35309 * configure.in (use-default-link): Default to yes if a test -shared
35310 link meets our qualifications.
35311 * configure: Regenerated.
35313 * config.make.in (output-format): New variable.
35314 * configure.in: Check for ld --print-output-format support.
35315 * configure: Regenerated.
35316 * Makerules ($(common-objpfx)format.lds)
35317 [$(output-format) != unknown]: Just use $(output-format),
35318 instead of the linker-script munging.
35320 2011-07-14 Roland McGrath <roland@hack.frob.com>
35322 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35323 of $(common-objpfx)shlib.lds.
35324 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35326 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35327 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35329 * configure.in (-z relro check): Adjust test code to add a large
35330 writable data section after it.
35331 * configure: Regenerated.
35333 2011-07-11 Roland McGrath <roland@hack.frob.com>
35335 * configure.in (-z relro check): Fix test code to make the variable
35337 * configure: Regenerated.
35339 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35341 * nscd/nscd.h (struct traced_file): Define.
35342 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35343 elements. Add traced_files.
35344 (inotify_fd): Declare.
35345 (register_traced_file): Declare.
35346 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35347 (inotify_fd): Export.
35348 (resolv_conf_descr): Remove.
35349 (nscd_init): Move inotify descriptor creation to main.
35350 Don't register files for notification here.
35351 (register_traced_file): New function.
35352 (invalidate_cache): Don't use reset_res to determine whether to call
35353 res_init, go through the list of registered files.
35354 (main_loop_poll): The inotify descriptors are now stored in the
35355 structures for the traced files.
35356 (main_loop_epoll): Likewise
35357 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35358 to __nss_disable_nscd.
35359 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35360 for a database anymore. Check the records for all the registered
35362 * nss/Makefile (libnss_files-routines): Add files-init.
35363 (libnss_db-routines): Add db-init.
35364 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35365 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35366 * nss/nss_db/db-init.c: New file.
35367 * nss/nss_files/files-init.c: New file.
35368 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35369 __nss_lookup_function.
35370 (__nss_lookup_function): Call nss_load_library.
35371 (nss_load_all_libraries): New function.
35372 (__nss_disable_nscd): Take parameter with callback function for files
35373 to register. Set is_nscd. Load all the DSOs for the NSS modules
35374 used for the cached services.
35375 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35376 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35377 options for features to all the files in nscd.
35379 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35381 2011-07-10 Roland McGrath <roland@hack.frob.com>
35383 * csu/elf-init.c (__libc_csu_init): Comment typo.
35385 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35387 * po/pl.po: Update from translation team.
35388 * po/ja.po: Likewise.
35389 * po/ru.po: Likewise.
35390 * po/ko.po: Likewise.
35391 * po/fr.po: Likewise.
35393 2011-07-09 Roland McGrath <roland@hack.frob.com>
35395 * configure.in (.ctors/.dtors header and trailer check):
35396 Use an empirical test on a built program.
35397 * configure: Regenerated.
35399 * configure.in (-z relro check): Use an empirical test on a built DSO.
35400 Detect, but do not require, on ia64.
35401 * configure: Regenerated.
35403 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35404 Update tests that use readelf to use $READELF instead.
35405 * configure: Regenerated.
35407 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35409 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35410 if the result is not used.
35412 2011-07-05 Andreas Jaeger <aj@suse.de>
35415 * stdlib/tst-strtod.c: Add testcase.
35417 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35419 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35420 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35421 The latter has a higher limit. Take additional parameter to pass to
35423 (__pathconf): Pass file to __statfs_link_max.
35424 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35426 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35430 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35431 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35433 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35434 (__statfs_filesize_max): Likewise.
35435 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35437 2011-07-05 Andreas Jaeger <aj@suse.de>
35439 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35441 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35443 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35445 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35448 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35450 * Makefile (strop-tests): Add strncat.
35451 * string/test-strncat.c: New file.
35453 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35455 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35457 2011-06-21 Andreas Jaeger <aj@suse.de>
35459 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35460 Copy rule from iconvdata/Makefile.
35462 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35465 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35466 but no long options are defined, just return 'W'.
35468 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35471 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35473 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35475 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35477 (innetgr): Likewise.
35479 2011-07-05 Roland McGrath <roland@hack.frob.com>
35481 * config.make.in (install_root): Default to $(DESTDIR).
35483 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35487 2011-07-02 Roland McGrath <roland@hack.frob.com>
35489 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35491 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35492 containing directory rather than embedding absolute directory names.
35494 * scripts/check-local-headers.sh: Rewritten using awk.
35495 Match by word, not by line. Print error messages for matches.
35496 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35498 * Makerules [shlib-lds-flags empty]:
35499 ($(common-objpfx)libc_pic.opts): New target.
35500 ($(common-objpfx)libc_pic.os.clean): New target.
35501 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35503 * config.make.in (OBJCOPY): New variable.
35504 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35505 * configure: Regenerated.
35507 * config.make.in (use-default-link): New variable.
35508 * configure.in (use_default_link): Grok --with-default-link to set it.
35509 * configure: Regenerated.
35510 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35511 (shlib-lds, shlib-lds-flags): Define to empty.
35513 * Makerules (shlib-lds): New variable.
35514 (shlib-lds-flags): New variable.
35515 (build-shlib, build-moduile, build-module-asneeded): Use it.
35516 ($(common-objpfx)libc.so): Use $(shlib-lds).
35517 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35518 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35520 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35521 DT_FLAGS/DT_FLAGS_1 with zero flags.
35523 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35524 linker script munging.
35526 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35528 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35530 * crypt/sha512.c (sha512_process_block): Perform total addition using
35531 128-bit if possible.
35532 (__sha512_finish_ctx): Likewise.
35533 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35535 * crypt/sha256.c (SWAP64): Define.
35536 (sha256_process_block): Perform total addition using 64-bit if
35538 (__sha256_finish_ctx): Likewise.
35540 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35542 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35543 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35544 * nscd/hstcache.c (cache_addhst): Likewise.
35545 * nscd/grpcache.c (cache_addgr): Likewise.
35546 * nscd/aicache.c (addhstaiX): Likewise
35547 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35549 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35551 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35552 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35553 * nscd/hstcache.c (cache_addhst): Likewise.
35554 * nscd/grpcache.c (cache_addgr): Likewise.
35555 * nscd/aicache.c (addhstaiX): Likewise
35557 2011-07-01 Andreas Schwab <schwab@redhat.com>
35559 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35560 domain only when needed.
35562 2011-06-30 Andreas Schwab <schwab@redhat.com>
35564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35565 is always restored.
35567 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35569 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35570 are re-adding the entry.
35571 * nscd/servicescache.c (cache_addserv): Likewise.
35573 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35575 * sysdeps/generic/dl-irel.h: fix protection against multiple
35577 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35579 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35582 * malloc/memusage.sh: Fix quoting in message.
35583 * debug/xtrace.sh: Likewise.
35585 * configure.in: Remove support for --experimental-malloc option, make
35587 * config.make.in: Likewise.
35588 * malloc/Makefile: Likewise.
35590 2011-06-27 Andreas Schwab <schwab@redhat.com>
35592 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35593 two-byte characters.
35595 2011-06-27 Roland McGrath <roland@hack.frob.com>
35597 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35598 AC_CACHE_CHECK invocation.
35599 * configure: Regenerated.
35601 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35603 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35606 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35607 bit from old_res_options.
35609 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35611 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35612 value type for setfct.
35614 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35617 __gettimeofday instead of gettimeofday.
35619 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35621 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35623 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35625 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35630 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35632 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35633 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35634 strcpy-sse2-unaligned strncpy-sse2-unaligned
35635 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35636 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35637 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35638 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35639 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35640 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35641 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35642 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35643 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35644 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35645 (STRCPY): Support SSE2 and SSSE3 versions.
35647 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35650 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35651 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35652 kernels which artificially limit size of requests.
35654 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35657 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35658 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35659 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35660 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35661 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35662 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35663 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35664 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35665 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35666 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35667 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35668 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35669 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35670 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35672 Enable unaligned load optimization for Intel Core i3, i5 and i7
35674 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35676 (index_Fast_Unaligned_Load): Define.
35677 (HAS_FAST_UNALIGNED_LOAD): Define.
35679 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35681 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35683 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35687 until it is clear that the information is realy needed.
35688 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35690 2011-06-22 Andreas Schwab <schwab@redhat.com>
35692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35694 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35697 /sys/devices/system/cpu/online if it is usable.
35699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35700 reading the information from the /proc filesystem to once a second.
35702 2011-06-21 Andreas Jaeger <aj@suse.de>
35704 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35705 NULL after inclusion of kernel headers.
35707 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35709 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35710 calls to internal_setent.
35713 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35714 addresses using gethostbyname4_r ignore IPv4 addresses.
35716 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35717 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35719 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35721 2011-06-20 David S. Miller <davem@davemloft.net>
35723 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35725 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35727 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35728 (elf_irel): Use it.
35729 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35730 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35731 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35732 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35733 * sysdeps/x86_64/dl-irel.h: Likewise.
35735 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35736 * elf/dl-sym.c: Likewise.
35738 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35740 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35741 need to dereference resplen2.
35743 2011-06-14 Andreas Schwab <schwab@redhat.com>
35745 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35747 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35749 * Makeconfig: Define vardbdir and inst_vardbdir.
35750 * nss/Makefile: Add rules to install db-Makefile.
35752 * nss/nss_db/db-XXX.c: Cleanup.
35754 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35755 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35757 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35758 * nss/makedb.c: Implement -g option to specify that value strings
35759 are generated and should not be added to table iterated over for
35761 * nss/nss_db/db-initgroups.c: New file.
35763 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35766 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35767 (internal_getgrouplist): Adjust to name change.
35768 Update use_initgroups_entry if this is not the first call.
35769 * nss/databases.def: Add initgroups entry.
35771 * nss/makedb.c (compute_tables): Check result of multiple hash table
35772 sizes to minimize maximum chain length.
35774 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35776 * Versions.def: Add entry for libnss_db.
35777 * shlib-versions: Likewise.
35778 * nss/Makefile: Add rules to build libnss_db.
35779 * nss/Versions: Add libnss_db information. Organize libnss_files
35781 * nss/db-Makefile: Add gshadow support. Change rules for the new
35782 makedb progra. Some minor improvements to generate smaller files.
35783 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35785 * nss/makedb.c: ...here.
35786 Improve database format to be smaller and require less memory at
35788 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35790 * nss/nss_db/db-netgrp.c: Likewise.
35791 * nss/nss_db/db-open.c: Likewise.
35792 * nss/nss_files/flies-XXX.x: Adjust comments.
35793 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35794 * nss/nss_files/files-grp.c: Likewise.
35795 * nss/nss_files/files-hosts.c: Likewise.
35796 * nss/nss_files/files-network.c: Likewise.
35797 * nss/nss_files/files-proto.c: Likewise.
35798 * nss/nss_files/files-pwd.c: Likewise.
35799 * nss/nss_files/files-rpc.c: Likewise.
35800 * nss/nss_files/files-service.c: Likewise.
35801 * nss/nss_files/files-sgrp.c: Likewise.
35802 * nss/nss_files/files-spwd.c: Likewise.
35803 * nss/nss_db/db-alias.c: Removed.
35804 * nss/nss_db/dummy-db.h: Removed.
35806 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35808 * nss/makedb.c: Rewritten to not use database library.
35809 * nss/Makefile: Update to build new makedb program.
35811 2011-06-14 Andreas Jaeger <aj@suse.de>
35813 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35814 memset declaration.
35816 2011-06-10 Andreas Schwab <schwab@redhat.com>
35818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35821 2011-06-10 Roland McGrath <roland@hack.frob.com>
35823 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35824 * elf/Makefile ($(objpfx)ld.so): Likewise.
35826 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35827 Don't list ld.so twice in dependencies.
35829 * posix/bug-regex31.c: Include <stdlib.h>.
35831 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35833 * nis/nss_compat/compat-spwd.c
35834 (getspent_next_nss_netgr): Remove unused variable.
35835 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35837 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35838 nonmembers" output to use the right array.
35840 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35842 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35844 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35845 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35846 * catgets/gencat.c (read_input_file): Likewise.
35847 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35849 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35850 variable definition inside #if's controlling its use.
35852 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35854 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35856 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35858 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35861 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35863 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35864 * configure: Regenerated.
35866 * Makerules: Revert last change.
35867 * elf/Makefile: Likewise.
35869 2011-06-09 Roland McGrath <roland@hack.frob.com>
35871 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35872 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35873 (reloc-link): Likewise.
35875 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35877 * elf/Makefile: Add rules to build pldd.
35878 * elf/pldd.c: New file.
35879 * elf/pldd-xx.c: New file.
35881 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35883 * version.h: Update for 2.15 development version.
35885 2011-06-07 David S. Miller <davem@davemloft.net>
35887 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35889 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35890 elf_machine_lazy_rel): Likewise.
35891 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35892 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35893 elf_machine_lazy_rel): Likewise.
35894 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35895 dl_hwcap via passed in argument.
35896 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35899 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35901 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35903 2011-06-06 Roland McGrath <roland@hack.frob.com>
35906 * manual/fdl-1.1.texi: New file, verbatim from:
35907 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35908 * manual/lgpl-2.1.texi: New file, verbatim from:
35909 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35910 * manual/Makefile (licenses): New variable, list those new file names.
35912 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35914 * manual/fdl.texi: File removed.
35915 * manual/lesser.texi: File removed.
35916 * manual/libc.texinfo (Copying, Documentation License):
35917 Use new @include file names, put @appendix directive before @include.
35919 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35922 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35923 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35924 (mq_open): Add __NTH.
35926 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35929 Assume Intel Core i3/i5/i7 processor if AVX is available.
35931 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35936 2011-05-31 Andreas Schwab <schwab@redhat.com>
35938 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35939 memory. Use alloca_account. Fix memory leak when retrying.
35941 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35943 * version.h (RELEASE): Bump for 2.14 release.
35944 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35946 * config.make.in (RANLIB): Remove entry.
35948 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35950 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35951 (libc.pot): Work around missing support for .ksh extension in xgettext.
35954 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35955 if both request failed.
35956 (send_dg): In case of server errors clear resplen or *resplen2.
35959 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35960 when there are multiple maps.
35961 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35962 (_dl_fini): Remove test here.
35964 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35966 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35969 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35970 bit from old_res_options.
35971 (gaih_inet): Likewise.
35974 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35977 * resolv/res_init.c (res_setoptions): Make the code more compact.
35980 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35984 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35986 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35989 * malloc/malloc.h: Declare malloc hook variables as volatile.
35991 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35995 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35996 raise in the comment.
35997 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35998 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35999 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36001 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36004 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36005 grow the buffers more if it already has to be sufficient.
36006 (build_wcs_upper_buffer): Likewise.
36007 * posix/regexec.c (check_matching): Likewise.
36008 (clean_state_log_if_needed): Likewise.
36009 (extend_buffers): Don't enlarge buffers beyond size of the input
36011 Patches mostly by Emil Wojak <emil@wojak.eu>.
36012 * posix/bug-regex32.c: New file.
36013 * posix/Makefile (tests): Add bug-regex32.
36015 * locale/findlocale.c (_nl_find_locale): Return right away if
36016 _nl_explode_name failed.
36017 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36019 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36021 * debug/xtrace.sh: Unify messages.
36022 * malloc/memusage.sh: Likewise.
36025 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36026 time symbol from vDSO. Substitute with vsyscall if not available.
36027 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36030 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36031 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36032 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36033 Add sendmmsg and internal_sendmmsg.
36034 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36035 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36036 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36038 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36039 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36040 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36042 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36045 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36046 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36048 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36052 * iconvdata/Makefile (tests): Add bug-iconv9.
36053 * iconvdata/bug-iconv9.c: New file.
36055 2011-05-27 Andreas Schwab <schwab@redhat.com>
36058 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36060 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36062 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36063 (struct user_regs_struct): Change intcs field back to cs.
36065 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36067 * po/ja.po: Update from translation team.
36069 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36072 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36073 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36075 2011-05-20 Andreas Schwab <schwab@redhat.com>
36077 * stdlib/longlong.h: Update from GCC.
36079 2011-05-23 Andreas Schwab <schwab@redhat.com>
36081 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36083 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36084 Add parameter name.
36085 (__sysconf): Pass it down.
36087 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36090 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36092 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36093 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36094 add in in __libc_use_alloca calls. Adjust callers.
36095 (glob): Use malloc in some situations.
36097 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36098 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36101 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36103 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36104 and CLOCK_BOOTTIME_ALARM.
36107 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36110 * string/_strerror.c (__strerror_r): Print negative errors as signed
36114 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36115 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36116 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36118 * configure.in: Fix typo in redirection and correct removal of test
36119 files in two cases.
36122 * locale/setlocale.c (new_composite_name): Fix test to check for
36123 identical name of all categories.
36126 * libio/filedoalloc.c (local_isatty): New function.
36127 (_IO_file_doallocate): Use local_isatty.
36128 * stdio-common/perror.c (perror): In case a new stream is used
36129 forward the stream error.
36130 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36133 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36138 * include/alloca.h (extend_alloca_account): Define.
36141 * posix/regex.h: Fix comments with documentation of user-accessible
36142 fields after compilation and describe correct free'ing of pattern
36143 after re_compile_pattern.
36144 Patch by Reuben Thomas <rrt@sc3d.org>.
36146 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36148 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36149 and -mno-altivec to prevent the compiler from using Altivec and/or
36150 VSX instructions when the corresponding registers are not available.
36152 2011-05-19 Andreas Schwab <schwab@redhat.com>
36154 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36156 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36158 * libio/freopen.c (freopen): Use __dup2, not dup2.
36159 * libio/freopen64.c (freopen64): Likewise.
36161 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36164 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36165 * math/Makefile (tests): Add test-powl.
36166 (CFLAGS-test-powl.c): Define.
36167 * math/test-powl.c: New file.
36169 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36171 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36173 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36176 * iconvdata/gb18030.c: Update to GB18020-2005.
36178 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36180 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36181 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36182 Patch by Aharon Robbins <arnold@skeeve.com>.
36185 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36189 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36190 through underflows.
36193 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36194 point to strings before performing equality test for error_one_per_line
36198 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36201 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36202 (struct user_fpregs_struct): Avoid __uint*_t types.
36205 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36206 symbol info. Use it instead of calling _dl_addr locally.
36207 (lock_and_info): New function.
36208 (tr_freehook): Call lock_and_info and pass symbol info as additional
36209 parameter to tr_where.
36210 (tr_mallochook): Likewise.
36211 (tr_reallochook): Likewise.
36212 (tr_memalignhook): Likewise.
36214 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36215 used and couldn't be at all thread-safe.
36217 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36219 * libio/freopen.c (freopen): Don't close old file descriptor
36220 before the new one is opened. Instead dup the new file descriptor
36221 to the old one after the new stream is created.
36222 * libio/freopen64.c (freopen64): Likewise.
36223 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36224 * libio/fileops.c (_IO_new_file_close_it): Handle new
36225 _IO_FLAGS2_NOCLOSE flag.
36226 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36227 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36228 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36229 _IO_FLAGS2_NOCLOSE flag.
36230 * include/unistd.h: Add hidden_proto for dup3.
36231 Define __have_dup3.
36232 * io/dup3.c: Define hidden symbol.
36233 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36236 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36237 when an incomplete long option is used.
36238 * posix/tst-getopt_long1.c: New file.
36239 * posix/Makefile (tests): Add tst-getopt_long1.
36242 * scripts/config.guess: Update from autoconf-2.68.
36243 * scripts/config.sub: Likewise.
36246 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36248 (has_cpuclock): ...this. New function.
36249 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36250 macro here based on has_cpuclock code.
36253 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36254 First byte (not low byte) is now always NUL.
36255 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36257 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36258 Use non-cancelable interfaces.
36261 * locale/iso-639.def: Add entry for Sorani.
36264 * include/stdlib.h: Move include protection to the right place.
36265 Define abort_msg_s. Declare __abort_msg with it.
36266 * stdlib/abort.c (__abort_msg): Adjust type.
36267 * assert/assert.c (__assert_fail_base): New function. Majority
36268 of code from __assert_fail. Allocate memory for __abort_msg with
36270 (__assert_fail): Now call __assert_fail_base.
36271 * assert/assert-perr.c: Remove bulk of implementation. Use
36272 __assert_fail_base.
36273 * include/assert.hL Declare __assert_fail_base.
36274 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36276 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36278 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36282 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36283 until all modules are registered in the DTV.
36284 * elf/Makefile: Add rules to build and run tst-tls19.
36285 * elf/tst-tls19.c: New file.
36286 * elf/tst-tls19mod1.c: New file.
36287 * elf/tst-tls19mod2.c: New file.
36288 * elf/tst-tls19mod3.c: New file.
36289 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36292 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36296 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36297 two-byte sequence errors.
36298 * iconvdata/Makefile (tests): Add bug-iconv8.
36299 * iconvdata/bug-iconv8.c: New file.
36302 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36305 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36308 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36309 (dummy_getcfa): New function.
36310 (init): Get _Unwind_GetCFA address, use dummy if not found.
36311 (backtrace_helper): In recursion check, also check whether CFA changes.
36312 (__backtrace): Completely initialize arg.
36314 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36315 storing incomplete byte sequence in state object. Avoid testing for
36316 guaranteed too small input if we know there is enough data available.
36318 2011-05-11 Andreas Schwab <schwab@redhat.com>
36320 * Makeconfig (+link-pie): Indent.
36321 * Rules (binaries-pie): Define if $(have-fpie) and
36323 (binaries-shared): Also filter out $(binaries-pie).
36324 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36325 * nscd/Makefile (others-pie): Add nscd.
36326 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36327 ($(objpfx)nscd): Remove command override.
36328 * login/Makefile (others-pie): Add pt_chown.
36329 ($(objpfx)pt_chown): Remove command override.
36330 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36331 remove command overrides.
36333 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36335 * libio/tst_putwc.c: Fix error messages.
36338 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36339 currently writing and seek to current position when not.
36340 * libio/Makefile (tests): Add bug-fclose1.
36341 * libio/bug-fclose1.c: New file.
36343 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36346 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36347 don't set DF_1_NODELETE here.
36348 (do_lookup_x): When entering new entry test for copy relocation
36349 and if necessary set DF_1_NODELETE flag.
36350 * elf/tst-unique4.cc: New file.
36351 * elf/tst-unique4.h: New file.
36352 * elf/tst-unique4lib.cc: New file.
36353 * elf/Makefile: Add rules to build and run tst-unique4.
36354 Patch by Piotr Bury <pbury@goahead.com>.
36356 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36359 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36362 * misc/mntent_r.c (addmntent): Flush the stream after the output
36365 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36366 (is_trusted_path_normalize): Skip initial colon. Append slash
36367 to empty buffer. Duplicate is_trusted_path code but allow
36368 constructed patch to be prefix.
36369 (is_dst): Allow $ORIGIN followed by /.
36370 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36371 Correct testing of result of is_trusted_path_normalize
36372 (decompose_rpath): Fix warning.
36374 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36377 * grp/initgroups.c (internal_getgrouplist): When we found the service
36378 list through the initgroups entry in nsswitch.conf do not always
36379 continue on a successful lookup. Don't always use the
36380 __nss_group_database value if it is set.
36381 * nss/nsswitch.conf (initgroups): Change action for successful db
36382 lookup to continue for compatibility.
36384 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36387 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36389 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36391 * iconvdata/tst-tables.sh: Likewise.
36392 * iconvdata/cp770.c: New file.
36393 * iconvdata/cp771.c: New file.
36394 * iconvdata/cp772.c: New file.
36395 * iconvdata/cp773.c: New file.
36396 * iconvdata/cp774.c: New file.
36397 * iconvdata/testdata/CP770: New file.
36398 * iconvdata/testdata/CP770..UTF8: New file.
36399 * iconvdata/testdata/CP771: New file.
36400 * iconvdata/testdata/CP771..UTF8: New file.
36401 * iconvdata/testdata/CP772: New file.
36402 * iconvdata/testdata/CP772..UTF8: New file.
36403 * iconvdata/testdata/CP773: New file.
36404 * iconvdata/testdata/CP773..UTF8: New file.
36405 * iconvdata/testdata/CP774: New file.
36406 * iconvdata/testdata/CP774..UTF8: New file.
36408 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36410 * iconvdata/gen-8bit-gap.sh: Likewise.
36411 * iconvdata/gen-8bit.sh: Likewise.
36413 * locale/iso-639.def: Add ary entry.
36416 * locale/C-translit.h.in: Add U20A1 transliteration.
36419 * locale/iso-639.def: Add wae entry.
36420 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36423 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36427 * locale/C-translit.h.in: Add entry for U20B9.
36428 Patch by pravin.d.s@gmail.com.
36430 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36433 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36434 ENAMETOOLONG use generic getcwd.
36435 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36436 in rtld. Use *stat64.
36437 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36438 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36439 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36440 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36441 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36442 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36443 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36444 __fstatat64 macros.
36445 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36446 * dirent/rewinddir.c: Add libc_hidden_def.
36447 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36448 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36450 * include/dirent.h (__alloc_dir): Add flags parameter.
36451 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36452 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36454 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36455 from fdopendir if O_CLOEXEC is already set.
36457 2011-03-15 Alan Modra <amodra@gmail.com>
36459 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36460 l_tls_firstbyte_offset non-zero. Save padding offset in
36461 l_tls_firstbyte_offset for later use.
36462 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36463 freeing static tls block.
36465 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36467 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36468 where #ifdef was intended. The intent is to prevent ARG_MAX from
36469 being defined by the kernel headers.
36471 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36474 * resolv/resolv.h: Define RES_NOTLDQUERY.
36475 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36476 no-tld-query and set RES_NOTLDQUERY.
36477 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36478 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36479 modern BIND to search name as TLD unless forbidden.
36481 2011-05-07 Petr Baudis <pasky@suse.cz>
36482 Ulrich Drepper <drepper@gmail.com>
36485 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36486 (is_trusted_path): ...to here.
36487 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36488 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36489 using is_trusted_path_normalize() in setuid scripts.
36491 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36493 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36494 __BEGIN/__END_DECLS.
36496 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36498 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36499 NSS_STATUS_NOTFOUND if no record was found.
36501 2011-05-05 Andreas Schwab <schwab@redhat.com>
36503 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36504 (headers-not-in-tirpc): Remove rpc/netdb.h
36505 * resolv/netdb.h: Revert last change.
36507 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36509 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36510 circular dependency between libgcc.a and libc.a.
36512 2011-05-05 Andreas Schwab <schwab@redhat.com>
36514 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36515 * nis/Makefile: Don't install rpcsvc/*.
36516 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36517 instead of <rpc/types.h>.
36518 (MAXHOSTNAMELEN): Define.
36520 2011-05-03 Andreas Schwab <schwab@redhat.com>
36522 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36524 2011-04-28 Maciej Babinski <mbabinski@google.com>
36527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36528 gethostbyname4_r when IPv6 results are possible.
36530 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36533 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36534 _PC_PIPE_BUF handling.
36536 2011-04-30 Bruno Haible <bruno@clisp.org>
36539 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36540 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36542 * inet/getnameinfo.c (getnameinfo): Likewise.
36544 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36546 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36547 to groups setting in database lookup.
36548 * nss/nsswitch.conf: Add initgroups entry.
36550 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36553 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36555 Patch by Eric Blake <eblake@redhat.com>.
36557 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36559 * sunrpc/Makefile (need-export-routines): Add svc_run.
36560 (routines): Remove svc_run.
36561 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36562 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36563 * sunrpc/svc_run.c (svc_run): Likewise.
36564 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36566 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36568 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36569 problem in reallocation in last patch.
36571 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36573 * sunrpc/Makefile: Move inclusion of Rules.
36575 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36577 * nss/nss_files/files-initgroups.c: New file.
36578 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36579 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36580 _nss_files_initgroups_dyn.
36582 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36584 * elf/elf.h (R_ARM_IRELATIVE): Define.
36586 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36588 * po/ru.po: Update from translation team.
36590 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36592 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36595 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36598 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36599 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36600 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36601 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36602 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36604 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36606 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36608 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36609 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36610 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36612 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36615 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36617 * stdlib/bug-getcontext.c: New file.
36618 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36620 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36622 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36623 instructions into .machine "z9-109".
36624 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36625 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36627 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36629 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36630 between environment variables and auxiliary vector.
36632 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36634 * Makefile: Add rules to build linkobj/libc.so.
36635 * include/libc-symbols.h: Define libc_hidden_nolink.
36636 * include/rpc/auth.h: Mark functions which are to be hidden.
36637 * include/rpc/auth_des.h: Likewise.
36638 * include/rpc/auth_unix.h: Likewise.
36639 * include/rpc/clnt.h: Likewise.
36640 * include/rpc/des_crypt.h: Likewise.
36641 * include/rpc/key_prot.h: Likewise.
36642 * include/rpc/pmap_clnt.h: Likewise.
36643 * include/rpc/pmap_prot.h: Likewise.
36644 * include/rpc/pmap_rmt.h: Likewise.
36645 * include/rpc/rpc_msg.h: Likewise.
36646 * include/rpc/svc.h: Likewise.
36647 * include/rpc/svc_auth.h: Likewise.
36648 * include/rpc/xdr.h: Likewise.
36649 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36650 * nss/Makefile: Likewise.
36651 * sunrpc/Makefile: Don't install headers. Build library with normal
36652 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36653 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36654 for the compat linking library. Remove use of INTDEF/INTUSE.
36655 * sunrpc/auth_none.c: Likewise.
36656 * sunrpc/auth_unix.c: Likewise.
36657 * sunrpc/authdes_prot.c: Likewise.
36658 * sunrpc/authuxprot.c: Likewise.
36659 * sunrpc/clnt_gen.c: Likewise.
36660 * sunrpc/clnt_perr.c: Likewise.
36661 * sunrpc/clnt_raw.c: Likewise.
36662 * sunrpc/clnt_simp.c: Likewise.
36663 * sunrpc/clnt_tcp.c: Likewise.
36664 * sunrpc/clnt_udp.c: Likewise.
36665 * sunrpc/clnt_unix.c: Likewise.
36666 * sunrpc/des_crypt.c: Likewise.
36667 * sunrpc/des_soft.c: Likewise.
36668 * sunrpc/get_myaddr.c: Likewise.
36669 * sunrpc/key_call.c: Likewise.
36670 * sunrpc/key_prot.c: Likewise.
36671 * sunrpc/netname.c: Likewise.
36672 * sunrpc/pm_getmaps.c: Likewise.
36673 * sunrpc/pm_getport.c: Likewise.
36674 * sunrpc/pmap_clnt.c: Likewise.
36675 * sunrpc/pmap_prot.c: Likewise.
36676 * sunrpc/pmap_prot2.c: Likewise.
36677 * sunrpc/pmap_rmt.c: Likewise.
36678 * sunrpc/publickey.c: Likewise.
36679 * sunrpc/rpc_cmsg.c: Likewise.
36680 * sunrpc/rpc_common.c: Likewise.
36681 * sunrpc/rpc_dtable.c: Likewise.
36682 * sunrpc/rpc_prot.c: Likewise.
36683 * sunrpc/rpc_thread.c: Likewise.
36684 * sunrpc/rtime.c: Likewise.
36685 * sunrpc/svc.c: Likewise.
36686 * sunrpc/svc_auth.c: Likewise.
36687 * sunrpc/svc_authux.c: Likewise.
36688 * sunrpc/svc_raw.c: Likewise.
36689 * sunrpc/svc_run.c: Likewise.
36690 * sunrpc/svc_simple.c: Likewise.
36691 * sunrpc/svc_tcp.c: Likewise.
36692 * sunrpc/svc_udp.c: Likewise.
36693 * sunrpc/svc_unix.c: Likewise.
36694 * sunrpc/svcauth_des.c: Likewise.
36695 * sunrpc/xcrypt.c: Likewise.
36696 * sunrpc/xdr.c: Likewise.
36697 * sunrpc/xdr_array.c: Likewise.
36698 * sunrpc/xdr_float.c: Likewise.
36699 * sunrpc/xdr_intXX_t.c: Likewise.
36700 * sunrpc/xdr_mem.c: Likewise.
36701 * sunrpc/xdr_rec.c: Likewise.
36702 * sunrpc/xdr_ref.c: Likewise.
36703 * sunrpc/xdr_sizeof.c: Likewise.
36704 * sunrpc/xdr_stdio.c: Likewise.
36706 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36709 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36710 * sysdeps/ia64/dl-tls.h: Likewise.
36711 * sysdeps/powerpc/dl-tls.h: Likewise.
36712 * sysdeps/s390/dl-tls.h: Likewise.
36713 * sysdeps/sh/dl-tls.h: Likewise.
36714 * sysdeps/sparc/dl-tls.h: Likewise.
36715 * sysdeps/x86_64/dl-tls.h: Likewise.
36716 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36718 2011-03-14 Andreas Schwab <schwab@redhat.com>
36720 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36721 rpath element also skip the following colon.
36722 (expand_dynamic_string_token): Add is_path parameter and pass
36723 down to DL_DST_REQUIRED and _dl_dst_substitute.
36724 (decompose_rpath): Call expand_dynamic_string_token with
36725 non-zero is_path. Ignore empty rpaths.
36726 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36729 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36734 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36737 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36738 Patch by Filipe David Manana <fdmanana@apache.org>.
36740 2011-04-07 Andreas Schwab <schwab@redhat.com>
36742 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36743 Maintain aligned stack.
36744 (CHECK_RSP): Remove unused macro.
36746 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36748 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36749 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36751 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36753 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36755 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36757 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36760 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36761 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36762 * sysdeps/x86_64/memmove.c: New file.
36763 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36764 (memcpy): Renamed to ...
36765 (__new_memcpy): This.
36766 (memcpy): Provide GLIBC_2_14 memcpy.
36767 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36768 (memcpy): Provide GLIBC_2_2_5 memcpy.
36770 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36773 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36775 2011-03-30 Andreas Schwab <schwab@redhat.com>
36777 * misc/syncfs.c: New file.
36778 * misc/Makefile (routines): Add syncfs.
36779 * posix/unistd.h: Declare syncfs.
36780 * sysdeps/unix/syscalls.list: Add syncfs.
36782 2011-04-01 Andreas Schwab <schwab@redhat.com>
36784 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36786 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36787 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36789 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36791 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36794 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36796 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36797 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36798 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36800 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36801 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36802 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36804 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36805 sync_file_range.c with -fexceptions.
36806 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36807 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36808 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36809 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36810 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36811 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36812 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36813 sync_file_range as cancellation point
36814 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36815 now a wrapper around __call_sync_file_range with cancellation handling.
36816 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36817 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36818 function name to __call_sync_file_range.
36819 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36820 Add call_sync_file_range.
36822 2011-04-01 Andreas Schwab <schwab@redhat.com>
36824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36827 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36829 * iconv/iconv.h: Fix typo in comment.
36830 * io/fcntl.h: Likewise.
36831 * libio/stdio.h: Likewise.
36832 * posix/spawn.h: Likewise.
36833 * posix/unistd.h: Likewise.
36834 * stdlib/stdlib.h: Likewise.
36835 * time/time.h: Likewise.
36836 * wcsmbs/wchar.h: Likewise.
36838 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36839 open_by_handle): Add.
36840 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36841 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36842 Augment a few comments.
36843 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36845 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36847 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36848 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36851 * io/fcntl.h (AT_EMPTY_PATH): Define.
36853 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36855 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36856 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36857 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36859 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36860 * Versions.def: Add GLIBC_2.14.
36861 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36864 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36866 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36868 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36870 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36873 * string/test-strncmp.c (do_page_test): New function.
36874 (check2): Likewise.
36875 (test_main): Call check2.
36876 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36878 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36881 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36882 Handle cache information in CPU leaf 4.
36883 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36885 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36888 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36889 character representation.
36890 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36892 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36894 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36895 END(__isnan) to END(__isnanf) to match function entry point/label
36896 EALIGN(__isnanf,...).
36898 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36900 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36902 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36905 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36906 copy from the symbol referenced in the relocation to initialize the
36908 Patch by Piotr Bury <pbury@goahead.com>.
36909 * elf/Makefile: Add rules to build and tst-unique3.
36910 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36911 * elf/tst-unique3.cc: New file.
36912 * elf/tst-unique3.h: New file.
36913 * elf/tst-unique3lib.cc: New file.
36914 * elf/tst-unique3lib2.cc: New file.
36916 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36918 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36920 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36921 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36924 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36926 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36927 to-be-loaded object along a path to loader is ld.so.
36929 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36930 Ulrich Drepper <drepper@gmail.com>
36932 * sysdeps/x86_64/memset.S: After aligning destination, code
36933 branches to different locations depending on the value of
36934 misalignment, when multiarch is enabled. Fix this.
36936 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36938 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36939 Set _x86_64_preferred_memory_instruction for AMD processsors.
36940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36941 Set bit_Prefer_SSE_for_memop for AMD processors.
36943 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36945 * libio/fmemopen.c (fmemopen): Optimize a bit.
36947 2011-03-03 Andreas Schwab <schwab@redhat.com>
36949 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36951 2011-03-03 Roland McGrath <roland@redhat.com>
36953 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36955 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36957 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36958 __bzero_ultra1 instead of __memset_ultra1.
36960 2011-02-23 Andreas Schwab <schwab@redhat.com>
36961 Ulrich Drepper <drepper@gmail.com>
36964 * include/link.h (struct link_map): Add l_orig_initfini.
36965 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36966 returning unsuccessfully.
36967 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36968 close of a file loaded at startup, restore the original l_initfini
36970 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36971 list, store the pointer.
36972 * elf/Makefile ($(objpfx)noload-mem): New rule.
36973 (noload-ENV): Define.
36974 (tests): Add $(objpfx)noload-mem.
36975 * elf/noload.c: Include <memcheck.h>.
36976 (main): Call mtrace. Close all opened handles.
36978 2011-02-17 Andreas Schwab <schwab@redhat.com>
36981 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36982 dependencies are missing.
36984 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36986 Fix __if_freereq crash: Unlike the generic version which uses free,
36988 * sysdeps/mach/hurd/ifreq.h: New file.
36990 2011-01-27 Petr Baudis <pasky@suse.cz>
36991 Ulrich Drepper <drepper@gmail.com>
36994 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36995 to extend_alloca().
36996 * stdio-common/bug23.c: New file.
36997 * stdio-common/Makefile (tests): Add bug23.
36999 2010-09-28 Andreas Schwab <schwab@redhat.com>
37000 Ulrich Drepper <drepper@gmail.com>
37003 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37004 before performing relro protection. At old place add assertion
37005 to make sure nothing changed.
37007 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37008 Glauber de Oliveira Costa <glommer@gmail.com>
37010 * elf/elf.h: Add new ARM TLS relocs.
37012 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37015 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37017 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37019 * sysdeps/wordsize-64/tst-writev.c: New file.
37021 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37023 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37024 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37025 insns in _dl_start to prevent a TOC reference before relocs are
37028 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37031 * Makeconfig: Remove RANLIB definition.
37032 * Makerules: Don't use RANLIB.
37033 * aclocal.m4: Remove ranlib test.
37034 * configure.in: No need to check for ranlib.
37035 * elf/rtld-Rules: Don't use RANLIB.
37037 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37039 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37041 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37042 inclusion protection macro.
37044 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37045 SIGRTMIN and SIGRTMAX and print information in that case only when
37046 SIGRTMIN is defined.
37048 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37050 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37051 arginfo fn returning -1.
37053 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37054 and thousands string is zero terminated.
37056 2011-02-03 Andreas Schwab <schwab@redhat.com>
37058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37059 sysdeps/unix/sysv/linux/bits/socket.h.
37061 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37063 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37064 (__CPU_COUNT): Remove old macros.
37065 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37066 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37067 (__CPU_ALLOC, __CPU_FREE): Add macros.
37068 (__sched_cpualloc, __sched_cpufree): Add declarations.
37070 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37072 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37073 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37074 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37075 (readdhstai): Return value of addhstaiX call.
37076 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37077 (addgrbyX): Return value returned by cache_addgr.
37078 (readdgrbyname): Return value returned by addgrbyX.
37079 (readdgrbygid): Likewise.
37080 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37081 (addpwbyX): Return value returned by cache_addpw.
37082 (readdpwbyname): Return value returned by addhstbyX.
37083 (readdpwbyuid): Likewise.
37084 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37085 (addservbyX): Return value returned by cache_addserv.
37086 (readdservbyname): Return value returned by addservbyX:
37087 (readdservbyport): Likewise.
37088 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37089 (addhstbyX): Return value returned by cache_addhst.
37090 (readdhstbyname): Return value returned by addhstbyX.
37091 (readdhstbyaddr): Likewise.
37092 (readdhstbynamev6): Likewise.
37093 (readdhstbyaddrv6): Likewise.
37094 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37095 (readdinitgroups): Return value returned by addinitgroupsX.
37096 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37097 (prune_cache): Keep track of timeout value of re-added entries.
37098 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37099 * nscd/nscd.h: Adjust prototypes of readd* functions.
37101 2011-02-04 Roland McGrath <roland@redhat.com>
37103 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37104 (nis_stats): Likewise.
37105 * nis/nis_modify.c (nis_modify): Likewise.
37106 * nis/nis_remove.c (nis_remove): Likewise.
37107 * nis/nis_add.c (nis_add): Likewise.
37109 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37111 * posix/fnmatch_loop.c: Add some consts.
37113 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37115 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37118 * config.make.in (config-cflags-novzeroupper): Define.
37119 * configure.in: Substitute libc_cv_cc_novzeroupper.
37120 * elf/Makefile (AVX-CFLAGS): Define.
37121 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37122 (CFLAGS-tst-auditmod4a.c): Likewise.
37123 (CFLAGS-tst-auditmod4b.c): Likewise.
37124 (CFLAGS-tst-auditmod6b.c): Likewise.
37125 (CFLAGS-tst-auditmod6c.c): Likewise.
37126 (CFLAGS-tst-auditmod7b.c): Likewise.
37127 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37129 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37131 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37132 function to the callback.
37133 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37135 2011-02-02 Andreas Schwab <schwab@redhat.com>
37137 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37140 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37143 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37145 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37147 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37150 * elf/Makefile: Add rules to build and run new test.
37151 * elf/tst-initorder.c: New file.
37152 * elf/tst-initorder.exp: New file.
37153 * elf/tst-initordera1.c: New file.
37154 * elf/tst-initordera2.c: New file.
37155 * elf/tst-initordera3.c: New file.
37156 * elf/tst-initordera4.c: New file.
37157 * elf/tst-initorderb1.c: New file.
37158 * elf/tst-initorderb2.c: New file.
37159 * elf/tst-order-a1.c: New file.
37160 * elf/tst-order-a2.c: New file.
37161 * elf/tst-order-a3.c: New file.
37162 * elf/tst-order-a4.c: New file.
37163 * elf/tst-order-b1.c: New file.
37164 * elf/tst-order-b2.c: New file.
37165 * elf/tst-order-main.c: New file.
37166 New test case by George Gensure <werkt0@gmail.com>.
37168 2010-10-01 Andreas Schwab <schwab@redhat.com>
37170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37171 decoding ACE if AI_CANONIDN.
37173 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37175 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37177 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37179 * version.h (RELEASE): Bump for 2.13 release.
37180 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37182 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37184 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37186 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37187 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37188 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37189 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37191 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37193 * posix/getconf.c: Update copyright year.
37194 * catgets/gencat.c: Likewise.
37195 * csu/version.c: Likewise.
37196 * debug/catchsegv.sh: Likewise.
37197 * debug/xtrace.sh: Likewise.
37198 * elf/ldconfig.c: Likewise.
37199 * elf/ldd.bash.in: Likewise.
37200 * elf/sprof.c (print_version): Likewise.
37201 * iconv/iconv_prog.c: Likewise.
37202 * iconv/iconvconfig.c: Likewise.
37203 * locale/programs/locale.c: Likewise.
37204 * locale/programs/localedef.c: Likewise.
37205 * malloc/memusage.sh: Likewise.
37206 * malloc/mtrace.pl: Likewise.
37207 * nscd/nscd.c (print_version): Likewise.
37208 * nss/getent.c: Likewise.
37210 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37211 PF_CAIF, and PF_ALG.
37212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37214 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37216 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37217 (modules-names): Use them.
37218 (ifunc-test-modules, ifunc-pie-tests): Define.
37219 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37220 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37221 (test-extras): Likewise.
37222 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37223 $(compile-command.c).
37224 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37225 (all-built-dso): Define.
37226 (check-textrel.out, check-execstack.out): Depend on it.
37228 * configure.in: Don't override --enable-multi-arch.
37230 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37233 * nscd/hstcache.c (tryagain): Define.
37234 (cache_addhst): Return tryagain not notfound for temporary errors.
37235 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37238 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37241 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37242 to make the syscall.
37243 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37246 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37247 and fall back to matching as normal character if the string ends before
37248 the matching ']' is found. This is what POSIX requires.
37249 * posix/testfnm.c: Adjust test result.
37250 * posix/globtest.sh: Adjust test result. Add new test.
37251 * posix/tst-fnmatch.input: Likewise.
37252 * posix/tst-fnmatch2.c: Add new test.
37254 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37256 * elf/Makefile (check-execstack): Revert last change. Depend on
37258 (check-execstack.h): New target.
37259 (generated): Add check-execstack.h.
37260 * elf/check-execstack.c: Include "check-execstack.h".
37261 (main): Revert last change.
37262 (handle_file): Return zero if GNU_STACK is absent and
37263 DEFAULT_STACK_PERMS doesn't include PF_X.
37265 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37267 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37268 in child fails because the descriptor is already closed.
37269 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37270 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37271 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37274 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37278 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37279 temporary buffer used to handle multi lookups locally.
37280 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37282 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37284 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37287 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37289 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37290 alignment for SSE2.
37292 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37295 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37296 characters. When rounding increased number of integer digits recompute
37298 * stdio-common/tst-grouping.c: New file.
37299 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37301 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37303 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37304 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37306 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37308 * bits/select.h: Likewise.
37310 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37312 * po/ja.po: Update from translation team.
37314 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37317 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37318 implementation just like for lxstat, fxstatat, et al.
37320 2010-12-27 Jim Meyering <meyering@redhat.com>
37323 * posix/regexec.c (build_trtable): Return failure indication upon
37324 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37326 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37329 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37330 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37331 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37332 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37335 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37338 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37339 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37341 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37343 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37344 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37345 script has SORT_BY_INIT_PRIORITY.
37346 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37347 NO_CTORS_DTORS_SECTIONS is defined.
37348 * elf/soinit.c: Likewise.
37349 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37350 NO_CTORS_DTORS_SECTIONS is defined.
37351 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37352 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37353 * sysdeps/sh/init-first.c: Likewise.
37354 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37356 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37358 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37359 always use the slow path.
37361 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37363 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37364 similar rule which adds the sysdep directories to the header search in
37365 order to pick up the correct platform stackinfo.h.
37366 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37367 perform test if it is, otherwise return successfully without testing.
37368 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37369 DEFAULT_STACK_PERMS define in stackinfo.h.
37370 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37371 defined in stackinfo.h.
37372 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37373 DEFAULT_STACK_PERMS defined in stackinfo.h.
37374 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37375 * sysdeps/ia64/stackinfo.h: Likewise.
37376 * sysdeps/s390/stackinfo.h: Likewise.
37377 * sysdeps/sh/stackinfo.h: Likewise.
37378 * sysdeps/sparc/stackinfo.h: Likewise.
37379 * sysdeps/x86_64/stackinfo.h: Likewise.
37380 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37381 PF_X for powerpc64. Retain PF_X for powerpc32.
37383 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37385 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37387 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37388 GETDENTS_64BIT_ALIGNED.
37390 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37392 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37394 2010-12-10 Andreas Schwab <schwab@redhat.com>
37396 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37399 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37400 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37402 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37403 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37405 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37408 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37411 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37413 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37415 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37417 * po/it.po: Update from translation team.
37419 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37421 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37424 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37426 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37428 2010-11-24 Andreas Schwab <schwab@redhat.com>
37430 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37432 (gaih_getanswer_slice): Likewise.
37434 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37438 2010-05-31 Petr Baudis <pasky@suse.cz>
37441 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37442 silently even in the chroot mode.
37444 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37446 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37447 last patch a bit. Pretty printing
37449 2010-05-31 Petr Baudis <pasky@suse.cz>
37452 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37453 initialization of skip_initgroups_dyn.
37455 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37457 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37458 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37460 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37462 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37464 2010-11-11 Andreas Schwab <schwab@redhat.com>
37466 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37467 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37468 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37469 ($(objpfx)tst-fnmatch-mem): New rule.
37470 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37471 * posix/tst-fnmatch.c (main): Call mtrace.
37473 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37476 Support Intel processor model 6 and model 0x2c.
37478 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37480 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37483 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37486 * string/test-strncasecmp.c (check_result): New function.
37487 (do_one_test): Use it.
37488 (check1): New function.
37489 (test_main): Use it.
37490 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37491 Support strcasecmp and strncasecmp.
37493 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37496 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37497 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37499 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37501 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37505 * sysdeps/x86_64/multiarch/bzero.S: New file.
37506 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37507 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37508 * sysdeps/x86_64/multiarch/memset.S: New file.
37509 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37511 Set bit_Prefer_SSE_for_memop for Intel processors.
37512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37514 (index_Prefer_SSE_for_memop): Define.
37515 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37517 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37519 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37520 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37522 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37525 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37526 (__x86_64_raw_data_cache_size_half): Likewise.
37527 (__x86_64_raw_shared_cache_size): Likewise.
37528 (__x86_64_raw_shared_cache_size_half): Likewise.
37530 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37531 (__x86_64_raw_data_cache_size_half): Likewise.
37532 (__x86_64_raw_shared_cache_size): Likewise.
37533 (__x86_64_raw_shared_cache_size_half): Likewise.
37534 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37535 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37536 and __x86_64_raw_shared_cache_size_half. Round
37537 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37538 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37539 to multiple of 256 bytes.
37541 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37544 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37545 of inacessible symlinks. Verify result of symlink before returning it.
37546 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37547 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37549 2010-10-28 Erich Ritz <erichritz@gmail.com>
37551 * math/math.h (isinf): Fix typo in comment.
37553 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37555 * po/da.po: Update from translation team.
37557 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37559 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37560 is added to the list.
37562 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37563 Ulrich Drepper <drepper@gmail.com>
37565 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37566 the global list here. Move code to...
37567 (_dl_add_to_namespace_list): ...here. New function.
37568 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37569 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37570 * elf/dl-load.c (lose): Don't remove the element from the list.
37571 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37572 (_dl_map_object): Likewise.
37574 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37577 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37578 into all bytes of SSE register.
37579 Patch by Richard Li <richardpku@gmail.com>.
37581 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37584 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37587 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37589 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37590 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37591 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37592 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37597 2010-10-22 Andreas Schwab <schwab@redhat.com>
37599 * include/dlfcn.h (__RTLD_SECURE): Define.
37600 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37601 mode & __RTLD_SECURE instead.
37602 (open_path): Rename preloaded parameter to secure.
37603 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37604 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37605 * elf/dl-deps.c (openaux): Likewise.
37606 * elf/rtld.c (struct map_args): Remove is_preloaded.
37607 (map_doit): Don't use it.
37608 (dl_main): Likewise.
37609 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37610 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37612 2010-09-09 Andreas Schwab <schwab@redhat.com>
37614 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37615 (sysd-rules-targets): Remove duplicates.
37616 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37617 rtld-%.$o dependency.
37619 2010-10-18 Andreas Schwab <schwab@redhat.com>
37621 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37622 _dl_map_object do it.
37624 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37626 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37627 fast fma builtins, define the macros in the C99 standard.
37628 (FP_FAST_FMAF): Likewise.
37629 (FP_FAST_FMAL): Likewise.
37630 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37632 * bits/mathdef.h: Update copyright year.
37633 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37635 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37637 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37638 builtins, define the macros in the C99 standard.
37639 (FP_FAST_FMAF): Likewise.
37640 (FP_FAST_FMAL): Likewise.
37641 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37643 (FP_FAST_FMAF): Likewise.
37645 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37648 * math/libm-test.inc (fma_test): Some new testcases.
37649 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37650 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37651 y and infinite z. Do multiplication by C already in long double.
37652 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37654 y and infinite z. Do bitwise or of inexact bit into u.d.
37655 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37656 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37657 * sysdeps/i386/fpu/s_fma.S: Removed.
37658 * sysdeps/i386/fpu/s_fmal.S: Removed.
37660 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37663 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37665 computation is not scheduled after fetestexcept. Fix value
37666 of minimum denormal long double.
37668 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37671 * math/libm-test.inc (fma_test): Add some more tests.
37672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37675 2010-10-15 Andreas Schwab <schwab@redhat.com>
37677 * scripts/data/localplt-s390-linux-gnu.data: New file.
37678 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37680 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37683 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37684 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37686 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37688 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37690 if one of x and y is very large and the other is subnormal.
37691 * sysdeps/s390/fpu/s_fmaf.c: New file.
37692 * sysdeps/s390/fpu/s_fma.c: New file.
37693 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37694 * sysdeps/powerpc/fpu/s_fma.S: New file.
37695 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37696 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37697 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37699 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37702 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37704 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37705 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37706 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37707 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37708 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37709 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37712 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37715 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37716 * posix/bug-regex31.input: Add test case.
37718 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37720 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37721 * posix/bug-regex31.input: New file.
37724 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37725 (parse_sub_exp): Fix last change, use postorder.
37727 * posix/bug-regex31.c: New file.
37728 * posix/Makefile: Add rules to build and run bug-regex31.
37730 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37733 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37736 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37737 to have entries in sys_siglist.
37740 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37743 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37746 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37747 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37748 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37749 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37750 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37751 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37752 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37753 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37754 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37755 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37756 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37757 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37758 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37759 * math/ftestexcept.c (fetestexcept): Likewise.
37760 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37761 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37762 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37763 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37764 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37765 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37766 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37768 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37771 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37774 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37776 * string/bug-strstr1.c: New file.
37777 * string/Makefile: Add rules to build and run bug-strstr1.
37779 2010-10-05 Eric Blake <eblake@redhat.com>
37782 * string/str-two-way.h (two_way_long_needle): Always clear memory
37783 when skipping input due to the shift table.
37785 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37788 * malloc/mcheck.c: Handle large requests.
37791 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37792 for strncmp and strncasecmp.
37793 * string/stratcliff.c: Add tests for strcmp and strncmp.
37794 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37796 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37798 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37801 2010-09-30 Andreas Jaeger <aj@suse.de>
37803 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37804 (CGROUP_SUPER_MAGIC): Define.
37805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37806 Handle btrfs and cgroup file systems.
37807 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37810 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37812 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37813 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37815 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37818 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37819 trying to locate the ELF header.
37821 2010-09-27 Andreas Schwab <schwab@redhat.com>
37824 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37825 Mask out sign-bit copies when constructing f_fsid.
37827 2010-09-24 Petr Baudis <pasky@suse.cz>
37829 * debug/stack_chk_fail_local.c: Add missing licence exception.
37830 * debug/warning-nop.c: Likewise.
37832 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37834 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37835 implementing getdents64 using getdents syscall, set d_type if
37836 __ASSUME_GETDENTS32_D_TYPE.
37838 2010-09-16 Andreas Schwab <schwab@redhat.com>
37840 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37841 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37843 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37846 * posix/unistd.h: Undo change of feature selection for ftruncate from
37849 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37851 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37854 2010-09-20 Andreas Schwab <schwab@redhat.com>
37856 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37858 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37860 2010-09-14 Andreas Schwab <schwab@redhat.com>
37862 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37863 variables after CHECK_SP call.
37864 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37866 2010-09-13 Andreas Schwab <schwab@redhat.com>
37867 Ulrich Drepper <drepper@redhat.com>
37869 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37870 re-relocationg ld.so.
37871 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37872 _dl_init_paths call.
37873 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37876 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37878 * resolv/res_init.c (__res_vinit): Count the default server we added.
37880 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37881 Ulrich Drepper <drepper@redhat.com>
37884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37885 (____longjmp_chk): Use %ebx for saving value across system call.
37888 2010-09-06 Andreas Schwab <schwab@redhat.com>
37890 * manual/Makefile: Don't mix pattern rules with normal rules.
37892 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37894 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37896 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37897 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37898 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37899 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37900 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37903 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37906 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37907 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37909 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37911 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37912 * sysdeps/x86_64/addmul_1.S: Likewise.
37913 * sysdeps/x86_64/lshift.S: Likewise.
37914 * sysdeps/x86_64/mul_1.S: Likewise.
37915 * sysdeps/x86_64/rshift.S: Likewise.
37916 * sysdeps/x86_64/sub_n.S: Likewise.
37917 * sysdeps/x86_64/submul_1.S: Likewise.
37919 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37921 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37922 Define __sched_param instead of SCHED_* and sched_param when
37923 <bits/sched.h> is included with __need_schedparam defined.
37924 * bits/sched.h [__need_schedparam]
37925 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37926 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37927 (__defined_schedparam): Define to 1.
37928 (__sched_param): New structure, identical to sched_param.
37929 (__need_schedparam): Undefine.
37931 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37933 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37934 (epoll_create1): Declare.
37936 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37938 2010-08-31 Andreas Schwab <schwab@redhat.com>
37941 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37942 shifting retval into place.
37944 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37946 * nis/rpcsvc/nis.h: Update copyright notice.
37947 * nis/rpcsvc/nis.x: Likewise.
37948 * nis/rpcsvc/nis_callback.h: Likewise.
37949 * nis/rpcsvc/nis_callback.x: Likewise.
37950 * nis/rpcsvc/nis_object.x: Likewise.
37951 * nis/rpcsvc/nis_tags.h: Likewise.
37952 * nis/rpcsvc/yp.h: Likewise.
37953 * nis/rpcsvc/yp.x: Likewise.
37954 * nis/rpcsvc/ypupd.h: Likewise.
37955 * nis/yp_xdr.c: Likewise.
37956 * nis/ypupdate_xdr.c: Likewise.
37958 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37959 mainly the body of pmap_getport. Add parameters to specify timeouts.
37960 (pmap_getport): Use __libc_rpc_getport.
37961 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37962 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37963 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37965 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37970 2010-08-27 Roland McGrath <roland@redhat.com>
37972 * sysdeps/i386/i686/multiarch/Makefile
37973 (CFLAGS-varshift.c): New variable.
37975 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37977 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37978 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37980 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37982 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37984 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37986 * sysdeps/x86_64/strlen.S: Unroll the loop.
37987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37988 strlen-sse2 strlen-sse2-bsf.
37989 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37990 __strlen_no_bsf if bit_Slow_BSF is set.
37991 (__strlen_sse42): Removed.
37992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37993 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37995 2010-08-25 Roland McGrath <roland@redhat.com>
37997 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37998 * sysdeps/x86_64/multiarch/varshift.c: New file.
37999 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38000 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38001 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38002 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38004 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38007 strlen-sse2 strlen-sse2-bsf.
38008 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38009 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38010 (__strlen_sse2): Removed.
38011 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38012 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38014 bit_Slow_BSF for Atom.
38015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38016 (index_Slow_BSF): Define.
38017 (HAS_SLOW_BSF): Define.
38019 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38022 * resolv/res_init.c (__res_vinit): When no server address at all
38023 is given default to loopback.
38025 2010-08-24 Roland McGrath <roland@redhat.com>
38027 * configure.in: Remove config-name.h generation.
38028 * configure: Regenerated.
38029 * config-name.in: File removed.
38030 * scripts/config-uname.sh: New file.
38031 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38032 ($(objdir)config-name.h): New target.
38034 * sunrpc/rpc_parse.h: Avoid nested comment.
38036 2010-08-24 Richard Henderson <rth@redhat.com>
38037 Ulrich Drepper <drepper@redhat.com>
38038 H.J. Lu <hongjiu.lu@intel.com>
38040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38042 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38043 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38044 _mm_alignr_epi8 with _mm_loadu_si128.
38045 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38046 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38047 (__m128i_shift_right): Removed.
38048 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38049 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38050 * sysdeps/x86_64/multiarch/varshift.h: New file.
38051 * sysdeps/x86_64/multiarch/varshift.S: New file.
38053 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38055 * configure.in: Move assembler checks to before sysdep dir checking.
38057 2010-08-20 Petr Baudis <pasky@suse.cz>
38059 * LICENSES: Sync the sunrpc license.
38061 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38063 * sunrpc/auth_des.c: Update copyright notice once again.
38064 * sunrpc/auth_none.c: Likewise.
38065 * sunrpc/auth_unix.c: Likewise.
38066 * sunrpc/authdes_prot.c: Likewise.
38067 * sunrpc/authuxprot.c: Likewise.
38068 * sunrpc/bindrsvprt.c: Likewise.
38069 * sunrpc/clnt_gen.c: Likewise.
38070 * sunrpc/clnt_perr.c: Likewise.
38071 * sunrpc/clnt_raw.c: Likewise.
38072 * sunrpc/clnt_simp.c: Likewise.
38073 * sunrpc/clnt_tcp.c: Likewise.
38074 * sunrpc/clnt_udp.c: Likewise.
38075 * sunrpc/clnt_unix.c: Likewise.
38076 * sunrpc/des_crypt.c: Likewise.
38077 * sunrpc/des_soft.c: Likewise.
38078 * sunrpc/get_myaddr.c: Likewise.
38079 * sunrpc/getrpcport.c: Likewise.
38080 * sunrpc/key_call.c: Likewise.
38081 * sunrpc/key_prot.c: Likewise.
38082 * sunrpc/openchild.c: Likewise.
38083 * sunrpc/pm_getmaps.c: Likewise.
38084 * sunrpc/pm_getport.c: Likewise.
38085 * sunrpc/pmap_clnt.c: Likewise.
38086 * sunrpc/pmap_prot.c: Likewise.
38087 * sunrpc/pmap_prot2.c: Likewise.
38088 * sunrpc/pmap_rmt.c: Likewise.
38089 * sunrpc/rpc/auth.h: Likewise.
38090 * sunrpc/rpc/auth_unix.h: Likewise.
38091 * sunrpc/rpc/clnt.h: Likewise.
38092 * sunrpc/rpc/des_crypt.h: Likewise.
38093 * sunrpc/rpc/key_prot.h: Likewise.
38094 * sunrpc/rpc/netdb.h: Likewise.
38095 * sunrpc/rpc/pmap_clnt.h: Likewise.
38096 * sunrpc/rpc/pmap_prot.h: Likewise.
38097 * sunrpc/rpc/pmap_rmt.h: Likewise.
38098 * sunrpc/rpc/rpc.h: Likewise.
38099 * sunrpc/rpc/rpc_des.h: Likewise.
38100 * sunrpc/rpc/rpc_msg.h: Likewise.
38101 * sunrpc/rpc/svc.h: Likewise.
38102 * sunrpc/rpc/svc_auth.h: Likewise.
38103 * sunrpc/rpc/types.h: Likewise.
38104 * sunrpc/rpc/xdr.h: Likewise.
38105 * sunrpc/rpc_clntout.c: Likewise.
38106 * sunrpc/rpc_cmsg.c: Likewise.
38107 * sunrpc/rpc_common.c: Likewise.
38108 * sunrpc/rpc_cout.c: Likewise.
38109 * sunrpc/rpc_dtable.c: Likewise.
38110 * sunrpc/rpc_hout.c: Likewise.
38111 * sunrpc/rpc_main.c: Likewise.
38112 * sunrpc/rpc_parse.c: Likewise.
38113 * sunrpc/rpc_parse.h: Likewise.
38114 * sunrpc/rpc_prot.c: Likewise.
38115 * sunrpc/rpc_sample.c: Likewise.
38116 * sunrpc/rpc_scan.c: Likewise.
38117 * sunrpc/rpc_scan.h: Likewise.
38118 * sunrpc/rpc_svcout.c: Likewise.
38119 * sunrpc/rpc_tblout.c: Likewise.
38120 * sunrpc/rpc_util.c: Likewise.
38121 * sunrpc/rpc_util.h: Likewise.
38122 * sunrpc/rpcinfo.c: Likewise.
38123 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38124 * sunrpc/rpcsvc/key_prot.x: Likewise.
38125 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38126 * sunrpc/rpcsvc/mount.x: Likewise.
38127 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38128 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38129 * sunrpc/rpcsvc/rex.x: Likewise.
38130 * sunrpc/rpcsvc/rstat.x: Likewise.
38131 * sunrpc/rpcsvc/rusers.x: Likewise.
38132 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38133 * sunrpc/rpcsvc/spray.x: Likewise.
38134 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38135 * sunrpc/rtime.c: Likewise.
38136 * sunrpc/svc.c: Likewise.
38137 * sunrpc/svc_auth.c: Likewise.
38138 * sunrpc/svc_authux.c: Likewise.
38139 * sunrpc/svc_raw.c: Likewise.
38140 * sunrpc/svc_run.c: Likewise.
38141 * sunrpc/svc_simple.c: Likewise.
38142 * sunrpc/svc_tcp.c: Likewise.
38143 * sunrpc/svc_udp.c: Likewise.
38144 * sunrpc/svc_unix.c: Likewise.
38145 * sunrpc/svcauth_des.c: Likewise.
38146 * sunrpc/xcrypt.c: Likewise.
38147 * sunrpc/xdr.c: Likewise.
38148 * sunrpc/xdr_array.c: Likewise.
38149 * sunrpc/xdr_float.c: Likewise.
38150 * sunrpc/xdr_mem.c: Likewise.
38151 * sunrpc/xdr_rec.c: Likewise.
38152 * sunrpc/xdr_ref.c: Likewise.
38153 * sunrpc/xdr_sizeof.c: Likewise.
38154 * sunrpc/xdr_stdio.c: Likewise.
38156 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38159 2010-08-19 Andreas Schwab <schwab@redhat.com>
38161 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38163 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38165 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38166 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38167 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38168 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38169 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38170 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38171 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38172 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38173 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38174 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38175 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38176 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38177 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38178 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38180 2010-07-26 Anton Blanchard <anton@samba.org>
38182 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38183 * malloc/arena.c (heap_trim): Likewise.
38185 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38187 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38189 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38190 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38192 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38194 * sysdeps/i386/elf/Makefile: New file.
38196 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38198 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38199 from fanotify_init.
38200 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38203 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38205 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38207 * sysdeps/multiarch/strcmp.S: Likewise.
38209 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38211 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38212 strncase_l-nonascii.
38213 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38214 Add strncase_l-ssse3.
38215 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38216 * sysdeps/x86_64/strcmp.S: Likewise.
38217 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38218 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38219 * sysdeps/x86_64/strncase.S: New file.
38220 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38221 * sysdeps/x86_64/strncase_l.S: New file.
38222 * string/Makefile (strop-tests): Add strncasecmp.
38223 * string/test-strncasecmp.c: New file.
38225 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38228 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38229 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38231 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38233 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38235 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38237 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38238 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38239 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38241 2010-05-01 Alan Modra <amodra@gmail.com>
38243 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38244 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38245 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38246 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38247 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38248 tidying. Don't tail-call __sigjmp_save for static lib.
38249 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38251 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38252 (CALL_MCOUNT): Add eh info, and nop after bl.
38253 (TAIL_CALL_SYSCALL_ERROR): New macro.
38254 (PSEUDO_RET): Use it.
38255 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38256 Correct save location of integer regs and cr.
38257 (_dl_profile_resolve): Correct cr save location. Delete nops
38258 after bl when SHARED. Reduce cfi size a little by better
38259 placement of cfi directives.
38260 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38261 make a stack frame. Instead use parm save area as a temp.
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38263 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38265 Don't make a stack frame for parent, use parm save area.
38266 Increase child stack frame to 112 bytes. Don't save unused reg,
38267 and adjust reg usage. Set up cfi on error recovery and
38268 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38270 (__makecontext): Add dummy nop after jump to exit.
38271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38272 Use correct parm save area and cr save, reduce stack frame.
38273 Correct cfi for possible PSEUDO_RET frame setup.
38274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38275 Branch to local label emitted by PSEUDO_RET rather than
38278 2010-08-12 Andreas Schwab <schwab@redhat.com>
38281 * locale/programs/locale.c (print_assignment): New function.
38282 (show_locale_vars): Use it.
38284 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38286 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38288 (struct statfs64): Likewise.
38289 (_STATFS_F_FLAGS): Define.
38290 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38291 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38292 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38293 (ST_VALID): Define locally.
38294 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38295 __statvfs_getflags, use the provided value.
38296 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38297 __ASSUME_STATFS_F_FLAGS.
38299 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38301 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38302 Add sys/fanotify.h.
38303 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38304 fanotify_mask for GLIBC_2.13.
38305 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38306 fanotify_init and fanotify_mark.
38307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38308 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38310 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38312 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38313 prlimit64 for GLIBC_2.13.
38314 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38319 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38320 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38321 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38322 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38324 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38327 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38328 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38330 * nss/Makefile: Add rules to build and run tst-nss-test1.
38331 * shlib-versions: Add entry for libnss_test1.
38332 * nss/nss_test1.c: New file.
38333 * nss/tst-nss-test1.c: New file.
38335 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38336 (__nss_configure_lookup): Set appropriate entry in
38337 __nss_configure_lookup to true.
38338 * nss/nsswitch.h: Define enum with indeces of databases in
38339 databases and __nss_database_custom arrays. Declare
38340 __nss_database_custom.
38341 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38342 to avoid using nscd when custom rules are installed.
38343 * nss/getXXbyYY_r.c: Likewise.
38344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38346 * nss/nss_files/files-parse.c: Whitespace fixes.
38348 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38351 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38352 * posix/fnmatch_loop.c: Likewise.
38354 2010-07-17 Andi Kleen <ak@linux.intel.com>
38356 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38357 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38358 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38359 * Versions.def [GLIBC_2.13]: Add.
38361 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38363 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38364 Also fail if tpwd after pwuid call is NULL.
38366 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38368 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38369 when converting to ms.
38371 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38373 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38374 EOPNOTSUPP errors with ENOTTY.
38375 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38376 EOPNOTSUPP errors with ENOTTY.
38378 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38380 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38381 Add strcasecmp_l-ssse3.
38382 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38384 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38385 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38386 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38388 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38390 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38392 * string/Makefile (strop-tests): Add strcasecmp.
38393 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38394 strcasecmp_l-nonascii.
38395 (gen-as-const-headers): Add locale-defines.sym.
38396 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38397 * sysdeps/x86_64/strcasecmp.S: New file.
38398 * sysdeps/x86_64/strcasecmp_l.S: New file.
38399 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38400 * sysdeps/x86_64/locale-defines.sym: New file.
38401 * string/test-strcasecmp.c: New file.
38403 * string/test-strcasestr.c: Test both ends of the range of characters.
38404 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38406 2010-07-29 Roland McGrath <roland@redhat.com>
38409 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38411 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38413 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38416 2010-07-27 Andreas Schwab <schwab@redhat.com>
38418 * manual/memory.texi (Malloc Tunable Parameters): Document
38421 2010-07-26 Roland McGrath <roland@redhat.com>
38424 * configure.in (-fgnu89-inline check): Set and substitute
38425 gnu89_inline, not libc_cv_gnu89_inline.
38426 * configure: Regenerated.
38427 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38429 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38431 * string/test-strnlen.c: New file.
38432 * string/Makefile (strop-tests): Add strnlen.
38433 * string/tester.c (test_strnlen): Add a few more test cases.
38434 * string/tst-strlen.c: Better error reporting.
38436 * sysdeps/x86_64/strnlen.S: New file.
38438 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38440 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38441 lower-latency instructions.
38443 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38445 * string/test-strcasestr.c: New file.
38446 * string/test-strstr.c: New file.
38447 * string/Makefile (strop-tests): Add strstr and strcasestr.
38448 * string/str-two-way.h: Don't undefine MAX.
38449 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38451 2010-07-21 Andreas Schwab <schwab@redhat.com>
38453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38454 strcasestr-nonascii.
38455 (CFLAGS-strcasestr-nonascii.c): Define.
38456 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38457 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38458 Remove unused attribute.
38460 2010-07-20 Roland McGrath <roland@redhat.com>
38462 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38463 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38464 ld.so.cache was broken. With it, there is no way to disable dsocaps
38465 like LD_HWCAP_MASK can disable hwcaps.
38467 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38469 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38471 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38473 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38474 call in strcasestr.
38475 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38476 __strcasestr_sse42_nonascii.
38477 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38478 strcasestr-nonascii.c.
38479 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38481 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38483 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38484 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38485 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38486 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38488 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38493 2010-07-06 Andreas Schwab <schwab@redhat.com>
38496 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38499 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38502 _PC_PIPE_BUF using F_GETPIPE_SZ.
38504 2010-07-05 Roland McGrath <roland@redhat.com>
38506 * manual/arith.texi (Rounding Functions): Fix rint description
38507 implicit in round description.
38509 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38511 * elf/Makefile: Fix linking for a few tests to make recent linker
38514 2010-06-30 Andreas Schwab <schwab@redhat.com>
38516 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38517 $(common-objpfx)libc_nonshared.a.
38519 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38521 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38522 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38523 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38524 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38525 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38526 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38527 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38528 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38543 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38544 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38545 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38546 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38547 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38548 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38549 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38550 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38551 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38552 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38553 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38554 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38570 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38572 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38573 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38574 * string/memmove.c (memmove): Renamed to ...
38575 (MEMMOVE): ...this. Default to memmove.
38576 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38577 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38580 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38581 mempcpy-ssse3-back memmove-ssse3-back.
38582 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38585 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38586 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38587 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38588 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38589 * sysdeps/x86_64/multiarch/memmove.c: New file.
38590 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38591 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38592 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38593 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38594 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38595 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38597 (index_Fast_Copy_Backward): Define.
38598 (HAS_ARCH_FEATURE): Define.
38599 (HAS_FAST_REP_STRING): Define.
38600 (HAS_FAST_COPY_BACKWARD): Define.
38602 2010-06-21 Andreas Schwab <schwab@redhat.com>
38604 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38605 Restore proper fallback handling.
38607 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38610 * posix/group_member.c (__group_member): Correct checking loop.
38612 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38613 OOM in getpwuid_r correctly. Return error number when the caller
38614 should return, otherwise -1.
38615 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38616 call returning > 0 value.
38617 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38619 2010-06-07 Andreas Schwab <schwab@redhat.com>
38621 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38622 libc_nonshared.a from targets in modules-names.
38624 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38626 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38629 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38631 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38632 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38633 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38634 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38636 2010-06-02 Andreas Schwab <schwab@redhat.com>
38638 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38640 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38642 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38644 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38648 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38649 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38651 2010-06-14 Roland McGrath <roland@redhat.com>
38653 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38655 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38657 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38658 __REDIRECT followed by __THROW.
38659 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38660 * posix/getopt.h (getopt): Likewise.
38662 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38664 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38665 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38666 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38668 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38669 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38671 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38673 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38675 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38679 Properly check family and model.
38681 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38683 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38685 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38687 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38689 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38691 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38694 2010-05-19 Andreas Schwab <schwab@redhat.com>
38696 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38699 2010-05-21 Andreas Schwab <schwab@redhat.com>
38701 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38702 and internal_recvmmsg.
38703 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38704 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38705 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38706 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38708 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38709 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38710 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38712 2010-05-20 Andreas Schwab <schwab@redhat.com>
38714 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38716 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38718 POWER7 optimizations.
38719 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38720 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38722 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38724 * version.h: Update for 2.13 development version.
38726 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38728 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38729 exceptions. Return 0.
38731 2010-05-07 Roland McGrath <roland@redhat.com>
38733 * elf/ldconfig.c (main): Add a const.
38735 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38737 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38738 (args_options): Add no-idn option.
38739 (ahosts_keys_int): Add idn_flags to ai_flags.
38740 (parse_option): Handle 'i' option to clear idn_flags.
38742 * malloc/malloc.c (_int_free): Possible race in the most recently
38743 added check. Only act on the data if no current modification
38746 See ChangeLog.17 for earlier changes.